Lines Matching refs:ev_events
307 if (ev->ev_events & EV_READ) { in evmap_io_add_()
311 if (ev->ev_events & EV_WRITE) { in evmap_io_add_()
315 if (ev->ev_events & EV_CLOSED) { in evmap_io_add_()
326 (old_ev->ev_events&EV_ET) != (ev->ev_events&EV_ET)) { in evmap_io_add_()
338 old, (ev->ev_events & EV_ET) | res, extra) == -1) in evmap_io_add_()
385 if (ev->ev_events & EV_READ) { in evmap_io_del_()
390 if (ev->ev_events & EV_WRITE) { in evmap_io_del_()
395 if (ev->ev_events & EV_CLOSED) { in evmap_io_del_()
404 old, (ev->ev_events & EV_ET) | res, extra) == -1) { in evmap_io_del_()
435 if (ev->ev_events & (events & ~EV_ET)) in evmap_io_active_()
436 event_active_nolock_(ev, ev->ev_events & events, 1); in evmap_io_active_()
628 (ev->ev_events & EV_ET))
965 EVUTIL_ASSERT(!(ev->ev_events & EV_SIGNAL));
966 EVUTIL_ASSERT((ev->ev_events & (EV_READ|EV_WRITE|EV_CLOSED)));
967 if (ev->ev_events & EV_READ)
969 if (ev->ev_events & EV_WRITE)
971 if (ev->ev_events & EV_CLOSED)
995 EVUTIL_ASSERT((ev->ev_events & EV_SIGNAL));
996 EVUTIL_ASSERT(!(ev->ev_events & (EV_READ|EV_WRITE|EV_CLOSED)));