Searched refs:inactive_base (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_dns.c | 970 struct event_base *base = data->base, *inactive_base; in dns_disable_when_inactive_no_ns_test() local 976 inactive_base = event_base_new(); in dns_disable_when_inactive_no_ns_test() 977 tt_assert(inactive_base); in dns_disable_when_inactive_no_ns_test() 980 tt_assert(regress_dnsserver(inactive_base, &portnum, search_table)); in dns_disable_when_inactive_no_ns_test() 1003 if (inactive_base) in dns_disable_when_inactive_no_ns_test() 1004 event_base_free(inactive_base); in dns_disable_when_inactive_no_ns_test()
|
H A D | regress_http.c | 1463 struct event_base *inactive_base = NULL; in http_cancel_test() local 1497 inactive_base = event_base_new(); in http_cancel_test() 1498 inactive_http = http_setup(&port, inactive_base, 0); in http_cancel_test() 1500 base_to_fill = inactive_base; in http_cancel_test() 1601 if (inactive_base) in http_cancel_test() 1602 event_base_free(inactive_base); in http_cancel_test()
|
/freebsd/contrib/libevent/test/ |
H A D | regress_dns.c | 970 struct event_base *base = data->base, *inactive_base; in dns_disable_when_inactive_no_ns_test() local 976 inactive_base = event_base_new(); in dns_disable_when_inactive_no_ns_test() 977 tt_assert(inactive_base); in dns_disable_when_inactive_no_ns_test() 980 tt_assert(regress_dnsserver(inactive_base, &portnum, search_table)); in dns_disable_when_inactive_no_ns_test() 1003 if (inactive_base) in dns_disable_when_inactive_no_ns_test() 1004 event_base_free(inactive_base); in dns_disable_when_inactive_no_ns_test()
|
H A D | regress_http.c | 1463 struct event_base *inactive_base = NULL; in http_cancel_test() local 1497 inactive_base = event_base_new(); in http_cancel_test() 1498 inactive_http = http_setup(&port, inactive_base, 0); in http_cancel_test() 1500 base_to_fill = inactive_base; in http_cancel_test() 1601 if (inactive_base) in http_cancel_test() 1602 event_base_free(inactive_base); in http_cancel_test()
|