/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 | 304 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 313 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 319 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 597 tt_ptr_op(logmsg,==,NULL); in test_evutil_log() 684 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast() 942 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 953 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 966 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 975 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 984 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() [all …]
|
D | regress_listener.c | 118 tt_ptr_op(evconnlistener_get_base(listener1), ==, base); in regress_pick_a_port() 119 tt_ptr_op(evconnlistener_get_base(listener2), ==, base); in regress_pick_a_port()
|
D | regress.c | 750 tt_ptr_op(event_base_init_common_timeout(base, &tmp_200_ms), in test_common_timeout() 752 tt_ptr_op(event_base_init_common_timeout(base, ms_200), ==, ms_200); in test_common_timeout() 753 tt_ptr_op(event_base_init_common_timeout(base, &tmp_5M_usec), ==, sec_5); in test_common_timeout() 1237 tt_ptr_op(event_get_base(&ev1), ==, base1); in test_signal_switchbase() 1238 tt_ptr_op(event_get_base(&ev2), ==, base2); in test_signal_switchbase() 3121 tt_ptr_op(b, ==, base); in test_get_assignment() 3124 tt_ptr_op(cb, ==, dummy_read_cb); in test_get_assignment() 3125 tt_ptr_op(cb_arg, ==, str); in test_get_assignment() 3147 tt_ptr_op(event_get_base(ev), ==, base); in foreach_count_cb() 3203 tt_ptr_op(ev[0], ==, visited[0].ev); in test_event_foreach() [all …]
|
D | regress_dns.c | 616 tt_ptr_op(evdns_base_resolve_ipv4(dns, "", 0, generic_dns_callback, NULL), ==, NULL); in dns_search_empty_test() 997 tt_ptr_op(r.addrs, ==, NULL); in dns_disable_when_inactive_no_ns_test() 1478 tt_ptr_op(local_outcome.ai,!=,NULL); in test_getaddrinfo_async() 1493 tt_ptr_op(r,==,NULL); in test_getaddrinfo_async() 1495 tt_ptr_op(local_outcome.ai,==,NULL); in test_getaddrinfo_async() 1507 tt_ptr_op(local_outcome.ai->ai_next,==,NULL); in test_getaddrinfo_async() 1606 tt_ptr_op(a->ai_next, ==, NULL); in test_getaddrinfo_async()
|
D | tinytest_macros.h | 173 #define tt_ptr_op(a,op,b) \ macro
|
D | regress_ssl.c | 506 tt_ptr_op(bufferevent_get_underlying(bev1), ==, bev_ll[0]); in regress_bufferevent_openssl()
|
D | regress_http.c | 3923 tt_ptr_op(http, !=, NULL); in http_multi_line_header_test() 3930 tt_ptr_op(bev, !=, NULL); in http_multi_line_header_test()
|
D | regress_buffer.c | 1523 tt_ptr_op(cp, ==, NULL); in test_evbuffer_readln()
|