Home
last modified time | relevance | path

Searched refs:ARRAY_SIZE (Results 1 – 3 of 3) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_dns.c82 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
541 struct regress_dns_server_table table[ARRAY_SIZE(search_table)]; in dns_search_test_impl()
551 for (i = 0; i < ARRAY_SIZE(table); ++i) { in dns_search_test_impl()
566 n_replies_left = ARRAY_SIZE(r); in dns_search_test_impl()
1258 struct be_conn_hostname_result be_outcome[ARRAY_SIZE(be)]; in test_bufferevent_connect_hostname()
1311 for (i = 0; i < ARRAY_SIZE(be); ++i) { in test_bufferevent_connect_hostname()
1390 for (i = 0; i < ARRAY_SIZE(be); ++i) { in test_bufferevent_connect_hostname()
1790 for (i = 0; i < ARRAY_SIZE(a_out); ++i) { in test_getaddrinfo_async()
2407 for (i = 0; i < ARRAY_SIZE(int_options); ++i) { in test_set_option()
2415 for (i = 0; i < ARRAY_SIZE(timeval_options); ++i) { in test_set_option()
[all …]
H A Dregress_http.c69 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro
1303 for (i = 0; i < ARRAY_SIZE(req); ++i) { in http_autofree_connection_test()
1321 for (i = 0; i < ARRAY_SIZE(req); ++i) in http_autofree_connection_test()
H A Dregress_buffer.c66 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro
799 const int nvec = ARRAY_SIZE(vec); in test_evbuffer_reserve_invalid_last_with_datap()