Searched refs:extents_ (Results 1 – 15 of 15) sorted by relevance
35 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()
30 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()
59 extents_ = extents; in Init()60 cur_extent_ = extents_.begin(); in Init()71 google::protobuf::RepeatedPtrField<Extent> extents_; variable
52 google::protobuf::RepeatedPtrField<Extent> extents_; variable
38 TEST_AND_RETURN_FALSE(cur_extent_ != extents_.end()); in Write()
60 google::protobuf::RepeatedPtrField<Extent> extents_; variable
75 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()
50 std::vector<android::fs_mgr::SuperImageExtent> extents_; variable
109 : 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
88 const std::vector<struct fiemap_extent>& extents() { return extents_; }; in extents()117 std::vector<struct fiemap_extent> extents_; variable
91 std::vector<struct fiemap_extent> extents_; variable
216 if (extents_.empty()) { in extents()219 extents_.insert(extents_.end(), extents.begin(), extents.end()); in extents()222 return extents_; in extents()
744 if (!ReadFiemap(file_fd, abs_path, &fmap->extents_)) { in Open()751 if (!ReadFibmap(file_fd, abs_path, &fmap->extents_)) { in Open()
105 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()
146 const std::vector<std::unique_ptr<Extent>>& extents() const { return extents_; } in extents()161 std::vector<std::unique_ptr<Extent>> extents_; variable