Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dloop.c64 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.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 Dcore.c862 unsigned int nwatchers; in maybe_resize() local
865 if (len <= loop->nwatchers) in maybe_resize()
870 fake_watcher_list = loop->watchers[loop->nwatchers]; in maybe_resize()
871 fake_watcher_count = loop->watchers[loop->nwatchers + 1]; in maybe_resize()
877 nwatchers = next_power_of_two(len + 2) - 2; in maybe_resize()
879 (nwatchers + 2) * sizeof(loop->watchers[0])); in maybe_resize()
883 for (i = loop->nwatchers; i < nwatchers; i++) in maybe_resize()
885 watchers[nwatchers] = fake_watcher_list; in maybe_resize()
886 watchers[nwatchers + 1] = fake_watcher_count; in maybe_resize()
889 loop->nwatchers = 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()
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 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.c1483 assert((unsigned) fd < loop->nwatchers); in uv__io_poll()
/libuv/include/uv/
H A Dunix.h226 unsigned int nwatchers; \

Completed in 67 milliseconds