Home | History | Annotate | Download | only in libcutils

Lines Matching refs:hashmap

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) {
143 void hashmapFree(Hashmap* map) {
196 void* hashmapPut(Hashmap* map, void* key, void* value) {
228 void* hashmapGet(Hashmap* map, void* key) {
243 bool hashmapContainsKey(Hashmap* map, void* key) {
258 void* hashmapMemoize(Hashmap* map, void* key,
291 void* hashmapRemove(Hashmap* map, void* key) {
313 void hashmapForEach(Hashmap* map,
329 size_t hashmapCurrentCapacity(Hashmap* map) {
334 size_t hashmapCountCollisions(Hashmap* map) {