Lines Matching refs:hashmap
66 static void alloc_table(struct hashmap *map, unsigned int size) in alloc_table()
85 static inline int entry_equals(const struct hashmap *map, in entry_equals()
93 static inline unsigned int bucket(const struct hashmap *map, in bucket()
99 static void rehash(struct hashmap *map, unsigned int newsize) in rehash()
120 static inline struct hashmap_entry **find_entry_ptr(const struct hashmap *map, in find_entry_ptr()
136 void hashmap_init(struct hashmap *map, hashmap_cmp_fn equals_function, in hashmap_init()
152 int hashmap_free(struct hashmap *map) in hashmap_free()
169 void *hashmap_get(const struct hashmap *map, const void *key, const void *keydata) in hashmap_get()
174 void *hashmap_get_next(const struct hashmap *map, const void *entry) in hashmap_get_next()
184 void hashmap_add(struct hashmap *map, void *entry) in hashmap_add()
198 void *hashmap_remove(struct hashmap *map, const void *entry) in hashmap_remove()
221 void hashmap_iter_init(struct hashmap *map, struct hashmap_iter *iter) in hashmap_iter_init()
261 static struct hashmap map; in memintern()