Searched refs:total_read (Results 1 – 3 of 3) sorted by relevance
442 size_t total_read = 0; in ReadAudioData() local449 if (avail_to_read > len - total_read) { in ReadAudioData()450 avail_to_read = len - total_read; in ReadAudioData()452 if (mDataMQ->read(p_buf + total_read, avail_to_read) == 0) { in ReadAudioData()454 << " total_read=" << total_read << " failed"; in ReadAudioData()457 total_read += avail_to_read; in ReadAudioData()464 LOG(WARNING) << __func__ << ": " << (len - total_read) << "/" << len in ReadAudioData()469 } while (total_read < len); in ReadAudioData()474 VLOG(1) << __func__ << ": underflow " << len << " -> " << total_read in ReadAudioData()477 VLOG(2) << __func__ << ": " << len << " -> " << total_read << " read"; in ReadAudioData()[all …]
51 size_t total_read = 0; in ProcessVmRead() local54 .iov_base = &reinterpret_cast<uint8_t*>(dst)[total_read], .iov_len = len, in ProcessVmRead()66 return total_read; in ProcessVmRead()78 return total_read; in ProcessVmRead()87 return total_read; in ProcessVmRead()89 total_read += rc; in ProcessVmRead()91 return total_read; in ProcessVmRead()
248 uint64_t total_read = 0; in main() local254 total_read += statistics.read(); in main()280 BytesToKB(total_read) / delay_div, in main()