Searched defs:Hashmap (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dhashmap.h34 * necessary to instantiate an object for each Hashmap use.
51 typedef struct Hashmap Hashmap; /* Maps keys to values */ typedef in typeref:struct:Hashmap
52 typedef struct OrderedHashmap OrderedHashmap; /* Like Hashmap, but also remembers entry insertion order */
74 __builtin_types_compatible_p(typeof(h), Hashmap*) || \
79 (__builtin_types_compatible_p(typeof(h), Hashmap*) || \
89 (Hashmap*)(h), \
102 Hashmap *internal_hashmap_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS);
108 static inline Hashmap *hashmap_free(Hashmap *
[all...]
H A Dhashmap.c235 struct Hashmap { struct
248 DEFINE_MEMPOOL(hashmap_pool, Hashmap, 8);
251 assert_cc(sizeof(Hashmap) == sizeof(Set));
262 .head_size = sizeof(Hashmap),
353 static struct plain_hashmap_entry *plain_bucket_at(Hashmap *h, unsigned idx) {
765 Hashmap *internal_hashmap_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) {
766 return (Hashmap*) hashmap_base_new(hash_ops, HASHMAP_TYPE_PLAIN HASHMAP_DEBUG_PASS_ARGS);
794 int internal_hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) {
847 Hashmap *hashmap_free_free_free(Hashmap *
[all...]

Completed in 16 milliseconds