Home
last modified time | relevance | path

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

/external/clang/unittests/Lex/
DHeaderMapTest.cpp95 ASSERT_FALSE(HeaderMapImpl::checkHeader( in TEST()
97 ASSERT_FALSE(HeaderMapImpl::checkHeader( in TEST()
106 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
114 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
122 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
129 ASSERT_TRUE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
133 ASSERT_TRUE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
143 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
152 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
160 ASSERT_FALSE(HeaderMapImpl::checkHeader(*File.getBuffer(), NeedsSwap)); in TEST()
[all …]
/external/clang/include/clang/Lex/
DHeaderMap.h31 class HeaderMapImpl {
36 HeaderMapImpl(std::unique_ptr<const llvm::MemoryBuffer> File, bool NeedsBSwap) in HeaderMapImpl() function
67 class HeaderMap : private HeaderMapImpl {
69 : HeaderMapImpl(std::move(File), BSwap) {} in HeaderMap()
83 using HeaderMapImpl::lookupFilename;
84 using HeaderMapImpl::getFileName;
85 using HeaderMapImpl::dump;
/external/clang/lib/Lex/
DHeaderMap.cpp65 bool HeaderMapImpl::checkHeader(const llvm::MemoryBuffer &File, in checkHeader()
109 const char *HeaderMapImpl::getFileName() const { in getFileName()
113 unsigned HeaderMapImpl::getEndianAdjustedWord(unsigned X) const { in getEndianAdjustedWord()
120 const HMapHeader &HeaderMapImpl::getHeader() const { in getHeader()
128 HMapBucket HeaderMapImpl::getBucket(unsigned BucketNo) const { in getBucket()
148 Optional<StringRef> HeaderMapImpl::getString(unsigned StrTabIdx) const { in getString()
172 LLVM_DUMP_METHOD void HeaderMapImpl::dump() const { in dump()
203 StringRef Dest = HeaderMapImpl::lookupFilename(Filename, Path); in LookupFile()
210 StringRef HeaderMapImpl::lookupFilename(StringRef Filename, in lookupFilename()