Lines Matching refs:events
30 static void uv__poll_io(uv_loop_t* loop, uv__io_t* w, unsigned int events) {
47 if ((events & POLLERR) && !(events & UV__POLLPRI)) {
55 if (events & POLLIN)
57 if (events & UV__POLLPRI)
59 if (events & POLLOUT)
61 if (events & UV__POLLRDHUP)
122 int events;
140 events = 0;
142 events |= POLLIN;
144 events |= UV__POLLPRI;
146 events |= POLLOUT;
148 events |= UV__POLLRDHUP;
150 uv__io_start(handle->loop, &handle->io_watcher, events);