Searched refs:nwatchers (Results 1 – 9 of 9) sorted by relevance
64 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()
206 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()339 loop->watchers[loop->nwatchers] = (void*) events; in uv__io_poll()340 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()441 loop->watchers[loop->nwatchers] = NULL; in uv__io_poll()442 loop->watchers[loop->nwatchers + 1] = NULL; in uv__io_poll()482 events = (struct kevent*) loop->watchers[loop->nwatchers]; in uv__platform_invalidate_fd()483 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
122 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()
872 unsigned int nwatchers; in maybe_resize() local875 if (len <= loop->nwatchers) in maybe_resize()880 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()881 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()887 nwatchers = next_power_of_two(len + 2) - 2; in maybe_resize()889 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()893 for (i = loop->nwatchers; i < nwatchers; i++) in maybe_resize()895 watchers[nwatchers] = fake_watcher_list; in maybe_resize()896 watchers[nwatchers + 1] = fake_watcher_count; in maybe_resize()899 loop->nwatchers = nwatchers; in maybe_resize()[all …]
596 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()
168 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()
167 assert(w->fd < (int) loop->nwatchers); in uv__io_poll()276 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
1512 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
226 unsigned int nwatchers; \
Completed in 53 milliseconds