Home
last modified time | relevance | path

Searched refs:pevents (Results 1 – 12 of 12) sorted by relevance

/libuv/src/unix/
H A Dpoll.c32 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()
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()
[all …]
H A Dkqueue.c198 assert(w->pevents != 0); in uv__io_poll()
202 if ((w->events & POLLIN) == 0 && (w->pevents & POLLIN) != 0) { in uv__io_poll()
223 if ((w->events & POLLOUT) == 0 && (w->pevents & POLLOUT) != 0) { in uv__io_poll()
233 if ((w->events & UV__POLLPRI) == 0 && (w->pevents & UV__POLLPRI) != 0) { in uv__io_poll()
243 w->events = w->pevents; in uv__io_poll()
377 assert(w->pevents == POLLIN); in uv__io_poll()
387 if (w->pevents & POLLIN) in uv__io_poll()
392 if ((ev->flags & EV_EOF) && (w->pevents & UV__POLLRDHUP)) in uv__io_poll()
397 if (w->pevents & UV__POLLPRI) in uv__io_poll()
404 if (w->pevents & POLLOUT) in uv__io_poll()
H A Dposix-poll.c94 loop->poll_fds[i].events = w->pevents; in uv__pollfds_add()
103 pe->events = w->pevents; in uv__pollfds_add()
165 assert(w->pevents != 0); in uv__io_poll()
171 w->events = w->pevents; in uv__io_poll()
289 pe->revents &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
H A Dos390.c846 assert(w->pevents != 0); in uv__io_poll()
853 e.events = w->pevents; in uv__io_poll()
875 w->events = w->pevents; in uv__io_poll()
998 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
1001 pe->events |= w->pevents & (POLLIN | POLLOUT); in uv__io_poll()
H A Dsunos.c179 assert(w->pevents != 0); in uv__io_poll()
184 w->pevents, in uv__io_poll()
190 w->events = w->pevents; in uv__io_poll()
319 if (w->pevents != 0 && uv__queue_empty(&w->watcher_queue)) in uv__io_poll()
H A Dcore.c911 w->pevents = 0; in uv__io_init()
921 w->pevents |= events; in uv__io_start()
929 if (w->events == w->pevents) in uv__io_start()
956 w->pevents &= ~events; in uv__io_stop()
958 if (w->pevents == 0) { in uv__io_stop()
993 return 0 != (w->pevents & events); in uv__io_active()
H A Dloop.c155 if (w->pevents != 0 && uv__queue_empty(&w->watcher_queue)) { in uv_loop_fork()
H A Daix.c166 assert(w->pevents != 0); in uv__io_poll()
170 pc.events = w->pevents; in uv__io_poll()
216 w->events = w->pevents; in uv__io_poll()
H A Dasync.c319 loop->async_io_watcher.events = loop->async_io_watcher.pevents;
H A Dlinux.c1415 w->events = w->pevents; in uv__io_poll()
1416 e.events = w->pevents; in uv__io_poll()
1535 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
1554 w->pevents & (POLLIN | POLLOUT | UV__POLLRDHUP | UV__POLLPRI); in uv__io_poll()
/libuv/include/uv/
H A Dunix.h97 unsigned int pevents; /* Pending event mask i.e. mask at next tick. */ member
/libuv/
H A DChangeLog5459 * unix: update events from pevents between polls (Fedor Indutny)
5500 * unix: update events from pevents between polls (Fedor Indutny)

Completed in 44 milliseconds