Home
last modified time | relevance | path

Searched refs:HashmapBase (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dhashmap.h30 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);
[all …]
Dhashmap.c195 struct HashmapBase { struct
220 struct HashmapBase b;
224 struct HashmapBase b;
229 struct HashmapBase b;
239 HashmapBase *hashmap;
302 static unsigned n_buckets(HashmapBase *h) { in n_buckets()
307 static unsigned n_entries(HashmapBase *h) { in n_entries()
312 static void n_entries_inc(HashmapBase *h) { in n_entries_inc()
319 static void n_entries_dec(HashmapBase *h) { in n_entries_dec()
326 static void* storage_ptr(HashmapBase *h) { in storage_ptr()
[all …]