Home
last modified time | relevance | path

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

/third_party/iowow/src/utils/
Diwhmap.c66 IW_INLINE uint32_t _n_buckets(hmap_t *hm) { in _n_buckets() function
242 assert(num_buckets != _n_buckets(hm)); in _rehash()
245 *bucket_end = hm->buckets + _n_buckets(hm); in _rehash()
368 _rehash(hm, _n_buckets(hm) / 2); in _entry_remove()
423 _rehash(hm, _n_buckets(hm) * 2); in iwhmap_put()
530 uint32_t n = _n_buckets(iter->hm); in iwhmap_iter_next()
552 for (bucket_t *b = hm->buckets, *be = hm->buckets + _n_buckets(hm); b < be; ++b) { in iwhmap_clear()
561 if (_n_buckets(hm) > MIN_BUCKETS) { in iwhmap_clear()
576 for (bucket_t *b = hm->buckets, *be = hm->buckets + _n_buckets(hm); b < be; ++b) { in iwhmap_destroy()