Lines Matching refs:buckets
124 for (he = t->buckets[h & t->bucketsMask]; he != NULL; he = he->next) { in HashTable_Find()
139 HashEntry **buckets = bmake_malloc(sizeof *buckets * n); in HashTable_Init() local
141 buckets[i] = NULL; in HashTable_Init()
143 t->buckets = buckets; in HashTable_Init()
156 HashEntry **buckets = t->buckets; in HashTable_Done() local
160 HashEntry *he = buckets[i]; in HashTable_Done()
168 free(t->buckets); in HashTable_Done()
170 t->buckets = NULL; in HashTable_Done()
207 const HashEntry *he = t->buckets[b]; in HashTable_MaxChain()
224 HashEntry **oldBuckets = t->buckets; in HashTable_Enlarge()
247 t->buckets = newBuckets; in HashTable_Enlarge()
277 he->next = t->buckets[h & t->bucketsMask]; in HashTable_CreateEntry()
278 t->buckets[h & t->bucketsMask] = he; in HashTable_CreateEntry()
297 HashEntry **ref = &t->buckets[he->hash & t->bucketsMask]; in HashTable_DeleteEntry()
315 HashEntry **buckets = t->buckets; in HashIter_Next() local
324 he = buckets[hi->nextBucket++]; in HashIter_Next()