Lines Matching refs:equals
38 bool (*equals)(void* keyA, void* keyB); member
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
46 assert(equals != NULL); in hashmapCreate()
70 map->equals = equals; in hashmapCreate()
179 bool (*equals)(void*, void*)) { in equalKeys()
186 return equals(keyA, keyB); in equalKeys()
210 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapPut()
227 if (equalKeys(entry->key, entry->hash, key, hash, map->equals)) { in hashmapGet()
242 if (equalKeys(entry->key, entry->hash, key, hash, map->equals)) { in hashmapContainsKey()
275 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapMemoize()
292 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapRemove()