Home
last modified time | relevance | path

Searched refs:nfds (Results 1 – 10 of 10) sorted by relevance

/libuv/src/unix/
H A Dkqueue.c177 int nfds; in uv__io_poll() local
184 if (loop->nfds == 0) { in uv__io_poll()
286 nfds = kevent(loop->backend_fd, in uv__io_poll()
293 if (nfds == -1) in uv__io_poll()
295 else if (nfds == 0) in uv__io_poll()
308 if (nfds == 0 || nfds == -1) { in uv__io_poll()
321 } else if (nfds == 0) { in uv__io_poll()
335 for (i = 0; i < nfds; i++) { in uv__io_poll()
453 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
482 uintptr_t nfds; in uv__platform_invalidate_fd() local
[all …]
H A Dsunos.c117 uintptr_t nfds; in uv__platform_invalidate_fd() local
123 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
128 for (i = 0; i < nfds; i++) in uv__platform_invalidate_fd()
157 unsigned int nfds; in uv__io_poll() local
168 if (loop->nfds == 0) { in uv__io_poll()
227 nfds = 1; in uv__io_poll()
236 &nfds, in uv__io_poll()
275 if (nfds == 0) { in uv__io_poll()
285 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
286 for (i = 0; i < nfds; i++) { in uv__io_poll()
[all …]
H A Dposix-poll.c144 int nfds; in uv__io_poll() local
151 if (loop->nfds == 0) { in uv__io_poll()
213 nfds = poll(loop->poll_fds, (nfds_t)loop->poll_fds_used, timeout); in uv__io_poll()
224 if (nfds == 0) { in uv__io_poll()
238 if (nfds == -1) { in uv__io_poll()
H A Dos390.c591 uintptr_t nfds; in uv__platform_invalidate_fd() local
597 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
600 for (i = 0; i < nfds; i++) in uv__platform_invalidate_fd()
824 int nfds; in uv__io_poll() local
831 if (loop->nfds == 0) { in uv__io_poll()
893 nfds = 0; in uv__io_poll()
910 nfds = epoll_wait(loop->ep, events, in uv__io_poll()
919 if (nfds == 0) { in uv__io_poll()
939 if (nfds == -1) { in uv__io_poll()
963 for (i = 0; i < nfds; i++) { in uv__io_poll()
[all …]
H A Daix.c146 int nfds; in uv__io_poll() local
153 if (loop->nfds == 0) { in uv__io_poll()
244 nfds = pollset_poll(loop->backend_fd, in uv__io_poll()
255 if (nfds == 0) { in uv__io_poll()
269 if (nfds == -1) { in uv__io_poll()
294 loop->watchers[loop->nwatchers + 1] = (void*) (uintptr_t) nfds; in uv__io_poll()
296 for (i = 0; i < nfds; i++) { in uv__io_poll()
352 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
1299 uintptr_t nfds; in uv__platform_invalidate_fd() local
1306 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()
[all …]
H A Dloop.c62 loop->nfds = 0; in uv_loop_init()
197 assert(loop->nfds == 0); in uv__loop_close()
H A Dlinux.c696 int nfds; member
711 for (i = 0; i < inv->nfds; i++) in uv__platform_invalidate_fd()
1369 int nfds; in uv__io_poll() local
1438 inv.nfds = -1; in uv__io_poll()
1441 if (loop->nfds == 0) in uv__io_poll()
1472 if (nfds == -1) in uv__io_poll()
1474 else if (nfds == 0) in uv__io_poll()
1478 if (nfds == 0 || nfds == -1) { in uv__io_poll()
1482 } else if (nfds == 0) { in uv__io_poll()
1494 inv.nfds = nfds; in uv__io_poll()
[all …]
H A Dprocess.c125 loop->nfds--; in uv__wait_children()
1037 loop->nfds++; in uv_spawn()
H A Dcore.c938 loop->nfds++; in uv__io_start()
964 assert(loop->nfds > 0); in uv__io_stop()
966 loop->nfds--; in uv__io_stop()
/libuv/include/uv/
H A Dunix.h227 unsigned int nfds; \

Completed in 45 milliseconds