Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dutf_test.cc118 static void AssertConversion(const std::vector<uint16_t>& input, in AssertConversion() function
130 AssertConversion({ 0xd801, 0xdc00 }, { 0xf0, 0x90, 0x90, 0x80 }); in TEST_F()
134 AssertConversion({ 0xdef0 }, { 0xed, 0xbb, 0xb0 }); in TEST_F()
135 AssertConversion({ 0xdcff }, { 0xed, 0xb3, 0xbf }); in TEST_F()
137 AssertConversion({ 0x0101 }, { 0xc4, 0x81 }); in TEST_F()
140 AssertConversion({ 0x0101, 0x0000 }, { 0xc4, 0x81, 0xc0, 0x80 }); in TEST_F()
143 AssertConversion({ 'h', 'e', 'l', 'l', 'o' }, { 0x68, 0x65, 0x6c, 0x6c, 0x6f }); in TEST_F()
145 AssertConversion({ in TEST_F()
160 AssertConversion({ 'h', 'e', 0xd801 }, { 'h', 'e', 0xed, 0xa0, 0x81 }); in TEST_F()
195 AssertConversion(in, out); in TEST_F()