Home
last modified time | relevance | path

Searched refs:revents (Results 1 – 13 of 13) sorted by relevance

/libuv/src/unix/
H A Dposix-poll.c72 loop->poll_fds[i].revents = 0; in uv__pollfds_maybe_resize()
117 loop->poll_fds[loop->poll_fds_used].revents = 0; in uv__pollfds_del()
289 pe->revents &= w->pevents | POLLERR | POLLHUP; in uv__io_poll()
291 if (pe->revents != 0) { in uv__io_poll()
297 w->cb(loop, w, pe->revents); in uv__io_poll()
358 loop->poll_fds[i].revents = 0; in uv__platform_invalidate_fd()
381 if (p[0].revents & POLLNVAL) in uv__io_check_fd()
H A Dkqueue.c138 unsigned int revents; in uv__io_poll() local
346 revents = 0; in uv__io_poll()
350 revents |= POLLIN; in uv__io_poll()
355 revents |= UV__POLLRDHUP; in uv__io_poll()
360 revents |= UV__POLLPRI; in uv__io_poll()
367 revents |= POLLOUT; in uv__io_poll()
373 revents |= POLLERR; in uv__io_poll()
375 if (revents == 0) in uv__io_poll()
385 w->cb(loop, w, revents); in uv__io_poll()
H A Dos390-syscalls.c225 lst->items[lst->size - 1].revents = 0; in epoll_create1()
263 lst->items[fd].revents = 0; in epoll_ctl()
271 lst->items[fd].revents = 0; in epoll_ctl()
331 if (pfd->fd == -1 || pfd->revents == 0) in epoll_wait()
335 ev.events = pfd->revents; in epoll_wait()
342 if (pollmsgret > 0 && msg_fd.revents != 0 && msg_fd.fd != -1) { in epoll_wait()
345 ev.events = msg_fd.revents; in epoll_wait()
H A Dudp.c44 static void uv__udp_io(uv_loop_t* loop, uv__io_t* w, unsigned int revents);
135 static void uv__udp_io(uv_loop_t* loop, uv__io_t* w, unsigned int revents) { in uv__udp_io() argument
141 if (revents & POLLIN) in uv__udp_io()
144 if (revents & POLLOUT && !uv__is_closing(handle)) { in uv__udp_io()
H A Dsunos.c451 unsigned int revents) { in uv__fs_event_read() argument
459 (void) revents; in uv__fs_event_read()
H A Dinternal.h68 # define rtnevents revents
H A Dos390.c624 if (p[0].revents & POLLNVAL) in uv__io_check_fd()
H A Dfs.c918 pfd.revents = 0; in uv__fs_sendfile_emul()
924 if (n == -1 || (pfd.revents & ~POLLOUT) != 0) { in uv__fs_sendfile_emul()
H A Daix.c327 w->cb(loop, w, pe->revents); in uv__io_poll()
H A Dlinux.c274 unsigned int revents);
/libuv/test/
H A Dtest-embed.c67 p.revents = 0; in TEST_IMPL()
/libuv/include/uv/
H A Dwin.h39 short revents; member
/libuv/
H A DChangeLog2477 * zos: initialize pollfd revents (jBarz)

Completed in 64 milliseconds