Searched refs:total_read (Results 1 – 4 of 4) sorted by relevance
60 size_t total_read = 0; in Read() local81 size_t read_length = len - total_read; in Read()86 socket_->ReceiveAll(reinterpret_cast<char*>(data) + total_read, read_length, 0); in Read()92 total_read += bytes_read; in Read()97 } while (downloading_ && total_read < len); in Read()99 return total_read; in Read()
765 size_t total_read = 0; in ReadAudioData() local772 if (avail_to_read > len - total_read) { in ReadAudioData()773 avail_to_read = len - total_read; in ReadAudioData()775 if (mDataMQ->read(p_buf + total_read, avail_to_read) == 0) { in ReadAudioData()777 << " total_read=" << total_read << " failed"; in ReadAudioData()780 total_read += avail_to_read; in ReadAudioData()787 LOG(WARNING) << __func__ << ": " << (len - total_read) << "/" << len in ReadAudioData()792 } while (total_read < len); in ReadAudioData()797 VLOG(1) << __func__ << ": underflow " << len << " -> " << total_read in ReadAudioData()800 VLOG(2) << __func__ << ": " << len << " -> " << total_read << " read"; in ReadAudioData()[all …]
237 uint64_t total_read = 0; in main() local243 total_read += statistics.read(); in main()267 "TOTAL", BytesToKB(total_read) / delay_div, BytesToKB(total_write) / delay_div, in main()
74 size_t total_read = 0; in ProcessVmRead() local77 .iov_base = &reinterpret_cast<uint8_t*>(dst)[total_read], .iov_len = len, in ProcessVmRead()89 return total_read; in ProcessVmRead()101 return total_read; in ProcessVmRead()110 return total_read; in ProcessVmRead()112 total_read += rc; in ProcessVmRead()114 return total_read; in ProcessVmRead()