/external/libevent/test/ |
D | regress_bufferevent.c | 154 tt_ptr_op(bufferevent_get_underlying(bev1), ==, NULL); in test_bufferevent_impl() 155 tt_ptr_op(bufferevent_pair_get_partner(bev1), ==, bev2); in test_bufferevent_impl() 156 tt_ptr_op(bufferevent_pair_get_partner(bev2), ==, bev1); in test_bufferevent_impl() 161 tt_ptr_op(bufferevent_get_underlying(bev1), ==, NULL); in test_bufferevent_impl() 162 tt_ptr_op(bufferevent_pair_get_partner(bev1), ==, NULL); in test_bufferevent_impl() 163 tt_ptr_op(bufferevent_pair_get_partner(bev2), ==, NULL); in test_bufferevent_impl() 172 tt_ptr_op(r, ==, readcb); in test_bufferevent_impl() 173 tt_ptr_op(w, ==, writecb); in test_bufferevent_impl() 174 tt_ptr_op(e, ==, errorcb); in test_bufferevent_impl() 175 tt_ptr_op(a, ==, use_pair ? bev1 : NULL); in test_bufferevent_impl() [all …]
|
D | regress_util.c | 363 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 372 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 378 tt_ptr_op(cp,==,cbuf); in regress_sockaddr_port_format() 656 tt_ptr_op(logmsg,==,NULL); in test_evutil_log() 743 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast() 1011 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 1022 tt_ptr_op(ai->ai_next, ==, NULL); /* no ambiguity */ in test_evutil_getaddrinfo() 1035 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 1044 tt_ptr_op(ai->ai_next, ==, NULL); in test_evutil_getaddrinfo() 1053 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 | 797 tt_ptr_op(event_base_init_common_timeout(base, &tmp_200_ms), in test_common_timeout() 799 tt_ptr_op(event_base_init_common_timeout(base, ms_200), ==, ms_200); in test_common_timeout() 800 tt_ptr_op(event_base_init_common_timeout(base, &tmp_5M_usec), ==, sec_5); in test_common_timeout() 1284 tt_ptr_op(event_get_base(&ev1), ==, base1); in test_signal_switchbase() 1285 tt_ptr_op(event_get_base(&ev2), ==, base2); in test_signal_switchbase() 3168 tt_ptr_op(b, ==, base); in test_get_assignment() 3171 tt_ptr_op(cb, ==, dummy_read_cb); in test_get_assignment() 3172 tt_ptr_op(cb_arg, ==, str); in test_get_assignment() 3194 tt_ptr_op(event_get_base(ev), ==, base); in foreach_count_cb() 3250 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() 1464 tt_ptr_op(local_outcome.ai,!=,NULL); in test_getaddrinfo_async() 1479 tt_ptr_op(r,==,NULL); in test_getaddrinfo_async() 1481 tt_ptr_op(local_outcome.ai,==,NULL); in test_getaddrinfo_async() 1493 tt_ptr_op(local_outcome.ai->ai_next,==,NULL); in test_getaddrinfo_async() 1592 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_finalize.c | 317 tt_ptr_op(ev = event_new(base, -1, EV_TIMEOUT, NULL, base), !=, NULL); in test_fin_debug_use_after_free()
|
D | regress_ssl.c | 506 tt_ptr_op(bufferevent_get_underlying(bev1), ==, bev_ll[0]); in regress_bufferevent_openssl()
|
D | regress_http.c | 3922 tt_ptr_op(http, !=, NULL); in http_multi_line_header_test() 3929 tt_ptr_op(bev, !=, NULL); in http_multi_line_header_test()
|
D | regress_buffer.c | 1553 tt_ptr_op(cp, ==, NULL); in test_evbuffer_readln()
|