Searched refs:bytes_read_total (Results 1 – 1 of 1) sorted by relevance
160 size_t bytes_read_total = 0; in ReceiveWithTimeout() local161 while (bytes_read_total < length) { in ReceiveWithTimeout()173 return bytes_read_total; in ReceiveWithTimeout()182 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); in ReceiveWithTimeout()186 return bytes_read_total; in ReceiveWithTimeout()189 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); in ReceiveWithTimeout()190 bytes_read_total += bytes_received; in ReceiveWithTimeout()192 return bytes_read_total; in ReceiveWithTimeout()195 return bytes_read_total; in ReceiveWithTimeout()