Lines Matching refs:hashmap
35 struct hashmap { struct
56 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument
58 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
61 void hashmap__clear(struct hashmap *map);
62 void hashmap__free(struct hashmap *map);
64 size_t hashmap__size(const struct hashmap *map);
65 size_t hashmap__capacity(const struct hashmap *map);
95 int hashmap__insert(struct hashmap *map, const void *key, void *value,
99 static inline int hashmap__add(struct hashmap *map, in hashmap__add()
105 static inline int hashmap__set(struct hashmap *map, in hashmap__set()
113 static inline int hashmap__update(struct hashmap *map, in hashmap__update()
121 static inline int hashmap__append(struct hashmap *map, in hashmap__append()
127 bool hashmap__delete(struct hashmap *map, const void *key,
130 bool hashmap__find(const struct hashmap *map, const void *key, void **value);