Lines Matching refs:tt_int_op
453 tt_int_op(got_read_on_close, ==, EV_READ); in test_simpleclose_rw()
454 tt_int_op(got_write_on_close, ==, EV_WRITE); in test_simpleclose_rw()
455 tt_int_op(premature_event, ==, 0); in test_simpleclose_rw()
519 tt_int_op(event_base_loop(base, EVLOOP_NONBLOCK), ==, !persist); in test_simpleclose()
520 tt_int_op(got_event, ==, (events & ~EV_PERSIST)); in test_simpleclose()
688 tt_int_op(count, ==, 1); in test_persistent_timeout_jump()
750 tt_int_op(res.n, ==, 3); in test_persistent_active_timeout()
751 tt_int_op(res.events[0], ==, EV_READ); in test_persistent_active_timeout()
752 tt_int_op(res.events[1], ==, EV_TIMEOUT); in test_persistent_active_timeout()
753 tt_int_op(res.events[2], ==, EV_TIMEOUT); in test_persistent_active_timeout()
805 tt_int_op(ms_100->tv_sec, ==, 0); in test_common_timeout()
806 tt_int_op(ms_200->tv_sec, ==, 0); in test_common_timeout()
807 tt_int_op(sec_5->tv_sec, ==, 5); in test_common_timeout()
808 tt_int_op(ms_100->tv_usec, ==, 100000|0x50000000); in test_common_timeout()
809 tt_int_op(ms_200->tv_usec, ==, 200000|0x50100000); in test_common_timeout()
810 tt_int_op(sec_5->tv_usec, ==, 0|0x50200000); in test_common_timeout()
848 tt_int_op(info[i].count, ==, 4); in test_common_timeout()
1023 tt_int_op(test_ok, ==, 1); in test_fork()
1089 tt_int_op(test_ok, ==, 1); in test_del_wait()
1469 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1474 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1554 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1555 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1557 tt_int_op(event_count_added, ==, 2); in test_event_base_get_num_events()
1558 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1559 tt_int_op(event_count_active_added, ==, 2); in test_event_base_get_num_events()
1560 tt_int_op(event_count_virtual_added, ==, 2); in test_event_base_get_num_events()
1561 tt_int_op(event_count_active_added_virtual, ==, 2); in test_event_base_get_num_events()
1580 tt_int_op(event_count_active, ==, 1); in test_event_base_get_num_events()
1581 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1582 tt_int_op(event_count_added, ==, 3); in test_event_base_get_num_events()
1583 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1584 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_num_events()
1585 tt_int_op(event_count_virtual_added, ==, 3); in test_event_base_get_num_events()
1586 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_num_events()
1605 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1606 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1607 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1608 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1609 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1610 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_num_events()
1611 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_num_events()
1630 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1631 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_num_events()
1632 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1633 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1634 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1635 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_num_events()
1636 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_num_events()
1685 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1686 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1688 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1689 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1690 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_max_events()
1691 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1692 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_max_events()
1712 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1713 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1714 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1715 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1716 tt_int_op(event_count_active_added, ==, 5); in test_event_base_get_max_events()
1717 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1718 tt_int_op(event_count_active_added_virtual, ==, 5); in test_event_base_get_max_events()
1738 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1739 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1740 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1741 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1742 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1743 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_max_events()
1744 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_max_events()
1752 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1753 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1754 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1774 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1775 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_max_events()
1776 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1777 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1778 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1779 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_max_events()
1780 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_max_events()
1793 tt_int_op(r,==,-1); in test_bad_assign()
1810 tt_int_op(r, ==, -1); in bad_reentrant_run_loop_cb()
1827 tt_int_op(r, ==, 1); in test_bad_reentrant()
1828 tt_int_op(reentrant_cb_run, ==, 1); in test_bad_reentrant()
1885 tt_int_op(n_write_a_byte_cb, ==, n_activate_other_event_cb); in test_active_later()
1886 tt_int_op(n_write_a_byte_cb, >, 100); in test_active_later()
1887 tt_int_op(n_read_and_drain_cb, >, 100); in test_active_later()
1888 tt_int_op(n_activate_other_event_cb, >, 100); in test_active_later()
1945 tt_int_op(n, ==, 1); in read_not_timeout_cb()
1984 tt_int_op(ev1_fired, ==, 0); in test_event_remove_timeout()
1985 tt_int_op(rntp.events, ==, EV_READ); in test_event_remove_timeout()
2177 tt_int_op(write(data->pair[0], "Hello", 5), ==, 5); in test_nonpersist_readd()
2178 tt_int_op(write(data->pair[1], "Hello", 5), ==, 5); in test_nonpersist_readd()
2180 tt_int_op(event_add(&ev1, NULL), ==, 0); in test_nonpersist_readd()
2181 tt_int_op(event_add(&ev2, NULL), ==, 0); in test_nonpersist_readd()
2182 tt_int_op(event_base_loop(data->base, EVLOOP_ONCE), ==, 0); in test_nonpersist_readd()
2183 tt_int_op(test_ok, ==, 2); in test_nonpersist_readd()
2313 tt_int_op(event_base_priority_init(base, 8), ==, 0); in test_priority_active_inversion()
2330 tt_int_op(n_pai_calls, ==, 3); in test_priority_active_inversion()
2331 tt_int_op(call_order[0], ==, 0); in test_priority_active_inversion()
2332 tt_int_op(call_order[1], ==, 2); in test_priority_active_inversion()
2333 tt_int_op(call_order[2], ==, 1); in test_priority_active_inversion()
2457 tt_int_op(evtag_decode_int(&integer, tmp), !=, -1); in evtag_int_test()
2459 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1); in evtag_int_test()
2491 tt_int_op(not_failed, <, 10); in evtag_fuzz()
2531 tt_int_op(evtag_decode_tag(&integer, tmp), !=, -1); in evtag_tag_encoding()
2550 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2551 tt_int_op(u32, ==, 30); in evtag_test_peek()
2552 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2553 tt_int_op(u32, ==, 1+1+1); in evtag_test_peek()
2554 tt_int_op(evtag_consume(tmp), ==, 0); in evtag_test_peek()
2556 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2557 tt_int_op(u32, ==, 40); in evtag_test_peek()
2558 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2559 tt_int_op(u32, ==, 1+1+11); in evtag_test_peek()
2560 tt_int_op(evtag_payload_length(tmp, &u32), ==, 0); in evtag_test_peek()
2561 tt_int_op(u32, ==, 11); in evtag_test_peek()
2589 tt_int_op(event_config_avoid_method(cfg, backend), ==, 0); in test_methods()
2621 tt_int_op(vint, ==, LIBEVENT_VERSION_NUMBER); in test_version()
2625 tt_int_op((vint&0xffffff00), ==, ((major<<24)|(minor<<16)|(patch<<8))); in test_version()
2642 tt_int_op(EV_FEATURE_ET, ==, in test_base_features()
2646 tt_int_op(0, ==, event_base_get_features(base) & EV_FEATURE_ET); in test_base_features()
2775 tt_int_op(event, ==, EV_READ); in read_called_once_cb()
2784 tt_int_op(event, ==, EV_TIMEOUT); in timeout_called_once_cb()
2793 tt_int_op(event, ==, EV_TIMEOUT); in immediate_called_twice_cb()
2811 tt_int_op(r, ==, 0); in test_event_once()
2814 tt_int_op(r, ==, 0); in test_event_once()
2816 tt_int_op(r, <, 0); in test_event_once()
2819 tt_int_op(r, ==, 0); in test_event_once()
2824 tt_int_op(r, ==, 0); in test_event_once()
2834 tt_int_op(called, ==, 2101); in test_event_once()
2859 tt_int_op(called, ==, 0); in test_event_once_never()
2943 tt_int_op(i, ==, EV_READ); in test_event_closed_fd_poll()
2967 tt_int_op(write(data->pair[0], "Hello world", in test_dup_fd()
2972 tt_int_op(dfd, >=, 0); in test_dup_fd()
2980 tt_int_op(ev1_got, ==, EV_READ); in test_dup_fd()
2981 tt_int_op(ev2_got, ==, EV_READ); in test_dup_fd()
2991 tt_int_op(ev2_got, ==, 0); in test_dup_fd()
2998 tt_int_op(dup2(fd, dfd), ==, dfd); in test_dup_fd()
3005 tt_int_op(ev2_got, ==, EV_WRITE); in test_dup_fd()
3132 tt_int_op(xcalled[i], ==, MANY - i + 1); in test_many_events()
3134 tt_int_op(xcalled[i], ==, 1); in test_many_events()
3150 tt_int_op(event_get_struct_event_size(), <=, sizeof(struct event)); in test_struct_event_size()
3175 tt_int_op(what, ==, EV_READ); in test_get_assignment()
3200 tt_int_op(tv->tv_sec, ==, 10); in foreach_count_cb()
3239 tt_int_op(-1, ==, event_base_foreach_event(NULL, foreach_count_cb, NULL)); in test_event_foreach()
3240 tt_int_op(-1, ==, event_base_foreach_event(base, NULL, NULL)); in test_event_foreach()
3249 tt_int_op(0, ==, event_base_foreach_event(base, foreach_count_cb, in test_event_foreach()
3251 tt_int_op(1, ==, visited[0].count); in test_event_foreach()
3252 tt_int_op(1, ==, visited[1].count); in test_event_foreach()
3253 tt_int_op(1, ==, visited[2].count); in test_event_foreach()
3254 tt_int_op(1, ==, visited[3].count); in test_event_foreach()
3261 tt_int_op(101, ==, event_base_foreach_event(base, foreach_find_cb, in test_event_foreach()
3278 tt_int_op(0, ==, event_base_gettimeofday_cached(cached_time_base, tv)); in cache_time_cb()
3309 tt_int_op(0, ==, event_base_gettimeofday_cached(NULL, &tv1)); in test_gettimeofday_cached()
3310 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2)); in test_gettimeofday_cached()
3311 tt_int_op(timeval_msec_diff(&tv1, &tv2), <, 10); in test_gettimeofday_cached()
3312 tt_int_op(timeval_msec_diff(&tv1, &now), <, 10); in test_gettimeofday_cached()
3328 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3329 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3331 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3332 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3377 tt_int_op(e1, !=, 0); in test_evmap_invalid_slots()
3378 tt_int_op(e2, !=, 0); in test_evmap_invalid_slots()
3386 tt_int_op(e3, !=, 0); in test_evmap_invalid_slots()
3387 tt_int_op(e4, !=, 0); in test_evmap_invalid_slots()
3459 tt_int_op(e1, ==, 0); in test_active_by_fd()
3460 tt_int_op(e2, ==, EV_WRITE | 0x10000); in test_active_by_fd()
3461 tt_int_op(e3, ==, EV_READ | 0x10000); in test_active_by_fd()
3463 tt_int_op((e4 & ~EV_WRITE), ==, EV_READ | EV_TIMEOUT | 0x10000); in test_active_by_fd()
3465 tt_int_op(es, ==, EV_SIGNAL | 0x10000); in test_active_by_fd()