Home
last modified time | relevance | path

Searched refs:inactive_base (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_dns.c974 struct event_base *base = data->base, *inactive_base; in dns_disable_when_inactive_no_ns_test() local
980 inactive_base = event_base_new(); in dns_disable_when_inactive_no_ns_test()
981 tt_assert(inactive_base); in dns_disable_when_inactive_no_ns_test()
984 tt_assert(regress_dnsserver(inactive_base, &portnum, search_table)); in dns_disable_when_inactive_no_ns_test()
1007 if (inactive_base) in dns_disable_when_inactive_no_ns_test()
1008 event_base_free(inactive_base); in dns_disable_when_inactive_no_ns_test()
H A Dregress_http.c1468 struct event_base *inactive_base = NULL; in http_cancel_test() local
1502 inactive_base = event_base_new(); in http_cancel_test()
1503 inactive_http = http_setup(&port, inactive_base, 0); in http_cancel_test()
1505 base_to_fill = inactive_base; in http_cancel_test()
1606 if (inactive_base) in http_cancel_test()
1607 event_base_free(inactive_base); in http_cancel_test()