Lines Matching refs:Entry
26 typedef struct Entry Entry; typedef
27 struct Entry { struct
31 Entry* next; argument
35 Entry** buckets;
61 map->buckets = calloc(map->bucketCount, sizeof(Entry*)); in hashmapCreate()
109 Entry** newBuckets = calloc(newBucketCount, sizeof(Entry*)); in expandIfNecessary()
118 Entry* entry = map->buckets[i]; in expandIfNecessary()
120 Entry* next = entry->next; in expandIfNecessary()
146 Entry* entry = map->buckets[i]; in hashmapFree()
148 Entry* next = entry->next; in hashmapFree()
173 static Entry* createEntry(void* key, int hash, void* value) { in createEntry()
174 Entry* entry = malloc(sizeof(Entry)); in createEntry()
200 Entry** p = &(map->buckets[index]); in hashmapPut()
202 Entry* current = *p; in hashmapPut()
232 Entry* entry = map->buckets[index]; in hashmapGet()
247 Entry* entry = map->buckets[index]; in hashmapContainsKey()
263 Entry** p = &(map->buckets[index]); in hashmapMemoize()
265 Entry* current = *p; in hashmapMemoize()
296 Entry** p = &(map->buckets[index]); in hashmapRemove()
297 Entry* current; in hashmapRemove()
318 Entry* entry = map->buckets[i]; in hashmapForEach()
320 Entry *next = entry->next; in hashmapForEach()
338 Entry* entry = map->buckets[i]; in hashmapCountCollisions()