Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dextent_writer.cc38 TEST_AND_RETURN_FALSE(cur_extent_ != extents_.end()); in Write()
40 cur_extent_->num_blocks() * block_size_ - extent_bytes_written_; in Write()
47 if (cur_extent_->start_block() != kSparseHole) { in Write()
49 cur_extent_->start_block() * block_size_ + extent_bytes_written_; in Write()
59 CHECK_EQ(extent_bytes_written_, cur_extent_->num_blocks() * block_size_); in Write()
62 cur_extent_++; in Write()
Dextent_reader.cc37 cur_extent_ = extents_.begin(); in Init()
61 cur_extent_ = std::next(extents_.begin(), extent_idx); in Seek()
71 if (cur_extent_ == extents_.end()) { in Read()
75 cur_extent_->num_blocks() * block_size_ - cur_extent_bytes_read_; in Read()
84 cur_extent_->start_block() * block_size_ + cur_extent_bytes_read_, in Read()
92 if (cur_extent_bytes_read_ == cur_extent_->num_blocks() * block_size_) { in Read()
94 cur_extent_++; in Read()
Dextent_writer.h63 cur_extent_ = extents_.begin(); in Init()
76 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_; variable
Dextent_reader.h64 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_; variable