Lines Matching refs:Hashmap
230 struct Hashmap {
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) {
813 Hashmap *internal_hashmap_new(const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) {
814 return (Hashmap*) hashmap_base_new(hash_ops, HASHMAP_TYPE_PLAIN HASHMAP_DEBUG_PASS_ARGS);
842 int internal_hashmap_ensure_allocated(Hashmap **h, const struct hash_ops *hash_ops HASHMAP_DEBUG_PARAMS) {
893 Hashmap *hashmap_free_free_free(Hashmap *h) {
936 void hashmap_clear_free_free(Hashmap *h) {
1239 int hashmap_put(Hashmap *h, const void *key, void *value) {
1278 int hashmap_replace(Hashmap *h, const void *key, void *value) {
1310 int hashmap_update(Hashmap *h, const void *key, void *value) {
1342 void *hashmap_get2(Hashmap *h, const void *key, void **key2) {
1391 void *hashmap_remove2(Hashmap *h, const void *key, void **rkey) {
1420 int hashmap_remove_and_put(Hashmap *h, const void *old_key, const void *new_key, void *value) {
1473 int hashmap_remove_and_replace(Hashmap *h, const void *old_key, const void *new_key, void *value) {
1509 void *hashmap_remove_value(Hashmap *h, const void *key, void *value) {
1609 int internal_hashmap_merge(Hashmap *h, Hashmap *other) {
1758 r = hashmap_merge((Hashmap*)copy, (Hashmap*)h);