Searched refs:Hashmap (Results 1 – 4 of 4) sorted by relevance
/system/core/libcutils/include_vndk/cutils/ |
D | hashmap.h | 35 typedef struct Hashmap Hashmap; typedef 44 Hashmap* hashmapCreate(size_t initialCapacity, 50 void hashmapFree(Hashmap* map); 65 void* hashmapPut(Hashmap* map, void* key, void* value); 71 void* hashmapGet(Hashmap* map, void* key); 77 void* hashmapRemove(Hashmap* map, void* key); 83 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), 93 void hashmapLock(Hashmap* map); 98 void hashmapUnlock(Hashmap* map);
|
/system/core/libcutils/include/cutils/ |
D | hashmap.h | 35 typedef struct Hashmap Hashmap; typedef 44 Hashmap* hashmapCreate(size_t initialCapacity, 50 void hashmapFree(Hashmap* map); 65 void* hashmapPut(Hashmap* map, void* key, void* value); 71 void* hashmapGet(Hashmap* map, void* key); 77 void* hashmapRemove(Hashmap* map, void* key); 83 void hashmapForEach(Hashmap* map, bool (*callback)(void* key, void* value, void* context), 93 void hashmapLock(Hashmap* map); 98 void hashmapUnlock(Hashmap* map);
|
/system/core/libcutils/ |
D | hashmap.cpp | 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() [all …]
|
D | str_parms.cpp | 48 Hashmap *map;
|