Searched refs:nfds (Results 1 – 10 of 10) sorted by relevance
177 int nfds; in uv__io_poll() local184 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 …]
117 uintptr_t nfds; in uv__platform_invalidate_fd() local123 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() local168 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 …]
144 int nfds; in uv__io_poll() local151 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()
591 uintptr_t nfds; in uv__platform_invalidate_fd() local597 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() local831 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 …]
146 int nfds; in uv__io_poll() local153 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() local1306 nfds = (uintptr_t) loop->watchers[loop->nwatchers + 1]; in uv__platform_invalidate_fd()[all …]
62 loop->nfds = 0; in uv_loop_init()197 assert(loop->nfds == 0); in uv__loop_close()
696 int nfds; member711 for (i = 0; i < inv->nfds; i++) in uv__platform_invalidate_fd()1369 int nfds; in uv__io_poll() local1438 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 …]
125 loop->nfds--; in uv__wait_children()1037 loop->nfds++; in uv_spawn()
938 loop->nfds++; in uv__io_start()964 assert(loop->nfds > 0); in uv__io_stop()966 loop->nfds--; in uv__io_stop()
227 unsigned int nfds; \
Completed in 32 milliseconds