HomeSort by: relevance | last modified time | path
    Searched refs:pname (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/lib/libc/gen/
setproctitle.c 62 const char *pname = getprogname(); local in function:__weak_alias
65 int len = snprintf(buf, sizeof(buf), "%s: ", pname);
74 (void)snprintf(buf, sizeof(buf), "%s", pname);
sysctlgetmibinfo.c 416 pname[SYSCTL_NAMELEN * CTL_MAXNAME + CTL_MAXNAME]; local in function:sysctlgetmibinfo_unlocked
457 pname[0] = '\0';
470 strlcat(pname, sep, sizeof(pname));
525 strlcat(pname, sep, sizeof(pname));
564 strlcat(pname, sep, sizeof(pname));
567 strlcat(pname, token, sizeof(pname));
    [all...]
  /src/sys/dev/fdt/
fdt_ddb.c 127 const char *pname[FDT_MAX_DEPTH] = { NULL }; variable in typeref:typename:const char * []
145 pname[depth] = name;
153 if (pname[i] == NULL)
155 pr("/%s", pname[i]);
  /src/usr.bin/hexdump/
hexdump.c 99 const char *pname = getprogname(); local in function:usage
101 (void)fprintf(stderr, "usage: %s ", pname);
  /src/usr.sbin/lpr/common_source/
startdaemon.c 62 startdaemon(const char *pname)
89 n = snprintf(buf, sizeof(buf), "\1%s\n", pname);
  /src/usr.sbin/wsmoused/
config.c 168 block_get_propval(struct block *b, const char *pname, char *def)
177 if (strcmp(b->b_prop[pc]->p_name, pname) == 0)
192 block_get_propval_int(struct block *b, const char *pname, int def)
202 if (strcmp(b->b_prop[pc]->p_name, pname) == 0) {
207 "property", pname);
  /src/games/dab/
main.cc 52 static void usage(char* pname)
54 char* p = strrchr(pname, '/');
58 p = pname;
  /src/usr.bin/systat/
pigs.c 99 const char *pname; local in function:showpigs
122 pname = "<idle>";
128 pname = kp->p_comm;
137 (void)snprintf(pidname, sizeof(pidname), "%9.9s", pname);
  /src/usr.bin/rpcgen/
rpc_util.c 244 pvname_svc(const char *pname, const char *vnum)
246 f_print(fout, "%s_%s_svc", locase(pname), vnum);
250 pvname(const char *pname, const char *vnum)
252 f_print(fout, "%s_%s", locase(pname), vnum);
427 make_argname(const char *pname, const char *vname)
432 len = strlen(pname) + strlen(vname) + strlen(ARGEXT) + 3;
437 snprintf(name, len, "%s_%s_%s", locase(pname), vname, ARGEXT);
  /src/sys/arch/arm/sunxi/
sunxi_usbphy.c 356 char pname[20]; local in function:sunxi_usbphy_attach
375 snprintf(pname, sizeof(pname), "pmu%d", sc->sc_nphys);
376 if (fdtbus_get_reg_byname(phandle, pname, &addr, &size) != 0) {
383 snprintf(pname, sizeof(pname), "usb%d_vbus-supply", sc->sc_nphys);
384 phy->phy_reg = fdtbus_regulator_acquire(phandle, pname);
sunxi_ccu_div.c 109 const char *pname; local in function:sunxi_ccu_div_select_parent
114 pname = div->parents[index];
115 if (pname == NULL)
117 clk_parent = sunxi_ccu_clock_find(sc, pname);
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_drv.c 54 const char *pname = dev_name(&pdev->dev); local in function:virtio_gpu_pci_quirk
60 pname);
97 snprintf(unique, sizeof(unique), "pci:%s", pname);
  /src/sys/miscfs/fdesc/
fdesc_vnops.c 181 const char *pname = cnp->cn_nameptr; local in function:fdesc_lookup
189 if (cnp->cn_namelen == 1 && *pname == '.') {
204 if (cnp->cn_namelen == 2 && memcmp(pname, "fd", 2) == 0) {
209 if (cnp->cn_namelen == 3 && memcmp(pname, "tty", 3) == 0) {
221 if (memcmp(pname, "stdin", 5) == 0) {
227 if (memcmp(pname, "stdout", 6) == 0) {
230 } else if (memcmp(pname, "stderr", 6) == 0) {
241 if (cnp->cn_namelen == 2 && memcmp(pname, "..", 2) == 0) {
247 while (*pname >= '0' && *pname <= '9')
    [all...]
  /src/usr.bin/ypwhich/
ypwhich.c 190 const char *pname = getprogname(); local in function:usage
193 "\t%s [-T] -x\n", pname, pname, pname);
  /src/tests/kernel/
h_segv.c 218 const char *pname = getprogname(); local in function:usage
221 "[recurse|mask|handle|ignore|check] ...\n", pname);
  /src/sbin/ifconfig/
af_inet6.c 113 u_char *pname = (u_char *)val; local in function:prefix
117 if (pname[byte] != 0xff)
122 if (!(pname[byte] & (1 << bit)))
125 if (pname[byte] & (1 << bit))
129 if (pname[byte])
  /src/usr.sbin/pwd_mkdb/
pwd_mkdb.c 158 static char *pname; /* password file name */ variable in typeref:typename:char *
356 pname = *argv;
358 if ((fp = fopen(pname, "r")) == NULL)
359 mkpw_error("Cannot open `%s'", pname);
364 mkpw_error("Cannot stat `%s'", pname);
399 pname);
570 wr_error(pname);
579 install(pname, _PATH_MASTERPASSWD);
602 mkpw_error("%s, %d: line too long", pname, *lineno);
612 mkpw_error("%s, %d: Syntax mkpw_error", pname, *lineno)
    [all...]
  /src/sbin/restore/
dirs.c 226 * pname and pass them off to be processed.
229 treescan(const char *pname, ino_t ino, long (*todo)(const char *, ino_t, int))
240 * Pname is name of a simple file or an unchanged directory.
242 (void) (*todo)(pname, ino, LEAF);
246 * Pname is a dumped directory name.
248 if ((*todo)(pname, ino, NODE) == FAIL)
254 (void) snprintf(locname, sizeof(locname), "%s/", pname);
262 pname);
267 pname);
  /src/usr.bin/vgrind/
vfontedpr.c 104 static char pname[BUFSIZ+1]; variable in typeref:typename:char[]
370 ps(pname);
374 strlcpy(pstack[psptr], pname, sizeof(pstack[psptr]));
676 pname[0] = '\0';
678 if (expmatch(s, l_prcbeg, pname) != NULL) {
  /src/sbin/efi/
gptsubr.c 587 char *pname; /* partition name */
615 pname = estrdup(rname + i);
618 return pname;
  /src/lib/libukfs/
ukfs.c 1179 char *pname; member in struct:loadfail
1223 lf->pname = strdup(nbuf);
1224 if (lf->pname == NULL) {
1252 if (ukfs_modload(lf->pname) == 1) {
1256 free(lf->pname);
1264 free(lf->pname);
  /src/sys/miscfs/kernfs/
kernfs_vnops.c 500 const char *pname = cnp->cn_nameptr; local in function:kernfs_lookup
512 if (cnp->cn_namelen == 1 && *pname == '.') {
530 memcmp(kt->kt_name, pname, cnp->cn_namelen) == 0)
535 memcmp(dkt->dkt_kt.kt_name, pname, cnp->cn_namelen) == 0) {
555 memcmp(dkt->dkt_kt.kt_name, pname, cnp->cn_namelen) == 0) {
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_print.c 442 /* "system" OR "system (as printer pname)" */
449 /* "sys (as printer pname)" */
946 char pname[64]; local in function:get_pr_status
965 snprintf(pname, sizeof(pname), "%s:", pn);
966 n = strlen(pname);
975 if (strncmp(buff, pname, n))
  /src/sys/net80211/
ieee80211_netbsd.c 141 char pname[IFNAMSIZ]; local in function:ieee80211_sysctl_parent
146 strlcpy(pname, ic->ic_ifp->if_xname, IFNAMSIZ);
147 node.sysctl_data = pname;
  /src/sys/arch/arm/nxp/
imx6_ccm.c 347 const char *pname = parent->name; local in function:imxccm_clk_set_parent_mux
353 if (strcmp(pname, mux->parents[sel]) == 0)
371 iclk->parent = pname;

Completed in 22 milliseconds

1 2