Lines Matching refs:extents
38 void AppendBlockToExtents(vector<Extent>* extents, uint64_t block) { in AppendBlockToExtents() argument
40 if (!extents->empty()) { in AppendBlockToExtents()
41 Extent& extent = extents->back(); in AppendBlockToExtents()
53 extents->push_back(new_extent); in AppendBlockToExtents()
67 google::protobuf::RepeatedPtrField<Extent>* extents, in ExtendExtents() argument
71 ExtentsToVector(*extents, &extents_vector); in ExtendExtents()
77 extents->Clear(); in ExtendExtents()
78 StoreExtents(extents_vector, extents); in ExtendExtents()
82 void StoreExtents(const vector<Extent>& extents, in StoreExtents() argument
84 for (const Extent& extent : extents) { in StoreExtents()
91 void ExtentsToVector(const google::protobuf::RepeatedPtrField<Extent>& extents, in ExtentsToVector() argument
94 for (int i = 0; i < extents.size(); i++) { in ExtentsToVector()
95 out_vector->push_back(extents.Get(i)); in ExtentsToVector()
99 string ExtentsToString(const vector<Extent>& extents) { in ExtentsToString() argument
101 for (const Extent& e : extents) in ExtentsToString()
107 void NormalizeExtents(vector<Extent>* extents) { in NormalizeExtents() argument
109 for (const Extent& curr_ext : *extents) { in NormalizeExtents()
124 *extents = new_extents; in NormalizeExtents()
127 vector<Extent> ExtentsSublist(const vector<Extent>& extents, in ExtentsSublist() argument
134 for (const Extent& extent : extents) { in ExtentsSublist()