Home
last modified time | relevance | path

Searched refs:LHASH_ITEM (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/lhash/
Dlhash.c83 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new()
88 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new()
104 LHASH_ITEM *n, *next; in lh_free()
130 static LHASH_ITEM **get_next_ptr_and_hash(const _LHASH *lh, uint32_t *out_hash, in get_next_ptr_and_hash()
133 LHASH_ITEM *cur, **ret; in get_next_ptr_and_hash()
151 LHASH_ITEM **next_ptr; in lh_retrieve()
166 LHASH_ITEM **new_buckets, *cur, *next; in lh_rebucket()
169 alloc_size = sizeof(LHASH_ITEM *) * new_num_buckets; in lh_rebucket()
170 if (alloc_size / sizeof(LHASH_ITEM*) != new_num_buckets) { in lh_rebucket()
227 LHASH_ITEM **next_ptr, *item; in lh_insert()
[all …]
/external/boringssl/src/include/openssl/
Dlhash.h115 } LHASH_ITEM; typedef
133 LHASH_ITEM **buckets;