Home
last modified time | relevance | path

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

/external/libevent/test/
Dregress_dns.c971 struct event_base *base = data->base, *inactive_base; in dns_disable_when_inactive_no_ns_test() local
977 inactive_base = event_base_new(); in dns_disable_when_inactive_no_ns_test()
978 tt_assert(inactive_base); in dns_disable_when_inactive_no_ns_test()
981 tt_assert(regress_dnsserver(inactive_base, &portnum, search_table)); in dns_disable_when_inactive_no_ns_test()
1004 if (inactive_base) in dns_disable_when_inactive_no_ns_test()
1005 event_base_free(inactive_base); in dns_disable_when_inactive_no_ns_test()
Dregress_http.c1420 struct event_base *inactive_base = NULL; in http_cancel_test() local
1454 inactive_base = event_base_new(); in http_cancel_test()
1455 inactive_http = http_setup(&port, inactive_base, 0); in http_cancel_test()
1457 base_to_fill = inactive_base; in http_cancel_test()
1558 if (inactive_base) in http_cancel_test()
1559 event_base_free(inactive_base); in http_cancel_test()