Home
last modified time | relevance | path

Searched refs:extents_ (Results 1 – 12 of 12) 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()
Dsnapshot_extent_writer.cc41 extents_ = extents; in Init()
51 CHECK_LT(cur_extent_idx_, static_cast<size_t>(extents_.size())); in ConsumeWithBuffer()
52 const auto& cur_extent = extents_[cur_extent_idx_]; in ConsumeWithBuffer()
107 CHECK_NE(extents_.size(), 0); in Write()
121 return cur_extent_idx_ < static_cast<size_t>(extents_.size()); in next_extent()
Dextent_writer.h59 extents_ = extents; in Init()
60 cur_extent_ = extents_.begin(); in Init()
71 google::protobuf::RepeatedPtrField<Extent> extents_; variable
Dsnapshot_extent_writer.h51 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/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.cpp212 if (extents_.empty()) { in extents()
215 extents_.insert(extents_.end(), extents.begin(), extents.end()); in extents()
218 return extents_; in extents()
Dfiemap_writer.cpp778 if (!ReadFiemap(file_fd, abs_path, &fmap->extents_)) { in Open()
785 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