Lines Matching refs:bucket_at
402 static struct hashmap_base_entry *bucket_at(HashmapBase *h, unsigned idx) {
408 return (struct plain_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx);
412 return (struct ordered_hashmap_entry*) bucket_at(HASHMAP_BASE(h), idx);
416 return (struct set_entry*) bucket_at(HASHMAP_BASE(h), idx);
428 return bucket_at(h, idx);
465 initial_bucket = bucket_hash(h, bucket_at(h, idx)->key);
486 memset(bucket_at(h, idx), 0, hashmap_type_info[h->type].entry_size);
678 e = bucket_at(h, i->idx);
686 e = bucket_at(h, --i->idx);
698 i->next_key = bucket_at(h, i->idx)->key;
748 e = bucket_at(h, idx);
931 free(entry_value(h, bucket_at(h, idx)));
1160 memset(bucket_at(h, old_n_buckets), 0,
1173 optimal_idx = bucket_hash(h, bucket_at(h, idx)->key);
1188 memset(bucket_at(h, idx), 0, hi->entry_size);
1229 e = bucket_at(h, idx);
1338 e = bucket_at(h, idx);
1384 e = bucket_at(h, idx);
1486 old_key = bucket_at(HASHMAP_BASE(h), idx_old)->key;
1494 if (old_key != bucket_at(HASHMAP_BASE(h), idx_old)->key)
1496 assert(old_key == bucket_at(HASHMAP_BASE(h), idx_old)->key);
1546 return entry_value(h, bucket_at(h, idx));
1557 e = bucket_at(h, idx);
1570 e = bucket_at(h, idx);
1586 e = bucket_at(h, idx);
1690 e = bucket_at(other, idx);
1730 e = bucket_at(other, idx);
1786 sv[n++] = entry_value(h, bucket_at(h, idx));