/titanic_44/usr/src/lib/nsswitch/files/common/ |
H A D | getservent.c | 42 const char *limit, *linep, *keyp; in check_name() local 47 keyp = argp->key.serv.serv.name; in check_name() 50 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name() 51 keyp++; in check_name() 54 if (*keyp == '\0' && linep < limit && isspace(*linep)) { in check_name() 74 if ((keyp = argp->key.serv.proto) == NULL) { in check_name() 80 while (*keyp && linep < limit && !isspace(*linep) && in check_name() 81 *keyp == *linep) { in check_name() 82 keyp++; in check_name() 86 if (*keyp || (linep < limit && !isspace(*linep))) in check_name() [all …]
|
H A D | tsol_gettpent.c | 39 const char *limit, *linep, *keyp; in check_name() local 43 keyp = args->key.name; in check_name() 46 while (*keyp && linep < limit && *linep != ':' && *keyp == *linep) { in check_name() 47 keyp++; in check_name() 50 if (*keyp == '\0' && linep < limit && *linep == ':') in check_name()
|
H A D | getspent.c | 38 const char *keyp = argp->key.name; in check_spnamp() local 43 while (*keyp && linelen-- && *keyp == *linep) { in check_spnamp() 44 keyp++; in check_spnamp() 47 return (linelen && *keyp == '\0' && *linep == ':'); in check_spnamp()
|
H A D | tsol_getrhent.c | 40 const char *limit, *linep, *keyp; in check_addr() local 46 keyp = args->key.hostaddr.addr; in check_addr() 63 while (*keyp && linep < limit && *keyp == *linep) { in check_addr() 69 keyp++; in check_addr() 72 if (*keyp == '\0' && linep < limit && ((ipv6 == 0 && *linep == ':') || in check_addr()
|
H A D | ether_addr.c | 55 const char *limit, *linep, *keyp; in check_host() local 72 keyp = argp->key.name; in check_host() 73 while (*keyp != '\0' && linep < limit && *keyp == *linep) { in check_host() 74 keyp++; in check_host() 77 return (*keyp == '\0' && linep == limit); in check_host()
|
H A D | files_common.c | 677 const char *keyp = argp->key.name; in _nss_files_check_name_colon() local 681 while (*keyp && linep < limit && *keyp == *linep) { in _nss_files_check_name_colon() 682 keyp++; in _nss_files_check_name_colon() 685 return (linep < limit && *keyp == '\0' && *linep == ':'); in _nss_files_check_name_colon() 699 const char *limit, *linep, *keyp; in _nss_files_check_name_aliases() local 703 keyp = argp->key.name; in _nss_files_check_name_aliases() 706 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in _nss_files_check_name_aliases() 707 keyp++; in _nss_files_check_name_aliases() 710 if (*keyp == '\0' && linep < limit && isspace(*linep)) in _nss_files_check_name_aliases() 730 keyp = argp->key.name; in _nss_files_check_name_aliases() [all …]
|
H A D | getexecattr.c | 59 const char *limit, *linep, *keyp; in check_match() local 76 keyp = exec_field[i]; in check_match() 77 if (keyp) { in check_match() 79 while (*keyp && linep < limit && in check_match() 80 *linep != ':' && *keyp == *linep) { in check_match() 81 keyp++; in check_match() 84 if (*keyp || linep == limit || *linep != ':') in check_match()
|
H A D | gethostent.c | 52 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 D | getgrent.c | 101 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 D | getpwnam.c | 103 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 D | getprinter.c | 45 const char *keyp = argp->key.name; in check_name() local 46 int klen = strlen(keyp); in check_name() 55 if ((strncmp(linep, keyp, klen) == 0) && in check_name()
|
/titanic_44/usr/src/lib/nsswitch/nis/common/ |
H A D | getservent.c | 73 const char *limit, *linep, *keyp; in check_name2() local 78 keyp = argp->key.serv.serv.name; in check_name2() 81 while (*keyp && linep < limit && !isspace(*linep) && *keyp == *linep) { in check_name2() 82 keyp++; in check_name2() 85 if (*keyp == '\0' && linep < limit && isspace(*linep)) { in check_name2() 105 if ((keyp = argp->key.serv.proto) == NULL) { in check_name2() 111 while (*keyp && linep < limit && !isspace(*linep) && in check_name2() 112 *keyp == *linep) { in check_name2() 113 keyp++; in check_name2() 117 if (*keyp || (linep < limit && !isspace(*linep))) in check_name2() [all …]
|
H A D | nis_common.c | 646 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()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softASN1.c | 953 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)); [all …]
|
/titanic_44/usr/src/lib/libnsl/common/ |
H A D | common.c | 33 thr_get_storage(pthread_key_t *keyp, size_t size, void (*destructor)(void *)) in thr_get_storage() argument 37 if (pthread_key_create_once_np(keyp, destructor) != 0) in thr_get_storage() 39 addr = pthread_getspecific(*keyp); in thr_get_storage() 42 if (addr != NULL && pthread_setspecific(*keyp, addr) != 0) { in thr_get_storage()
|
/titanic_44/usr/src/lib/libgen/common/ |
H A D | bufsplit.c | 55 _get_bsplitchar(thread_key_t *keyp) in _get_bsplitchar() argument 60 if (thr_keycreate_once(keyp, free) != 0) in _get_bsplitchar() 62 strp = pthread_getspecific(*keyp); in _get_bsplitchar() 65 if (thr_setspecific(*keyp, strp) != 0) { in _get_bsplitchar()
|
H A D | bgets.c | 57 _get_stop(thread_key_t *keyp) in _get_stop() argument 61 if (thr_keycreate_once(keyp, free) != 0) in _get_stop() 63 str = pthread_getspecific(*keyp); in _get_stop() 66 if (thr_setspecific(*keyp, str) != 0) { in _get_stop()
|
H A D | pathfind.c | 80 _get_cpath(thread_key_t *keyp) in _get_cpath() argument 84 if (thr_keycreate_once(keyp, free) != 0) in _get_cpath() 86 str = pthread_getspecific(*keyp); in _get_cpath() 89 if (thr_setspecific(*keyp, str) != 0) { in _get_cpath()
|
H A D | reg_compile.c | 75 _get_vars_storage(thread_key_t *keyp) in _get_vars_storage() argument 79 if (thr_keycreate_once(keyp, free) != 0) in _get_vars_storage() 81 vars = pthread_getspecific(*keyp); in _get_vars_storage() 84 if (thr_setspecific(*keyp, vars) != 0) { in _get_vars_storage()
|
/titanic_44/usr/src/lib/libcrypt/common/ |
H A D | des_crypt.c | 312 _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()
|
/titanic_44/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_status.c | 680 libscsi_action_parse_sense(const libscsi_action_t *ap, uint64_t *keyp, in libscsi_action_parse_sense() argument 692 if (keyp != NULL) in libscsi_action_parse_sense() 693 *keyp = (uint64_t)xsp->es_key; in libscsi_action_parse_sense()
|
/titanic_44/usr/src/lib/libc/port/threads/ |
H A D | tsd.c | 160 thr_keycreate_once(thread_key_t *keyp, void (*destructor)(void *)) in thr_keycreate_once() argument 166 if (*keyp == THR_ONCE_KEY) { in thr_keycreate_once() 168 if (*keyp == THR_ONCE_KEY) { in thr_keycreate_once() 175 *keyp = key; in thr_keycreate_once()
|
/titanic_44/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 977 privkey->keyp = (void *)NSSprivkey; in NSS_CreateKeypair() 981 pubkey->keyp = (void *)NSSpubkey; in NSS_CreateKeypair() 994 privkey->keyp = NULL; in NSS_CreateKeypair() 995 pubkey->keyp = NULL; in NSS_CreateKeypair() 1038 NSSprivkey = (SECKEYPrivateKey *)key->keyp; in NSS_SignData() 1086 NSS_EncodePubKeyData(KMF_HANDLE_T handle, KMF_KEY_HANDLE *keyp, in NSS_EncodePubKeyData() argument 1094 if (keyp == NULL || encoded == NULL || keyp->keyp == NULL) in NSS_EncodePubKeyData() 1097 spki = SECKEY_CreateSubjectPublicKeyInfo(keyp->keyp); in NSS_EncodePubKeyData() 1143 if (key == NULL || key->keyp == NULL) in NSS_DeleteKey() 1176 (SECKEYPublicKey *)key->keyp); in NSS_DeleteKey() [all …]
|
/titanic_44/usr/src/lib/libkmf/libkmf/common/ |
H A D | keyop.c | 137 if (key->israw && key->keyp != NULL) { in kmf_delete_key_from_keystore() 140 kmf_free_raw_key(key->keyp); in kmf_delete_key_from_keystore() 141 free(key->keyp); in kmf_delete_key_from_keystore() 143 kmf_free_raw_sym_key(key->keyp); in kmf_delete_key_from_keystore()
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelEmulate.c | 117 crypto_key_t *keyp, int opflag) in emulate_init() argument 129 rv = do_soft_hmac_init(get_spp(opp), pMechanism, keyp->ck_data, in emulate_init() 130 keyp->ck_length >> 3, opflag); in emulate_init()
|