/freebsd-13-stable/contrib/libevent/test/ |
H A D | regress_http.c | 2364 tt_want(evhttp_add_header(&headers, "One", "Two") == 0); 2365 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0); 2366 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1); 2367 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1); 2368 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1); 2369 tt_want(evhttp_add_header(&headers, "One", "Two\n") == -1); 2380 tt_want(strcmp(real_val, value) == 0); 2394 tt_want(validate_header(&headers, "q", "test") == 0); 2399 tt_want(validate_header(&headers, "q", "test") == 0); 2400 tt_want(validate_heade [all...] |
H A D | regress_minheap.c | 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, 85 tt_want(evutil_timercmp(&last_e->ev_timeout,
|
H A D | regress_iocp.c | 190 tt_want(!event_iocp_shutdown_(port, 2000)); 195 tt_want(pair_is_in(&o1, 10, 100)); 196 tt_want(pair_is_in(&o1, 11, 101)); 197 tt_want(pair_is_in(&o1, 12, 102)); 198 tt_want(pair_is_in(&o1, 13, 103)); 200 tt_want(pair_is_in(&o2, 20, 200)); 201 tt_want(pair_is_in(&o2, 21, 201)); 202 tt_want(pair_is_in(&o2, 22, 202)); 203 tt_want(pair_is_in(&o2, 23, 203)); 286 tt_want(!event_iocp_shutdown [all...] |
H A D | regress_zlib.c | 331 tt_want(infilter_calls); 332 tt_want(outfilter_calls); 333 tt_want(readcb_finished); 334 tt_want(writecb_finished); 335 tt_want(!errorcb_invoked);
|
H A D | regress_testutils.c | 213 tt_want(! evdns_server_request_drop(req));
|
H A D | regress_bufferevent.c | 772 tt_want(!bufferevent_socket_connect(bev1, sa, sizeof(localhost))); 773 tt_want(!bufferevent_socket_connect(bev2, sa, sizeof(localhost))); 883 tt_want(r == 0 || r == -1); 1034 tt_want(res1.n_read_timeouts); 1035 tt_want(res1.n_write_timeouts); 1036 tt_want(res1.n_read_timeouts == 1); 1037 tt_want(res1.n_write_timeouts == 1); 1162 tt_want(!bufferevent_socket_connect(bev, sa, sizeof(localhost)));
|
H A D | regress_util.c | 371 tt_want(evutil_strtoll("5000000000", NULL, 10) == 373 tt_want(evutil_strtoll("-5000000000", NULL, 10) == 376 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999); 377 tt_want(endptr == s+6); 378 tt_want(evutil_strtoll("foo", NULL, 10) == 0); 481 tt_want(msg);
|
H A D | tinytest_macros.h | 109 #define tt_want(b) tt_want_msg( (b), "want("#b")") macro
|
H A D | regress_buffer.c | 789 tt_want(extra == (void *)0xdeadaffe); 1560 tt_want(p == NULL); 1574 tt_want(p == NULL); 1579 tt_want(strncmp((char*)p, "ax", 2) == 0);
|
H A D | regress_dns.c | 703 tt_want(! evdns_server_request_drop(req)); 724 tt_want(! evdns_server_request_drop(req));
|
H A D | regress.c | 1402 tt_want(ev == event_base_get_running_event(base)); 2971 tt_want(check_dummy_mem_ok(mem_)); 2981 tt_want(check_dummy_mem_ok(mem_));
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_http.c | 2111 tt_want(evhttp_add_header(&headers, "One", "Two") == 0); 2112 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0); 2113 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1); 2114 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1); 2115 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1); 2116 tt_want(evhttp_add_header(&headers, "One", "Two\n") == -1); 2127 tt_want(strcmp(real_val, value) == 0); 2141 tt_want(validate_header(&headers, "q", "test") == 0); 2146 tt_want(validate_header(&headers, "q", "test") == 0); 2147 tt_want(validate_heade [all...] |
H A D | regress_minheap.c | 49 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, 86 tt_want(evutil_timercmp(&last_e->ev_timeout,
|
H A D | regress_iocp.c | 190 tt_want(!event_iocp_shutdown_(port, 2000)); 195 tt_want(pair_is_in(&o1, 10, 100)); 196 tt_want(pair_is_in(&o1, 11, 101)); 197 tt_want(pair_is_in(&o1, 12, 102)); 198 tt_want(pair_is_in(&o1, 13, 103)); 200 tt_want(pair_is_in(&o2, 20, 200)); 201 tt_want(pair_is_in(&o2, 21, 201)); 202 tt_want(pair_is_in(&o2, 22, 202)); 203 tt_want(pair_is_in(&o2, 23, 203)); 286 tt_want(!event_iocp_shutdown [all...] |
H A D | regress_zlib.c | 331 tt_want(infilter_calls); 332 tt_want(outfilter_calls); 333 tt_want(readcb_finished); 334 tt_want(writecb_finished); 335 tt_want(!errorcb_invoked);
|
H A D | regress_bufferevent.c | 711 tt_want(!bufferevent_socket_connect(bev1, sa, sizeof(localhost))); 712 tt_want(!bufferevent_socket_connect(bev2, sa, sizeof(localhost))); 794 tt_want(r == 0 || r == -1); 945 tt_want(res1.n_read_timeouts); 946 tt_want(res1.n_write_timeouts); 947 tt_want(res1.n_read_timeouts == 1); 948 tt_want(res1.n_write_timeouts == 1); 1073 tt_want(!bufferevent_socket_connect(bev, sa, sizeof(localhost)));
|
H A D | regress_testutils.c | 199 tt_want(! evdns_server_request_drop(req));
|
H A D | regress_util.c | 371 tt_want(evutil_strtoll("5000000000", NULL, 10) == 373 tt_want(evutil_strtoll("-5000000000", NULL, 10) == 376 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999); 377 tt_want(endptr == s+6); 378 tt_want(evutil_strtoll("foo", NULL, 10) == 0); 481 tt_want(msg);
|
H A D | tinytest_macros.h | 109 #define tt_want(b) tt_want_msg( (b), "want("#b")") macro
|
H A D | regress_buffer.c | 576 tt_want(extra == (void *)0xdeadaffe); 1313 tt_want(p == NULL); 1327 tt_want(p == NULL); 1332 tt_want(strncmp((char*)p, "ax", 2) == 0);
|
H A D | regress_dns.c | 665 tt_want(! evdns_server_request_drop(req)); 686 tt_want(! evdns_server_request_drop(req));
|
H A D | regress.c | 1299 tt_want(ev == event_base_get_running_event(base)); 2840 tt_want(check_dummy_mem_ok(mem_)); 2850 tt_want(check_dummy_mem_ok(mem_));
|