Home
last modified time | relevance | path

Searched refs:bytes_read_total (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/base/
Dsync_socket_posix.cc146 size_t bytes_read_total; in ReceiveWithTimeout() local
147 for (bytes_read_total = 0; in ReceiveWithTimeout()
148 bytes_read_total < length && timeout.InMicroseconds() > 0; in ReceiveWithTimeout()
162 return bytes_read_total; in ReceiveWithTimeout()
167 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); in ReceiveWithTimeout()
171 return bytes_read_total; in ReceiveWithTimeout()
174 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); in ReceiveWithTimeout()
175 bytes_read_total += bytes_received; in ReceiveWithTimeout()
177 return bytes_read_total; in ReceiveWithTimeout()
180 return bytes_read_total; in ReceiveWithTimeout()