HomeSort by relevance Sort by last modified time
    Searched defs:Hashmap (Results 1 - 2 of 2) sorted by null

  /system/core/include/cutils/
hashmap.h 32 typedef struct Hashmap 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* map)
    [all...]
  /system/core/libcutils/
hashmap.c 17 #include <cutils/hashmap.h>
34 struct Hashmap {
43 Hashmap* hashmapCreate(size_t initialCapacity,
48 Hashmap* map = malloc(sizeof(Hashmap));
83 static inline int hashKey(Hashmap* map, void* key) {
96 size_t hashmapSize(Hashmap* map) {
104 static void expandIfNecessary(Hashmap* map) {
135 void hashmapLock(Hashmap* map) {
139 void hashmapUnlock(Hashmap* map)
    [all...]

Completed in 56 milliseconds