Home
last modified time | relevance | path

Searched refs:nfds (Results 1 – 10 of 10) sorted by last modified time

/libuv/src/unix/
H A Dprocess.c124 loop->nfds--; in uv__wait_children()
1036 loop->nfds++; in uv_spawn()
H A Dlinux.c692 int nfds; member
707 for (i = 0; i < inv->nfds; i++) in uv__platform_invalidate_fd()
1340 int nfds; in uv__io_poll() local
1409 inv.nfds = -1; in uv__io_poll()
1412 if (loop->nfds == 0) in uv__io_poll()
1443 if (nfds == -1) in uv__io_poll()
1445 else if (nfds == 0) in uv__io_poll()
1449 if (nfds == 0 || nfds == -1) { in uv__io_poll()
1453 } else if (nfds == 0) { in uv__io_poll()
1465 inv.nfds = nfds; in uv__io_poll()
[all …]
H A Dcore.c928 loop->nfds++; in uv__io_start()
954 assert(loop->nfds > 0); in uv__io_stop()
956 loop->nfds--; in uv__io_stop()
H A Dkqueue.c150 int nfds; in uv__io_poll() local
157 if (loop->nfds == 0) { in uv__io_poll()
259 nfds = kevent(loop->backend_fd, in uv__io_poll()
266 if (nfds == -1) in uv__io_poll()
268 else if (nfds == 0) in uv__io_poll()
281 if (nfds == 0 || nfds == -1) { in uv__io_poll()
294 } else if (nfds == 0) { in uv__io_poll()
308 for (i = 0; i < nfds; i++) { in uv__io_poll()
415 if (nfds == ARRAY_SIZE(events) && --count != 0) { in uv__io_poll()
444 uintptr_t nfds; in uv__platform_invalidate_fd() local
[all …]
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 Dloop.c62 loop->nfds = 0; in uv_loop_init()
197 assert(loop->nfds == 0); in uv__loop_close()
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 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 …]
/libuv/include/uv/
H A Dunix.h227 unsigned int nfds; \

Completed in 62 milliseconds