Home
last modified time | relevance | path

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

/external/clang/include/clang/Rewrite/Core/
DRewriteRope.h62 unsigned EndOffs; member
64 RopePiece() : StrData(nullptr), StartOffs(0), EndOffs(0) {} in RopePiece()
67 : StrData(Str), StartOffs(Start), EndOffs(End) { in RopePiece()
72 : StrData(RP.StrData), StartOffs(RP.StartOffs), EndOffs(RP.EndOffs) { in RopePiece()
91 EndOffs = RHS.EndOffs;
101 unsigned size() const { return EndOffs-StartOffs; } in size()
/external/clang/lib/Edit/
DEditedSource.cpp92 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange() local
114 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
130 if (BeginOffs < EndOffs) { in commitInsertFromRange()
132 StringRef text = getSourceText(BeginOffs, EndOffs, Invalid); in commitInsertFromRange()
146 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitRemove() local
177 TopEnd = EndOffs; in commitRemove()
184 if (TopEnd >= EndOffs) in commitRemove()
186 unsigned diff = EndOffs.getOffset() - TopEnd.getOffset(); in commitRemove()
187 TopEnd = EndOffs; in commitRemove()
372 StringRef EditedSource::getSourceText(FileOffset BeginOffs, FileOffset EndOffs, in getSourceText() argument
[all …]
/external/clang/include/clang/Edit/
DEditedSource.h80 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/lib/Rewrite/Core/
DRewriteRope.cpp261 Pieces[i].EndOffs); in split()
263 Pieces[i].EndOffs = Pieces[i].StartOffs+IntraPieceOffset; in split()
/external/clang/lib/Lex/
DLexer.cpp854 unsigned EndOffs; in makeRangeFromFileLocs() local
855 if (!SM.isInFileID(End, FID, &EndOffs) || in makeRangeFromFileLocs()
856 BeginOffs > EndOffs) in makeRangeFromFileLocs()
943 unsigned EndOffs; in getSourceText() local
944 if (!SM.isInFileID(Range.getEnd(), beginInfo.first, &EndOffs) || in getSourceText()
945 beginInfo.second > EndOffs) { in getSourceText()
959 return file.substr(beginInfo.second, EndOffs - beginInfo.second); in getSourceText()
/external/clang/include/clang/Basic/
DSourceManager.h1190 unsigned EndOffs = BeginOffs + Length; variable
1191 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
/external/clang/lib/Basic/
DSourceManager.cpp1892 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp() local
1911 MacroArgsMap::iterator I = MacroArgsCache.upper_bound(EndOffs); in associateFileChunkWithMacroArgExp()
1915 MacroArgsCache[EndOffs] = EndOffsMappedLoc; in associateFileChunkWithMacroArgExp()