Home
last modified time | relevance | path

Searched refs:EndOffs (Results 1 – 7 of 7) 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/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/clang/include/clang/Edit/
DEditedSource.h82 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/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/clang/include/clang/Basic/
DSourceManager.h1223 unsigned EndOffs = BeginOffs + Length; variable
1224 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()