Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DSourceManager.h988 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local
991 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()
994 return getFileIDSlow(SLocOffset); in getFileID()
1619 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument
1622 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()
1630 return SLocOffset < NextLocalOffset; in isOffsetInFileID()
1634 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()
1663 FileID getFileIDSlow(unsigned SLocOffset) const;
1664 FileID getFileIDLocal(unsigned SLocOffset) const;
1665 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/llvm-project/clang/lib/Basic/
DSourceManager.cpp757 FileID SourceManager::getFileIDSlow(unsigned SLocOffset) const { in getFileIDSlow()
758 if (!SLocOffset) in getFileIDSlow()
763 if (SLocOffset < NextLocalOffset) in getFileIDSlow()
764 return getFileIDLocal(SLocOffset); in getFileIDSlow()
765 return getFileIDLoaded(SLocOffset); in getFileIDSlow()
772 FileID SourceManager::getFileIDLocal(unsigned SLocOffset) const { in getFileIDLocal()
773 assert(SLocOffset < NextLocalOffset && "Bad function choice"); in getFileIDLocal()
789 LocalSLocEntryTable[LastFileIDLookup.ID].getOffset() < SLocOffset) { in getFileIDLocal()
802 if (I->getOffset() <= SLocOffset) { in getFileIDLocal()
829 if (MidOffset > SLocOffset) { in getFileIDLocal()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h1093 unsigned SLocOffset = SpellingLoc.getOffset(); in getFileID() local
1096 if (isOffsetInFileID(LastFileIDLookup, SLocOffset)) in getFileID()
1099 return getFileIDSlow(SLocOffset); in getFileID()
1794 inline bool isOffsetInFileID(FileID FID, unsigned SLocOffset) const { in isOffsetInFileID() argument
1797 if (SLocOffset < Entry.getOffset()) return false; in isOffsetInFileID()
1805 return SLocOffset < NextLocalOffset; in isOffsetInFileID()
1809 return SLocOffset < getSLocEntryByID(FID.ID+1).getOffset(); in isOffsetInFileID()
1837 FileID getFileIDSlow(unsigned SLocOffset) const;
1838 FileID getFileIDLocal(unsigned SLocOffset) const;
1839 FileID getFileIDLoaded(unsigned SLocOffset) const;
/external/clang/lib/Serialization/
DASTReader.cpp2882 uint32_t SLocOffset = in ReadASTBlock() local
2907 mapOffset(SLocOffset, OM->SLocEntryBaseOffset, SLocRemap); in ReadASTBlock()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp3846 uint32_t SLocOffset = in ReadModuleOffsetMap() local
3871 mapOffset(SLocOffset, OM->SLocEntryBaseOffset, SLocRemap); in ReadModuleOffsetMap()