Searched refs:EndOffs (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 134 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/ |
D | RewriteRope.h | 62 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/ |
D | EditedSource.h | 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/clang/lib/Rewrite/ |
D | RewriteRope.cpp | 261 Pieces[i].EndOffs); in split() 263 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 848 unsigned EndOffs; in makeRangeFromFileLocs() local 849 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs() 850 BeginOffs > EndOffs) in makeRangeFromFileLocs() 937 unsigned EndOffs; in getSourceText() local 938 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText() 939 beginInfo.second > EndOffs) { in getSourceText() 953 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 1215 unsigned EndOffs = BeginOffs + Length; variable 1216 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1891 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local 1910 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp() 1914 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
|