Lines Matching refs:Entry
26 typedef struct Entry Entry; typedef
27 struct Entry { struct
31 Entry* next; argument
35 Entry** buckets;
61 map->buckets = static_cast<Entry**>(calloc(map->bucketCount, sizeof(Entry*))); in hashmapCreate()
105 Entry** newBuckets = static_cast<Entry**>(calloc(newBucketCount, sizeof(Entry*))); in expandIfNecessary()
114 Entry* entry = map->buckets[i]; in expandIfNecessary()
116 Entry* next = entry->next; in expandIfNecessary()
142 Entry* entry = map->buckets[i]; in hashmapFree()
144 Entry* next = entry->next; in hashmapFree()
169 static Entry* createEntry(void* key, int hash, void* value) { in createEntry()
170 Entry* entry = static_cast<Entry*>(malloc(sizeof(Entry))); in createEntry()
196 Entry** p = &(map->buckets[index]); in hashmapPut()
198 Entry* current = *p; in hashmapPut()
228 Entry* entry = map->buckets[index]; in hashmapGet()
244 Entry** p = &(map->buckets[index]); in hashmapRemove()
245 Entry* current; in hashmapRemove()
265 Entry* entry = map->buckets[i]; in hashmapForEach()
267 Entry *next = entry->next; in hashmapForEach()