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