Lines Matching refs:RUNCHECK
57 #define RUNCHECK(x) RUNTIME_CHECK((x) == ISC_R_SUCCESS)
161 RUNCHECK(isc_app_start());
172 RUNCHECK(isc_mem_create(0, 0, &mctx));
175 RUNCHECK(isc_entropy_create(mctx, &ectx));
176 RUNCHECK(isc_entropy_createfilesource(ectx, "random.data"));
177 RUNCHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE));
181 RUNCHECK(isc_log_create(mctx, &log, &logconfig));
183 RUNCHECK(dst_lib_init(mctx, ectx, ISC_ENTROPY_GOODONLY));
186 RUNCHECK(isc_taskmgr_create(mctx, 1, 0, &taskmgr));
188 RUNCHECK(isc_task_create(taskmgr, 0, &task));
190 RUNCHECK(isc_timermgr_create(mctx, &timermgr));
192 RUNCHECK(isc_socketmgr_create(mctx, &socketmgr));
194 RUNCHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr));
204 RUNCHECK(dns_dispatch_getudp(dispatchmgr, socketmgr, taskmgr,
208 RUNCHECK(dns_requestmgr_create(mctx, timermgr, socketmgr, taskmgr,
213 RUNCHECK(dns_tsigkeyring_create(mctx, &ring));
215 RUNCHECK(dns_tkeyctx_create(mctx, ectx, &tctx));
218 RUNCHECK(dns_view_create(mctx, 0, "_test", &view));
222 RUNCHECK(isc_socket_create(socketmgr, PF_INET, isc_sockettype_udp,
225 RUNCHECK(isc_app_onrun(mctx, task, sendquery, NULL));