Searched defs:Hashmap (Results 1 - 2 of 2) sorted by relevance

/system/core/include/cutils/
H A Dhashmap.h32 typedef struct Hashmap Hashmap; typedef in typeref:struct:Hashmap
41 Hashmap* hashmapCreate(size_t initialCapacity,
47 void hashmapFree(Hashmap* map);
62 void* hashmapPut(Hashmap* map, void* key, void* value);
68 void* hashmapGet(Hashmap* map, void* key);
73 bool hashmapContainsKey(Hashmap* map, void* key);
82 void* hashmapMemoize(Hashmap* map, void* key,
89 void* hashmapRemove(Hashmap* map, void* key);
94 size_t hashmapSize(Hashmap* ma
[all...]
/system/core/libcutils/
H A Dhashmap.c34 struct Hashmap { struct
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* ma
[all...]

Completed in 251 milliseconds