Home
last modified time | relevance | path

Searched refs:extents_ (Results 1 – 15 of 15) sorted by relevance

/system/update_engine/payload_consumer/
Dextent_reader.cc35 extents_ = extents; in Init()
37 cur_extent_ = extents_.begin(); in Init()
39 extents_upper_bounds_.reserve(extents_.size() + 1); in Init()
43 for (const auto& extent : extents_) { in Init()
61 cur_extent_ = std::next(extents_.begin(), extent_idx); in Seek()
71 if (cur_extent_ == extents_.end()) { in Read()
Dblock_extent_writer.cc30 extents_ = extents; in Init()
39 CHECK_LT(cur_extent_idx_, static_cast<size_t>(extents_.size())); in ConsumeWithBuffer()
40 const auto& cur_extent = extents_[cur_extent_idx_]; in ConsumeWithBuffer()
114 return cur_extent_idx_ < static_cast<size_t>(extents_.size()); in NextExtent()
Dextent_writer.h59 extents_ = extents; in Init()
60 cur_extent_ = extents_.begin(); in Init()
71 google::protobuf::RepeatedPtrField<Extent> extents_; variable
Dblock_extent_writer.h52 google::protobuf::RepeatedPtrField<Extent> extents_; variable
Dextent_writer.cc38 TEST_AND_RETURN_FALSE(cur_extent_ != extents_.end()); in Write()
Dextent_reader.h60 google::protobuf::RepeatedPtrField<Extent> extents_; variable
/system/core/fastboot/
Dsuper_flash_helper.cpp75 if (extents_.empty()) { in GetSparseLayout()
76 extents_ = builder_.GetImageLayout(); in GetSparseLayout()
77 if (extents_.empty()) { in GetSparseLayout()
84 int64_t flashed_size = extents_.back().offset + extents_.back().size; in GetSparseLayout()
87 for (const auto& extent : extents_) { in GetSparseLayout()
Dsuper_flash_helper.h50 std::vector<android::fs_mgr::SuperImageExtent> extents_; variable
/system/update_engine/payload_generator/
Dextent_utils.h109 : extents_(extents) {} in BlockIterator()
112 CHECK_LT(cur_extent_, extents_.size());
114 if (block_offset_ >= extents_[cur_extent_].num_blocks()) {
121 [[nodiscard]] bool is_end() { return cur_extent_ >= extents_.size(); } in is_end()
123 return extents_[cur_extent_].start_block() + block_offset_;
126 const google::protobuf::RepeatedPtrField<Extent>& extents_; member
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dfiemap_writer.h88 const std::vector<struct fiemap_extent>& extents() { return extents_; }; in extents()
117 std::vector<struct fiemap_extent> extents_; variable
Dsplit_fiemap_writer.h91 std::vector<struct fiemap_extent> extents_; variable
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp216 if (extents_.empty()) { in extents()
219 extents_.insert(extents_.end(), extents.begin(), extents.end()); in extents()
222 return extents_; in extents()
Dfiemap_writer.cpp744 if (!ReadFiemap(file_fd, abs_path, &fmap->extents_)) { in Open()
751 if (!ReadFibmap(file_fd, abs_path, &fmap->extents_)) { in Open()
/system/core/fs_mgr/liblp/
Dbuilder.cpp105 if (!extents_.empty() && extents_.back()->AsLinearExtent()) { in AddExtent()
106 LinearExtent* prev_extent = extents_.back()->AsLinearExtent(); in AddExtent()
114 extents_.pop_back(); in AddExtent()
118 extents_.push_back(std::move(extent)); in AddExtent()
123 extents_.clear(); in RemoveExtents()
136 Extent* extent = extents_.back().get(); in ShrinkTo()
144 extents_.pop_back(); in ShrinkTo()
151 for (const auto& extent : extents_) { in GetBeginningExtents()
165 for (const auto& extent : extents_) { in BytesOnDisk()
/system/core/fs_mgr/liblp/include/liblp/
Dbuilder.h146 const std::vector<std::unique_ptr<Extent>>& extents() const { return extents_; } in extents()
161 std::vector<std::unique_ptr<Extent>> extents_; variable