Lines Matching refs:tt_assert
67 tt_assert(count_lock); in count_init()
68 tt_assert(count_cond); in count_init()
167 tt_assert(o1.lock); in test_iocp_port()
168 tt_assert(o2.lock); in test_iocp_port()
174 tt_assert(port); in test_iocp_port()
176 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 10, 100)); in test_iocp_port()
177 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 20, 200)); in test_iocp_port()
179 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 11, 101)); in test_iocp_port()
180 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 21, 201)); in test_iocp_port()
182 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 12, 102)); in test_iocp_port()
183 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 22, 202)); in test_iocp_port()
185 tt_assert(!event_iocp_activate_overlapped_(port, &o1.eo, 13, 103)); in test_iocp_port()
186 tt_assert(!event_iocp_activate_overlapped_(port, &o2.eo, 23, 203)); in test_iocp_port()
217 tt_assert(ok); in read_complete()
228 tt_assert(ok); in write_complete()
259 tt_assert(port); in test_iocp_evbuffer()
260 tt_assert(rbuf); in test_iocp_evbuffer()
261 tt_assert(wbuf); in test_iocp_evbuffer()
263 tt_assert(!event_iocp_port_associate_(port, data->pair[0], 100)); in test_iocp_evbuffer()
264 tt_assert(!event_iocp_port_associate_(port, data->pair[1], 100)); in test_iocp_evbuffer()
270 tt_assert(buf != NULL); in test_iocp_evbuffer()
272 tt_assert(!evbuffer_launch_read_(rbuf, 2048, &rol)); in test_iocp_evbuffer()
277 tt_assert(!evbuffer_get_length(rbuf)); in test_iocp_evbuffer()
278 tt_assert(!evbuffer_launch_write_(wbuf, 512, &wol)); in test_iocp_evbuffer()
315 tt_assert(port); in test_iocp_bufferevent_async()
321 tt_assert(bea1); in test_iocp_bufferevent_async()
322 tt_assert(bea2); in test_iocp_bufferevent_async()