Searched refs:extents_ (Results 1 – 12 of 12) 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()
41 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()
59 extents_ = extents; in Init()60 cur_extent_ = extents_.begin(); in Init()71 google::protobuf::RepeatedPtrField<Extent> extents_; variable
51 google::protobuf::RepeatedPtrField<Extent> extents_; variable
38 TEST_AND_RETURN_FALSE(cur_extent_ != extents_.end()); in Write()
60 google::protobuf::RepeatedPtrField<Extent> extents_; variable
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
212 if (extents_.empty()) { in extents()215 extents_.insert(extents_.end(), extents.begin(), extents.end()); in extents()218 return extents_; in extents()
778 if (!ReadFiemap(file_fd, abs_path, &fmap->extents_)) { in Open()785 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