Lines Matching refs:timeout
811 void uv__io_poll(uv_loop_t* loop, int timeout) { in uv__io_poll() argument
878 assert(timeout >= -1); in uv__io_poll()
881 real_timeout = timeout; in uv__io_poll()
887 user_timeout = timeout; in uv__io_poll()
888 timeout = 0; in uv__io_poll()
898 if (timeout != 0) in uv__io_poll()
901 if (sizeof(int32_t) == sizeof(long) && timeout >= max_safe_timeout) in uv__io_poll()
902 timeout = max_safe_timeout; in uv__io_poll()
908 lfields->current_timeout = timeout; in uv__io_poll()
911 ARRAY_SIZE(events), timeout); in uv__io_poll()
920 assert(timeout != -1); in uv__io_poll()
923 timeout = user_timeout; in uv__io_poll()
927 if (timeout == -1) in uv__io_poll()
930 if (timeout == 0) in uv__io_poll()
945 timeout = user_timeout; in uv__io_poll()
949 if (timeout == -1) in uv__io_poll()
952 if (timeout == 0) in uv__io_poll()
1019 timeout = user_timeout; in uv__io_poll()
1038 timeout = 0; in uv__io_poll()
1044 if (timeout == 0) in uv__io_poll()
1047 if (timeout == -1) in uv__io_poll()
1051 assert(timeout > 0); in uv__io_poll()
1057 timeout = real_timeout; in uv__io_poll()