Lines Matching refs:pevents
32 int pevents; in uv__poll_io() local
54 pevents = 0; in uv__poll_io()
56 pevents |= UV_READABLE; in uv__poll_io()
58 pevents |= UV_PRIORITIZED; in uv__poll_io()
60 pevents |= UV_WRITABLE; in uv__poll_io()
62 pevents |= UV_DISCONNECT; in uv__poll_io()
64 handle->poll_cb(handle, 0, pevents); in uv__poll_io()
119 int uv_poll_start(uv_poll_t* handle, int pevents, uv_poll_cb poll_cb) { in uv_poll_start() argument
124 assert((pevents & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT | in uv_poll_start()
137 if (pevents == 0) in uv_poll_start()
141 if (pevents & UV_READABLE) in uv_poll_start()
143 if (pevents & UV_PRIORITIZED) in uv_poll_start()
145 if (pevents & UV_WRITABLE) in uv_poll_start()
147 if (pevents & UV_DISCONNECT) in uv_poll_start()