Searched refs:HasBOM (Results 1 – 3 of 3) sorted by relevance
69 bool HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xff\xfe", 2)); in TEST() local70 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 …]
1094 bool HasBOM() const { return writeBOM; } in HasBOM() function
1972 if ( doc.HasBOM() ) { in VisitEnter()