Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DSourceManager.cpp695 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
696 if (!SLocOffset) in getFileIDSlow()
701 if (SLocOffset < NextLocalOffset) in getFileIDSlow()
702 return getFileIDLocal(SLocOffset); in getFileIDSlow()
703 return getFileIDLoaded(SLocOffset); in getFileIDSlow()
710 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
711 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()
727 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
740 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()
773 if (MidOffset > SLocOffset) { in getFileIDLocal()
[all …]
/external/clang/include/clang/Basic/
DSourceManager.h910 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local
913 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()
916 return getFileIDSlow(SLocOffset); in getFileID()
1510 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument
1513 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()
1521 return SLocOffset < NextLocalOffset; in isOffsetInFileID()
1525 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()
1546 FileID getFileIDSlow(unsigned SLocOffset) const;
1547 FileID getFileIDLocal(unsigned SLocOffset) const;
1548 FileID getFileIDLoaded(unsigned SLocOffset) const;
/external/clang/lib/Serialization/
DASTReader.cpp2120 uint32_t SLocOffset = io::ReadUnalignedLE32(Data); in ReadASTBlock() local
2129 SLocRemap.insert(std::make_pair(SLocOffset, in ReadASTBlock()
2130 static_cast<int>(OM->SLocEntryBaseOffset - SLocOffset))); in ReadASTBlock()