Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_dns.c2395 const char *timeval_options[] = { in test_set_option() local
2415 for (i = 0; i < ARRAY_SIZE(timeval_options); ++i) { in test_set_option()
2416 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "1")); in test_set_option()
2417 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "0.001")); in test_set_option()
2418 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "3.14")); in test_set_option()
2419 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "10000")); in test_set_option()
2420 tt_assert(FAIL == evdns_base_set_option(dns_base, timeval_options[i], "0")); in test_set_option()
2421 tt_assert(FAIL == evdns_base_set_option(dns_base, timeval_options[i], "foo")); in test_set_option()
/freebsd/contrib/libevent/test/
H A Dregress_dns.c2395 const char *timeval_options[] = { in test_set_option() local
2415 for (i = 0; i < ARRAY_SIZE(timeval_options); ++i) { in test_set_option()
2416 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "1")); in test_set_option()
2417 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "0.001")); in test_set_option()
2418 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "3.14")); in test_set_option()
2419 tt_assert(SUCCESS == evdns_base_set_option(dns_base, timeval_options[i], "10000")); in test_set_option()
2420 tt_assert(FAIL == evdns_base_set_option(dns_base, timeval_options[i], "0")); in test_set_option()
2421 tt_assert(FAIL == evdns_base_set_option(dns_base, timeval_options[i], "foo")); in test_set_option()