Lines Matching defs:bucket_at
348 static struct hashmap_base_entry *bucket_at(HashmapBase *h, unsigned idx) {
354 return (struct plain_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx);
358 return (struct ordered_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx);
362 return (struct set_entry*) bucket_at(HASHMAP_BASE(h), idx);
374 return bucket_at(h, idx);
411 initial_bucket = bucket_hash(h, bucket_at(h, idx)->key);
432 memzero(bucket_at(h, idx), hashmap_type_info[h->type].entry_size);
624 e = bucket_at(h, i->idx);
632 e = bucket_at(h, --i->idx);
644 i->next_key = bucket_at(h, i->idx)->key;
696 e = bucket_at(h, idx);
885 free(entry_value(h, bucket_at(h, idx)));
1114 memzero(bucket_at(h, old_n_buckets),
1127 optimal_idx = bucket_hash(h, bucket_at(h, idx)->key);
1142 memzero(bucket_at(h, idx), hi->entry_size);
1183 e = bucket_at(h, idx);
1292 e = bucket_at(h, idx);
1338 e = bucket_at(h, idx);
1440 old_key = bucket_at(HASHMAP_BASE(h), idx_old)->key;
1448 if (old_key != bucket_at(HASHMAP_BASE(h), idx_old)->key)
1450 assert(old_key == bucket_at(HASHMAP_BASE(h), idx_old)->key);
1500 return entry_value(h, bucket_at(h, idx));
1511 e = bucket_at(h, idx);
1524 e = bucket_at(h, idx);
1540 e = bucket_at(h, idx);
1644 e = bucket_at(other, idx);
1684 e = bucket_at(other, idx);
1740 sv[n++] = entry_value(h, bucket_at(h, idx));