Lines Matching refs:HashmapBase
30 typedef struct HashmapBase HashmapBase; typedef
58 (__builtin_types_compatible_p(typeof(h), HashmapBase*) || \
69 (HashmapBase*)(h), \
100 HashmapBase* _hashmap_free(HashmapBase *h, free_func_t default_free_key, free_func_t default_free_v…
132 HashmapBase* _hashmap_copy(HashmapBase *h HASHMAP_DEBUG_PARAMS);
147 IteratedCache* _hashmap_iterated_cache_new(HashmapBase *h);
174 void* _hashmap_get(HashmapBase *h, const void *key);
187 bool _hashmap_contains(HashmapBase *h, const void *key);
195 void* _hashmap_remove(HashmapBase *h, const void *key);
208 void* _hashmap_remove_value(HashmapBase *h, const void *key, void *value);
233 int _hashmap_reserve(HashmapBase *h, unsigned entries_add);
241 int _hashmap_move(HashmapBase *h, HashmapBase *other);
250 int _hashmap_move_one(HashmapBase *h, HashmapBase *other, const void *key);
258 unsigned _hashmap_size(HashmapBase *h) _pure_;
273 unsigned _hashmap_buckets(HashmapBase *h) _pure_;
281 bool _hashmap_iterate(HashmapBase *h, Iterator *i, void **value, const void **key);
289 void _hashmap_clear(HashmapBase *h, free_func_t default_free_key, free_func_t default_free_value);
329 void *_hashmap_first_key_and_value(HashmapBase *h, bool remove, void **ret_key);
356 static inline void *_hashmap_first_key(HashmapBase *h, bool remove) { in _hashmap_first_key()
399 char** _hashmap_get_strv(HashmapBase *h);