Lines Matching full:timeout
123 TimeDelta timeout) {
132 // return a timeout error (0) if not. See http://crbug.com/314364.
137 DCHECK_GT(timeout.InMicroseconds(), 0);
138 DCHECK_LT(timeout.InMicroseconds(),
141 // Track the start time so we can reduce the timeout as data is read.
143 const TimeTicks finish_time = start_time + timeout;
148 bytes_read_total < length && timeout.InMicroseconds() > 0;
149 timeout = finish_time - base::TimeTicks::Now()) {
155 { 0, static_cast<suseconds_t>(timeout.InMicroseconds()) };
158 // Handle EINTR manually since we need to update the timeout value.