Searched refs:entries_add (Results 1 – 3 of 3) sorted by relevance
/third_party/eudev/src/shared/ |
D | hashmap.h | 251 int internal_hashmap_reserve(HashmapBase *h, unsigned entries_add); 252 static inline int hashmap_reserve(Hashmap *h, unsigned entries_add) { in hashmap_reserve() argument 253 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add); in hashmap_reserve() 255 static inline int ordered_hashmap_reserve(OrderedHashmap *h, unsigned entries_add) { in ordered_hashmap_reserve() argument 256 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add); in ordered_hashmap_reserve()
|
D | set.h | 70 static inline int set_reserve(Set *h, unsigned entries_add) { in set_reserve() argument 71 return internal_hashmap_reserve(HASHMAP_BASE(h), entries_add); in set_reserve()
|
D | hashmap.c | 952 static int resize_buckets(HashmapBase *h, unsigned entries_add); 1075 static int resize_buckets(HashmapBase *h, unsigned entries_add) { in resize_buckets() argument 1088 new_n_entries = n_entries(h) + entries_add; in resize_buckets() 1091 if (_unlikely_(new_n_entries < entries_add)) in resize_buckets() 1645 int internal_hashmap_reserve(HashmapBase *h, unsigned entries_add) { in internal_hashmap_reserve() argument 1650 r = resize_buckets(h, entries_add); in internal_hashmap_reserve()
|