Searched refs:EndOffs (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | EditedSource.cpp | 148 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local 170 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange() 186 if (BeginOffs < EndOffs) { in commitInsertFromRange() 188 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange() 202 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local 233 TopEnd = EndOffs; in commitRemove() 240 if (TopEnd >= EndOffs) in commitRemove() 242 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove() 243 TopEnd = EndOffs; in commitRemove() 452 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | RewriteRope.h | 62 unsigned EndOffs = 0; member 67 : StrData(std::move(Str)), StartOffs(Start), EndOffs(End) {} in RopePiece() 76 unsigned size() const { return EndOffs - StartOffs; } in size()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Edit/ |
| H A D | EditedSource.h | 102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | RewriteRope.cpp | 260 Pieces[i].EndOffs); in split() 262 Pieces[i].EndOffs = Pieces[i].StartOffs + IntraPieceOffset; in split()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Lexer.cpp | 935 unsigned EndOffs; in makeRangeFromFileLocs() local 936 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs() 937 BeginOffs > EndOffs) in makeRangeFromFileLocs() 1037 unsigned EndOffs; in getSourceText() local 1038 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText() 1039 beginInfo.second > EndOffs) { in getSourceText() 1053 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 1380 SourceLocation::UIntTy EndOffs = BeginOffs + Length; variable 1381 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 1835 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local 1854 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp() 1858 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()
|