Searched refs:RopePiece (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Rewrite/ |
D | RewriteRope.cpp | 114 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 142 RopePiece Pieces[2*WidthFactor]; 161 Pieces[--NumPieces] = RopePiece(); in clear() 167 const RopePiece &getPiece(unsigned i) const { in getPiece() 215 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); 260 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split() 276 const RopePiece &R) { in insert() 314 std::fill(&Pieces[WidthFactor], &Pieces[2*WidthFactor], RopePiece()); in insert() 366 RopePiece()); in erase() 450 RopePieceBTreeNode *insert(unsigned Offset, const RopePiece &R); [all …]
|
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteRope.h | 59 struct RopePiece { struct 64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {} in RopePiece() argument 66 RopePiece(llvm::IntrusiveRefCntPtr<RopeRefCountString> Str, unsigned Start, in RopePiece() function 94 const RopePiece *CurPiece; 153 void insert(unsigned Offset, const RopePiece &R); 209 RopePiece MakeRopeString(const char *Start, const char *End);
|