Lines Matching refs:hashmap
52 struct hashmap { struct
73 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument
75 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
78 void hashmap__clear(struct hashmap *map);
79 void hashmap__free(struct hashmap *map);
81 size_t hashmap__size(const struct hashmap *map);
82 size_t hashmap__capacity(const struct hashmap *map);
112 int hashmap__insert(struct hashmap *map, const void *key, void *value,
116 static inline int hashmap__add(struct hashmap *map, in hashmap__add()
122 static inline int hashmap__set(struct hashmap *map, in hashmap__set()
130 static inline int hashmap__update(struct hashmap *map, in hashmap__update()
138 static inline int hashmap__append(struct hashmap *map, in hashmap__append()
144 bool hashmap__delete(struct hashmap *map, const void *key,
147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);