Searched refs:StartOffs (Results 1 – 3 of 3) sorted by relevance
/external/clang/include/clang/Rewrite/Core/ |
D | RewriteRope.h | 61 unsigned StartOffs; member 64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {} in RopePiece() 68 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece() 71 return StrData->Data[Offset+StartOffs]; 74 return StrData->Data[Offset+StartOffs]; 77 unsigned size() const { return EndOffs-StartOffs; } in size()
|
/external/clang/lib/Rewrite/ |
D | Rewriter.cpp | 242 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertText() local 248 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; in InsertText() 275 getEditBuffer(FID).InsertText(StartOffs, Str, InsertAfter); in InsertText() 282 unsigned StartOffs = getLocationOffsetAndFileID(Loc, FID); in InsertTextAfterToken() local 285 StartOffs += getRangeSize(SourceRange(Loc, Loc), rangeOpts); in InsertTextAfterToken() 286 getEditBuffer(FID).InsertText(StartOffs, Str, /*InsertAfter*/true); in InsertTextAfterToken() 295 unsigned StartOffs = getLocationOffsetAndFileID(Start, FID); in RemoveText() local 296 getEditBuffer(FID).RemoveText(StartOffs, Length, opts.RemoveLineIfEmpty); in RemoveText() 307 unsigned StartOffs = getLocationOffsetAndFileID(Start, StartFileID); in ReplaceText() local 309 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr); in ReplaceText()
|
D | RewriteRope.cpp | 260 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset, in split() 263 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split() 380 Pieces[StartPiece].StartOffs += NumBytes; in erase()
|