Lines Matching refs:timeout
133 void uv__io_poll(uv_loop_t* loop, int timeout) {
216 assert(timeout >= -1);
222 user_timeout = timeout;
223 timeout = 0;
229 /* Only need to set the provider_entry_time if timeout != 0. The function
232 if (timeout != 0)
238 timeout);
241 * timeout == 0 (i.e. non-blocking poll) but there is no guarantee that the
248 timeout = user_timeout;
250 if (timeout == -1)
252 if (timeout > 0)
256 assert(timeout != -1);
266 timeout = user_timeout;
270 if (timeout == -1)
273 if (timeout == 0)
276 /* Interrupted by a signal. Update timeout and poll again. */
325 timeout = user_timeout;
343 timeout = 0;
349 if (timeout == 0)
352 if (timeout == -1)
356 assert(timeout > 0);
359 if (diff >= (uint64_t) timeout)
362 timeout -= diff;