Lines Matching refs:tt_int_op
449 tt_int_op(got_read_on_close, ==, EV_READ); in test_simpleclose_rw()
450 tt_int_op(got_write_on_close, ==, EV_WRITE); in test_simpleclose_rw()
451 tt_int_op(premature_event, ==, 0); in test_simpleclose_rw()
515 tt_int_op(event_base_loop(base, EVLOOP_NONBLOCK), ==, !persist); in test_simpleclose()
516 tt_int_op(got_event, ==, (events & ~EV_PERSIST)); in test_simpleclose()
684 tt_int_op(count, ==, 1); in test_persistent_timeout_jump()
746 tt_int_op(res.n, ==, 3); in test_persistent_active_timeout()
747 tt_int_op(res.events[0], ==, EV_READ); in test_persistent_active_timeout()
748 tt_int_op(res.events[1], ==, EV_TIMEOUT); in test_persistent_active_timeout()
749 tt_int_op(res.events[2], ==, EV_TIMEOUT); in test_persistent_active_timeout()
801 tt_int_op(ms_100->tv_sec, ==, 0); in test_common_timeout()
802 tt_int_op(ms_200->tv_sec, ==, 0); in test_common_timeout()
803 tt_int_op(sec_5->tv_sec, ==, 5); in test_common_timeout()
804 tt_int_op(ms_100->tv_usec, ==, 100000|0x50000000); in test_common_timeout()
805 tt_int_op(ms_200->tv_usec, ==, 200000|0x50100000); in test_common_timeout()
806 tt_int_op(sec_5->tv_usec, ==, 0|0x50200000); in test_common_timeout()
844 tt_int_op(info[i].count, ==, 4); in test_common_timeout()
1019 tt_int_op(test_ok, ==, 1); in test_fork()
1085 tt_int_op(test_ok, ==, 1); in test_del_wait()
1465 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1470 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1550 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1551 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1553 tt_int_op(event_count_added, ==, 2); in test_event_base_get_num_events()
1554 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1555 tt_int_op(event_count_active_added, ==, 2); in test_event_base_get_num_events()
1556 tt_int_op(event_count_virtual_added, ==, 2); in test_event_base_get_num_events()
1557 tt_int_op(event_count_active_added_virtual, ==, 2); in test_event_base_get_num_events()
1576 tt_int_op(event_count_active, ==, 1); in test_event_base_get_num_events()
1577 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1578 tt_int_op(event_count_added, ==, 3); in test_event_base_get_num_events()
1579 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1580 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_num_events()
1581 tt_int_op(event_count_virtual_added, ==, 3); in test_event_base_get_num_events()
1582 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_num_events()
1601 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1602 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1603 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1604 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1605 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1606 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_num_events()
1607 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_num_events()
1626 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1627 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_num_events()
1628 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1629 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1630 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1631 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_num_events()
1632 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_num_events()
1681 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1682 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1684 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1685 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1686 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_max_events()
1687 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1688 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_max_events()
1708 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1709 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1710 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1711 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1712 tt_int_op(event_count_active_added, ==, 5); in test_event_base_get_max_events()
1713 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1714 tt_int_op(event_count_active_added_virtual, ==, 5); in test_event_base_get_max_events()
1734 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1735 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1736 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1737 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1738 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1739 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_max_events()
1740 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_max_events()
1748 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1749 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1750 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1770 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1771 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_max_events()
1772 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1773 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1774 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1775 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_max_events()
1776 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_max_events()
1789 tt_int_op(r,==,-1); in test_bad_assign()
1806 tt_int_op(r, ==, -1); in bad_reentrant_run_loop_cb()
1823 tt_int_op(r, ==, 1); in test_bad_reentrant()
1824 tt_int_op(reentrant_cb_run, ==, 1); in test_bad_reentrant()
1881 tt_int_op(n_write_a_byte_cb, ==, n_activate_other_event_cb); in test_active_later()
1882 tt_int_op(n_write_a_byte_cb, >, 100); in test_active_later()
1883 tt_int_op(n_read_and_drain_cb, >, 100); in test_active_later()
1884 tt_int_op(n_activate_other_event_cb, >, 100); in test_active_later()
1941 tt_int_op(n, ==, 1); in read_not_timeout_cb()
1980 tt_int_op(ev1_fired, ==, 0); in test_event_remove_timeout()
1981 tt_int_op(rntp.events, ==, EV_READ); in test_event_remove_timeout()
2173 tt_int_op(write(data->pair[0], "Hello", 5), ==, 5); in test_nonpersist_readd()
2174 tt_int_op(write(data->pair[1], "Hello", 5), ==, 5); in test_nonpersist_readd()
2176 tt_int_op(event_add(&ev1, NULL), ==, 0); in test_nonpersist_readd()
2177 tt_int_op(event_add(&ev2, NULL), ==, 0); in test_nonpersist_readd()
2178 tt_int_op(event_base_loop(data->base, EVLOOP_ONCE), ==, 0); in test_nonpersist_readd()
2179 tt_int_op(test_ok, ==, 2); in test_nonpersist_readd()
2309 tt_int_op(event_base_priority_init(base, 8), ==, 0); in test_priority_active_inversion()
2326 tt_int_op(n_pai_calls, ==, 3); in test_priority_active_inversion()
2327 tt_int_op(call_order[0], ==, 0); in test_priority_active_inversion()
2328 tt_int_op(call_order[1], ==, 2); in test_priority_active_inversion()
2329 tt_int_op(call_order[2], ==, 1); in test_priority_active_inversion()
2453 tt_int_op(evtag_decode_int(&integer, tmp), !=, -1); in evtag_int_test()
2455 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1); in evtag_int_test()
2487 tt_int_op(not_failed, <, 10); in evtag_fuzz()
2527 tt_int_op(evtag_decode_tag(&integer, tmp), !=, -1); in evtag_tag_encoding()
2546 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2547 tt_int_op(u32, ==, 30); in evtag_test_peek()
2548 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2549 tt_int_op(u32, ==, 1+1+1); in evtag_test_peek()
2550 tt_int_op(evtag_consume(tmp), ==, 0); in evtag_test_peek()
2552 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2553 tt_int_op(u32, ==, 40); in evtag_test_peek()
2554 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2555 tt_int_op(u32, ==, 1+1+11); in evtag_test_peek()
2556 tt_int_op(evtag_payload_length(tmp, &u32), ==, 0); in evtag_test_peek()
2557 tt_int_op(u32, ==, 11); in evtag_test_peek()
2585 tt_int_op(event_config_avoid_method(cfg, backend), ==, 0); in test_methods()
2617 tt_int_op(vint, ==, LIBEVENT_VERSION_NUMBER); in test_version()
2621 tt_int_op((vint&0xffffff00), ==, ((major<<24)|(minor<<16)|(patch<<8))); in test_version()
2638 tt_int_op(EV_FEATURE_ET, ==, in test_base_features()
2642 tt_int_op(0, ==, event_base_get_features(base) & EV_FEATURE_ET); in test_base_features()
2771 tt_int_op(event, ==, EV_READ); in read_called_once_cb()
2780 tt_int_op(event, ==, EV_TIMEOUT); in timeout_called_once_cb()
2789 tt_int_op(event, ==, EV_TIMEOUT); in immediate_called_twice_cb()
2807 tt_int_op(r, ==, 0); in test_event_once()
2810 tt_int_op(r, ==, 0); in test_event_once()
2812 tt_int_op(r, <, 0); in test_event_once()
2815 tt_int_op(r, ==, 0); in test_event_once()
2820 tt_int_op(r, ==, 0); in test_event_once()
2830 tt_int_op(called, ==, 2101); in test_event_once()
2855 tt_int_op(called, ==, 0); in test_event_once_never()
2939 tt_int_op(i, ==, EV_READ); in test_event_closed_fd_poll()
2963 tt_int_op(write(data->pair[0], "Hello world", in test_dup_fd()
2968 tt_int_op(dfd, >=, 0); in test_dup_fd()
2976 tt_int_op(ev1_got, ==, EV_READ); in test_dup_fd()
2977 tt_int_op(ev2_got, ==, EV_READ); in test_dup_fd()
2987 tt_int_op(ev2_got, ==, 0); in test_dup_fd()
2994 tt_int_op(dup2(fd, dfd), ==, dfd); in test_dup_fd()
3001 tt_int_op(ev2_got, ==, EV_WRITE); in test_dup_fd()
3128 tt_int_op(called[i], ==, MANY - i + 1); in test_many_events()
3130 tt_int_op(called[i], ==, 1); in test_many_events()
3146 tt_int_op(event_get_struct_event_size(), <=, sizeof(struct event)); in test_struct_event_size()
3170 tt_int_op(what, ==, EV_READ); in test_get_assignment()
3195 tt_int_op(tv->tv_sec, ==, 10); in foreach_count_cb()
3234 tt_int_op(-1, ==, event_base_foreach_event(NULL, foreach_count_cb, NULL)); in test_event_foreach()
3235 tt_int_op(-1, ==, event_base_foreach_event(base, NULL, NULL)); in test_event_foreach()
3244 tt_int_op(0, ==, event_base_foreach_event(base, foreach_count_cb, in test_event_foreach()
3246 tt_int_op(1, ==, visited[0].count); in test_event_foreach()
3247 tt_int_op(1, ==, visited[1].count); in test_event_foreach()
3248 tt_int_op(1, ==, visited[2].count); in test_event_foreach()
3249 tt_int_op(1, ==, visited[3].count); in test_event_foreach()
3256 tt_int_op(101, ==, event_base_foreach_event(base, foreach_find_cb, in test_event_foreach()
3273 tt_int_op(0, ==, event_base_gettimeofday_cached(cached_time_base, tv)); in cache_time_cb()
3304 tt_int_op(0, ==, event_base_gettimeofday_cached(NULL, &tv1)); in test_gettimeofday_cached()
3305 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2)); in test_gettimeofday_cached()
3306 tt_int_op(timeval_msec_diff(&tv1, &tv2), <, 10); in test_gettimeofday_cached()
3307 tt_int_op(timeval_msec_diff(&tv1, &now), <, 10); in test_gettimeofday_cached()
3323 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3324 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3326 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3327 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3372 tt_int_op(e1, !=, 0); in test_evmap_invalid_slots()
3373 tt_int_op(e2, !=, 0); in test_evmap_invalid_slots()
3381 tt_int_op(e3, !=, 0); in test_evmap_invalid_slots()
3382 tt_int_op(e4, !=, 0); in test_evmap_invalid_slots()
3454 tt_int_op(e1, ==, 0); in test_active_by_fd()
3455 tt_int_op(e2, ==, EV_WRITE | 0x10000); in test_active_by_fd()
3456 tt_int_op(e3, ==, EV_READ | 0x10000); in test_active_by_fd()
3458 tt_int_op((e4 & ~EV_WRITE), ==, EV_READ | EV_TIMEOUT | 0x10000); in test_active_by_fd()
3460 tt_int_op(es, ==, EV_SIGNAL | 0x10000); in test_active_by_fd()