/external/libevent/test/ |
D | regress_bufferevent.c | 141 tt_ptr_op(bufferevent_get_underlying(bev1), ==, NULL); in test_bufferevent_impl() 142 tt_ptr_op(bufferevent_pair_get_partner(bev1), ==, bev2); in test_bufferevent_impl() 143 tt_ptr_op(bufferevent_pair_get_partner(bev2), ==, bev1); in test_bufferevent_impl() 148 tt_ptr_op(bufferevent_get_underlying(bev1), ==, NULL); in test_bufferevent_impl() 149 tt_ptr_op(bufferevent_pair_get_partner(bev1), ==, NULL); in test_bufferevent_impl() 150 tt_ptr_op(bufferevent_pair_get_partner(bev2), ==, NULL); in test_bufferevent_impl() 159 tt_ptr_op(r, ==, readcb); in test_bufferevent_impl() 160 tt_ptr_op(w, ==, writecb); in test_bufferevent_impl() 161 tt_ptr_op(e, ==, errorcb); in test_bufferevent_impl() 162 tt_ptr_op(a, ==, use_pair ? bev1 : NULL); in test_bufferevent_impl() [all …]
|
D | regress_util.c | 300 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 309 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 315 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 593 tt_ptr_op(logmsg,==,NULL); in test_evutil_log() 680 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast() 938 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 949 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 962 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 971 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 980 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() [all …]
|
D | regress_listener.c | 117 tt_ptr_op(evconnlistener_get_base(listener1), ==, base); in regress_pick_a_port() 118 tt_ptr_op(evconnlistener_get_base(listener2), ==, base); in regress_pick_a_port()
|
D | regress.c | 749 tt_ptr_op(event_base_init_common_timeout(base, &tmp_200_ms), in test_common_timeout() 751 tt_ptr_op(event_base_init_common_timeout(base, ms_200), ==, ms_200); in test_common_timeout() 752 tt_ptr_op(event_base_init_common_timeout(base, &tmp_5M_usec), ==, sec_5); in test_common_timeout() 1198 tt_ptr_op(event_get_base(&ev1), ==, base1); in test_signal_switchbase() 1199 tt_ptr_op(event_get_base(&ev2), ==, base2); in test_signal_switchbase() 3096 tt_ptr_op(b, ==, base); in test_get_assignment() 3099 tt_ptr_op(cb, ==, dummy_read_cb); in test_get_assignment() 3100 tt_ptr_op(cb_arg, ==, str); in test_get_assignment() 3122 tt_ptr_op(event_get_base(ev), ==, base); in foreach_count_cb() 3178 tt_ptr_op(ev[0], ==, visited[0].ev); in test_event_foreach() [all …]
|
D | regress_dns.c | 609 tt_ptr_op(evdns_base_resolve_ipv4(dns, "", 0, generic_dns_callback, NULL), ==, NULL); in dns_search_empty_test() 998 tt_ptr_op(r.addrs, ==, NULL); in dns_disable_when_inactive_no_ns_test() 1387 tt_ptr_op(local_outcome.ai,!=,NULL); in test_getaddrinfo_async() 1402 tt_ptr_op(r,==,NULL); in test_getaddrinfo_async() 1404 tt_ptr_op(local_outcome.ai,==,NULL); in test_getaddrinfo_async() 1416 tt_ptr_op(local_outcome.ai->ai_next,==,NULL); in test_getaddrinfo_async() 1515 tt_ptr_op(a->ai_next, ==, NULL); in test_getaddrinfo_async()
|
D | tinytest_macros.h | 165 #define tt_ptr_op(a,op,b) \ macro
|
D | regress_ssl.c | 450 tt_ptr_op(bufferevent_get_underlying(bev1), ==, bev_ll[0]); in regress_bufferevent_openssl()
|
D | regress_http.c | 3855 tt_ptr_op(http, !=, NULL); in http_multi_line_header_test() 3863 tt_ptr_op(bev, !=, NULL); in http_multi_line_header_test()
|
D | regress_buffer.c | 1363 tt_ptr_op(cp, ==, NULL); in test_evbuffer_readln()
|