Searched refs:EndOffs (Results 1 – 7 of 7) sorted by relevance
/external/clang/include/clang/Rewrite/ |
D | RewriteRope.h | 60 unsigned EndOffs; member 62 RopePiece() : StrData(0), StartOffs(0), EndOffs(0) {} in RopePiece() 65 : StrData(Str), StartOffs(Start), EndOffs(End) { in RopePiece() 69 : StrData(RP.StrData), StartOffs(RP.StartOffs), EndOffs(RP.EndOffs) { in RopePiece() 84 EndOffs = RHS.EndOffs; 94 unsigned size() const { return EndOffs-StartOffs; } in size()
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 93 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local 112 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange() 128 if (BeginOffs < EndOffs) { in commitInsertFromRange() 130 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange() 144 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local 175 TopEnd = EndOffs; in commitRemove() 182 if (TopEnd >= EndOffs) in commitRemove() 184 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove() 185 TopEnd = EndOffs; in commitRemove() 303 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument [all …]
|
/external/clang/include/clang/Edit/ |
D | EditedSource.h | 78 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
|
/external/clang/lib/Lex/ |
D | Lexer.cpp | 815 unsigned EndOffs; in makeRangeFromFileLocs() local 816 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs() 817 BeginOffs > EndOffs) in makeRangeFromFileLocs() 873 unsigned EndOffs; in makeFileCharRange() local 874 if (!SM.isInFileID(End, FID, &EndOffs) || in makeFileCharRange() 875 BeginOffs > EndOffs) in makeFileCharRange() 884 Range.setEnd(SpellLoc.getLocWithOffset(EndOffs)); in makeFileCharRange() 908 unsigned EndOffs; in getSourceText() local 909 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText() 910 beginInfo.second > EndOffs) { in getSourceText() [all …]
|
/external/clang/lib/Rewrite/ |
D | RewriteRope.cpp | 264 Pieces[i].EndOffs); in split() 266 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
|
/external/clang/include/clang/Basic/ |
D | SourceManager.h | 980 unsigned EndOffs = BeginOffs + Length; variable 981 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1683 unsigned EndOffs = BeginOffs + getFileIDSize(FileID::get(ID)); in computeMacroArgsCache() local 1702 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in computeMacroArgsCache() 1706 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in computeMacroArgsCache()
|