Lines Matching refs:_LHASH
95 _LHASH *lh_new(lhash_hash_func hash, lhash_cmp_func comp) { in lh_new()
96 _LHASH *ret = OPENSSL_malloc(sizeof(_LHASH)); in lh_new()
100 OPENSSL_memset(ret, 0, sizeof(_LHASH)); in lh_new()
115 void lh_free(_LHASH *lh) { in lh_free()
132 size_t lh_num_items(const _LHASH *lh) { return lh->num_items; } in lh_num_items()
141 static LHASH_ITEM **get_next_ptr_and_hash(const _LHASH *lh, uint32_t *out_hash, in get_next_ptr_and_hash()
161 void *lh_retrieve(const _LHASH *lh, const void *data) { in lh_retrieve()
176 static void lh_rebucket(_LHASH *lh, const size_t new_num_buckets) { in lh_rebucket()
207 static void lh_maybe_resize(_LHASH *lh) { in lh_maybe_resize()
236 int lh_insert(_LHASH *lh, void **old_data, void *data) { in lh_insert()
268 void *lh_delete(_LHASH *lh, const void *data) { in lh_delete()
289 static void lh_doall_internal(_LHASH *lh, void (*no_arg_func)(void *), in lh_doall_internal()
322 void lh_doall(_LHASH *lh, void (*func)(void *)) { in lh_doall()
326 void lh_doall_arg(_LHASH *lh, void (*func)(void *, void *), void *arg) { in lh_doall_arg()