• Home
  • Raw
  • Download

Lines Matching refs:tt_assert

148 		tt_assert(0 == bufferevent_pair_new(NULL, 0, pair));  in test_bufferevent_impl()
416 tt_assert(0 == bufferevent_pair_new(NULL, 0, pair)); in test_bufferevent_watermarks_impl()
425 tt_assert(bev1); in test_bufferevent_watermarks_impl()
426 tt_assert(bev2); in test_bufferevent_watermarks_impl()
467 tt_assert(!event_pending(&bev2->ev_write, EV_WRITE, NULL)); in test_bufferevent_watermarks_impl()
561 tt_assert(0 == bufferevent_pair_new(NULL, 0, pair)); in test_bufferevent_filters_impl()
649 tt_assert(bev); in listen_cb()
671 tt_assert(fd >= 0); in fake_listener_create()
672 tt_assert(bind(fd, sa, slen) == 0); in fake_listener_create()
673 tt_assert(getsockname(fd, sa, &slen) == 0); in fake_listener_create()
766 tt_assert(lev); in test_bufferevent_connect()
774 tt_assert(!evconnlistener_enable(lev)); in test_bufferevent_connect()
777 tt_assert(bev1); in test_bufferevent_connect()
778 tt_assert(bev2); in test_bufferevent_connect()
832 tt_assert(bev); in test_bufferevent_connect_fail_eventcb()
905 tt_assert(bev); in test_bufferevent_connect_fail()
1002 tt_assert(bev1); in test_bufferevent_timeouts()
1003 tt_assert(bev2); in test_bufferevent_timeouts()
1011 tt_assert(bevf1); in test_bufferevent_timeouts()
1012 tt_assert(bevf2); in test_bufferevent_timeouts()
1174 tt_assert(lev); in test_bufferevent_trigger()
1182 tt_assert(!evconnlistener_enable(lev)); in test_bufferevent_trigger()
1184 tt_assert(bev); in test_bufferevent_trigger()
1209 tt_assert(bev); in test_bufferevent_socket_filter_inactive()
1211 tt_assert(bevf); in test_bufferevent_socket_filter_inactive()
1236 tt_assert(0 == bufferevent_pair_new(data->base, 0, pair)); in test_bufferevent_pair_flush()
1239 tt_assert(0 == bufferevent_enable(bev1, EV_WRITE)); in test_bufferevent_pair_flush()
1240 tt_assert(0 == bufferevent_enable(bev2, EV_READ)); in test_bufferevent_pair_flush()
1248 tt_assert(callback_what == (BEV_EVENT_READING | BEV_EVENT_EOF)); in test_bufferevent_pair_flush()
1321 tt_assert(bufferevent_pair_new(data->base, options, pair) == 0); in test_bufferevent_filter_data_stuck()
1326 tt_assert( in test_bufferevent_filter_data_stuck()
1341 tt_assert(bufferevent_enable(filter, EV_READ|EV_WRITE) == 0); in test_bufferevent_filter_data_stuck()
1345 tt_assert(bufferevent_write(pair[0], payload, sizeof(payload)) == 0); in test_bufferevent_filter_data_stuck()