Lines Matching refs:tt_int_op
451 tt_int_op(got_read_on_close, ==, EV_READ); in test_simpleclose()
452 tt_int_op(got_write_on_close, ==, EV_WRITE); in test_simpleclose()
453 tt_int_op(premature_event, ==, 0); in test_simpleclose()
636 tt_int_op(count, ==, 1); in test_persistent_timeout_jump()
698 tt_int_op(res.n, ==, 3); in test_persistent_active_timeout()
699 tt_int_op(res.events[0], ==, EV_READ); in test_persistent_active_timeout()
700 tt_int_op(res.events[1], ==, EV_TIMEOUT); in test_persistent_active_timeout()
701 tt_int_op(res.events[2], ==, EV_TIMEOUT); in test_persistent_active_timeout()
753 tt_int_op(ms_100->tv_sec, ==, 0); in test_common_timeout()
754 tt_int_op(ms_200->tv_sec, ==, 0); in test_common_timeout()
755 tt_int_op(sec_5->tv_sec, ==, 5); in test_common_timeout()
756 tt_int_op(ms_100->tv_usec, ==, 100000|0x50000000); in test_common_timeout()
757 tt_int_op(ms_200->tv_usec, ==, 200000|0x50100000); in test_common_timeout()
758 tt_int_op(sec_5->tv_usec, ==, 0|0x50200000); in test_common_timeout()
796 tt_int_op(info[i].count, ==, 4); in test_common_timeout()
963 tt_int_op(test_ok, ==, 1); in test_fork()
1383 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1388 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL), in test_manipulate_active_events()
1468 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1469 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1471 tt_int_op(event_count_added, ==, 2); in test_event_base_get_num_events()
1472 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1473 tt_int_op(event_count_active_added, ==, 2); in test_event_base_get_num_events()
1474 tt_int_op(event_count_virtual_added, ==, 2); in test_event_base_get_num_events()
1475 tt_int_op(event_count_active_added_virtual, ==, 2); in test_event_base_get_num_events()
1494 tt_int_op(event_count_active, ==, 1); in test_event_base_get_num_events()
1495 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1496 tt_int_op(event_count_added, ==, 3); in test_event_base_get_num_events()
1497 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1498 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_num_events()
1499 tt_int_op(event_count_virtual_added, ==, 3); in test_event_base_get_num_events()
1500 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_num_events()
1519 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1520 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_num_events()
1521 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1522 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_num_events()
1523 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1524 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_num_events()
1525 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_num_events()
1544 tt_int_op(event_count_active, ==, 0); in test_event_base_get_num_events()
1545 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_num_events()
1546 tt_int_op(event_count_added, ==, 0); in test_event_base_get_num_events()
1547 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_num_events()
1548 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_num_events()
1549 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_num_events()
1550 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_num_events()
1599 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1600 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1602 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1603 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1604 tt_int_op(event_count_active_added, ==, 4); in test_event_base_get_max_events()
1605 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1606 tt_int_op(event_count_active_added_virtual, ==, 4); in test_event_base_get_max_events()
1626 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1627 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1628 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1629 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1630 tt_int_op(event_count_active_added, ==, 5); in test_event_base_get_max_events()
1631 tt_int_op(event_count_virtual_added, ==, 4); in test_event_base_get_max_events()
1632 tt_int_op(event_count_active_added_virtual, ==, 5); in test_event_base_get_max_events()
1652 tt_int_op(event_count_active, ==, 1); in test_event_base_get_max_events()
1653 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1654 tt_int_op(event_count_added, ==, 4); in test_event_base_get_max_events()
1655 tt_int_op(event_count_active_virtual, ==, 0); in test_event_base_get_max_events()
1656 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1657 tt_int_op(event_count_virtual_added, ==, 0); in test_event_base_get_max_events()
1658 tt_int_op(event_count_active_added_virtual, ==, 0); in test_event_base_get_max_events()
1666 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1667 tt_int_op(event_count_virtual, ==, 0); in test_event_base_get_max_events()
1668 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1688 tt_int_op(event_count_active, ==, 0); in test_event_base_get_max_events()
1689 tt_int_op(event_count_virtual, ==, 1); in test_event_base_get_max_events()
1690 tt_int_op(event_count_added, ==, 0); in test_event_base_get_max_events()
1691 tt_int_op(event_count_active_virtual, ==, 1); in test_event_base_get_max_events()
1692 tt_int_op(event_count_active_added, ==, 0); in test_event_base_get_max_events()
1693 tt_int_op(event_count_virtual_added, ==, 1); in test_event_base_get_max_events()
1694 tt_int_op(event_count_active_added_virtual, ==, 1); in test_event_base_get_max_events()
1707 tt_int_op(r,==,-1); in test_bad_assign()
1724 tt_int_op(r, ==, -1); in bad_reentrant_run_loop_cb()
1741 tt_int_op(r, ==, 1); in test_bad_reentrant()
1742 tt_int_op(reentrant_cb_run, ==, 1); in test_bad_reentrant()
1799 tt_int_op(n_write_a_byte_cb, ==, n_activate_other_event_cb); in test_active_later()
1800 tt_int_op(n_write_a_byte_cb, >, 100); in test_active_later()
1801 tt_int_op(n_read_and_drain_cb, >, 100); in test_active_later()
1802 tt_int_op(n_activate_other_event_cb, >, 100); in test_active_later()
1858 tt_int_op(n, ==, 1); in read_not_timeout_cb()
1897 tt_int_op(ev1_fired, ==, 0); in test_event_remove_timeout()
1898 tt_int_op(rntp.events, ==, EV_READ); in test_event_remove_timeout()
2238 tt_int_op(event_base_priority_init(base, 8), ==, 0); in test_priority_active_inversion()
2255 tt_int_op(n_pai_calls, ==, 3); in test_priority_active_inversion()
2256 tt_int_op(call_order[0], ==, 0); in test_priority_active_inversion()
2257 tt_int_op(call_order[1], ==, 2); in test_priority_active_inversion()
2258 tt_int_op(call_order[2], ==, 1); in test_priority_active_inversion()
2382 tt_int_op(evtag_decode_int(&integer, tmp), !=, -1); in evtag_int_test()
2384 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1); in evtag_int_test()
2416 tt_int_op(not_failed, <, 10); in evtag_fuzz()
2456 tt_int_op(evtag_decode_tag(&integer, tmp), !=, -1); in evtag_tag_encoding()
2475 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2476 tt_int_op(u32, ==, 30); in evtag_test_peek()
2477 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2478 tt_int_op(u32, ==, 1+1+1); in evtag_test_peek()
2479 tt_int_op(evtag_consume(tmp), ==, 0); in evtag_test_peek()
2481 tt_int_op(evtag_peek(tmp, &u32), ==, 1); in evtag_test_peek()
2482 tt_int_op(u32, ==, 40); in evtag_test_peek()
2483 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0); in evtag_test_peek()
2484 tt_int_op(u32, ==, 1+1+11); in evtag_test_peek()
2485 tt_int_op(evtag_payload_length(tmp, &u32), ==, 0); in evtag_test_peek()
2486 tt_int_op(u32, ==, 11); in evtag_test_peek()
2514 tt_int_op(event_config_avoid_method(cfg, backend), ==, 0); in test_methods()
2546 tt_int_op(vint, ==, LIBEVENT_VERSION_NUMBER); in test_version()
2550 tt_int_op((vint&0xffffff00), ==, ((major<<24)|(minor<<16)|(patch<<8))); in test_version()
2567 tt_int_op(EV_FEATURE_ET, ==, in test_base_features()
2571 tt_int_op(0, ==, event_base_get_features(base) & EV_FEATURE_ET); in test_base_features()
2700 tt_int_op(event, ==, EV_READ); in read_called_once_cb()
2709 tt_int_op(event, ==, EV_TIMEOUT); in timeout_called_once_cb()
2718 tt_int_op(event, ==, EV_TIMEOUT); in immediate_called_twice_cb()
2736 tt_int_op(r, ==, 0); in test_event_once()
2739 tt_int_op(r, ==, 0); in test_event_once()
2741 tt_int_op(r, <, 0); in test_event_once()
2744 tt_int_op(r, ==, 0); in test_event_once()
2749 tt_int_op(r, ==, 0); in test_event_once()
2759 tt_int_op(called, ==, 2101); in test_event_once()
2784 tt_int_op(called, ==, 0); in test_event_once_never()
2868 tt_int_op(i, ==, EV_READ); in test_event_closed_fd_poll()
2892 tt_int_op(write(data->pair[0], "Hello world", in test_dup_fd()
2897 tt_int_op(dfd, >=, 0); in test_dup_fd()
2905 tt_int_op(ev1_got, ==, EV_READ); in test_dup_fd()
2906 tt_int_op(ev2_got, ==, EV_READ); in test_dup_fd()
2916 tt_int_op(ev2_got, ==, 0); in test_dup_fd()
2923 tt_int_op(dup2(fd, dfd), ==, dfd); in test_dup_fd()
2930 tt_int_op(ev2_got, ==, EV_WRITE); in test_dup_fd()
3056 tt_int_op(called[i], ==, MANY - i + 1); in test_many_events()
3058 tt_int_op(called[i], ==, 1); in test_many_events()
3074 tt_int_op(event_get_struct_event_size(), <=, sizeof(struct event)); in test_struct_event_size()
3097 tt_int_op(s, ==, data->pair[1]); in test_get_assignment()
3098 tt_int_op(what, ==, EV_READ); in test_get_assignment()
3123 tt_int_op(tv->tv_sec, ==, 10); in foreach_count_cb()
3162 tt_int_op(-1, ==, event_base_foreach_event(NULL, foreach_count_cb, NULL)); in test_event_foreach()
3163 tt_int_op(-1, ==, event_base_foreach_event(base, NULL, NULL)); in test_event_foreach()
3172 tt_int_op(0, ==, event_base_foreach_event(base, foreach_count_cb, in test_event_foreach()
3174 tt_int_op(1, ==, visited[0].count); in test_event_foreach()
3175 tt_int_op(1, ==, visited[1].count); in test_event_foreach()
3176 tt_int_op(1, ==, visited[2].count); in test_event_foreach()
3177 tt_int_op(1, ==, visited[3].count); in test_event_foreach()
3184 tt_int_op(101, ==, event_base_foreach_event(base, foreach_find_cb, in test_event_foreach()
3201 tt_int_op(0, ==, event_base_gettimeofday_cached(cached_time_base, tv)); in cache_time_cb()
3232 tt_int_op(0, ==, event_base_gettimeofday_cached(NULL, &tv1)); in test_gettimeofday_cached()
3233 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2)); in test_gettimeofday_cached()
3234 tt_int_op(timeval_msec_diff(&tv1, &tv2), <, 10); in test_gettimeofday_cached()
3235 tt_int_op(timeval_msec_diff(&tv1, &now), <, 10); in test_gettimeofday_cached()
3251 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3252 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3254 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10); in test_gettimeofday_cached()
3255 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10); in test_gettimeofday_cached()
3341 tt_int_op(e1, ==, 0); in test_active_by_fd()
3342 tt_int_op(e2, ==, EV_WRITE | 0x10000); in test_active_by_fd()
3343 tt_int_op(e3, ==, EV_READ | 0x10000); in test_active_by_fd()
3345 tt_int_op((e4 & ~EV_WRITE), ==, EV_READ | 0x10000); in test_active_by_fd()
3347 tt_int_op(es, ==, EV_SIGNAL | 0x10000); in test_active_by_fd()