Home
last modified time | relevance | path

Searched refs:hasUTF16ByteOrderMark (Results 1 – 4 of 4) sorted by relevance

/external/llvm/unittests/Support/
DConvertUTFTest.cpp68 bool HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xff\xfe", 2)); in TEST()
70 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff", 2)); in TEST()
72 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff ", 3)); in TEST()
74 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe\xff\x00asdf", 6)); in TEST()
77 HasBOM = hasUTF16ByteOrderMark(None); in TEST()
79 HasBOM = hasUTF16ByteOrderMark(makeArrayRef("\xfe", 1)); in TEST()
/external/llvm/include/llvm/Support/
DConvertUTF.h243 bool hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
/external/llvm/lib/Support/
DConvertUTFWrapper.cpp78 bool hasUTF16ByteOrderMark(ArrayRef<char> S) { in hasUTF16ByteOrderMark() function
DCommandLine.cpp719 if (hasUTF16ByteOrderMark(BufRef)) { in ExpandResponseFile()