Searched refs:keyp (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dtsol_gettpent.c39 const char *limit, *linep, *keyp; local
43 keyp = args->key.name;
46 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) {
47 keyp++;
50 if (*keyp == '\0' && linep < limit && *linep == ':')
H A Dgetservent.c42 const char *limit, *linep, *keyp; local
47 keyp = argp->key.serv.serv.name;
50 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
51 keyp++;
54 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
74 if ((keyp = argp->key.serv.proto) == NULL) {
80 while (*keyp && linep < limit && !isspace(*linep) &&
81 *keyp == *linep) {
82 keyp
131 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dgetspent.c38 const char *keyp = argp->key.name; local
43 while (*keyp && linelen-- && *keyp == *linep) {
44 keyp++;
47 return (linelen && *keyp == '\0' && *linep == ':');
H A Dether_addr.c55 const char *limit, *linep, *keyp; local
72 keyp = argp->key.name;
73 while (*keyp != '\0' && linep < limit && *keyp == *linep) {
74 keyp++;
77 return (*keyp == '\0' && linep == limit);
H A Dtsol_getrhent.c40 const char *limit, *linep, *keyp; local
46 keyp = args->key.hostaddr.addr;
63 while (*keyp && linep < limit && *keyp == *linep) {
69 keyp++;
72 if (*keyp == '\0' && linep < limit && ((ipv6 == 0 && *linep == ':') ||
H A Dgetgrent.c101 const char *keyp = argp->key.name; local
109 while (*keyp && linep < limit && *keyp == *linep) {
110 keyp++;
113 return (linep < limit && *keyp == '\0' && *linep == ':');
H A Dfiles_common.c677 const char *keyp = argp->key.name;
681 while (*keyp && linep < limit && *keyp == *linep) {
682 keyp++;
685 return (linep < limit && *keyp == '\0' && *linep == ':');
699 const char *limit, *linep, *keyp;
703 keyp = argp->key.name;
706 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
707 keyp
[all...]
H A Dgetexecattr.c59 const char *limit, *linep, *keyp; local
76 keyp = exec_field[i];
77 if (keyp) {
79 while (*keyp && linep < limit &&
80 *linep != ':' && *keyp == *linep) {
81 keyp++;
84 if (*keyp || linep == limit || *linep != ':')
H A Dgetpwnam.c103 const char *keyp = argp->key.name; local
111 while (*keyp && linep < limit && *keyp == *linep) {
112 keyp++;
115 return (linep < limit && *keyp == '\0' && *linep == ':');
H A Dgetprinter.c45 const char *keyp = argp->key.name; local
46 int klen = strlen(keyp);
55 if ((strncmp(linep, keyp, klen) == 0) &&
H A Dgethostent.c52 const char *limit, *linep, *keyp, *addrstart; local
72 keyp = argp->key.name;
74 while (*keyp && linep < limit && !isspace(*linep) &&
75 tolower(*keyp) == tolower(*linep)) {
76 keyp++;
79 if (*keyp == '\0' && (linep == limit || isspace(*linep))) {
97 keyp = argp->key.name;
98 while (*keyp && linep < limit && !isspace(*linep) &&
99 tolower(*keyp) == tolower(*linep)) {
100 keyp
[all...]
/illumos-gate/usr/src/lib/libnsl/common/
H A Dcommon.c33 thr_get_storage(pthread_key_t *keyp, size_t size, void (*destructor)(void *)) argument
37 if (pthread_key_create_once_np(keyp, destructor) != 0)
39 addr = pthread_getspecific(*keyp);
42 if (addr != NULL && pthread_setspecific(*keyp, addr) != 0) {
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetservent.c73 const char *limit, *linep, *keyp; local
78 keyp = argp->key.serv.serv.name;
81 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
82 keyp++;
85 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
105 if ((keyp = argp->key.serv.proto) == NULL) {
111 while (*keyp && linep < limit && !isspace(*linep) &&
112 *keyp == *linep) {
113 keyp
227 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dnis_common.c646 const char *limit, *linep, *keyp; local
650 keyp = argp->key.name;
653 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
654 keyp++;
657 if (*keyp == '\0' && linep < limit && isspace(*linep))
677 keyp = argp->key.name;
678 while (*keyp && linep < limit && !isspace(*linep) &&
679 *keyp == *linep) {
680 keyp
[all...]
/illumos-gate/usr/src/lib/libgen/common/
H A Dbgets.c57 _get_stop(thread_key_t *keyp) argument
61 if (thr_keycreate_once(keyp, free) != 0)
63 str = pthread_getspecific(*keyp);
66 if (thr_setspecific(*keyp, str) != 0) {
H A Dbufsplit.c55 _get_bsplitchar(thread_key_t *keyp) argument
60 if (thr_keycreate_once(keyp, free) != 0)
62 strp = pthread_getspecific(*keyp);
65 if (thr_setspecific(*keyp, strp) != 0) {
H A Dpathfind.c80 _get_cpath(thread_key_t *keyp) argument
84 if (thr_keycreate_once(keyp, free) != 0)
86 str = pthread_getspecific(*keyp);
89 if (thr_setspecific(*keyp, str) != 0) {
H A Dreg_compile.c75 _get_vars_storage(thread_key_t *keyp) argument
79 if (thr_keycreate_once(keyp, free) != 0)
81 vars = pthread_getspecific(*keyp);
84 if (thr_setspecific(*keyp, vars) != 0) {
/illumos-gate/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c312 _get_iobuf(thread_key_t *keyp, unsigned size) argument
316 if (thr_keycreate_once(keyp, free) != 0)
318 iobuf = pthread_getspecific(*keyp);
320 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) {
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c953 asn1_to_rsa_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1064 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_MOD(keyp));
1087 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PUBEXPO(keyp));
1110 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIEXPO(keyp));
1133 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME1(keyp));
1156 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME2(keyp));
1179 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO1(keyp));
1202 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO2(keyp));
1226 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_COEF(keyp));
1232 bigint_attr_cleanup(KEY_PRI_RSA_MOD(keyp));
1263 asn1_to_dsa_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1471 asn1_to_dh_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1655 asn1_to_x942_dh_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c117 crypto_key_t *keyp, int opflag)
129 rv = do_soft_hmac_init(get_spp(opp), pMechanism, keyp->ck_data,
130 keyp->ck_length >> 3, opflag);
116 emulate_init(kernel_session_t *session_p, CK_MECHANISM_PTR pMechanism, crypto_key_t *keyp, int opflag) argument
H A DkernelEmulate.h67 crypto_key_t *keyp, int opflag);
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtsd.c160 thr_keycreate_once(thread_key_t *keyp, void (*destructor)(void *)) argument
166 if (*keyp == THR_ONCE_KEY) {
168 if (*keyp == THR_ONCE_KEY) {
175 *keyp = key;
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dkeyop.c137 if (key->israw && key->keyp != NULL) {
140 kmf_free_raw_key(key->keyp);
141 free(key->keyp);
143 kmf_free_raw_sym_key(key->keyp);
/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,
539 tlv_type = __LE_TO_CPU_16(((uint16_t*)keyp)[0]);
540 tlv_length = __LE_TO_CPU_16(((uint16_t*)keyp)[1]);
576 caddr_t keyp,
522 efx_lic_v1v2_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length ) argument
568 efx_lic_v1v2_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp ) argument
604 efx_lic_v1v2_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp ) argument
1147 efx_lic_v3_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length ) argument
1191 efx_lic_v3_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp ) argument
1211 efx_lic_v3_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp ) argument
1574 efx_lic_validate_key( __in efx_nic_t *enp, __in_bcount(length) caddr_t keyp, __in uint32_t length ) argument
1600 efx_lic_read_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __out_bcount_part(key_max_size, *lengthp) caddr_t keyp, __in size_t key_max_size, __out uint32_t *lengthp ) argument
1632 efx_lic_write_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in_bcount(length) caddr_t keyp, __in uint32_t length, __out uint32_t *lengthp ) argument
[all...]

Completed in 89 milliseconds

123