Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor.cc31 cow_reader_(cow_writer_->OpenReader()) { in CowWriterFileDescriptor()
33 CHECK_NE(cow_reader_, nullptr); in CowWriterFileDescriptor()
57 const auto offset = cow_reader_->Seek(0, SEEK_CUR); in Read()
58 cow_reader_.reset(); in Read()
63 cow_reader_ = cow_writer_->OpenReader(); in Read()
64 if (cow_reader_ == nullptr) { in Read()
68 const auto pos = cow_reader_->Seek(offset, SEEK_SET); in Read()
77 return cow_reader_->Read(buf, count); in Read()
81 auto offset = cow_reader_->Seek(0, SEEK_CUR); in Write()
86 if (cow_reader_->Seek(count, SEEK_CUR) < 0) { in Write()
[all …]
Dcow_writer_file_descriptor.h63 FileDescriptorPtr cow_reader_; variable