Home
last modified time | relevance | path

Searched refs:nwatchers (Results 1 – 9 of 9) sorted by relevance

/third_party/libuv/src/unix/
Depoll.c58 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
59 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
151 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
313 loop->watchers[loop->nwatchers] = x.watchers; in uv__io_poll()
314 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
326 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
391 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
392 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Dloop.c61 loop->nwatchers = 0; in uv_loop_init()
127 loop->nwatchers = 0; in uv_loop_init()
150 for (i = 0; i < loop->nwatchers; i++) { in uv_loop_fork()
202 loop->nwatchers = 0; in uv__loop_close()
Dkqueue.c151 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
284 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
411 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
412 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
452 events = (struct kevent*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
453 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
Dcore.c819 unsigned int nwatchers; in maybe_resize() local
822 if (len <= loop->nwatchers) in maybe_resize()
827 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()
828 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()
834 nwatchers = next_power_of_two(len + 2) - 2; in maybe_resize()
836 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()
840 for (i = loop->nwatchers; i < nwatchers; i++) in maybe_resize()
842 watchers[nwatchers] = fake_watcher_list; in maybe_resize()
843 watchers[nwatchers + 1] = fake_watcher_count; in maybe_resize()
846 loop->nwatchers = nwatchers; in maybe_resize()
[all …]
Dos390.c497 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
498 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
683 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
786 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
787 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
803 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
833 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
834 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Dsunos.c122 events = (struct port_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
123 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
285 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
286 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
296 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
334 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
335 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
Daix.c165 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
284 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
297 assert((unsigned) pc.fd < loop->nwatchers); in uv__io_poll()
334 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
335 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
1289 events = (struct pollfd*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
1290 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
Dposix-poll.c164 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
267 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
/third_party/libuv/include/uv/
Dunix.h227 unsigned int nwatchers; \