Lines Matching refs:ev4
1862 struct event ev3, ev4; in test_active_later() local
1866 event_assign(&ev3, data->base, -1, 0, activate_other_event_cb, &ev4); in test_active_later()
1867 event_assign(&ev4, data->base, -1, 0, activate_other_event_cb, &ev3); in test_active_later()
1879 event_del(&ev4); in test_active_later()
1886 event_active_later_(&ev4, EV_READ); in test_active_later()
1887 event_active(&ev4, EV_READ, 1); /* This should make the event in test_active_later()
1889 tt_assert((ev4.ev_flags & EVLIST_ACTIVE) != 0); in test_active_later()
1890 tt_assert((ev4.ev_flags & EVLIST_ACTIVE_LATER) == 0); in test_active_later()
3362 struct event *ev3 = NULL, *ev4 = NULL; in test_evmap_invalid_slots() local
3376 ev4 = event_new(base, INT_MAX / 2, EV_READ, dummy_read_cb, (void *)base); in test_evmap_invalid_slots()
3378 tt_assert(ev4); in test_evmap_invalid_slots()
3380 e4 = event_add(ev4, NULL); in test_evmap_invalid_slots()
3390 event_free(ev4); in test_evmap_invalid_slots()
3399 struct event *ev1 = NULL, *ev2 = NULL, *ev3 = NULL, *ev4 = NULL; in test_active_by_fd() local
3423 ev4 = event_new(base, data->pair[1], EV_READ, tabf_cb, &e4); in test_active_by_fd()
3427 tt_assert(ev4); in test_active_by_fd()
3437 event_add(ev4, &tenmin); in test_active_by_fd()
3470 if (ev4) in test_active_by_fd()
3471 event_free(ev4); in test_active_by_fd()