Home
last modified time | relevance | path

Searched refs:keyp (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetservent.c40 const char *limit, *linep, *keyp; in check_name() local
45 keyp = argp->key.serv.serv.name; in check_name()
48 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name()
49 keyp++; in check_name()
79 *keyp == *linep) { in check_name()
80 keyp++; in check_name()
99 keyp = argp->key.serv.serv.name; in check_name()
101 *keyp == *linep) { in check_name()
102 keyp++; in check_name()
165 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_port()
[all …]
H A Dtsol_gettpent.c37 const char *limit, *linep, *keyp; in check_name() local
41 keyp = args->key.name; in check_name()
44 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) { in check_name()
45 keyp++; in check_name()
48 if (*keyp == '\0' && linep < limit && *linep == ':') in check_name()
H A Dgetspent.c36 const char *keyp = argp->key.name; in check_spnamp() local
41 while (*keyp && linelen-- && *keyp == *linep) { in check_spnamp()
42 keyp++; in check_spnamp()
45 return (linelen && *keyp == '\0' && *linep == ':'); in check_spnamp()
H A Dtsol_getrhent.c38 const char *limit, *linep, *keyp; in check_addr() local
44 keyp = args->key.hostaddr.addr; in check_addr()
61 while (*keyp && linep < limit && *keyp == *linep) { in check_addr()
67 keyp++; in check_addr()
70 if (*keyp == '\0' && linep < limit && ((ipv6 == 0 && *linep == ':') || in check_addr()
H A Dether_addr.c53 const char *limit, *linep, *keyp; in check_host() local
70 keyp = argp->key.name; in check_host()
71 while (*keyp != '\0' && linep < limit && *keyp == *linep) { in check_host()
72 keyp++; in check_host()
75 return (*keyp == '\0' && linep == limit); in check_host()
H A Dfiles_common.c678 const char *keyp = argp->key.name; in _nss_files_check_name_colon() local
682 while (*keyp && linep < limit && *keyp == *linep) { in _nss_files_check_name_colon()
683 keyp++; in _nss_files_check_name_colon()
700 const char *limit, *linep, *keyp; in _nss_files_check_name_aliases() local
704 keyp = argp->key.name; in _nss_files_check_name_aliases()
707 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in _nss_files_check_name_aliases()
708 keyp++; in _nss_files_check_name_aliases()
731 keyp = argp->key.name; in _nss_files_check_name_aliases()
732 while (*keyp && linep < limit && !isspace(*linep) && in _nss_files_check_name_aliases()
733 *keyp == *linep) { in _nss_files_check_name_aliases()
[all …]
H A Dgethostent.c52 const char *limit, *linep, *keyp, *addrstart; in check_name() local
72 keyp = argp->key.name; in check_name()
74 while (*keyp && linep < limit && !isspace(*linep) && in check_name()
75 tolower(*keyp) == tolower(*linep)) { in check_name()
76 keyp++; in check_name()
79 if (*keyp == '\0' && (linep == limit || isspace(*linep))) { in check_name()
97 keyp = argp->key.name; in check_name()
98 while (*keyp && linep < limit && !isspace(*linep) && in check_name()
99 tolower(*keyp) == tolower(*linep)) { in check_name()
100 keyp++; in check_name()
[all …]
H A Dgetexecattr.c73 const char *limit, *linep, *keyp; in check_match() local
90 keyp = exec_field[i]; in check_match()
91 if (keyp) { in check_match()
93 while (*keyp && linep < limit && in check_match()
94 *linep != ':' && *keyp == *linep) { in check_match()
95 keyp++; in check_match()
98 if (*keyp || linep == limit || *linep != ':') in check_match()
H A Dgetgrent.c101 const char *keyp = argp->key.name; in check_grname() local
109 while (*keyp && linep < limit && *keyp == *linep) { in check_grname()
110 keyp++; in check_grname()
113 return (linep < limit && *keyp == '\0' && *linep == ':'); in check_grname()
H A Dgetpwnam.c103 const char *keyp = argp->key.name; in check_pwname() local
111 while (*keyp && linep < limit && *keyp == *linep) { in check_pwname()
112 keyp++; in check_pwname()
115 return (linep < limit && *keyp == '\0' && *linep == ':'); in check_pwname()
H A Dgetprinter.c43 const char *keyp = argp->key.name; in check_name() local
44 int klen = strlen(keyp); in check_name()
53 if ((strncmp(linep, keyp, klen) == 0) && in check_name()
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c71 const char *limit, *linep, *keyp; in check_name2() local
76 keyp = argp->key.serv.serv.name; in check_name2()
79 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name2()
80 keyp++; in check_name2()
110 *keyp == *linep) { in check_name2()
111 keyp++; in check_name2()
130 keyp = argp->key.serv.serv.name; in check_name2()
132 *keyp == *linep) { in check_name2()
133 keyp++; in check_name2()
261 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_port2()
[all …]
H A Dnis_common.c646 const char *limit, *linep, *keyp; in _nss_nis_check_name_aliases() local
650 keyp = argp->key.name; in _nss_nis_check_name_aliases()
653 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in _nss_nis_check_name_aliases()
654 keyp++; in _nss_nis_check_name_aliases()
657 if (*keyp == '\0' && linep < limit && isspace(*linep)) in _nss_nis_check_name_aliases()
677 keyp = argp->key.name; in _nss_nis_check_name_aliases()
678 while (*keyp && linep < limit && !isspace(*linep) && in _nss_nis_check_name_aliases()
679 *keyp == *linep) { in _nss_nis_check_name_aliases()
680 keyp++; in _nss_nis_check_name_aliases()
683 if (*keyp == '\0' && (linep == limit || isspace(*linep))) in _nss_nis_check_name_aliases()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c1221 bigint_attr_cleanup(KEY_PRI_RSA_MOD(keyp));
1224 bigint_attr_cleanup(KEY_PRI_RSA_PRIME1(keyp));
1226 bigint_attr_cleanup(KEY_PRI_RSA_EXPO1(keyp));
1227 bigint_attr_cleanup(KEY_PRI_RSA_EXPO2(keyp));
1228 bigint_attr_cleanup(KEY_PRI_RSA_COEF(keyp));
1429 bigint_attr_cleanup(KEY_PRI_DSA_PRIME(keyp));
1431 bigint_attr_cleanup(KEY_PRI_DSA_BASE(keyp));
1432 bigint_attr_cleanup(KEY_PRI_DSA_VALUE(keyp));
1610 bigint_attr_cleanup(KEY_PRI_DH_PRIME(keyp));
1611 bigint_attr_cleanup(KEY_PRI_DH_BASE(keyp));
[all …]
/illumos-gate/usr/src/common/crypto/modes/
H A Dctr.c100 const uint8_t *keyp; in ctr_xor() local
114 keyp = (uint8_t *)ctx->ctr_keystream + ctx->ctr_offset; in ctr_xor()
128 !IS_P2ALIGNED(keyp, sizeof (uint32_t))) { in ctr_xor()
129 *out++ = *in++ ^ *keyp++; in ctr_xor()
137 IS_P2ALIGNED(keyp, sizeof (uint32_t))) { in ctr_xor()
138 const uint32_t *key32 = (const uint32_t *)keyp; in ctr_xor()
148 keyp = (const uint8_t *)key32; in ctr_xor()
154 *out++ = *in++ ^ *keyp++; in ctr_xor()
/illumos-gate/usr/src/lib/libnsl/common/
H A Dcommon.c31 thr_get_storage(pthread_key_t *keyp, size_t size, void (*destructor)(void *)) in thr_get_storage() argument
35 if (pthread_key_create_once_np(keyp, destructor) != 0) in thr_get_storage()
37 addr = pthread_getspecific(*keyp); in thr_get_storage()
40 if (addr != NULL && pthread_setspecific(*keyp, addr) != 0) { in thr_get_storage()
/illumos-gate/usr/src/lib/libgen/common/
H A Dbufsplit.c53 _get_bsplitchar(thread_key_t *keyp) in _get_bsplitchar() argument
58 if (thr_keycreate_once(keyp, free) != 0) in _get_bsplitchar()
60 strp = pthread_getspecific(*keyp); in _get_bsplitchar()
63 if (thr_setspecific(*keyp, strp) != 0) { in _get_bsplitchar()
H A Dbgets.c55 _get_stop(thread_key_t *keyp) in _get_stop() argument
59 if (thr_keycreate_once(keyp, free) != 0) in _get_stop()
61 str = pthread_getspecific(*keyp); in _get_stop()
64 if (thr_setspecific(*keyp, str) != 0) { in _get_stop()
H A Dpathfind.c78 _get_cpath(thread_key_t *keyp) in _get_cpath() argument
82 if (thr_keycreate_once(keyp, free) != 0) in _get_cpath()
84 str = pthread_getspecific(*keyp); in _get_cpath()
87 if (thr_setspecific(*keyp, str) != 0) { in _get_cpath()
H A Dreg_compile.c73 _get_vars_storage(thread_key_t *keyp) in _get_vars_storage() argument
77 if (thr_keycreate_once(keyp, free) != 0) in _get_vars_storage()
79 vars = pthread_getspecific(*keyp); in _get_vars_storage()
82 if (thr_setspecific(*keyp, vars) != 0) { in _get_vars_storage()
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_lic.c73 __in_bcount(length) caddr_t keyp,
86 caddr_t keyp,
98 __in_bcount(length) caddr_t keyp,
257 __in_bcount(length) caddr_t keyp,
270 caddr_t keyp,
282 __in_bcount(length) caddr_t keyp,
524 __in_bcount(length) caddr_t keyp, in efx_lic_v1v2_validate_key()
576 caddr_t keyp, in efx_lic_v1v2_read_key()
1164 key_type = ((uint8_t*)keyp)[0]; in efx_lic_v3_validate_key()
1199 caddr_t keyp, in efx_lic_v3_read_key()
[all …]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c139 tsd_create(uint_t *keyp, void (*destructor)(void *)) in tsd_create() argument
141 VERIFY0(thr_keycreate(keyp, destructor)); in tsd_create()
146 tsd_destroy(uint_t *keyp) in tsd_destroy() argument
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c312 _get_iobuf(thread_key_t *keyp, unsigned size) in _get_iobuf() argument
316 if (thr_keycreate_once(keyp, free) != 0) in _get_iobuf()
318 iobuf = pthread_getspecific(*keyp); in _get_iobuf()
320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) { in _get_iobuf()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_zone.c44 zone_key_create(zone_key_t *keyp, void *(*create)(zoneid_t), in zone_key_create() argument
51 *keyp = 1; in zone_key_create()
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_status.c678 libscsi_action_parse_sense(const libscsi_action_t *ap, uint64_t *keyp, in libscsi_action_parse_sense() argument
690 if (keyp != NULL) in libscsi_action_parse_sense()
691 *keyp = (uint64_t)xsp->es_key; in libscsi_action_parse_sense()

123