Lines Matching refs:ht
20 #include <isc/ht.h>
43 isc_ht_t *ht = NULL;
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, (const unsigned char *) key,
128 result = isc_ht_delete(ht, key, 16);
130 result = isc_ht_find(ht, key, 16, &f);
142 result = isc_ht_add(ht, key, 16, (void *) i);
151 result = isc_ht_delete(ht, (const unsigned char *) key,
154 result = isc_ht_find(ht, (const unsigned char *) key,
169 result = isc_ht_find(ht, key, 16, &f);
179 result = isc_ht_find(ht, key, 16, &f);
184 isc_ht_destroy(&ht);
185 ATF_REQUIRE_EQ(ht, NULL);
189 isc_ht_t *ht = NULL;
205 result = isc_ht_init(&ht, mctx, 16);
207 ATF_REQUIRE(ht != NULL);
215 result = isc_ht_add(ht, key, 16, (void *) i);
220 result = isc_ht_iter_create(ht, &iter);
292 isc_ht_destroy(&ht);
293 ATF_REQUIRE_EQ(ht, NULL);