Lines Matching refs:RUNCHECK
78 #define RUNCHECK(x) RUNTIME_CHECK((x) == ISC_R_SUCCESS)
453 RUNCHECK(isc_app_start());
458 RUNCHECK(isc_mem_create(0, 0, &mctx));
460 RUNCHECK(isc_log_create(mctx, &lctx, &lcfg));
472 RUNCHECK(isc_log_createchannel(lcfg, "_default",
476 RUNCHECK(isc_log_usechannel(lcfg, "_default", NULL, NULL));
481 RUNCHECK(isc_entropy_create(mctx, &ectx));
482 RUNCHECK(isc_entropy_createfilesource(ectx, "/dev/urandom"));
484 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
487 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
489 RUNCHECK(isc_task_create(taskmgr, 0, &task));
491 RUNCHECK(isc_timermgr_create(mctx, &timermgr));
493 RUNCHECK(isc_socketmgr_create(mctx, &socketmgr));
495 RUNCHECK(dns_dispatchmgr_create(mctx, ectx, &dispatchmgr));
505 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
509 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
514 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
517 RUNCHECK(dns_view_create(mctx, 0, "_test", &view));
521 RUNCHECK(isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp,
526 RUNCHECK(isc_app_onrun(mctx, task, console, NULL));