Searched refs:timeval_options (Results 1 – 1 of 1) sorted by relevance
/external/libevent/test/ |
D | regress_dns.c | 2395 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()
|