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

12

/osnet-11/usr/src/lib/nsswitch/files/common/
H A Dtsol_gettpent.c36 const char *limit, *linep, *keyp; local
40 keyp = args->key.name;
43 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) {
44 keyp++;
47 if (*keyp == '\0' && linep < limit && *linep == ':')
H A Dgetservent.c39 const char *limit, *linep, *keyp; local
44 keyp = argp->key.serv.serv.name;
47 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
48 keyp++;
51 if (*keyp == '\0' && linep < limit && isspace(*linep)) {
71 if ((keyp = argp->key.serv.proto) == NULL) {
77 while (*keyp && linep < limit && !isspace(*linep) &&
78 *keyp == *linep) {
79 keyp
128 const char *limit, *linep, *keyp, *numstart; local
[all...]
H A Dgetspent.c35 const char *keyp = argp->key.name; local
40 while (*keyp && linelen-- && *keyp == *linep) {
41 keyp++;
44 return (linelen && *keyp == '\0' && *linep == ':');
H A Dether_addr.c52 const char *limit, *linep, *keyp; local
69 keyp = argp->key.name;
70 while (*keyp != '\0' && linep < limit && *keyp == *linep) {
71 keyp++;
74 return (*keyp == '\0' && linep == limit);
H A Dtsol_getrhent.c37 const char *limit, *linep, *keyp; local
43 keyp = args->key.hostaddr.addr;
60 while (*keyp && linep < limit && *keyp == *linep) {
66 keyp++;
69 if (*keyp == '\0' && linep < limit && ((ipv6 == 0 && *linep == ':') ||
H A Dgetgrent.c47 const char *keyp = argp->key.name; local
55 while (*keyp && linep < limit && *keyp == *linep) {
56 keyp++;
59 return (linep < limit && *keyp == '\0' && *linep == ':');
H A Dgetpwnam.c48 const char *keyp = argp->key.name; local
56 while (*keyp && linep < limit && *keyp == *linep) {
57 keyp++;
60 return (linep < limit && *keyp == '\0' && *linep == ':');
H A Dgetexecattr.c117 const char *limit, *linep, *keyp; local
142 keyp = exec_field[i];
143 if (keyp) {
145 while (*keyp && linep < limit &&
146 *linep != ':' && *keyp == *linep) {
147 keyp++;
150 if (*keyp || linep == limit || *linep != ':')
H A Dgetprinter.c42 const char *keyp = argp->key.name; local
43 int klen = strlen(keyp);
52 if ((strncmp(linep, keyp, klen) == 0) &&
H A Dgethostent.c212 const char *limit, *linep, *keyp, *addrstart; local
232 keyp = argp->key.name;
234 while (*keyp && linep < limit && !isspace(*linep) &&
235 tolower(*keyp) == tolower(*linep)) {
236 keyp++;
239 if (*keyp == '\0' && (linep == limit || isspace(*linep))) {
257 keyp = argp->key.name;
258 while (*keyp && linep < limit && !isspace(*linep) &&
259 tolower(*keyp) == tolower(*linep)) {
260 keyp
[all...]
H A Dfiles_common.c1378 const char *keyp = argp->key.name; local
1382 while (*keyp && linep < limit && *keyp == *linep) {
1383 keyp++;
1386 return (linep < limit && *keyp == '\0' && *linep == ':');
1400 const char *limit, *linep, *keyp; local
1404 keyp = argp->key.name;
1407 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) {
1408 keyp
[all...]
/osnet-11/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) {
/osnet-11/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...]
/osnet-11/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) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsKeys.c35 kms_generate_softkey(kms_object_t *keyp) argument
37 if ((OBJ_SEC_VALUE(keyp) = malloc(OBJ_SEC_VALUE_LEN(keyp))) == NULL)
40 if (pkcs11_get_urandom(OBJ_SEC_VALUE(keyp),
41 OBJ_SEC_VALUE_LEN(keyp)) < 0)
/osnet-11/usr/src/lib/libcrypt/common/
H A Ddes_crypt.c327 _get_iobuf(thread_key_t *keyp, unsigned size) argument
331 if (thr_keycreate_once(keyp, free) != 0)
333 iobuf = pthread_getspecific(*keyp);
335 if (thr_setspecific(*keyp, (iobuf = malloc(size))) != 0) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftASN1.c952 asn1_to_rsa_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1063 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_MOD(keyp));
1086 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PUBEXPO(keyp));
1109 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIEXPO(keyp));
1132 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME1(keyp));
1155 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME2(keyp));
1178 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO1(keyp));
1201 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO2(keyp));
1225 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_COEF(keyp));
1231 bigint_attr_cleanup(KEY_PRI_RSA_MOD(keyp));
1262 asn1_to_dsa_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1474 asn1_to_dh_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
1659 asn1_to_x942_dh_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c118 crypto_key_t *keyp, int opflag)
130 rv = do_soft_hmac_init(get_spp(opp), pMechanism, keyp->ck_data,
131 keyp->ck_length >> 3, opflag);
117 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);
/osnet-11/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);
/osnet-11/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;

Completed in 70 milliseconds

12