Lines Matching refs:tt_int_op

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