Home
last modified time | relevance | path

Searched refs:pname (Results 1 – 25 of 150) sorted by relevance

123456

/freebsd/contrib/tcsh/
H A Dsh.init.c232 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 Dgethost.c91 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 Dma.setp.c97 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 Dmanctl.sh56 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/crypto/krb5/src/ccapi/common/win/OldCC/
H A Dutil.cxx153 LPSTR* pname, in alloc_username() argument
164 *pname = 0; in alloc_username()
188 *pname = name; in alloc_username()
193 *pname = (LPSTR)malloc_alloc_p(size); in alloc_username()
194 if (!*pname) status = GetLastError(); in alloc_username()
195 else _snprintf(*pname, size, "%s\\%s", name, domain); in alloc_username()
213 LPSTR* pname, in alloc_name_9x() argument
220 *pname = (LPSTR)malloc_alloc_p(len); in alloc_name_9x()
221 if (!*pname) return GetLastError(); in alloc_name_9x()
222 _snprintf(*pname, len, "%s.%s", prefix, postfix); in alloc_name_9x()
[all …]
H A Dutil.h52 LPSTR* pname,
65 char** pname
72 char** pname
79 char** pname);
/freebsd/crypto/libecc/include/libecc/curves/known/
H A Dec_params_external.h25 #define TO_EC_STR_PARAM(pname) \ argument
26 static const ec_str_param pname##_str_param = { \
27 .buf = pname, \
28 .buflen = sizeof(pname) \
32 #define TO_EC_STR_PARAM_FIXED_SIZE(pname, sz) \ argument
33 static const ec_str_param pname##_str_param = { \
34 .buf = pname, \
/freebsd/sys/kgssapi/
H A Dgss_pname_to_uid.c43 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 Dv3nametest.c283 const char *const *pname = names; in run_cert() local
286 for (; *pname != NULL; ++pname) { in run_cert()
287 int samename = OPENSSL_strcasecmp(nameincert, *pname) == 0; in run_cert()
288 size_t namelen = strlen(*pname); in run_cert()
294 memcpy(name, *pname, namelen + 1); in run_cert()
307 if (!TEST_true(check_message(fn, "host", nameincert, match, *pname))) in run_cert()
324 nameincert, match, *pname))) in run_cert()
336 if (!TEST_true(check_message(fn, "email", nameincert, match, *pname))) in run_cert()
349 const char *const *pname; in call_run_cert() local
352 for (pname = names; *pname != NULL; pname++) { in call_run_cert()
[all …]
/freebsd/contrib/ntp/sntp/libopts/
H A Dinit.c45 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/crypto/krb5/src/lib/krb5/os/
H A Dlocalauth_names.c43 char *realm = NULL, *pname = NULL, **mapping_values = NULL; in an2ln_names() local
59 KRB5_PRINCIPAL_UNPARSE_NO_REALM, &pname); in an2ln_names()
65 hierarchy[3] = pname; in an2ln_names()
81 free(pname); in an2ln_names()
H A Dinit_os_ctx.c39 char **pname in get_from_windows_dir() argument
43 *pname = malloc(size + strlen(DEFAULT_PROFILE_FILENAME) + 2); in get_from_windows_dir()
44 if (*pname) { in get_from_windows_dir()
45 GetWindowsDirectory(*pname, size); in get_from_windows_dir()
46 strcat(*pname, "\\"); in get_from_windows_dir()
47 strcat(*pname, DEFAULT_PROFILE_FILENAME); in get_from_windows_dir()
56 char **pname in get_from_module_dir() argument
65 *pname = 0; in get_from_module_dir()
89 *pname = name; in get_from_module_dir()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmktree.c51 static void crtfile(char *pname);
153 crtfile(char *pname) in crtfile() argument
160 if (pname == NULL) { in crtfile()
171 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) { in crtfile()
173 "\n[%d]: %s.\n", pname, errno, strerror(errno)); in crtfile()
/freebsd/tests/sys/cddl/zfs/bin/
H A Dmktree.c50 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 Docsp_cl.c185 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 Dgss_pname_to_uid.c38 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 Dbpf.c109 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 Drpc_util.c228 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()
/freebsd/usr.sbin/crunch/crunchide/
H A Dcrunchide.c75 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 Dspa_os.c188 const char *pname; in spa_import_rootpool() local
198 pname = fnvlist_lookup_string(config, ZPOOL_CONFIG_POOL_NAME); in spa_import_rootpool()
199 VERIFY0(strcmp(name, pname)); in spa_import_rootpool()
201 if ((spa = spa_lookup(pname)) != NULL) { in spa_import_rootpool()
219 spa = spa_add(pname, config, NULL); in spa_import_rootpool()
/freebsd/crypto/krb5/src/windows/kfwlogon/
H A Dkfwcommon.c431 char * pname = 0; in KFW_get_ccache() local
446 code = pkrb5_unparse_name(ctx, principal, &pname); in KFW_get_ccache()
449 ccname = (char *)malloc(strlen(pname) + 5); in KFW_get_ccache()
450 sprintf(ccname,"API:%s",pname); in KFW_get_ccache()
462 if (pname) in KFW_get_ccache()
463 pkrb5_free_unparsed_name(ctx,pname); in KFW_get_ccache()
657 char * pname = 0; in KFW_get_cred() local
671 pname = malloc(strlen(username) + strlen(realm) + 2); in KFW_get_cred()
672 if (!pname) in KFW_get_cred()
674 strcpy(pname, username); in KFW_get_cred()
[all …]
/freebsd/crypto/openssl/crypto/objects/
H A Dobjxref.pl71 my $pname = $0;
72 $pname =~ s|.*/||;
77 * Generated by $pname
/freebsd/crypto/krb5/src/clients/kpasswd/
H A Dkpasswd.c53 char *pname, *message; in main() local
68 pname = argv[1]; in main()
112 if (pname != NULL) { in main()
115 ret = krb5_parse_name(context, pname, &princ); in main()
/freebsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c70 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 Dstate.c61 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()

123456