Lines Matching refs:RUNCHECK
51 #define RUNCHECK(x) RUNTIME_CHECK((x) == ISC_R_SUCCESS)
219 RUNCHECK(isc_app_start());
236 RUNCHECK(isc_mem_create(0, 0, &mctx));
240 RUNCHECK(isc_log_create(mctx, &lctx, &lcfg));
243 RUNCHECK(isc_entropy_create(mctx, &ectx));
244 RUNCHECK(isc_entropy_createfilesource(ectx, "../random.data"));
245 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
247 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
250 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
252 RUNCHECK(isc_task_create(taskmgr, 0, &task));
255 RUNCHECK(isc_timermgr_create(mctx, &timermgr));
257 RUNCHECK(isc_socketmgr_create(mctx, &socketmgr));
259 RUNCHECK(dns_dispatchmgr_create(mctx, ectx, &dispatchmgr));
269 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
274 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
279 RUNCHECK(dns_view_create(mctx, 0, "_test", &view));
281 RUNCHECK(isc_app_onrun(mctx, task, sendqueries, NULL));