OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasBOM
(Results
1 - 3
of
3
) sorted by null
/external/llvm/unittests/Support/
ConvertUTFTest.cpp
52
bool
HasBOM
= hasUTF16ByteOrderMark(ArrayRef<char>("\xff\xfe", 2));
53
EXPECT_TRUE(
HasBOM
);
54
HasBOM
= hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff", 2));
55
EXPECT_TRUE(
HasBOM
);
56
HasBOM
= hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff ", 3));
57
EXPECT_TRUE(
HasBOM
); // Don't care about odd lengths.
58
HasBOM
= hasUTF16ByteOrderMark(ArrayRef<char>("\xfe\xff\x00asdf", 6));
59
EXPECT_TRUE(
HasBOM
);
61
HasBOM
= hasUTF16ByteOrderMark(ArrayRef<char>());
62
EXPECT_FALSE(
HasBOM
);
[
all
...]
/external/tinyxml2/
tinyxml2.cpp
[
all
...]
tinyxml2.h
386
static const char* ReadBOM( const char* p, bool*
hasBOM
);
[
all
...]
Completed in 37 milliseconds