• Home
  • Raw
  • Download

Lines Matching refs:Extent

38 void AppendBlockToExtents(vector<Extent>* extents, uint64_t block) {  in AppendBlockToExtents()
41 Extent& extent = extents->back(); in AppendBlockToExtents()
51 Extent new_extent; in AppendBlockToExtents()
58 google::protobuf::RepeatedPtrField<Extent>* extents, in ExtendExtents()
59 const google::protobuf::RepeatedPtrField<Extent>& extents_to_add) { in ExtendExtents()
60 vector<Extent> extents_vector; in ExtendExtents()
61 vector<Extent> extents_to_add_vector; in ExtendExtents()
73 void StoreExtents(const vector<Extent>& extents, in StoreExtents()
74 google::protobuf::RepeatedPtrField<Extent>* out) { in StoreExtents()
75 for (const Extent& extent : extents) { in StoreExtents()
76 Extent* new_extent = out->Add(); in StoreExtents()
82 void ExtentsToVector(const google::protobuf::RepeatedPtrField<Extent>& extents, in ExtentsToVector()
83 vector<Extent>* out_vector) { in ExtentsToVector()
90 string ExtentsToString(const vector<Extent>& extents) { in ExtentsToString()
92 for (const Extent& e : extents) in ExtentsToString()
99 void NormalizeExtents(vector<Extent>* extents) { in NormalizeExtents()
100 vector<Extent> new_extents; in NormalizeExtents()
101 for (const Extent& curr_ext : *extents) { in NormalizeExtents()
106 Extent& last_ext = new_extents.back(); in NormalizeExtents()
119 vector<Extent> ExtentsSublist(const vector<Extent>& extents, in ExtentsSublist()
122 vector<Extent> result; in ExtentsSublist()
127 for (const Extent& extent : extents) { in ExtentsSublist()
154 bool operator==(const Extent& a, const Extent& b) { in operator ==()
158 std::ostream& operator<<(std::ostream& out, const Extent& extent) { in operator <<()