| /src/external/mpl/bind/dist/lib/isc/ |
| hashmap.c | 1 /* $NetBSD: hashmap.c,v 1.3 2026/01/29 18:37:54 christos Exp $ */ 38 #include <isc/hashmap.h> 60 #define ISC_HASHMAP_VALID(hashmap) ISC_MAGIC_VALID(hashmap, ISC_HASHMAP_MAGIC) 96 isc_hashmap_t *hashmap; member in struct:isc_hashmap_iter 104 hashmap_add(isc_hashmap_t *hashmap, const uint32_t hashval, 109 hashmap_rehash_one(isc_hashmap_t *hashmap); 111 hashmap_rehash_start_grow(isc_hashmap_t *hashmap); 113 hashmap_rehash_start_shrink(isc_hashmap_t *hashmap); 115 over_threshold(isc_hashmap_t *hashmap); 212 isc_hashmap_t *hashmap = isc_mem_get(mctx, sizeof(*hashmap)); local 232 isc_hashmap_t *hashmap; local 620 isc_hashmap_t *hashmap; local 634 isc_hashmap_t *hashmap = iter->hashmap; local [all...] |
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| hashmap.h | 1 /* $NetBSD: hashmap.h,v 1.2 2025/01/26 16:25:41 christos Exp $ */ 32 * Create hashmap at *hashmapp, using memory context and size of (1<<bits) 44 * Destroy hashmap, freeing everything 47 * \li '*hashmapp' is valid hashmap 53 * Add a node to hashmap, pointed by binary key 'key' of size 'keysize'; 57 * \li 'hashmap' is a valid hashmap 66 isc_hashmap_add(isc_hashmap_t *hashmap, const uint32_t hashval, 71 * Find a node matching 'key'/'keysize' in hashmap 'hashmap'; [all...] |
| /src/external/mpl/bind/dist/tests/isc/ |
| hashmap_test.c | 29 #include <isc/hashmap.h> 39 #include "hashmap.c" 71 isc_hashmap_t *hashmap = NULL; local 79 isc_hashmap_create(mctx, init_bits, &hashmap); 80 assert_non_null(hashmap); 89 strlcat((char *)nodes[i].key, " key of a raw hashmap!!", 16); 95 strlcat((char *)long_nodes[i].key, " key of a raw hashmap!!", 103 strlcat((char *)upper_nodes[i].key, " KEY of a raw hashmap!!", 112 result = isc_hashmap_add(hashmap, nodes[i].hashval, nodes_match, 121 result = isc_hashmap_find(hashmap, nodes[i].hashval 225 isc_hashmap_t *hashmap = NULL; local 408 isc_hashmap_t *hashmap = NULL; local 449 isc_hashmap_t *hashmap = NULL; local [all...] |
| /src/external/mpl/bind/dist/tests/bench/ |
| load-names.c | 21 #include <isc/hashmap.h> 182 * hashmap 187 isc_hashmap_t *hashmap = NULL; local 188 isc_hashmap_create(mem, 1, &hashmap); 190 return hashmap; 200 add_hashmap(void *hashmap, size_t count) { 202 hashmap, dns_name_hash(&item[count].fixed.name), name_match, 208 get_hashmap(void *hashmap, size_t count, void **pval) { 210 hashmap, dns_name_hash(&item[count].fixed.name), name_match, 467 { "hashmap", new_hashmap, thread_hashmap } [all...] |
| /src/external/mpl/bind/dist/lib/dns/include/dns/ |
| tsig.h | 22 #include <isc/hashmap.h>
|
| name.h | 73 #include <isc/hashmap.h> 125 isc_hashmap_t *hashmap; member in struct:dns_name
|
| /src/external/mpl/bind/lib/libisc/ |
| Makefile | 36 getaddresses.c hash.c hashmap.c heap.c helper.c hex.c histo.c \
|
| /src/external/gpl3/binutils/dist/ld/ |
| pdb.c | 60 htab_t hashmap; member in struct:string_table 86 htab_t hashmap; member in struct:types 107 htab_t hashmap; member in struct:globals 727 slot = htab_find_slot_with_hash (strings->hashmap, fn, hash, 758 slot = htab_find_slot_with_hash (strings->hashmap, str, hash, INSERT); 866 slot = htab_find_slot_with_hash (glob->hashmap, data, 2388 slot = htab_find_slot_with_hash (ids->hashmap, data, hash, INSERT); 3609 slot = htab_find_slot_with_hash (t->hashmap, data, hash, INSERT); 4652 glob.hashmap = htab_create_alloc (0, hash_global_entry, 4659 htab_delete (glob.hashmap); [all...] |
| /src/external/gpl3/binutils.old/dist/ld/ |
| pdb.c | 60 htab_t hashmap; member in struct:string_table 86 htab_t hashmap; member in struct:types 107 htab_t hashmap; member in struct:globals 727 slot = htab_find_slot_with_hash (strings->hashmap, fn, hash, 758 slot = htab_find_slot_with_hash (strings->hashmap, str, hash, INSERT); 866 slot = htab_find_slot_with_hash (glob->hashmap, data, 2389 slot = htab_find_slot_with_hash (ids->hashmap, data, hash, INSERT); 3610 slot = htab_find_slot_with_hash (t->hashmap, data, hash, INSERT); 4653 glob.hashmap = htab_create_alloc (0, hash_global_entry, 4660 htab_delete (glob.hashmap); [all...] |
| /src/external/mpl/bind/dist/lib/dns/ |
| message.c | 29 #include <isc/hashmap.h> 977 if (name->hashmap != NULL) { 978 isc_hashmap_destroy(&name->hashmap); 1124 if (name->hashmap == NULL) { 1125 isc_hashmap_create(msg->mctx, 1, &name->hashmap); 1135 name->hashmap, rds_hash(old_rdataset), 1140 result = isc_hashmap_add(name->hashmap, rds_hash(rdataset), 1533 if (name->hashmap == NULL) { 1535 &name->hashmap); 1545 name->hashmap, rds_hash(old_rdataset) [all...] |
| transport.c | 18 #include <isc/hashmap.h>
|
| rbt-cachedb.c | 28 #include <isc/hashmap.h>
|
| tsig.c | 23 #include <isc/hashmap.h>
|
| dispatch.c | 26 #include <isc/hashmap.h>
|
| rbt-zonedb.c | 28 #include <isc/hashmap.h>
|
| adb.c | 25 #include <isc/hashmap.h>
|
| rbtdb.c | 28 #include <isc/hashmap.h>
|
| resolver.c | 28 #include <isc/hashmap.h>
|
| zone.c | 26 #include <isc/hashmap.h>
|