Lines Matching refs:Hashmap
34 struct Hashmap { struct
43 Hashmap* hashmapCreate(size_t initialCapacity, in hashmapCreate() argument
48 Hashmap* map = static_cast<Hashmap*>(malloc(sizeof(Hashmap))); in hashmapCreate()
83 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
100 static void expandIfNecessary(Hashmap* map) { in expandIfNecessary()
131 void hashmapLock(Hashmap* map) { in hashmapLock()
135 void hashmapUnlock(Hashmap* map) { in hashmapUnlock()
139 void hashmapFree(Hashmap* map) { in hashmapFree()
192 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
224 void* hashmapGet(Hashmap* map, void* key) { in hashmapGet()
239 void* hashmapRemove(Hashmap* map, void* key) { in hashmapRemove()
261 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), in hashmapForEach()