/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getservent.c | 40 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() 52 if (*keyp == '\0' && linep < limit && isspace(*linep)) { in check_name() 72 if ((keyp = argp->key.serv.proto) == NULL) { in check_name() 78 while (*keyp && linep < limit && !isspace(*linep) && in check_name() 79 *keyp == *linep) { in check_name() 80 keyp++; in check_name() 84 if (*keyp || (linep < limit && !isspace(*linep))) in check_name() [all …]
|
H A D | tsol_gettpent.c | 37 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 D | getspent.c | 36 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 D | tsol_getrhent.c | 38 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 D | ether_addr.c | 53 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 D | files_common.c | 678 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() 686 return (linep < limit && *keyp == '\0' && *linep == ':'); 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() 711 if (*keyp == '\0' && linep < limit && isspace(*linep)) in _nss_files_check_name_aliases() 731 keyp = argp->key.name; in _nss_files_check_name_aliases() [all …]
|
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 | getexecattr.c | 73 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 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 | 43 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 D | getservent.c | 71 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() 83 if (*keyp == '\0' && linep < limit && isspace(*linep)) { in check_name2() 103 if ((keyp = argp->key.serv.proto) == NULL) { in check_name2() 109 while (*keyp && linep < limit && !isspace(*linep) && in check_name2() 110 *keyp == *linep) { in check_name2() 111 keyp++; in check_name2() 115 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()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softASN1.c | 942 asn1_to_rsa_pri(private_key_obj_t *keyp, uchar_t *buf, ulong_t buf_len) argument 1053 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_MOD(keyp)); 1076 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PUBEXPO(keyp)); 1099 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIEXPO(keyp)); 1122 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME1(keyp)); 1145 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_PRIME2(keyp)); 1168 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO1(keyp)); 1191 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_EXPO2(keyp)); 1215 copy_bigint_attr(&tmp_nopad, KEY_PRI_RSA_COEF(keyp)); 1221 bigint_attr_cleanup(KEY_PRI_RSA_MOD(keyp)); [all …]
|
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ctr.c | 100 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 D | common.c | 31 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 D | bufsplit.c | 53 _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 D | bgets.c | 55 _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 D | pathfind.c | 78 _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()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_lic.c | 73 __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() 539 tlv_type = __LE_TO_CPU_16(((uint16_t*)keyp)[0]); in efx_lic_v1v2_validate_key() 540 tlv_length = __LE_TO_CPU_16(((uint16_t*)keyp)[1]); in efx_lic_v1v2_validate_key() 576 caddr_t keyp, in efx_lic_v1v2_read_key() [all …]
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | thread.c | 139 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 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()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_zone.c | 44 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 D | scsi_status.c | 678 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()
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 978 privkey->keyp = (void *)NSSprivkey; in NSS_CreateKeypair() 982 pubkey->keyp = (void *)NSSpubkey; in NSS_CreateKeypair() 995 privkey->keyp = NULL; in NSS_CreateKeypair() 996 pubkey->keyp = NULL; in NSS_CreateKeypair() 1039 NSSprivkey = (SECKEYPrivateKey *)key->keyp; in NSS_SignData() 1087 NSS_EncodePubKeyData(KMF_HANDLE_T handle, KMF_KEY_HANDLE *keyp, in NSS_EncodePubKeyData() argument 1095 if (keyp == NULL || encoded == NULL || keyp->keyp == NULL) in NSS_EncodePubKeyData() 1098 spki = SECKEY_CreateSubjectPublicKeyInfo(keyp->keyp); in NSS_EncodePubKeyData() 1144 if (key == NULL || key->keyp == NULL) in NSS_DeleteKey() 1177 (SECKEYPublicKey *)key->keyp); in NSS_DeleteKey() [all …]
|