Lines Matching refs:bucket_t
26 } bucket_t; typedef
37 bucket_t *buckets;
191 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in _entry_find()
203 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in _entry_add()
237 bucket_t *buckets = calloc(num_buckets, sizeof(*buckets)); in _rehash()
244 bucket_t *bucket, in _rehash()
351 static void _entry_remove(IWHMAP *hm, bucket_t *bucket, entry_t *entry) { in _entry_remove()
384 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in iwhmap_remove()
428 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in iwhmap_put()
452 bucket_t *bucket = hm->buckets + (hash & hm->buckets_mask); in iwhmap_rename()
526 bucket_t *bucket = iter->hm->buckets + iter->bucket; in iwhmap_iter_next()
552 for (bucket_t *b = hm->buckets, *be = hm->buckets + _n_buckets(hm); b < be; ++b) { in iwhmap_clear()
562 bucket_t *buckets_new = realloc(hm->buckets, sizeof(buckets_new[0]) * MIN_BUCKETS); in iwhmap_clear()
576 for (bucket_t *b = hm->buckets, *be = hm->buckets + _n_buckets(hm); b < be; ++b) { in iwhmap_destroy()