/bind-9.11.3/unit/atf-src/atf-c++/ |
H A D | tests_test.cpp | 92 #define CHECK \ macro 100 CHECK; 108 CHECK; 112 CHECK; 115 CHECK; 123 CHECK; 127 CHECK; 130 CHECK; 134 CHECK; 137 CHECK; 178 #undef CHECK macro [all...] |
/bind-9.11.3/bin/tests/resolver/ |
H A D | t_resolver.c | 31 #define CHECK(x) RUNTIME_CHECK(ISC_R_SUCCESS == (x)) macro 48 CHECK(dns_dispatch_getudp(dispatch_manager, socket_manager, 55 /* 1 */ CHECK(isc_mem_create(0, 0, &mctx)); 56 /* 2 */ CHECK(isc_timermgr_create(mctx, &timer_manager)); 57 /* 3 */ CHECK(isc_taskmgr_create(mctx, 1, 0, &task_manager)); 58 /* 4 */ CHECK(isc_socketmgr_create(mctx, &socket_manager)); 59 /* 5 */ CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatch_manager)); 60 /* 6 */ CHECK(dns_view_create(mctx, dns_rdataclass_in, "testview", &view)); 105 CHECK(make_resolver(&resolver)); 122 CHECK(make_resolve [all...] |
/bind-9.11.3/lib/dns/ |
H A D | timer.c | 22 #define CHECK(op) \ macro 37 CHECK(isc_time_nowplusinterval(&expires, &maxinterval)); 46 CHECK(isc_timer_reset(timer, isc_timertype_once,
|
H A D | dnstap.c | 110 #define CHECK(x) do { \ macro 196 CHECK(ISC_R_NOMEMORY); 200 CHECK(isc_refcount_init(&env->refcount, 1)); 201 CHECK(isc_stats_create(mctx, &env->stats, dns_dnstapcounter_max)); 204 CHECK(ISC_R_NOMEMORY); 208 CHECK(ISC_R_NOMEMORY); 214 CHECK(ISC_R_FAILURE); 230 CHECK(ISC_R_FAILURE); 233 CHECK(ISC_R_FAILURE); 241 CHECK(ISC_R_FAILUR [all...] |
H A D | update.c | 75 #define CHECK(op) \ macro 725 CHECK(dns_difftuple_create(list->mctx, DNS_DIFFOP_EXISTS, name, 0, 743 CHECK(dns_db_createiterator(db, DNS_DB_NONSEC3, &dbit)); 750 CHECK(dns_dbiterator_current(dbit, &node, child)); 754 CHECK(namelist_append_name(affected, child)); 815 CHECK(dns_diff_sort(list, name_order)); 903 CHECK(dns_db_createiterator(db, 0, &dbit)); 905 CHECK(dns_dbiterator_seek(dbit, oldname)); 918 CHECK(dns_dbiterator_first(dbit)); 920 CHECK(dns_dbiterator_las [all...] |
H A D | xfrin.c | 59 #define CHECK(op) \ macro 258 CHECK(axfr_makedb(xfr, &xfr->db)); 260 CHECK(dns_db_beginload(xfr->db, &xfr->axfr)); 295 CHECK(dns_zone_checknames(xfr->zone, name, rdata)); 296 CHECK(dns_difftuple_create(xfr->diff.mctx, op, 300 CHECK(axfr_apply(xfr)); 314 CHECK(dns_diff_load(&xfr->diff, xfr->axfr.add, xfr->axfr.add_private)); 333 CHECK(axfr_apply(xfr)); 334 CHECK(dns_db_endload(xfr->db, &xfr->axfr)); 345 CHECK(dns_zone_replaced [all...] |
H A D | dyndb.c | 36 #define CHECK(op) \ macro 139 CHECK(ISC_R_FAILURE); 144 CHECK(load_symbol(handle, filename, "dyndb_version", 155 CHECK(ISC_R_FAILURE); 158 CHECK(load_symbol(handle, filename, "dyndb_init", 160 CHECK(load_symbol(handle, filename, "dyndb_destroy", 165 CHECK(ISC_R_NOMEMORY); 174 CHECK(ISC_R_NOMEMORY); 257 CHECK(ISC_R_FAILURE); 259 CHECK(load_symbo [all...] |
/bind-9.11.3/bin/tests/ |
H A D | keyboard_test.c | 22 CHECK(const char *msg, isc_result_t result) { function 42 CHECK("isc_keyboard_open()", res); 63 CHECK("isc_keyboard_close()", res);
|
H A D | entropy_test.c | 43 CHECK(const char *msg, isc_result_t result) { function 63 CHECK("isc_mem_create()", 67 CHECK("isc_entropy_create()", 73 CHECK("isc_entropy_createfilesource() 1", 75 CHECK("isc_entropy_createfilesource() 2", 78 CHECK("isc_entropy_createfilesource() 3", 97 CHECK("isc_entropy_getdata() pseudorandom", 107 CHECK("good data only, blocking mode", result);
|
H A D | sig0_test.c | 48 #define CHECK(str, x) { \ macro 106 CHECK("dns_message_create", result); 108 CHECK("dns_message_parse", result); 112 CHECK("dns_message_totext", result); 137 CHECK("dns_message_create", result); 139 CHECK("dns_message_setsig0key", result); 142 CHECK("dns_message_gettemprdataset", result); 146 CHECK("dns_message_gettempname", result); 152 CHECK("dns_name_fromtext", result); 159 CHECK("dns_compress_ini [all...] |
H A D | log_test.c | 32 #define CHECK(expr) result = expr; \ macro 111 CHECK(isc_mem_create(0, 0, &mctx)); 112 CHECK(isc_log_create(mctx, &lctx, &lcfg)); 114 CHECK(isc_log_settag(lcfg, progname)); 145 CHECK(isc_log_createchannel(lcfg, "file_test", ISC_LOG_TOFILE, 158 CHECK(isc_log_createchannel(lcfg, "debug_test", ISC_LOG_TOFILEDESC, 167 CHECK(isc_log_usechannel(lcfg, "default_syslog", 170 CHECK(isc_log_usechannel(lcfg, "default_stderr", 173 CHECK(isc_log_usechannel(lcfg, "default_debug", 176 CHECK(isc_log_usechanne [all...] |
H A D | makejournal.c | 29 #define CHECK(r) \ macro 98 CHECK(isc_mem_create(0, 0, &mctx)); 99 CHECK(isc_entropy_create(mctx, &ectx)); 101 CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)); 104 CHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING)); 107 CHECK(isc_log_create(mctx, &lctx, &logconfig)); 117 CHECK(isc_log_createchannel(logconfig, "stderr", 120 CHECK(isc_log_usechannel(logconfig, "stderr", NULL, NULL));
|
H A D | lwres_test.c | 27 CHECK(int val, const char *msg) { function 80 CHECK(ret, "lwres_nooprequest_render"); 89 CHECK(ret, "lwres_lwpacket_parseheader"); 95 CHECK(ret, "lwres_nooprequest_parse"); 116 CHECK(ret, "lwres_noopresponse_render"); 125 CHECK(ret, "lwres_lwpacket_parseheader"); 131 CHECK(ret, "lwres_noopresponse_parse"); 260 CHECK(ret, "lwres_context_create"); 263 CHECK(ret, "lwres_conf_parse");
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | test_program_test.cpp | 538 #define CHECK \ macro 546 CHECK; 554 CHECK; 558 CHECK; 562 CHECK; 570 CHECK; 574 CHECK; 582 CHECK; 586 CHECK; 594 CHECK; 753 #undef CHECK macro [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | isctest.c | 78 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr)); 79 CHECK(isc_task_create(taskmgr, 0, &maintask)); 82 CHECK(isc_timermgr_create(mctx, &timermgr)); 83 CHECK(isc_socketmgr_create(mctx, &socketmgr)); 96 CHECK(isc_mem_create(0, 0, &mctx)); 97 CHECK(isc_entropy_create(mctx, &ectx)); 99 CHECK(isc_hash_create(mctx, ectx, 255)); 106 CHECK(isc_log_create(mctx, &lctx, &logconfig)); 114 CHECK(isc_log_createchannel(logconfig, "stderr", 118 CHECK(isc_log_usechanne [all...] |
/bind-9.11.3/bin/tests/system/tkey/ |
H A D | keycreate.c | 44 #define CHECK(str, x) { \ macro 89 CHECK("dns_message_create", result); 93 CHECK("dns_request_getresponse", result); 104 CHECK("dns_tkey_processdhresponse", result); 111 CHECK("dst_key_buildfilename", result); 116 CHECK("dst_key_tofile", result); 146 CHECK("inet_pton", result); 154 CHECK("dns_name_fromtext", result); 161 CHECK("dns_name_fromtext", result); 165 CHECK("isc_base64_decodestrin [all...] |
H A D | keydelete.c | 44 #define CHECK(str, x) { \ macro 81 CHECK("dns_message_create", result); 85 CHECK("dns_request_getresponse", result); 95 CHECK("dns_tkey_processdhresponse", result); 117 CHECK("inet_pton", result); 122 CHECK("dns_message_create", result); 125 CHECK("dns_tkey_builddeletequery", result); 131 CHECK("dns_request_create", result); 224 CHECK("dst_key_fromnamedfile", result); 231 CHECK("dns_tsigkey_createfromke [all...] |
/bind-9.11.3/bin/tests/system/rsabigexponent/ |
H A D | bigkey.c | 140 #define CHECK(op, msg) \ macro 182 CHECK(isc_mem_create(0, 0, &mctx), "isc_mem_create()"); 183 CHECK(isc_entropy_create(mctx, &ectx), "isc_entropy_create()"); 184 CHECK(isc_entropy_usebestsource(ectx, &source, 188 CHECK(dst_lib_init2(mctx, ectx, NULL, 0), "dst_lib_init2()"); 189 CHECK(isc_log_create(mctx, &log_, &logconfig), "isc_log_create()"); 193 CHECK(isc_log_settag(logconfig, "bigkey"), "isc_log_settag()"); 198 CHECK(isc_log_createchannel(logconfig, "stderr", 204 CHECK(isc_log_usechannel(logconfig, "stderr", NULL, NULL), 210 CHECK(dns_name_fromtex [all...] |
/bind-9.11.3/contrib/sdb/dir/ |
H A D | dirdb.c | 37 #define CHECK(op) \ macro 87 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "dir")); 94 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf)); 96 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "pipe")); 98 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "socket")); 104 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf)); 106 CHECK(dns_sdb_putrr(lookup, "txt", 3600, "unknown")); 110 CHECK(dns_sdb_putrr(lookup, "txt", 3600, buf));
|
/bind-9.11.3/bin/tests/system/dyndb/driver/ |
H A D | instance.c | 60 CHECK(dns_name_fromstring2(z1, argv[0], dns_rootname, 0, mctx)); 61 CHECK(dns_name_fromstring2(z2, argv[1], dns_rootname, 0, mctx)); 99 CHECK(parse_params(mctx, argc, argv, 107 CHECK(dns_db_register(db_name, create_db, inst, mctx, &inst->db_imp)); 126 CHECK(create_zone(inst, inst->zone1_name, &inst->zone1)); 127 CHECK(activate_zone(inst, inst->zone1)); 129 CHECK(create_zone(inst, inst->zone2_name, &inst->zone2)); 130 CHECK(activate_zone(inst, inst->zone2));
|
H A D | zone.c | 43 CHECK(dns_zone_create(&raw, inst->mctx)); 44 CHECK(dns_zone_setorigin(raw, name)); 47 CHECK(dns_zone_setdbtype(raw, 1, zone_argv)); 48 CHECK(dns_zonemgr_managezone(inst->zmgr, raw)); 51 CHECK(dns_acl_any(inst->mctx, &acl_any)); 129 CHECK(dns_view_addzone(inst->view, zone)); 157 CHECK(dns_zone_getserial2(zone, &serial)); 187 CHECK(load_zone(raw));
|
H A D | syncptr.c | 60 CHECK(dns_zone_getdb(pevent->zone, &db)); 61 CHECK(dns_db_newversion(db, &version)); 62 CHECK(dns_diff_apply(&pevent->diff, db, version)); 102 CHECK(dns_rdata_tostruct(rdata, &ipv4, inst->mctx)); 107 CHECK(dns_rdata_tostruct(rdata, &ipv6, inst->mctx)); 122 CHECK(dns_byaddr_createptrname2(&isc_ip, 0, name)); 205 CHECK(dns_name_copy(name, dns_fixedname_name(&pevent->ptr_target_name), 210 CHECK(dns_rdata_fromstruct(&ptr_rdata, dns_rdataclass_in, 214 CHECK(dns_difftuple_create(mctx, op, dns_fixedname_name(&ptr_name),
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dnstest.c | 98 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr)); 99 CHECK(isc_timermgr_create(mctx, &timermgr)); 100 CHECK(isc_socketmgr_create(mctx, &socketmgr)); 101 CHECK(isc_task_create(taskmgr, 0, &maintask)); 114 CHECK(isc_app_start()); 117 CHECK(isc_mem_create(0, 0, &mctx)); 118 CHECK(isc_entropy_create(mctx, &ectx)); 120 CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)); 123 CHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_BLOCKING)); 130 CHECK(isc_log_creat [all...] |
/bind-9.11.3/bin/named/ |
H A D | lwresd.c | 83 #define CHECK(op) \ macro 135 CHECK(buffer_putstr(&b, "options {\n")); 141 CHECK(buffer_putstr(&b, "\tforwarders {\n")); 144 CHECK(lwaddr_sockaddr_fromlwresaddr( 149 CHECK(buffer_putstr(&b, "\t\t")); 150 CHECK(isc_netaddr_totext(&na, &b)); 151 CHECK(buffer_putstr(&b, ";\n")); 153 CHECK(buffer_putstr(&b, "\t};\n")); 160 CHECK(buffer_putstr(&b, "\tsortlist {\n")); 161 CHECK(buffer_putst [all...] |
/bind-9.11.3/bin/tests/system/pipelined/ |
H A D | pipequeries.c | 44 #define CHECK(str, x) { \ macro 85 CHECK("dns_message_create", result); 89 CHECK("dns_request_getresponse", result); 107 CHECK("dns_message_sectiontotext", result); 145 CHECK("dns_name_fromtext", result); 149 CHECK("dns_message_create", result); 158 CHECK("dns_message_gettempname", result); 162 CHECK("dns_message_gettemprdataset", result); 177 CHECK("dns_request_create", result); 227 CHECK("inet_pto [all...] |