Lines Matching refs:buckets
16 return erealloc(table->buckets, capacity * sizeof(ds_htable_bucket_t)); in ds_htable_reallocate_buckets()
36 table->buckets = ds_htable_reallocate_buckets(table, capacity); in ds_htable_realloc()
57 ds_htable_bucket_t *bucket = table->buckets; in ds_htable_rehash()
96 ds_htable_bucket_t *end = table->buckets + table->next; in ds_htable_pack()
97 ds_htable_bucket_t *src = table->buckets + table->min_deleted; in ds_htable_pack()
127 table->buckets = ds_htable_allocate_buckets(capacity); in ds_htable_with_capacity()
145 ds_htable_bucket_t *src = _src->buckets; in ds_htable_copy()
146 ds_htable_bucket_t *end = _src->buckets + _src->next; in ds_htable_copy()
147 ds_htable_bucket_t *dst = _dst->buckets; in ds_htable_copy()
164 dst->buckets = ds_htable_allocate_buckets(src->capacity); in ds_htable_clone()
355 bucket = &table->buckets[index]; in ds_htable_lookup_bucket_by_hash()
379 return &table->buckets[position]; in ds_htable_lookup_by_position()
394 bucket = &table->buckets[index]; in ds_htable_lookup_by_position()
395 stop = &table->buckets[table->next]; in ds_htable_lookup_by_position()
510 efree(table->buckets); in ds_htable_free()
518 qsort(table->buckets, table->size, sizeof(ds_htable_bucket_t), compare_func); in ds_htable_sort_ex()
643 ds_htable_bucket_t *next = &table->buckets[table->next]; in ds_htable_put_distinct_bucket()
662 ds_htable_bucket_t *bucket = &table->buckets[table->next]; in ds_htable_init_next_bucket()
734 ds_htable_bucket_t *bucket = &table->buckets[table->next - 1]; in ds_htable_last()
749 ds_htable_bucket_t *bucket = table->buckets; in ds_htable_first()
771 ds_htable_bucket_t *pos = table->buckets; in ds_htable_join_keys()
805 bucket = &table->buckets[index]; in ds_htable_remove()
874 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice()
886 ds_htable_bucket_t *src = &table->buckets[index]; in ds_htable_slice()
906 ds_htable_bucket_t *src = table->buckets; in ds_htable_slice()
1132 ds_htable_bucket_t *a = table->buckets; in ds_htable_reverse()
1133 ds_htable_bucket_t *b = table->buckets + table->size - 1; in ds_htable_reverse()
1149 ds_htable_bucket_t *dst = reversed->buckets; in ds_htable_reversed()