Searched refs:bucket_at (Results 1 - 1 of 1) sorted by relevance
/third_party/eudev/src/shared/ |
H A D | hashmap.c | 402 static struct hashmap_base_entry *bucket_at(HashmapBase *h, unsigned idx) { in bucket_at() function 408 return (struct plain_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx); in plain_bucket_at() 412 return (struct ordered_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx); in ordered_bucket_at() 416 return (struct set_entry*) bucket_at(HASHMAP_BASE(h), idx); in set_bucket_at() 428 return bucket_at(h, idx); in bucket_at_virtual() 465 initial_bucket = bucket_hash(h, bucket_at(h, idx)->key); in bucket_calculate_dib() 486 memset(bucket_at(h, idx), 0, hashmap_type_info[h->type].entry_size); in bucket_mark_free() 678 e = bucket_at(h, i->idx); in hashmap_iterate_in_internal_order() 686 e = bucket_at(h, --i->idx); in hashmap_iterate_in_internal_order() 698 i->next_key = bucket_at( in hashmap_iterate_in_internal_order() [all...] |
Completed in 3 milliseconds