Home
last modified time | relevance | path

Searched refs:BeginOffs (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Edit/
DEditedSource.cpp133 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
134 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
135 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
144 if (BeginOffs == B) in commitInsertFromRange()
147 if (BeginOffs < E) { in commitInsertFromRange()
148 if (BeginOffs > B) { in commitInsertFromRange()
149 BeginOffs = E; in commitInsertFromRange()
161 if (BeginOffs < B) { in commitInsertFromRange()
163 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
169 BeginOffs = E; in commitInsertFromRange()
[all …]
/external/llvm-project/clang/lib/Edit/
DEditedSource.cpp149 FileOffset BeginOffs = InsertFromRangeOffs; in commitInsertFromRange() local
150 FileOffset EndOffs = BeginOffs.getWithOffset(Len); in commitInsertFromRange()
151 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
160 if (BeginOffs == B) in commitInsertFromRange()
163 if (BeginOffs < E) { in commitInsertFromRange()
164 if (BeginOffs > B) { in commitInsertFromRange()
165 BeginOffs = E; in commitInsertFromRange()
177 if (BeginOffs < B) { in commitInsertFromRange()
179 StringRef text = getSourceText(BeginOffs, B, Invalid); in commitInsertFromRange()
185 BeginOffs = E; in commitInsertFromRange()
[all …]
/external/clang/include/clang/Edit/
DEditedSource.h80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/llvm-project/clang/include/clang/Edit/
DEditedSource.h100 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
102 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
/external/clang/include/clang/Basic/
DSourceManager.h1222 unsigned BeginOffs = Start.getOffset();
1223 unsigned EndOffs = BeginOffs + Length;
1224 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1226 *RelativeOffset = LocOffs - BeginOffs;
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1330 unsigned BeginOffs = Start.getOffset();
1331 unsigned EndOffs = BeginOffs + Length;
1332 if (LocOffs >= BeginOffs && LocOffs < EndOffs) {
1334 *RelativeOffset = LocOffs - BeginOffs;
/external/clang/lib/Basic/
DSourceManager.cpp1894 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1895 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1898 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1920 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp1818 unsigned BeginOffs; in associateFileChunkWithMacroArgExp() local
1819 if (!isInFileID(SpellLoc, FID, &BeginOffs)) in associateFileChunkWithMacroArgExp()
1822 unsigned EndOffs = BeginOffs + ExpansionLength; in associateFileChunkWithMacroArgExp()
1844 MacroArgsCache[BeginOffs] = ExpansionLoc; in associateFileChunkWithMacroArgExp()
/external/clang/lib/Lex/
DLexer.cpp845 unsigned BeginOffs; in makeRangeFromFileLocs() local
846 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
852 BeginOffs > EndOffs) in makeRangeFromFileLocs()
/external/llvm-project/clang/lib/Lex/
DLexer.cpp865 unsigned BeginOffs; in makeRangeFromFileLocs() local
866 std::tie(FID, BeginOffs) = SM.getDecomposedLoc(Begin); in makeRangeFromFileLocs()
872 BeginOffs > EndOffs) in makeRangeFromFileLocs()