Home
last modified time | relevance | path

Searched refs:nwatchers (Results 1 - 18 of 18) sorted by relevance

/third_party/node/deps/uv/src/unix/
H A 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()
H A 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()
H A 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()
H A Dcore.c830 unsigned int nwatchers; in maybe_resize() local
833 if (len <= loop->nwatchers) in maybe_resize()
838 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()
839 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()
845 nwatchers = next_power_of_two(len + 2) - 2; in maybe_resize()
847 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()
851 for (i = loop->nwatchers; i < nwatchers; i++) in maybe_resize()
853 watchers[nwatchers] = fake_watcher_list; in maybe_resize()
854 watchers[nwatchers in maybe_resize()
[all...]
H A 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()
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()
295 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
333 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
334 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
H A 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()
H A Dos390.c589 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
590 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
841 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
945 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
946 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
963 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
1011 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
1012 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
H A 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/src/unix/
H A Dkqueue.c173 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
306 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
307 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
408 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
409 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
449 events = (struct kevent*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
450 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
H A Dloop.c73 loop->nwatchers = 0; in uv_loop_init()
137 loop->nwatchers = 0; in uv_loop_init()
160 for (i = 0; i < loop->nwatchers; i++) { in uv_loop_fork()
219 loop->nwatchers = 0; in uv__loop_close()
H A 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()
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()
295 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
335 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
336 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
H A Dos390.c596 events = (struct epoll_event*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
597 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
851 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
961 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
962 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
979 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
1029 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
1030 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
H A Daix.c168 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
293 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()
294 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
306 assert((unsigned) pc.fd < loop->nwatchers); in uv__io_poll()
345 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()
346 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()
1305 events = (struct pollfd*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()
1306 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
H A Dcore.c886 unsigned int nwatchers; in maybe_resize() local
889 if (len <= loop->nwatchers) in maybe_resize()
894 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()
895 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()
901 nwatchers = next_power_of_two(len + 2) - 2; in maybe_resize()
903 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()
907 for (i = loop->nwatchers; i < nwatchers; i++) in maybe_resize()
909 watchers[nwatchers] = fake_watcher_list; in maybe_resize()
910 watchers[nwatchers in maybe_resize()
[all...]
H A Dposix-poll.c167 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()
276 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
H A Dlinux.c1538 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
1540 if (fd < 0 || (unsigned) fd >= loop->nwatchers) in uv__io_poll()
/third_party/libuv/include/uv/
H A Dunix.h227 unsigned int nwatchers; \
/third_party/node/deps/uv/include/uv/
H A Dunix.h227 unsigned int nwatchers; \

Completed in 20 milliseconds