Lines Matching refs:timeout
134 void uv__io_poll(uv_loop_t* loop, int timeout) { in uv__io_poll() argument
182 assert(timeout >= -1); in uv__io_poll()
187 user_timeout = timeout; in uv__io_poll()
188 timeout = 0; in uv__io_poll()
201 if (timeout != 0) in uv__io_poll()
208 lfields->current_timeout = timeout; in uv__io_poll()
213 nfds = poll(loop->poll_fds, (nfds_t)loop->poll_fds_used, timeout); in uv__io_poll()
226 timeout = user_timeout; in uv__io_poll()
228 if (timeout == -1) in uv__io_poll()
230 if (timeout > 0) in uv__io_poll()
234 assert(timeout != -1); in uv__io_poll()
243 timeout = user_timeout; in uv__io_poll()
247 if (timeout == -1) in uv__io_poll()
250 if (timeout == 0) in uv__io_poll()
306 timeout = user_timeout; in uv__io_poll()
327 if (timeout == 0) in uv__io_poll()
330 if (timeout == -1) in uv__io_poll()
334 assert(timeout > 0); in uv__io_poll()
337 if (time_diff >= (uint64_t) timeout) in uv__io_poll()
340 timeout -= time_diff; in uv__io_poll()