Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dcached_file_descriptor.cc53 size_t total_bytes_wrote = 0; in Write() local
54 while (total_bytes_wrote < count) { in Write()
56 std::min(count - total_bytes_wrote, cache_.size() - bytes_cached_); in Write()
59 bytes + total_bytes_wrote, in Write()
61 total_bytes_wrote += bytes_to_cache; in Write()
71 offset_ += total_bytes_wrote; in Write()
72 return total_bytes_wrote; in Write()
Dcached_file_descriptor_unittest.cc51 size_t total_bytes_wrote = 0; in Write() local
52 while (total_bytes_wrote < count) { in Write()
54 cfd_->Write(buffer + total_bytes_wrote, count - total_bytes_wrote); in Write()
56 total_bytes_wrote += bytes_wrote; in Write()