Searched defs:EndOffs (Results 1 - 5 of 5) sorted by relevance

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

Completed in 698 milliseconds