Lines Matching refs:buckets
45 x_list **buckets; member
117 old = h->buckets; in hash_table_split()
141 h->buckets = new; in hash_table_split()
157 h->buckets = calloc(hash_table_total_buckets(h), sizeof(x_list *)); in X_PFX()
159 if (h->buckets == 0) { in X_PFX()
182 for (node = h->buckets[i]; node != 0; node = node->next) { in X_PFX()
187 X_PFX(list_free) (h->buckets[i]); in X_PFX()
190 free(h->buckets); in X_PFX()
211 for (node = h->buckets[hash_value % hash_table_total_buckets(h)]; in hash_table_modify()
238 h->buckets[hash_value] = X_PFX(list_prepend) (h->buckets[hash_value], in hash_table_modify()
262 for (ptr = &h->buckets[hash_value % hash_table_total_buckets(h)]; in X_PFX()
287 for (node = h->buckets[hash_value % hash_table_total_buckets(h)]; in X_PFX()
316 for (node = h->buckets[i]; node != 0; node = node->next) { in X_PFX()