Lines Matching refs:tt_int_op

451 	tt_int_op(got_read_on_close, ==, EV_READ);
452 tt_int_op(got_write_on_close, ==, EV_WRITE);
453 tt_int_op(premature_event, ==, 0);
517 tt_int_op(event_base_loop(base, EVLOOP_NONBLOCK), ==, !persist);
518 tt_int_op(got_event, ==, (events & ~EV_PERSIST));
686 tt_int_op(count, ==, 1);
748 tt_int_op(res.n, ==, 3);
749 tt_int_op(res.events[0], ==, EV_READ);
750 tt_int_op(res.events[1], ==, EV_TIMEOUT);
751 tt_int_op(res.events[2], ==, EV_TIMEOUT);
803 tt_int_op(ms_100->tv_sec, ==, 0);
804 tt_int_op(ms_200->tv_sec, ==, 0);
805 tt_int_op(sec_5->tv_sec, ==, 5);
806 tt_int_op(ms_100->tv_usec, ==, 100000|0x50000000);
807 tt_int_op(ms_200->tv_usec, ==, 200000|0x50100000);
808 tt_int_op(sec_5->tv_usec, ==, 0|0x50200000);
846 tt_int_op(info[i].count, ==, 4);
1021 tt_int_op(test_ok, ==, 1);
1087 tt_int_op(test_ok, ==, 1);
1467 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL),
1472 tt_int_op(event_pending(&ev1, EV_READ|EV_TIMEOUT|EV_WRITE, NULL),
1552 tt_int_op(event_count_active, ==, 0);
1553 tt_int_op(event_count_virtual, ==, 0);
1555 tt_int_op(event_count_added, ==, 2);
1556 tt_int_op(event_count_active_virtual, ==, 0);
1557 tt_int_op(event_count_active_added, ==, 2);
1558 tt_int_op(event_count_virtual_added, ==, 2);
1559 tt_int_op(event_count_active_added_virtual, ==, 2);
1578 tt_int_op(event_count_active, ==, 1);
1579 tt_int_op(event_count_virtual, ==, 0);
1580 tt_int_op(event_count_added, ==, 3);
1581 tt_int_op(event_count_active_virtual, ==, 1);
1582 tt_int_op(event_count_active_added, ==, 4);
1583 tt_int_op(event_count_virtual_added, ==, 3);
1584 tt_int_op(event_count_active_added_virtual, ==, 4);
1603 tt_int_op(event_count_active, ==, 0);
1604 tt_int_op(event_count_virtual, ==, 0);
1605 tt_int_op(event_count_added, ==, 0);
1606 tt_int_op(event_count_active_virtual, ==, 0);
1607 tt_int_op(event_count_active_added, ==, 0);
1608 tt_int_op(event_count_virtual_added, ==, 0);
1609 tt_int_op(event_count_active_added_virtual, ==, 0);
1628 tt_int_op(event_count_active, ==, 0);
1629 tt_int_op(event_count_virtual, ==, 1);
1630 tt_int_op(event_count_added, ==, 0);
1631 tt_int_op(event_count_active_virtual, ==, 1);
1632 tt_int_op(event_count_active_added, ==, 0);
1633 tt_int_op(event_count_virtual_added, ==, 1);
1634 tt_int_op(event_count_active_added_virtual, ==, 1);
1683 tt_int_op(event_count_active, ==, 0);
1684 tt_int_op(event_count_virtual, ==, 0);
1686 tt_int_op(event_count_added, ==, 4);
1687 tt_int_op(event_count_active_virtual, ==, 0);
1688 tt_int_op(event_count_active_added, ==, 4);
1689 tt_int_op(event_count_virtual_added, ==, 4);
1690 tt_int_op(event_count_active_added_virtual, ==, 4);
1710 tt_int_op(event_count_active, ==, 1);
1711 tt_int_op(event_count_virtual, ==, 0);
1712 tt_int_op(event_count_added, ==, 4);
1713 tt_int_op(event_count_active_virtual, ==, 1);
1714 tt_int_op(event_count_active_added, ==, 5);
1715 tt_int_op(event_count_virtual_added, ==, 4);
1716 tt_int_op(event_count_active_added_virtual, ==, 5);
1736 tt_int_op(event_count_active, ==, 1);
1737 tt_int_op(event_count_virtual, ==, 0);
1738 tt_int_op(event_count_added, ==, 4);
1739 tt_int_op(event_count_active_virtual, ==, 0);
1740 tt_int_op(event_count_active_added, ==, 0);
1741 tt_int_op(event_count_virtual_added, ==, 0);
1742 tt_int_op(event_count_active_added_virtual, ==, 0);
1750 tt_int_op(event_count_active, ==, 0);
1751 tt_int_op(event_count_virtual, ==, 0);
1752 tt_int_op(event_count_added, ==, 0);
1772 tt_int_op(event_count_active, ==, 0);
1773 tt_int_op(event_count_virtual, ==, 1);
1774 tt_int_op(event_count_added, ==, 0);
1775 tt_int_op(event_count_active_virtual, ==, 1);
1776 tt_int_op(event_count_active_added, ==, 0);
1777 tt_int_op(event_count_virtual_added, ==, 1);
1778 tt_int_op(event_count_active_added_virtual, ==, 1);
1791 tt_int_op(r,==,-1);
1808 tt_int_op(r, ==, -1);
1825 tt_int_op(r, ==, 1);
1826 tt_int_op(reentrant_cb_run, ==, 1);
1883 tt_int_op(n_write_a_byte_cb, ==, n_activate_other_event_cb);
1884 tt_int_op(n_write_a_byte_cb, >, 100);
1885 tt_int_op(n_read_and_drain_cb, >, 100);
1886 tt_int_op(n_activate_other_event_cb, >, 100);
1943 tt_int_op(n, ==, 1);
1982 tt_int_op(ev1_fired, ==, 0);
1983 tt_int_op(rntp.events, ==, EV_READ);
2175 tt_int_op(write(data->pair[0], "Hello", 5), ==, 5);
2176 tt_int_op(write(data->pair[1], "Hello", 5), ==, 5);
2178 tt_int_op(event_add(&ev1, NULL), ==, 0);
2179 tt_int_op(event_add(&ev2, NULL), ==, 0);
2180 tt_int_op(event_base_loop(data->base, EVLOOP_ONCE), ==, 0);
2181 tt_int_op(test_ok, ==, 2);
2311 tt_int_op(event_base_priority_init(base, 8), ==, 0);
2328 tt_int_op(n_pai_calls, ==, 3);
2329 tt_int_op(call_order[0], ==, 0);
2330 tt_int_op(call_order[1], ==, 2);
2331 tt_int_op(call_order[2], ==, 1);
2455 tt_int_op(evtag_decode_int(&integer, tmp), !=, -1);
2457 tt_int_op(evtag_decode_int64(&big_int, tmp), !=, -1);
2489 tt_int_op(not_failed, <, 10);
2529 tt_int_op(evtag_decode_tag(&integer, tmp), !=, -1);
2548 tt_int_op(evtag_peek(tmp, &u32), ==, 1);
2549 tt_int_op(u32, ==, 30);
2550 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0);
2551 tt_int_op(u32, ==, 1+1+1);
2552 tt_int_op(evtag_consume(tmp), ==, 0);
2554 tt_int_op(evtag_peek(tmp, &u32), ==, 1);
2555 tt_int_op(u32, ==, 40);
2556 tt_int_op(evtag_peek_length(tmp, &u32), ==, 0);
2557 tt_int_op(u32, ==, 1+1+11);
2558 tt_int_op(evtag_payload_length(tmp, &u32), ==, 0);
2559 tt_int_op(u32, ==, 11);
2587 tt_int_op(event_config_avoid_method(cfg, backend), ==, 0);
2619 tt_int_op(vint, ==, LIBEVENT_VERSION_NUMBER);
2623 tt_int_op((vint&0xffffff00), ==, ((major<<24)|(minor<<16)|(patch<<8)));
2640 tt_int_op(EV_FEATURE_ET, ==,
2644 tt_int_op(0, ==, event_base_get_features(base) & EV_FEATURE_ET);
2773 tt_int_op(event, ==, EV_READ);
2782 tt_int_op(event, ==, EV_TIMEOUT);
2791 tt_int_op(event, ==, EV_TIMEOUT);
2809 tt_int_op(r, ==, 0);
2812 tt_int_op(r, ==, 0);
2814 tt_int_op(r, <, 0);
2817 tt_int_op(r, ==, 0);
2822 tt_int_op(r, ==, 0);
2832 tt_int_op(called, ==, 2101);
2857 tt_int_op(called, ==, 0);
2941 tt_int_op(i, ==, EV_READ);
2965 tt_int_op(write(data->pair[0], "Hello world",
2970 tt_int_op(dfd, >=, 0);
2978 tt_int_op(ev1_got, ==, EV_READ);
2979 tt_int_op(ev2_got, ==, EV_READ);
2989 tt_int_op(ev2_got, ==, 0);
2996 tt_int_op(dup2(fd, dfd), ==, dfd);
3003 tt_int_op(ev2_got, ==, EV_WRITE);
3130 tt_int_op(called[i], ==, MANY - i + 1);
3132 tt_int_op(called[i], ==, 1);
3148 tt_int_op(event_get_struct_event_size(), <=, sizeof(struct event));
3172 tt_int_op(what, ==, EV_READ);
3197 tt_int_op(tv->tv_sec, ==, 10);
3236 tt_int_op(-1, ==, event_base_foreach_event(NULL, foreach_count_cb, NULL));
3237 tt_int_op(-1, ==, event_base_foreach_event(base, NULL, NULL));
3246 tt_int_op(0, ==, event_base_foreach_event(base, foreach_count_cb,
3248 tt_int_op(1, ==, visited[0].count);
3249 tt_int_op(1, ==, visited[1].count);
3250 tt_int_op(1, ==, visited[2].count);
3251 tt_int_op(1, ==, visited[3].count);
3258 tt_int_op(101, ==, event_base_foreach_event(base, foreach_find_cb,
3275 tt_int_op(0, ==, event_base_gettimeofday_cached(cached_time_base, tv));
3306 tt_int_op(0, ==, event_base_gettimeofday_cached(NULL, &tv1));
3307 tt_int_op(0, ==, event_base_gettimeofday_cached(base, &tv2));
3308 tt_int_op(timeval_msec_diff(&tv1, &tv2), <, 10);
3309 tt_int_op(timeval_msec_diff(&tv1, &now), <, 10);
3325 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10);
3326 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10);
3328 tt_int_op(labs(timeval_msec_diff(&tv1,&tv2)), >, 10);
3329 tt_int_op(labs(timeval_msec_diff(&tv2,&tv3)), >, 10);
3374 tt_int_op(e1, !=, 0);
3375 tt_int_op(e2, !=, 0);
3383 tt_int_op(e3, !=, 0);
3384 tt_int_op(e4, !=, 0);
3456 tt_int_op(e1, ==, 0);
3457 tt_int_op(e2, ==, EV_WRITE | 0x10000);
3458 tt_int_op(e3, ==, EV_READ | 0x10000);
3460 tt_int_op((e4 & ~EV_WRITE), ==, EV_READ | EV_TIMEOUT | 0x10000);
3462 tt_int_op(es, ==, EV_SIGNAL | 0x10000);