/freebsd/contrib/tcsh/ |
H A D | sh.init.c | 232 xfree((char *)(intptr_t)mesg[i].pname); in mesginit() 233 mesg[i].pname = NULL; in mesginit() 241 if (mesg[SIGNULL].pname == NULL) { in mesginit() 243 mesg[SIGNULL].pname = CSAVS(2, 1, "Null signal"); in mesginit() 248 if (mesg[SIGHUP].pname == NULL) { in mesginit() 250 mesg[SIGHUP].pname = CSAVS(2, 2, "Hangup"); in mesginit() 255 if (mesg[SIGINT].pname == NULL) { in mesginit() 257 mesg[SIGINT].pname = CSAVS(2, 3, "Interrupt"); in mesginit() 262 if (mesg[SIGQUIT].pname == NULL) { in mesginit() 264 mesg[SIGQUIT].pname = CSAVS(2, 4, "Quit"); in mesginit() [all …]
|
H A D | gethost.c | 91 static char *pname; variable 185 pname, defs); in explode() 194 pname, defs); in explode() 214 (void) fprintf(stderr, "%s: invalid input `%s'\n", pname, defs); in explode() 236 if ((pname = strrchr(argv[0], '/')) == NULL) in main() 237 pname = argv[0]; in main() 239 pname++; in main() 242 (void) fprintf(stderr, "Usage: %s [<filename>]\n", pname); in main() 248 (void) fprintf(stderr, "%s: Cannot open `%s'\n", pname, fname); in main() 296 pname, fname, lineno); in main() [all …]
|
H A D | ma.setp.c | 97 char *pname; /* name of pathlist */ member 257 pe->pname = p; in initpaths() 261 if (strcmp(pe->pname, syspath[i].name) == 0) { in initpaths() 290 len = strlen(pe->pname) + 1; in savepaths() 297 for (q = pe->pname; *p = *q; p++, q++); in savepaths() 320 if (pe->pname) { in freepaths() 329 p = pe->pname; in freepaths() 330 pe->pname = NULL; in freepaths() 422 inpath, pe->pname); in iacmd() 438 inpath, pe->pname); in ibcmd() [all …]
|
/freebsd/usr.sbin/manctl/ |
H A D | manctl.sh | 56 local pname 62 pname=$1 63 IFS='.' ; set $pname 66 IFS=" " ; echo ignoring $pname 1>&2 ; return 0 ; 80 IFS=" " ; set `file $pname` 82 echo moving hard link $pname 1>&2 83 mv $pname $fname.$ext # link 86 echo gunzipping page $pname 1>&2 88 gunzip -c $pname > $temp 89 chmod u+w $pname [all...] |
/freebsd/sys/kgssapi/ |
H A D | gss_pname_to_uid.c | 43 gss_pname_to_uid(OM_uint32 *minor_status, const gss_name_t pname, in gss_pname_to_uid() argument 53 if (pname == GSS_C_NO_NAME) in gss_pname_to_uid() 60 args.pname = pname->handle; in gss_pname_to_uid() 81 gss_pname_to_unix_cred(OM_uint32 *minor_status, const gss_name_t pname, in gss_pname_to_unix_cred() argument 94 if (pname == GSS_C_NO_NAME) in gss_pname_to_unix_cred() 101 args.pname = pname->handle; in gss_pname_to_unix_cred()
|
/freebsd/crypto/openssl/test/ |
H A D | v3nametest.c | 282 const char *const *pname = names; in run_cert() local 285 for (; *pname != NULL; ++pname) { in run_cert() 286 int samename = OPENSSL_strcasecmp(nameincert, *pname) == 0; in run_cert() 287 size_t namelen = strlen(*pname); in run_cert() 293 memcpy(name, *pname, namelen + 1); in run_cert() 306 if (!TEST_true(check_message(fn, "host", nameincert, match, *pname))) in run_cert() 322 nameincert, match, *pname))) in run_cert() 334 if (!TEST_true(check_message(fn, "email", nameincert, match, *pname))) in run_cert() 347 const char *const *pname; in call_run_cert() local 350 for (pname = names; *pname != NULL; pname++) { in call_run_cert() [all …]
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | init.c | 45 validate_struct(tOptions * opts, char const * pname) in validate_struct() argument 79 fprintf(stderr, zwrong_ver, pname, NUM_TO_VER(opts->structVersion)); in validate_struct() 94 char const * pz = strrchr(pname, DIRCH); in validate_struct() 101 *pp = pname; in validate_struct() 103 pz = pathfind(getenv("PATH"), (char *)pname, "rx"); in validate_struct() 105 pname = VOIDP(pz); in validate_struct() 108 *pp = pname; in validate_struct()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mktree.c | 50 static void crtfile(char *pname); 152 crtfile(char *pname) in crtfile() argument 159 if (pname == NULL) { in crtfile() 170 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) { in crtfile() 172 "\n[%d]: %s.\n", pname, errno, strerror(errno)); in crtfile()
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | mktree.c | 50 static void crtfile(char *pname); 148 crtfile(char *pname) in crtfile() argument 156 if (pname == NULL) { in crtfile() 167 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) { in crtfile() 169 "\n[%d]: %s.\n", pname, errno, strerror(errno)); in crtfile()
|
/freebsd/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_cl.c | 185 const X509_NAME **pname) in OCSP_resp_get0_id() argument 190 *pname = rid->value.byName; in OCSP_resp_get0_id() 194 *pname = NULL; in OCSP_resp_get0_id() 203 X509_NAME **pname) in OCSP_resp_get1_id() argument 208 *pname = X509_NAME_dup(rid->value.byName); in OCSP_resp_get1_id() 212 *pname = NULL; in OCSP_resp_get1_id() 216 if (*pname == NULL && *pid == NULL) in OCSP_resp_get1_id()
|
/freebsd/lib/libgssapi/ |
H A D | gss_pname_to_uid.c | 38 gss_pname_to_uid(OM_uint32 *minor_status, const gss_name_t pname, in gss_pname_to_uid() argument 41 struct _gss_name *name = (struct _gss_name *) pname; in gss_pname_to_uid() 48 if (pname == GSS_C_NO_NAME) in gss_pname_to_uid()
|
/freebsd/usr.bin/netstat/ |
H A D | bpf.c | 109 char *pname, flagbuf[12]; in bpf_stats() local 151 pname = bpf_pidname(d->bd_pid); in bpf_stats() 160 (uintmax_t)d->bd_fcount, d->bd_slen, d->bd_hlen, pname); in bpf_stats() 161 free(pname); in bpf_stats()
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_util.c | 228 pvname_svc(const char *pname, const char *vnum) in pvname_svc() argument 230 f_print(fout, "%s_%s_svc", locase(pname), vnum); in pvname_svc() 234 pvname(const char *pname, const char *vnum) in pvname() argument 236 f_print(fout, "%s_%s", locase(pname), vnum); in pvname() 415 make_argname(const char *pname, const char *vname) in make_argname() argument 419 name = xmalloc(strlen(pname) + strlen(vname) + strlen(ARGEXT) + 3); in make_argname() 420 sprintf(name, "%s_%s_%s", locase(pname), vname, ARGEXT); in make_argname()
|
H A D | rpc_util.h | 156 char *make_argname(const char *pname, const char *vname); 169 void pvname_svc(const char *pname, const char *vnum); 170 void pvname(const char *pname, const char *vnum);
|
/freebsd/usr.sbin/crunch/crunchide/ |
H A D | crunchide.c | 75 static const char *pname = "crunchide"; variable 93 if(argc > 0) pname = argv[0]; in main() 130 pname); in usage() 158 fprintf(stderr, "%s: out of memory for keep list\n", pname); in add_to_keep_list()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | spa_os.c | 187 const char *pname; in spa_import_rootpool() local 197 pname = fnvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME); in spa_import_rootpool() 198 VERIFY0(strcmp(name, pname)); in spa_import_rootpool() 200 if ((spa = spa_lookup(pname)) != NULL) { in spa_import_rootpool() 218 spa = spa_add(pname, config, NULL); in spa_import_rootpool()
|
/freebsd/crypto/openssl/crypto/objects/ |
H A D | objxref.pl | 71 my $pname = $0; 72 $pname =~ s|.*/||; 77 * Generated by $pname
|
/freebsd/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 70 static char *pname; /* password file name */ variable 162 pname = *argv; in main() 176 if (!(fp = fopen(pname, "r"))) in main() 177 error(pname); in main() 181 error(pname); in main() 297 (void)snprintf(buf, sizeof(buf), "%s.orig", pname); in main() 506 (void)snprintf(buf, sizeof(buf), "%s.orig", pname); in main() 516 mv(pname, buf); in main() 567 error(pname); in scan() 646 (void)snprintf(buf, sizeof(buf), "%s.orig", pname); in cleanup()
|
/freebsd/usr.sbin/jail/ |
H A D | state.c | 61 char *pname; in dep_setup() local 94 pname = NULL; in dep_setup() 117 pname = erealloc(pname, plen); in dep_setup() 119 strlcpy(pname, j->name, plen); in dep_setup() 120 dj = find_jail(pname); in dep_setup() 147 if (pname != NULL) in dep_setup() 148 free(pname); in dep_setup()
|
/freebsd/sys/arm/allwinner/ |
H A D | aw_usbphy.c | 213 char pname[20]; in awusbphy_init() local 273 snprintf(pname, sizeof(pname), "usb%d_vbus-supply", off); in awusbphy_init() 274 if (regulator_get_by_ofw_property(dev, 0, pname, ®) == 0) in awusbphy_init() 277 snprintf(pname, sizeof(pname), "pmu%d", off); in awusbphy_init() 279 pname, &rid) != 0) in awusbphy_init()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | tasn_prn.c | 441 const char *pname; in asn1_primitive_print() local 464 pname = NULL; in asn1_primitive_print() 466 pname = ASN1_tag2str(utype); in asn1_primitive_print() 469 pname = ASN1_tag2str(utype); in asn1_primitive_print() 471 pname = NULL; in asn1_primitive_print() 480 if (pname) { in asn1_primitive_print() 481 if (BIO_puts(out, pname) <= 0) in asn1_primitive_print()
|
/freebsd/sys/dev/gpio/ |
H A D | ofw_gpiobus.c | 183 ofw_gpiobus_parse_gpios(device_t consumer, char *pname, in ofw_gpiobus_parse_gpios() argument 188 ofw_bus_get_node(consumer), pname, NULL, pins)); in ofw_gpiobus_parse_gpios() 279 ofw_gpiobus_parse_gpios_impl(device_t consumer, phandle_t cnode, char *pname, in ofw_gpiobus_parse_gpios_impl() argument 286 ncells = OF_getencprop_alloc_multi(cnode, pname, sizeof(*gpios), in ofw_gpiobus_parse_gpios_impl() 291 "device may not function.\n", pname); in ofw_gpiobus_parse_gpios_impl() 327 "%s cells doesn't match #gpio-cells.\n", pname); in ofw_gpiobus_parse_gpios_impl() 336 pname); in ofw_gpiobus_parse_gpios_impl()
|
/freebsd/sys/dev/qcom_tlmm/ |
H A D | qcom_tlmm_pinmux.c | 475 char *pins, *pname; in qcom_tlmm_pinctrl_process_node() local 487 pname = pins; in qcom_tlmm_pinctrl_process_node() 489 i = strlen(pname) + 1; in qcom_tlmm_pinctrl_process_node() 493 rv = qcom_tlmm_pinctrl_config_node(sc, pname, &cfg); in qcom_tlmm_pinctrl_process_node() 496 "Cannot configure pin: %s: %d\n", pname, rv); in qcom_tlmm_pinctrl_process_node() 499 pname += i; in qcom_tlmm_pinctrl_process_node()
|
/freebsd/sys/arm/mv/clk/ |
H A D | periph_clk_gate.c | 65 if (device_def->common_def.pname == NULL) in a37x0_periph_gate_register_gate() 68 parent_name = device_def->common_def.pname; in a37x0_periph_gate_register_gate()
|
/freebsd/usr.bin/systat/ |
H A D | pigs.c | 82 const char *uname, *pname; in showpigs() local 95 pname = pt[k].pt_kp->ki_comm; in showpigs() 99 snprintf(pidname, sizeof(pidname), "%10.10s", pname); in showpigs()
|