Searched refs:HasBOM (Results 1 – 5 of 5) sorted by relevance
/external/llvm/unittests/Support/ |
D | ConvertUTFTest.cpp | 69 bool HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xff\xfe", 2)); in TEST() local 70 EXPECT_TRUE(HasBOM); in TEST() 71 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff", 2)); in TEST() 72 EXPECT_TRUE(HasBOM); in TEST() 73 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff ", 3)); in TEST() 74 EXPECT_TRUE(HasBOM); // Don't care about odd lengths. in TEST() 75 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff\x00asdf", 6)); in TEST() 76 EXPECT_TRUE(HasBOM); in TEST() 78 HasBOM = hasUTF16ByteOrderMark(None); in TEST() 79 EXPECT_FALSE(HasBOM); in TEST() [all …]
|
/external/llvm-project/llvm/unittests/Support/ |
D | ConvertUTFTest.cpp | 66 bool HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xff\xfe", 2)); in TEST() local 67 EXPECT_TRUE(HasBOM); in TEST() 68 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff", 2)); in TEST() 69 EXPECT_TRUE(HasBOM); in TEST() 70 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff ", 3)); in TEST() 71 EXPECT_TRUE(HasBOM); // Don't care about odd lengths. in TEST() 72 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff\x00asdf", 6)); in TEST() 73 EXPECT_TRUE(HasBOM); in TEST() 75 HasBOM = hasUTF16ByteOrderMark(None); in TEST() 76 EXPECT_FALSE(HasBOM); in TEST() [all …]
|
/external/tinyxml2/ |
D | tinyxml2.h | 1788 bool HasBOM() const { in HasBOM() function
|
D | tinyxml2.cpp | 2900 if ( doc.HasBOM() ) { in VisitEnter()
|
D | xmltest.cpp | 1900 XMLTest( "BOM preservation (load)", true, doc.HasBOM(), false ); in main()
|