Lines Matching refs:timeout
426 static void uv__poll_wine(uv_loop_t* loop, DWORD timeout) { in uv__poll_wine() argument
438 timeout_time = loop->time + timeout; in uv__poll_wine()
442 user_timeout = timeout; in uv__poll_wine()
443 timeout = 0; in uv__poll_wine()
452 if (timeout != 0) in uv__poll_wine()
459 lfields->current_timeout = timeout; in uv__poll_wine()
465 timeout); in uv__poll_wine()
468 if (overlapped && timeout == 0) in uv__poll_wine()
470 timeout = user_timeout; in uv__poll_wine()
495 } else if (timeout > 0) { in uv__poll_wine()
501 timeout = (DWORD)(timeout_time - loop->time); in uv__poll_wine()
508 timeout += repeat ? (1 << (repeat - 1)) : 0; in uv__poll_wine()
517 static void uv__poll(uv_loop_t* loop, DWORD timeout) { in uv__poll() argument
531 timeout_time = loop->time + timeout; in uv__poll()
535 user_timeout = timeout; in uv__poll()
536 timeout = 0; in uv__poll()
542 actual_timeout = timeout; in uv__poll()
547 if (timeout != 0) in uv__poll()
554 lfields->current_timeout = timeout; in uv__poll()
560 timeout, in uv__poll()
564 timeout = user_timeout; in uv__poll()
597 } else if (timeout > 0) { in uv__poll()
603 timeout = (DWORD)(timeout_time - loop->time); in uv__poll()
610 timeout += repeat ? (1 << (repeat - 1)) : 0; in uv__poll()
620 DWORD timeout; in uv_run() local
644 timeout = 0; in uv_run()
646 timeout = uv_backend_timeout(loop); in uv_run()
651 uv__poll(loop, timeout); in uv_run()
653 uv__poll_wine(loop, timeout); in uv_run()