Home
last modified time | relevance | path

Searched refs:EndOffs (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Edit/
DEditedSource.cpp134 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local
156 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
172 if (BeginOffs < EndOffs) { in commitInsertFromRange()
174 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange()
188 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local
219 TopEnd = EndOffs; in commitRemove()
226 if (TopEnd >= EndOffs) in commitRemove()
228 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove()
229 TopEnd = EndOffs; in commitRemove()
432 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument
[all …]
/external/llvm-project/clang/lib/Edit/
DEditedSource.cpp150 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local
172 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
188 if (BeginOffs < EndOffs) { in commitInsertFromRange()
190 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange()
204 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local
235 TopEnd = EndOffs; in commitRemove()
242 if (TopEnd >= EndOffs) in commitRemove()
244 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove()
245 TopEnd = EndOffs; in commitRemove()
454 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument
[all …]
/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h62 unsigned EndOffs; member
64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {} in RopePiece()
68 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece()
77 unsigned size() const { return EndOffs-StartOffs; } in size()
/external/llvm-project/clang/include/clang/Rewrite/Core/
DRewriteRope.h61 unsigned EndOffs = 0; member
66 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece()
75 unsigned size() const { return EndOffs-StartOffs; } in size()
/external/clang/include/clang/Edit/
DEditedSource.h82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/llvm-project/clang/include/clang/Edit/
DEditedSource.h102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/lib/Rewrite/
DRewriteRope.cpp261 Pieces[i].EndOffs); in split()
263 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
/external/llvm-project/clang/lib/Rewrite/
DRewriteRope.cpp263 Pieces[i].EndOffs); in split()
265 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
/external/clang/lib/Lex/
DLexer.cpp850 unsigned EndOffs; in makeRangeFromFileLocs() local
851 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs()
852 BeginOffs > EndOffs) in makeRangeFromFileLocs()
939 unsigned EndOffs; in getSourceText() local
940 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText()
941 beginInfo.second > EndOffs) { in getSourceText()
955 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp870 unsigned EndOffs; in makeRangeFromFileLocs() local
871 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs()
872 BeginOffs > EndOffs) in makeRangeFromFileLocs()
959 unsigned EndOffs; in getSourceText() local
960 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText()
961 beginInfo.second > EndOffs) { in getSourceText()
975 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
/external/clang/include/clang/Basic/
DSourceManager.h1223 unsigned EndOffs = BeginOffs + Length; variable
1224 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1331 unsigned EndOffs = BeginOffs + Length; variable
1332 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
/external/clang/lib/Basic/
DSourceManager.cpp1898 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local
1917 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1921 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1822 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local
1841 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1845 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()