Lines Matching defs:h
112 #define PTR_COMPATIBLE_WITH_HASHMAP_BASE(h) \ argument
118 #define PTR_COMPATIBLE_WITH_PLAIN_HASHMAP(h) \ argument
122 #define HASHMAP_BASE(h) \ argument
127 #define PLAIN_HASHMAP(h) \ argument
148 static inline Hashmap *hashmap_free(Hashmap *h) { in hashmap_free()
151 static inline OrderedHashmap *ordered_hashmap_free(OrderedHashmap *h) { in ordered_hashmap_free()
156 static inline Hashmap *hashmap_free_free(Hashmap *h) { in hashmap_free_free()
159 static inline OrderedHashmap *ordered_hashmap_free_free(OrderedHashmap *h) { in ordered_hashmap_free_free()
164 static inline OrderedHashmap *ordered_hashmap_free_free_free(OrderedHashmap *h) { in ordered_hashmap_free_free_free()
169 static inline Hashmap *hashmap_copy(Hashmap *h) { in hashmap_copy()
172 static inline OrderedHashmap *ordered_hashmap_copy(OrderedHashmap *h) { in ordered_hashmap_copy()
178 #define hashmap_ensure_allocated(h, ops) internal_hashmap_ensure_allocated(h, ops HASHMAP_DEBUG_SR… argument
179 #define ordered_hashmap_ensure_allocated(h, ops) internal_ordered_hashmap_ensure_allocated(h, ops … argument
182 static inline int ordered_hashmap_put(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_put()
187 static inline int ordered_hashmap_update(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_update()
192 static inline int ordered_hashmap_replace(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_replace()
197 static inline void *hashmap_get(Hashmap *h, const void *key) { in hashmap_get()
200 static inline void *ordered_hashmap_get(OrderedHashmap *h, const void *key) { in ordered_hashmap_get()
205 static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) { in ordered_hashmap_get2()
210 static inline bool hashmap_contains(Hashmap *h, const void *key) { in hashmap_contains()
213 static inline bool ordered_hashmap_contains(OrderedHashmap *h, const void *key) { in ordered_hashmap_contains()
218 static inline void *hashmap_remove(Hashmap *h, const void *key) { in hashmap_remove()
221 static inline void *ordered_hashmap_remove(OrderedHashmap *h, const void *key) { in ordered_hashmap_remove()
226 static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) { in ordered_hashmap_remove2()
231 static inline void *ordered_hashmap_remove_value(OrderedHashmap *h, const void *key, void *value) { in ordered_hashmap_remove_value()
236 static inline int ordered_hashmap_remove_and_put(OrderedHashmap *h, const void *old_key, const void… in ordered_hashmap_remove_and_put()
241 static inline int ordered_hashmap_remove_and_replace(OrderedHashmap *h, const void *old_key, const … in ordered_hashmap_remove_and_replace()
248 #define hashmap_merge(h, other) internal_hashmap_merge(PLAIN_HASHMAP(h), PLAIN_HASHMAP(other)) argument
249 #define ordered_hashmap_merge(h, other) hashmap_merge(h, other) argument
252 static inline int hashmap_reserve(Hashmap *h, unsigned entries_add) { in hashmap_reserve()
255 static inline int ordered_hashmap_reserve(OrderedHashmap *h, unsigned entries_add) { in ordered_hashmap_reserve()
261 static inline int hashmap_move(Hashmap *h, Hashmap *other) { in hashmap_move()
264 static inline int ordered_hashmap_move(OrderedHashmap *h, OrderedHashmap *other) { in ordered_hashmap_move()
269 static inline int hashmap_move_one(Hashmap *h, Hashmap *other, const void *key) { in hashmap_move_one()
272 static inline int ordered_hashmap_move_one(OrderedHashmap *h, OrderedHashmap *other, const void *ke… in ordered_hashmap_move_one()
277 static inline unsigned hashmap_size(Hashmap *h) { in hashmap_size()
280 static inline unsigned ordered_hashmap_size(OrderedHashmap *h) { in ordered_hashmap_size()
284 static inline bool hashmap_isempty(Hashmap *h) { in hashmap_isempty()
287 static inline bool ordered_hashmap_isempty(OrderedHashmap *h) { in ordered_hashmap_isempty()
292 static inline unsigned hashmap_buckets(Hashmap *h) { in hashmap_buckets()
295 static inline unsigned ordered_hashmap_buckets(OrderedHashmap *h) { in ordered_hashmap_buckets()
300 static inline void *hashmap_iterate(Hashmap *h, Iterator *i, const void **key) { in hashmap_iterate()
303 static inline void *ordered_hashmap_iterate(OrderedHashmap *h, Iterator *i, const void **key) { in ordered_hashmap_iterate()
308 static inline void hashmap_clear(Hashmap *h) { in hashmap_clear()
311 static inline void ordered_hashmap_clear(OrderedHashmap *h) { in ordered_hashmap_clear()
316 static inline void hashmap_clear_free(Hashmap *h) { in hashmap_clear_free()
319 static inline void ordered_hashmap_clear_free(OrderedHashmap *h) { in ordered_hashmap_clear_free()
324 static inline void ordered_hashmap_clear_free_free(OrderedHashmap *h) { in ordered_hashmap_clear_free_free()
340 static inline void *hashmap_steal_first(Hashmap *h) { in hashmap_steal_first()
343 static inline void *ordered_hashmap_steal_first(OrderedHashmap *h) { in ordered_hashmap_steal_first()
348 static inline void *hashmap_steal_first_key(Hashmap *h) { in hashmap_steal_first_key()
351 static inline void *ordered_hashmap_steal_first_key(OrderedHashmap *h) { in ordered_hashmap_steal_first_key()
356 static inline void *hashmap_first_key(Hashmap *h) { in hashmap_first_key()
359 static inline void *ordered_hashmap_first_key(OrderedHashmap *h) { in ordered_hashmap_first_key()
364 static inline void *hashmap_first(Hashmap *h) { in hashmap_first()
367 static inline void *ordered_hashmap_first(OrderedHashmap *h) { in ordered_hashmap_first()
375 static inline char **hashmap_get_strv(Hashmap *h) { in hashmap_get_strv()
378 static inline char **ordered_hashmap_get_strv(OrderedHashmap *h) { in ordered_hashmap_get_strv()
388 #define HASHMAP_FOREACH(e, h, i) \ argument
393 #define ORDERED_HASHMAP_FOREACH(e, h, i) \ argument
398 #define HASHMAP_FOREACH_KEY(e, k, h, i) \ argument
403 #define ORDERED_HASHMAP_FOREACH_KEY(e, k, h, i) \ argument