Home
last modified time | relevance | path

Searched refs:SLocOffset (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/Basic/
DSourceManager.h965 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local
968 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()
971 return getFileIDSlow(SLocOffset); in getFileID()
1584 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument
1587 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()
1595 return SLocOffset < NextLocalOffset; in isOffsetInFileID()
1599 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()
1628 FileID getFileIDSlow(unsigned SLocOffset) const;
1629 FileID getFileIDLocal(unsigned SLocOffset) const;
1630 FileID getFileIDLoaded(unsigned SLocOffset) const;
/external/clang/lib/Basic/
DSourceManager.cpp717 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
718 if (!SLocOffset) in getFileIDSlow()
723 if (SLocOffset < NextLocalOffset) in getFileIDSlow()
724 return getFileIDLocal(SLocOffset); in getFileIDSlow()
725 return getFileIDLoaded(SLocOffset); in getFileIDSlow()
732 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
733 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()
749 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
762 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()
795 if (MidOffset > SLocOffset) { in getFileIDLocal()
[all …]
/external/clang/lib/Serialization/
DASTReader.cpp2932 uint32_t SLocOffset = in ReadASTBlock() local
2950 SLocRemap.insert(std::make_pair(SLocOffset, in ReadASTBlock()
2951 static_cast<int>(OM->SLocEntryBaseOffset - SLocOffset))); in ReadASTBlock()