Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DSourceManager.h980 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local
983 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()
986 return getFileIDSlow(SLocOffset); in getFileID()
1611 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument
1614 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()
1622 return SLocOffset < NextLocalOffset; in isOffsetInFileID()
1626 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()
1655 FileID getFileIDSlow(unsigned SLocOffset) const;
1656 FileID getFileIDLocal(unsigned SLocOffset) const;
1657 FileID getFileIDLoaded(unsigned SLocOffset) const;
/external/clang/lib/Basic/
DSourceManager.cpp711 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
712 if (!SLocOffset) in getFileIDSlow()
717 if (SLocOffset < NextLocalOffset) in getFileIDSlow()
718 return getFileIDLocal(SLocOffset); in getFileIDSlow()
719 return getFileIDLoaded(SLocOffset); in getFileIDSlow()
726 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
727 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()
743 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
756 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()
789 if (MidOffset > SLocOffset) { in getFileIDLocal()
[all …]
/external/clang/lib/Serialization/
DASTReader.cpp2862 uint32_t SLocOffset = in ReadASTBlock() local
2887 mapOffset(SLocOffset, OM->SLocEntryBaseOffset, SLocRemap); in ReadASTBlock()