Lines Matching refs:buckets
35 Entry** buckets; member
61 map->buckets = static_cast<Entry**>(calloc(map->bucketCount, sizeof(Entry*))); in hashmapCreate()
62 if (map->buckets == NULL) { in hashmapCreate()
114 Entry* entry = map->buckets[i]; in expandIfNecessary()
125 free(map->buckets); in expandIfNecessary()
126 map->buckets = newBuckets; in expandIfNecessary()
142 Entry* entry = map->buckets[i]; in hashmapFree()
149 free(map->buckets); in hashmapFree()
196 Entry** p = &(map->buckets[index]); in hashmapPut()
228 Entry* entry = map->buckets[index]; in hashmapGet()
244 Entry** p = &(map->buckets[index]); in hashmapRemove()
265 Entry* entry = map->buckets[i]; in hashmapForEach()