Searched refs:pevents (Results 1 – 11 of 11) sorted by relevance
32 int pevents; in uv__poll_io() local54 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() argument124 assert((pevents & ~(UV_READABLE | UV_WRITABLE | UV_DISCONNECT | in uv_poll_start()137 if (pevents == 0) in uv_poll_start()[all …]
149 assert(w->pevents != 0); in uv__io_poll()153 if ((w->events & POLLIN) == 0 && (w->pevents & POLLIN) != 0) { in uv__io_poll()174 if ((w->events & POLLOUT) == 0 && (w->pevents & POLLOUT) != 0) { in uv__io_poll()184 if ((w->events & UV__POLLPRI) == 0 && (w->pevents & UV__POLLPRI) != 0) { in uv__io_poll()194 w->events = w->pevents; in uv__io_poll()324 assert(w->pevents == POLLIN); in uv__io_poll()334 if (w->pevents & POLLIN) { in uv__io_poll()345 if ((ev->flags & EV_EOF) && (w->pevents & UV__POLLRDHUP)) in uv__io_poll()350 if (w->pevents & UV__POLLPRI) { in uv__io_poll()364 if (w->pevents & POLLOUT) { in uv__io_poll()
149 assert(w->pevents != 0); in uv__io_poll()153 e.events = w->pevents; in uv__io_poll()175 w->events = w->pevents; in uv__io_poll()345 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()364 w->pevents & (POLLIN | POLLOUT | UV__POLLRDHUP | UV__POLLPRI); in uv__io_poll()
94 loop->poll_fds[i].events = w->pevents; in uv__pollfds_add()103 pe->events = w->pevents; in uv__pollfds_add()162 assert(w->pevents != 0); in uv__io_poll()168 w->events = w->pevents; in uv__io_poll()280 pe->revents &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
678 assert(w->pevents != 0); in uv__io_poll()685 e.events = w->pevents; in uv__io_poll()707 w->events = w->pevents; in uv__io_poll()822 pe->events &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()825 pe->events |= w->pevents & (POLLIN | POLLOUT); in uv__io_poll()
180 assert(w->pevents != 0); in uv__io_poll()185 w->pevents, in uv__io_poll()191 w->events = w->pevents; in uv__io_poll()320 if (w->pevents != 0 && QUEUE_EMPTY(&w->watcher_queue)) in uv__io_poll()
858 w->pevents = 0; in uv__io_init()873 w->pevents |= events; in uv__io_start()881 if (w->events == w->pevents) in uv__io_start()908 w->pevents &= ~events; in uv__io_stop()910 if (w->pevents == 0) { in uv__io_stop()945 return 0 != (w->pevents & events); in uv__io_active()
155 if (w->pevents != 0 && QUEUE_EMPTY(&w->watcher_queue)) { in uv_loop_fork()
163 assert(w->pevents != 0); in uv__io_poll()167 pc.events = w->pevents; in uv__io_poll()213 w->events = w->pevents; in uv__io_poll()
98 unsigned int pevents; /* Pending event mask i.e. mask at next tick. */ member
4528 * unix: update events from pevents between polls (Fedor Indutny)4569 * unix: update events from pevents between polls (Fedor Indutny)