HomeSort by relevance Sort by last modified time
    Searched refs:cur_extent_ (Results 1 - 6 of 6) sorted by null

  /system/update_engine/payload_consumer/
extent_writer.cc 38 TEST_AND_RETURN_FALSE(cur_extent_ != extents_.end());
40 cur_extent_->num_blocks() * block_size_ - extent_bytes_written_;
47 if (cur_extent_->start_block() != kSparseHole) {
49 cur_extent_->start_block() * block_size_ + extent_bytes_written_;
59 CHECK_EQ(extent_bytes_written_, cur_extent_->num_blocks() * block_size_);
62 cur_extent_++;
extent_reader.cc 35 cur_extent_ = extents_.begin();
58 cur_extent_ = std::next(extents_.begin(), extent_idx);
68 if (cur_extent_ == extents_.end()) {
72 cur_extent_->num_blocks() * block_size_ - cur_extent_bytes_read_;
81 cur_extent_->start_block() * block_size_ + cur_extent_bytes_read_,
89 if (cur_extent_bytes_read_ == cur_extent_->num_blocks() * block_size_) {
90 // We have to advance the cur_extent_;
91 cur_extent_++;
extent_reader.h 64 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_; member in class:chromeos_update_engine::DirectExtentReader
66 // Bytes read from |cur_extent_| thus far.
extent_writer.h 75 cur_extent_ = extents_.begin();
85 // Bytes written into |cur_extent_| thus far.
89 google::protobuf::RepeatedPtrField<Extent>::iterator cur_extent_; member in class:chromeos_update_engine::DirectExtentWriter
  /external/puffin/src/
extent_stream.cc 49 cur_extent_ = extents_.begin();
70 cur_extent_ = std::next(extents_.begin(), extent_idx);
74 stream_->Seek(cur_extent_->offset + cur_extent_offset_));
99 if (cur_extent_ == extents_.end()) {
103 cur_extent_->length - cur_extent_offset_);
120 if (cur_extent_offset_ == cur_extent_->length) {
121 // We have to advance the cur_extent_;
122 cur_extent_++;
124 if (cur_extent_ != extents_.end()) {
125 TEST_AND_RETURN_FALSE(stream_->Seek(cur_extent_->offset))
    [all...]
extent_stream.h 54 std::vector<ByteExtent>::iterator cur_extent_; member in class:puffin::ExtentStream
56 // The current offset in the current |ByteExtent| |cur_extent_|.

Completed in 741 milliseconds