Searched refs:getInvalidBOM (Results 1 – 4 of 4) sorted by relevance
205 TEST_F(SourceManagerTest, getInvalidBOM) { in TEST_F() argument206 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM(""), nullptr); in TEST_F()207 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\x00\x00\x00"), nullptr); in TEST_F()208 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\xFF\xFF\xFF"), nullptr); in TEST_F()209 ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("#include <iostream>"), in TEST_F()212 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()215 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()218 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()221 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()224 ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM( in TEST_F()[all …]
372 const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr); in format()
79 const char *ContentCache::getInvalidBOM(StringRef BufStr) { in getInvalidBOM() function in ContentCache173 const char *InvalidBOM = getInvalidBOM(BufStr); in getBufferOrNone()
261 static const char *getInvalidBOM(StringRef BufStr);