Searched refs:Hashmap (Results 1 - 4 of 4) sorted by relevance
/third_party/eudev/src/shared/ |
H A D | hashmap.h | 33 * necessary to instantiate an object for each Hashmap use. 50 typedef struct Hashmap Hashmap; /* Maps keys to values */ typedef 51 typedef struct OrderedHashmap OrderedHashmap; /* Like Hashmap, but also remembers entry insertion order */ 114 __builtin_types_compatible_p(typeof(h), Hashmap*) || \ 119 (__builtin_types_compatible_p(typeof(h), Hashmap*) || \ 129 (Hashmap*)(h), \ 142 Hashmap *internal_hashmap_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS); 148 static inline Hashmap *hashmap_free(Hashmap * [all...] |
H A D | hashmap.c | 230 struct Hashmap { struct 243 DEFINE_MEMPOOL(hashmap_pool, Hashmap, 8); 246 assert_cc(sizeof(Hashmap) == sizeof(Set)); 257 .head_size = sizeof(Hashmap), 407 static struct plain_hashmap_entry *plain_bucket_at(Hashmap *h, unsigned idx) { in plain_bucket_at() 813 Hashmap *internal_hashmap_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in internal_hashmap_new() 814 return (Hashmap*) hashmap_base_new(hash_ops, HASHMAP_TYPE_PLAIN HASHMAP_DEBUG_PASS_ARGS); in internal_hashmap_new() 842 int internal_hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) { in internal_hashmap_ensure_allocated() 893 Hashmap *hashmap_free_free_free(Hashmap * [all...] |
H A D | conf-files.c | 49 static int files_add(Hashmap *h, const char *root, const char *path, const char *suffix) { in files_add() 110 _cleanup_hashmap_free_ Hashmap *fh = NULL; in conf_files_list_strv_internal()
|
/third_party/eudev/src/udev/ |
H A D | udevd.c | 76 Hashmap *workers;
|
Completed in 6 milliseconds