Lines Matching refs:hashmap
17 #include <cutils/hashmap.h>
34 struct Hashmap {
43 Hashmap* hashmapCreate(size_t initialCapacity,
48 Hashmap* map = malloc(sizeof(Hashmap));
80 static inline int hashKey(Hashmap* map, void* key) {
93 size_t hashmapSize(Hashmap* map) {
101 static void expandIfNecessary(Hashmap* map) {
132 void hashmapLock(Hashmap* map) {
136 void hashmapUnlock(Hashmap* map) {
140 void hashmapFree(Hashmap* map) {
189 void* hashmapPut(Hashmap* map, void* key, void* value) {
221 void* hashmapGet(Hashmap* map, void* key) {
236 bool hashmapContainsKey(Hashmap* map, void* key) {
251 void* hashmapMemoize(Hashmap* map, void* key,
284 void* hashmapRemove(Hashmap* map, void* key) {
306 void hashmapForEach(Hashmap* map,
322 size_t hashmapCurrentCapacity(Hashmap* map) {
327 size_t hashmapCountCollisions(Hashmap* map) {