/netbsd-current/external/bsd/libevent/dist/test/ |
H A D | regress_http.c | 2413 tt_want(evhttp_add_header(&headers, "One", "Two") == 0); 2414 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0); 2415 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1); 2416 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1); 2417 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1); 2418 tt_want(evhttp_add_header(&headers, "One", "Two\n") == -1); 2429 tt_want(strcmp(real_val, value) == 0); 2443 tt_want(validate_header(&headers, "q", "test") == 0); 2448 tt_want(validate_header(&headers, "q", "test") == 0); 2449 tt_want(validate_heade [all...] |
H A D | regress_minheap.c | 50 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, 86 tt_want(evutil_timercmp(&last_e->ev_timeout,
|
H A D | regress_iocp.c | 191 tt_want(!event_iocp_shutdown_(port, 2000)); 196 tt_want(pair_is_in(&o1, 10, 100)); 197 tt_want(pair_is_in(&o1, 11, 101)); 198 tt_want(pair_is_in(&o1, 12, 102)); 199 tt_want(pair_is_in(&o1, 13, 103)); 201 tt_want(pair_is_in(&o2, 20, 200)); 202 tt_want(pair_is_in(&o2, 21, 201)); 203 tt_want(pair_is_in(&o2, 22, 202)); 204 tt_want(pair_is_in(&o2, 23, 203)); 287 tt_want(!event_iocp_shutdown [all...] |
H A D | regress_zlib.c | 334 tt_want(infilter_calls); 335 tt_want(outfilter_calls); 336 tt_want(readcb_finished); 337 tt_want(writecb_finished); 338 tt_want(!errorcb_invoked);
|
H A D | regress_bufferevent.c | 789 tt_want(!bufferevent_socket_connect(bev1, sa, sizeof(localhost))); 790 tt_want(!bufferevent_socket_connect(bev2, sa, sizeof(localhost))); 847 tt_want(r == 0 || r == -1); 915 tt_want(r == 0 || r == -1); 1053 tt_want(res1.total_calls == 2); 1054 tt_want(res1.n_read_timeouts == 1); 1055 tt_want(res1.n_write_timeouts == 1); 1056 tt_want(res2.total_calls == !(use_pair && !use_filter)); 1057 tt_want(res2.n_write_timeouts == !(use_pair && !use_filter)); 1058 tt_want(!res [all...] |
H A D | regress_testutils.c | 216 tt_want(! evdns_server_request_drop(req));
|
H A D | regress_util.c | 439 tt_want(evutil_strtoll("5000000000", NULL, 10) == 441 tt_want(evutil_strtoll("-5000000000", NULL, 10) == 444 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999); 445 tt_want(endptr == s+6); 446 tt_want(evutil_strtoll("foo", NULL, 10) == 0); 549 tt_want(msg);
|
H A D | tinytest_macros.h | 111 #define tt_want(b) tt_want_msg( (b), "want("#b")") macro
|
H A D | regress_buffer.c | 983 tt_want(extra == (void *)0xdeadaffe); 1754 tt_want(p == NULL); 1768 tt_want(p == NULL); 1773 tt_want(strncmp((char*)p, "ax", 2) == 0);
|
H A D | regress_dns.c | 706 tt_want(! evdns_server_request_drop(req)); 727 tt_want(! evdns_server_request_drop(req));
|
H A D | regress.c | 1488 tt_want(ev == event_base_get_running_event(base)); 3046 tt_want(check_dummy_mem_ok(mem_)); 3056 tt_want(check_dummy_mem_ok(mem_));
|
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/ |
H A D | regress_http.c | 2410 tt_want(evhttp_add_header(&headers, "One", "Two") == 0); 2411 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0); 2412 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1); 2413 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1); 2414 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1); 2415 tt_want(evhttp_add_header(&headers, "One", "Two\n") == -1); 2426 tt_want(strcmp(real_val, value) == 0); 2440 tt_want(validate_header(&headers, "q", "test") == 0); 2445 tt_want(validate_header(&headers, "q", "test") == 0); 2446 tt_want(validate_heade [all...] |
H A D | regress_minheap.c | 51 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout, 87 tt_want(evutil_timercmp(&last_e->ev_timeout,
|
H A D | regress_iocp.c | 192 tt_want(!event_iocp_shutdown_(port, 2000)); 197 tt_want(pair_is_in(&o1, 10, 100)); 198 tt_want(pair_is_in(&o1, 11, 101)); 199 tt_want(pair_is_in(&o1, 12, 102)); 200 tt_want(pair_is_in(&o1, 13, 103)); 202 tt_want(pair_is_in(&o2, 20, 200)); 203 tt_want(pair_is_in(&o2, 21, 201)); 204 tt_want(pair_is_in(&o2, 22, 202)); 205 tt_want(pair_is_in(&o2, 23, 203)); 288 tt_want(!event_iocp_shutdown [all...] |
H A D | regress_zlib.c | 333 tt_want(infilter_calls); 334 tt_want(outfilter_calls); 335 tt_want(readcb_finished); 336 tt_want(writecb_finished); 337 tt_want(!errorcb_invoked);
|
H A D | regress_bufferevent.c | 787 tt_want(!bufferevent_socket_connect(bev1, sa, sizeof(localhost))); 788 tt_want(!bufferevent_socket_connect(bev2, sa, sizeof(localhost))); 845 tt_want(r == 0 || r == -1); 913 tt_want(r == 0 || r == -1); 1051 tt_want(res1.total_calls == 2); 1052 tt_want(res1.n_read_timeouts == 1); 1053 tt_want(res1.n_write_timeouts == 1); 1054 tt_want(res2.total_calls == !(use_pair && !use_filter)); 1055 tt_want(res2.n_write_timeouts == !(use_pair && !use_filter)); 1056 tt_want(!res [all...] |
H A D | regress_testutils.c | 215 tt_want(! evdns_server_request_drop(req));
|
H A D | regress_util.c | 436 tt_want(evutil_strtoll("5000000000", NULL, 10) == 438 tt_want(evutil_strtoll("-5000000000", NULL, 10) == 441 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999); 442 tt_want(endptr == s+6); 443 tt_want(evutil_strtoll("foo", NULL, 10) == 0); 546 tt_want(msg);
|
H A D | tinytest_macros.h | 111 #define tt_want(b) tt_want_msg( (b), "want("#b")") macro
|
H A D | regress_buffer.c | 981 tt_want(extra == (void *)0xdeadaffe); 1752 tt_want(p == NULL); 1766 tt_want(p == NULL); 1771 tt_want(strncmp((char*)p, "ax", 2) == 0);
|
H A D | regress_dns.c | 704 tt_want(! evdns_server_request_drop(req)); 725 tt_want(! evdns_server_request_drop(req));
|
H A D | regress.c | 1486 tt_want(ev == event_base_get_running_event(base)); 3044 tt_want(check_dummy_mem_ok(mem_)); 3054 tt_want(check_dummy_mem_ok(mem_));
|