Home
last modified time | relevance | path

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

/system/core/fastboot/device/
Dtcp_client.cpp60 size_t total_read = 0; in Read() local
81 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()
/system/bt/audio_hal_interface/
Dclient_interface.cc765 size_t total_read = 0; in ReadAudioData() local
772 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 …]
/system/extras/iotop/
Diotop.cpp237 uint64_t total_read = 0; in main() local
243 total_read += statistics.read(); in main()
267 "TOTAL", BytesToKB(total_read) / delay_div, BytesToKB(total_write) / delay_div, in main()
/system/unwinding/libunwindstack/
DMemory.cpp74 size_t total_read = 0; in ProcessVmRead() local
77 .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()