• Home
  • Raw
  • Download

Lines Matching refs:Hashmap

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_P… in internal_hashmap_ensure_allocated()
893 Hashmap *hashmap_free_free_free(Hashmap *h) { in hashmap_free_free_free()
936 void hashmap_clear_free_free(Hashmap *h) { in hashmap_clear_free_free()
1239 int hashmap_put(Hashmap *h, const void *key, void *value) { in hashmap_put()
1278 int hashmap_replace(Hashmap *h, const void *key, void *value) { in hashmap_replace()
1310 int hashmap_update(Hashmap *h, const void *key, void *value) { in hashmap_update()
1342 void *hashmap_get2(Hashmap *h, const void *key, void **key2) { in hashmap_get2()
1391 void *hashmap_remove2(Hashmap *h, const void *key, void **rkey) { in hashmap_remove2()
1420 int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value) { in hashmap_remove_and_put()
1473 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) { in hashmap_remove_and_replace()
1509 void *hashmap_remove_value(Hashmap *h, const void *key, void *value) { in hashmap_remove_value()
1609 int internal_hashmap_merge(Hashmap *h, Hashmap *other) { in internal_hashmap_merge()
1758 r = hashmap_merge((Hashmap*)copy, (Hashmap*)h); in internal_hashmap_copy()