Lines Matching refs:i
56 size_t i; in uv__pollfds_maybe_resize() local
69 for (i = loop->poll_fds_size; i < n; i++) { in uv__pollfds_maybe_resize()
70 loop->poll_fds[i].fd = -1; in uv__pollfds_maybe_resize()
71 loop->poll_fds[i].events = 0; in uv__pollfds_maybe_resize()
72 loop->poll_fds[i].revents = 0; in uv__pollfds_maybe_resize()
87 size_t i; in uv__pollfds_add() local
92 for (i = 0; i < loop->poll_fds_used; ++i) { in uv__pollfds_add()
93 if (loop->poll_fds[i].fd == w->fd) { in uv__pollfds_add()
94 loop->poll_fds[i].events = w->pevents; in uv__pollfds_add()
108 size_t i; in uv__pollfds_del() local
110 for (i = 0; i < loop->poll_fds_used;) { in uv__pollfds_del()
111 if (loop->poll_fds[i].fd == fd) { in uv__pollfds_del()
114 uv__pollfds_swap(loop, i, loop->poll_fds_used); in uv__pollfds_del()
128 ++i; in uv__pollfds_del()
142 size_t i; in uv__io_poll() local
267 for (i = 0; i < loop->poll_fds_used; i++) { in uv__io_poll()
268 pe = loop->poll_fds + i; in uv__io_poll()
348 size_t i; in uv__platform_invalidate_fd() local
354 for (i = 0; i < loop->poll_fds_used; i++) in uv__platform_invalidate_fd()
355 if (loop->poll_fds[i].fd == fd) { in uv__platform_invalidate_fd()
356 loop->poll_fds[i].fd = -1; in uv__platform_invalidate_fd()
357 loop->poll_fds[i].events = 0; in uv__platform_invalidate_fd()
358 loop->poll_fds[i].revents = 0; in uv__platform_invalidate_fd()