Searched refs:LHASH_ITEM (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/quiche/deps/boringssl/src/crypto/lhash/ |
D | lhash.c | 82 LHASH_ITEM **buckets; 103 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 108 OPENSSL_memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 121 LHASH_ITEM *next; in lh_free() 122 for (LHASH_ITEM *n = lh->buckets[i]; n != NULL; n = next) { in lh_free() 141 static LHASH_ITEM **get_next_ptr_and_hash(const _LHASH *lh, uint32_t *out_hash, in get_next_ptr_and_hash() 150 LHASH_ITEM **ret = &lh->buckets[hash % lh->num_buckets]; in get_next_ptr_and_hash() 151 for (LHASH_ITEM *cur = *ret; cur != NULL; cur = *ret) { in get_next_ptr_and_hash() 163 static LHASH_ITEM **get_next_ptr_by_key(const _LHASH *lh, const void *key, in get_next_ptr_by_key() 167 LHASH_ITEM **ret = &lh->buckets[key_hash % lh->num_buckets]; in get_next_ptr_by_key() [all …]
|
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 82 LHASH_ITEM **buckets; 103 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 108 OPENSSL_memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 121 LHASH_ITEM *next; in lh_free() 122 for (LHASH_ITEM *n = lh->buckets[i]; n != NULL; n = next) { in lh_free() 141 static LHASH_ITEM **get_next_ptr_and_hash(const _LHASH *lh, uint32_t *out_hash, in get_next_ptr_and_hash() 150 LHASH_ITEM **ret = &lh->buckets[hash % lh->num_buckets]; in get_next_ptr_and_hash() 151 for (LHASH_ITEM *cur = *ret; cur != NULL; cur = *ret) { in get_next_ptr_and_hash() 163 static LHASH_ITEM **get_next_ptr_by_key(const _LHASH *lh, const void *key, in get_next_ptr_by_key() 167 LHASH_ITEM **ret = &lh->buckets[key_hash % lh->num_buckets]; in get_next_ptr_by_key() [all …]
|
/external/boringssl/src/include/openssl/ |
D | lhash.h | 101 } LHASH_ITEM; typedef
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | lhash.h | 101 } LHASH_ITEM; typedef
|