Lines Matching defs:db
20 #include <dns/db.h>
50 dns_db_t *db = NULL;
56 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
60 result = dns_db_createiterator(db, 0, &iter);
64 dns_db_detach(&db);
90 dns_db_t *db = NULL;
105 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
109 result = dns_db_createiterator(db, 0, &iter);
119 dns_db_detachnode(db, &node);
126 dns_db_detach(&db);
153 dns_db_t *db = NULL;
168 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
172 result = dns_db_createiterator(db, 0, &iter);
182 dns_db_detachnode(db, &node);
189 dns_db_detach(&db);
214 dns_db_t *db = NULL;
231 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
235 result = dns_db_createiterator(db, 0, &iter);
249 dns_db_detachnode(db, &node);
257 dns_db_detach(&db);
289 dns_db_t *db = NULL;
302 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
306 result = dns_db_createiterator(db, 0, &iter);
316 dns_db_detach(&db);
346 dns_db_t *db = NULL;
359 result = dns_test_loaddb(&db, dns_dbtype_cache, TEST_ORIGIN,
363 result = dns_db_createiterator(db, 0, &iter);
379 dns_db_detach(&db);