Lines Matching refs:timeout
103 void uv__io_poll(uv_loop_t* loop, int timeout) {
106 * indefinitely, we cap the timeout and poll again if necessary.
185 assert(timeout >= -1);
188 real_timeout = timeout;
192 user_timeout = timeout;
193 timeout = 0;
209 /* Only need to set the provider_entry_time if timeout != 0. The function
212 if (timeout != 0)
218 if (sizeof(int32_t) == sizeof(long) && timeout >= max_safe_timeout)
219 timeout = max_safe_timeout;
229 timeout,
239 timeout);
251 * timeout == 0 (i.e. non-blocking poll) but there is no guarantee that the
257 assert(timeout != -1);
260 timeout = user_timeout;
264 if (timeout == -1)
267 if (timeout == 0)
270 /* We may have been inside the system call for longer than |timeout|
287 timeout = user_timeout;
291 if (timeout == -1)
294 if (timeout == 0)
297 /* Interrupted by a signal. Update timeout and poll again. */
382 timeout = user_timeout;
400 timeout = 0;
406 if (timeout == 0)
409 if (timeout == -1)
413 assert(timeout > 0);
419 timeout = real_timeout;