Lines Matching refs:RUNCHECK
57 #define RUNCHECK(x) RUNTIME_CHECK((x) == ISC_R_SUCCESS)
217 RUNCHECK(isc_app_start());
231 RUNCHECK(isc_mem_create(0, 0, &mctx));
234 RUNCHECK(isc_entropy_create(mctx, &ectx));
235 RUNCHECK(isc_entropy_createfilesource(ectx, "random.data"));
236 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
240 RUNCHECK(isc_log_create(mctx, &log, &logconfig));
242 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
245 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
247 RUNCHECK(isc_task_create(taskmgr, 0, &task));
249 RUNCHECK(isc_timermgr_create(mctx, &timermgr));
251 RUNCHECK(isc_socketmgr_create(mctx, &socketmgr));
253 RUNCHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr));
263 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
267 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
272 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
274 RUNCHECK(dns_tkeyctx_create(mctx, ectx, &tctx));
277 RUNCHECK(dns_view_create(mctx, 0, "_test", &view));
281 RUNCHECK(isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp,
284 RUNCHECK(isc_app_onrun(mctx, task, sendquery, NULL));