Searched defs:ht (Results 1 - 2 of 2) sorted by relevance
/bind-9.11.3/lib/isc/tests/ |
H A D | ht_test.c | 20 #include <isc/ht.h> 43 isc_ht_t *ht = NULL; local 52 result = isc_ht_init(&ht, mctx, bits); 54 ATF_REQUIRE(ht != NULL); 64 result = isc_ht_add(ht, key, 16, (void *) i); 73 result = isc_ht_find(ht, key, 16, &f); 82 result = isc_ht_add(ht, key, 16, (void *) i); 94 result = isc_ht_add(ht, (const unsigned char *) key, 107 result = isc_ht_find(ht, key, 16, &f); 117 result = isc_ht_find(ht, (cons 189 isc_ht_t *ht = NULL; local [all...] |
/bind-9.11.3/lib/isc/ |
H A D | ht.c | 14 #include <isc/ht.h> 25 #define ISC_HT_VALID(ht) ISC_MAGIC_VALID(ht, ISC_HT_MAGIC) 44 isc_ht_t *ht; member in struct:isc_ht_iter 51 isc_ht_t *ht = NULL; local 58 ht = isc_mem_get(mctx, sizeof(struct isc_ht)); 59 if (ht == NULL) { 63 ht->mctx = NULL; 64 isc_mem_attach(mctx, &ht->mctx); 66 ht 88 isc_ht_t *ht; local 119 isc_ht_add(isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize, void *value) argument 153 isc_ht_find(const isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize, void **valuep) argument 178 isc_ht_delete(isc_ht_t *ht, const unsigned char *key, isc_uint32_t keysize) argument 210 isc_ht_iter_create(isc_ht_t *ht, isc_ht_iter_t **itp) argument 232 isc_ht_t *ht; local 284 isc_ht_t *ht; local 338 isc_ht_count(isc_ht_t *ht) argument [all...] |
Completed in 11 milliseconds