Lines Matching refs:entry_size
250 size_t entry_size; member
258 .entry_size = sizeof(struct plain_hashmap_entry),
264 .entry_size = sizeof(struct ordered_hashmap_entry),
270 .entry_size = sizeof(struct set_entry),
376 ((uint8_t*) storage_ptr(h) + idx * hashmap_type_info[h->type].entry_size); in bucket_at()
410 ((uint8_t*) storage_ptr(h) + hashmap_type_info[h->type].entry_size * n_buckets(h)); in dib_raw_ptr()
458 memzero(bucket_at(h, idx), hashmap_type_info[h->type].entry_size); in bucket_mark_free()
471 memcpy(e_to, e_from, hashmap_type_info[h->type].entry_size); in bucket_move_entry()
763 p = mempset(h->direct.storage, 0, hi->entry_size * hi->n_direct_buckets); in reset_direct_storage()
1097 if (_unlikely_(new_n_buckets > UINT_MAX / (hi->entry_size + sizeof(dib_raw_t)))) in resize_buckets()
1106 new_n_buckets * (hi->entry_size + sizeof(dib_raw_t)), in resize_buckets()
1118 old_n_buckets * (hi->entry_size + sizeof(dib_raw_t))); in resize_buckets()
1132 (hi->entry_size + sizeof(dib_raw_t)); in resize_buckets()
1134 old_dibs = (dib_raw_t*)((uint8_t*) new_storage + hi->entry_size * old_n_buckets); in resize_buckets()
1151 (n_buckets(h) - old_n_buckets) * hi->entry_size); in resize_buckets()
1178 memzero(bucket_at(h, idx), hi->entry_size); in resize_buckets()