Searched refs:tt_want (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/test/
H A Dregress_http.c1897 tt_want(evhttp_add_header(&headers, "One", "Two") == 0);
1898 tt_want(evhttp_add_header(&headers, "One", "Two\r\n Three") == 0);
1899 tt_want(evhttp_add_header(&headers, "One\r", "Two") == -1);
1900 tt_want(evhttp_add_header(&headers, "One\n", "Two") == -1);
1901 tt_want(evhttp_add_header(&headers, "One", "Two\r") == -1);
1902 tt_want(evhttp_add_header(&headers, "One", "Two\n") == -1);
1913 tt_want(strcmp(real_val, value) == 0);
1927 tt_want(validate_header(&headers, "q", "test") == 0);
1932 tt_want(validate_header(&headers, "q", "test") == 0);
1933 tt_want(validate_heade
[all...]
H A Dregress_minheap.c48 tt_want(evutil_timercmp(&heap->p[i]->ev_timeout,
84 tt_want(evutil_timercmp(&last_e->ev_timeout,
H A Dregress_iocp.c190 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_shutdow
[all...]
H A Dregress_zlib.c327 tt_want(infilter_calls);
328 tt_want(outfilter_calls);
329 tt_want(readcb_finished);
330 tt_want(writecb_finished);
331 tt_want(!errorcb_invoked);
H A Dregress_bufferevent.c532 tt_want(!bufferevent_socket_connect(bev1, sa, sizeof(localhost)));
533 tt_want(!bufferevent_socket_connect(bev2, sa, sizeof(localhost)));
614 tt_want(r == 0 || r == -1);
765 tt_want(res1.n_read_timeouts);
766 tt_want(res1.n_write_timeouts);
767 tt_want(res1.n_read_timeouts == 1);
768 tt_want(res1.n_write_timeouts == 1);
H A Dregress_testutils.c200 tt_want(! evdns_server_request_drop(req));
H A Dtinytest_macros.h109 #define tt_want(b) tt_want_msg( (b), "want("#b")") macro
H A Dregress_util.c368 tt_want(evutil_strtoll("5000000000", NULL, 10) ==
370 tt_want(evutil_strtoll("-5000000000", NULL, 10) ==
373 tt_want(evutil_strtoll(s, &endptr, 10) == (ev_int64_t)99999);
374 tt_want(endptr == s+6);
375 tt_want(evutil_strtoll("foo", NULL, 10) == 0);
441 tt_want(msg);
H A Dregress_buffer.c574 tt_want(extra == (void *)0xdeadaffe);
1046 tt_want(p == NULL);
1060 tt_want(p == NULL);
1065 tt_want(strncmp((char*)p, "ax", 2) == 0);
H A Dregress_dns.c643 tt_want(! evdns_server_request_drop(req));
664 tt_want(! evdns_server_request_drop(req));
H A Dregress.c2295 tt_want(check_dummy_mem_ok(_mem));
2305 tt_want(check_dummy_mem_ok(_mem));

Completed in 99 milliseconds