Home
last modified time | relevance | path

Searched refs:Hashmap (Results 1 – 4 of 4) sorted by relevance

/system/core/include/cutils/
Dhashmap.h32 typedef struct Hashmap Hashmap; typedef
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* map);
100 void hashmapForEach(Hashmap* map,
[all …]
/system/core/libcutils/
Dhashmap.c34 struct Hashmap { struct
43 Hashmap* hashmapCreate(size_t initialCapacity, in hashmapCreate() argument
48 Hashmap* map = malloc(sizeof(Hashmap)); in hashmapCreate()
83 static inline int hashKey(Hashmap* map, void* key) { in hashKey()
96 size_t hashmapSize(Hashmap* map) { in hashmapSize()
104 static void expandIfNecessary(Hashmap* map) { in expandIfNecessary()
135 void hashmapLock(Hashmap* map) { in hashmapLock()
139 void hashmapUnlock(Hashmap* map) { in hashmapUnlock()
143 void hashmapFree(Hashmap* map) { in hashmapFree()
196 void* hashmapPut(Hashmap* map, void* key, void* value) { in hashmapPut()
[all …]
Dstr_parms.c49 Hashmap *map;
/system/core/sdcard/
Dsdcard.c204 Hashmap* package_to_appid;
1685 Hashmap* map = context; in remove_str_to_int()