Lines Matching +full:0 +full:xffff
35 uint16_t leadSur = 0xD800; in HWTEST_F_L0()
36 uint16_t trailSur = 0xDC00; in HWTEST_F_L0()
37 …uint32_t codePoint = static_cast<uint32_t>(((leadSur - 0xD800U) << 10)|(trailSur - 0xDc00U)) + 0x1… in HWTEST_F_L0()
40 EXPECT_EQ(codePoint, static_cast<uint32_t>(0x10000)); in HWTEST_F_L0()
41 trailSur = 0xDFFF; in HWTEST_F_L0()
42 codePoint = static_cast<uint32_t>(((leadSur - 0xD800U) << 10) | (trailSur - 0xDC00U))+ 0x10000U; in HWTEST_F_L0()
45 EXPECT_EQ(codePoint, static_cast<uint32_t>(0x103FF)); in HWTEST_F_L0()
46 leadSur = 0xDBFF; in HWTEST_F_L0()
47 … codePoint = static_cast<uint32_t>(((leadSur - 0xD800U) << 10) | (trailSur - 0xDC00U)) + 0x10000U; in HWTEST_F_L0()
50 EXPECT_EQ(codePoint, static_cast<uint32_t>(0x10FFFF)); in HWTEST_F_L0()
51 trailSur = 0xDC00; in HWTEST_F_L0()
52 … codePoint = static_cast<uint32_t>(((leadSur - 0xD800U) << 10) | (trailSur - 0xDC00U)) + 0x10000U; in HWTEST_F_L0()
55 EXPECT_EQ(codePoint, static_cast<uint32_t>(0x10FC00)); in HWTEST_F_L0()
56 leadSur = 0xD950; in HWTEST_F_L0()
57 trailSur = 0xDF21; in HWTEST_F_L0()
58 codePoint = static_cast<uint32_t>(((leadSur - 0xD800U)<< 10) | (trailSur - 0xDC00U)) + 0x10000U; in HWTEST_F_L0()
61 EXPECT_EQ(codePoint, static_cast<uint32_t>(0x64321)); in HWTEST_F_L0()
72 uint16_t lead = 0xD950; in HWTEST_F_L0()
73 uint16_t trail = 0xDF21; in HWTEST_F_L0()
77 EXPECT_EQ(codePoint, 0x64321U); in HWTEST_F_L0()
78 lead = 0xD85D; in HWTEST_F_L0()
79 trail = 0xDFCC; in HWTEST_F_L0()
83 EXPECT_EQ(codePoint, 0x277CCU); in HWTEST_F_L0()
93 // 0xxxxxxx, min:0, max:127 in HWTEST_F_L0()
94 const std::vector<uint8_t> utfDataOneBitVaild1 = {0x00}; in HWTEST_F_L0()
95 const std::vector<uint8_t> utfDataOneBitVaild2 = {BIT_MASK_1 - 0x01}; in HWTEST_F_L0()
101 const std::vector<uint8_t> utfDataTwoBitVaild1 = {BIT_MASK_2 + 0x02, BIT_MASK_1}; in HWTEST_F_L0()
102 const std::vector<uint8_t> utfDataTwoBitVaild2 = {BIT_MASK_3 - 0x01, BIT_MASK_2 - 0x01}; in HWTEST_F_L0()
112 const std::vector<uint8_t> utfDataThreeBitVaild1 = {BIT_MASK_3, BIT_MASK_1 + 0x20, BIT_MASK_1}; in HWTEST_F_L0()
113 …d::vector<uint8_t> utfDataThreeBitVaild2 = {BIT_MASK_4 - 0x01, BIT_MASK_2 - 0x01, BIT_MASK_2 - 0x0… in HWTEST_F_L0()
114 const std::vector<uint8_t> utfDataThreeBitVaild3 = {BIT_MASK_3 + 0x01, BIT_MASK_1, BIT_MASK_1}; in HWTEST_F_L0()
128 // 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx, min:65536, max:1114111(0x10FFFF) in HWTEST_F_L0()
129 …const std::vector<uint8_t> utfDataFourBitVaild1 = {BIT_MASK_4, BIT_MASK_1 + 0x10, BIT_MASK_1, BIT_… in HWTEST_F_L0()
130 …const std::vector<uint8_t> utfDataFourBitVaild3 = {BIT_MASK_4 + 0x01, BIT_MASK_1, BIT_MASK_1, BIT_… in HWTEST_F_L0()
138 {BIT_MASK_5 - 0x01, BIT_MASK_2 - 0x01, BIT_MASK_2 - 0x01, BIT_MASK_2 - 0x01}; in HWTEST_F_L0()
154 * indicates whether to perform special conversion for 0.
159 // codePoint lie in [0,0x7F]--->UTF-8(length:1) in HWTEST_F_L0()
161 uint16_t utf16Data0 = 0x00; in HWTEST_F_L0()
162 uint16_t utf16Data1 = 0x00; in HWTEST_F_L0()
164 Utf8Char utf8CharTemp = {0, {0x00U}}; in HWTEST_F_L0()
171 uint16_t utf16Data0 = 0x00; in HWTEST_F_L0()
172 uint16_t utf16Data1 = 0x00; in HWTEST_F_L0()
177 utf16Data0 = 0x7F; in HWTEST_F_L0()
179 utf8CharTemp = {1, {0x7F}}; in HWTEST_F_L0()
183 // codePoint lie in [0x80,0x7FF]--> UTF-8(length:2) in HWTEST_F_L0()
184 utf16Data0 = 0x80; in HWTEST_F_L0()
186 utf8CharTemp = {2, {UTF8_2B_FIRST + 0x02U, UTF8_2B_SECOND}}; in HWTEST_F_L0()
189 utf16Data0 = 0x7FF; in HWTEST_F_L0()
191 utf8CharTemp = {2, {BIT_MASK_3 - 0x01, BIT_MASK_2 - 0x01}}; in HWTEST_F_L0()
196 // codePoint lie in [0xD800,0xDFFF]--> UTF-8(length:3) in HWTEST_F_L0()
198 uint16_t utf16Data0 = 0xD800; in HWTEST_F_L0()
199 uint16_t utf16Data1 = 0x00; in HWTEST_F_L0()
201 Utf8Char utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0xD800 >> 12), in HWTEST_F_L0()
202 UTF8_3B_SECOND | (static_cast<uint8_t>(0xD800 >> 6) & utf::MASK_6BIT), in HWTEST_F_L0()
203 UTF8_3B_THIRD | (static_cast<uint8_t>(0xD800) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
206 utf16Data0 = 0xDFFF; in HWTEST_F_L0()
208 utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0xDFFF >> 12), in HWTEST_F_L0()
209 UTF8_3B_SECOND | (static_cast<uint8_t>(0xDFFF >> 6) & utf::MASK_6BIT), in HWTEST_F_L0()
210 UTF8_3B_THIRD | (static_cast<uint8_t>(0xDFFF) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
218 // codePoint lie in [0x800,0xD7FF]&&[0xE000,0xFFFF]-->UTF-8(length:3) in HWTEST_F_L0()
219 uint16_t utf16Data0 = 0x800; in HWTEST_F_L0()
220 uint16_t utf16Data1 = 0x00; in HWTEST_F_L0()
222 Utf8Char utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0x800 >> 12), in HWTEST_F_L0()
223 … UTF8_3B_SECOND | (static_cast<uint8_t>(0x800 >> 6) & utf::MASK_6BIT), in HWTEST_F_L0()
224 UTF8_3B_THIRD | (static_cast<uint8_t>(0x800) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
227 utf16Data0 = 0xD7FF; in HWTEST_F_L0()
229 utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0xD7FF>>12), in HWTEST_F_L0()
230 UTF8_3B_SECOND | (static_cast<uint8_t>(0xD7FF >> 6) & utf::MASK_6BIT), in HWTEST_F_L0()
231 UTF8_3B_THIRD | (static_cast<uint8_t>(0xD7FF) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
234 utf16Data0 = 0xE000; in HWTEST_F_L0()
236 utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0xE000 >> 12), in HWTEST_F_L0()
237 UTF8_3B_SECOND | (static_cast<uint8_t>(0xE000 >> 6)& utf::MASK_6BIT), in HWTEST_F_L0()
238 UTF8_3B_THIRD | (static_cast<uint8_t>(0xE000) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
241 utf16Data0 = 0xFFFF; in HWTEST_F_L0()
243 utf8CharTemp = {3, {UTF8_3B_FIRST | static_cast<uint8_t>(0xFFFF >> 12), in HWTEST_F_L0()
244 UTF8_3B_SECOND | (static_cast<uint8_t>(0xFFFF >> 6)& utf::MASK_6BIT), in HWTEST_F_L0()
245 UTF8_3B_THIRD | (static_cast<uint8_t>(0xFFFF) & utf::MASK_6BIT)}}; in HWTEST_F_L0()
252 // codePoint lie in [0x10000,0x10FFFF] --> UTF-8(length:4) in HWTEST_F_L0()
254 uint16_t utf16Data0 = 0xD800; in HWTEST_F_L0()
255 uint16_t utf16Data1 = 0xDC00; in HWTEST_F_L0()
266 // 0xD950 0xDF21 --> 0x64321 --> 0xf1 0xa4 0x8c 0xa1 in HWTEST_F_L0()
268 uint16_t utf16Data0 = 0xD950; in HWTEST_F_L0()
269 uint16_t utf16Data1 = 0xDF21; in HWTEST_F_L0()
278 utf8CharTemp = {4, {0xf1, 0xa4, 0x8c, 0xa1}}; in HWTEST_F_L0()
293 …// when utf16 data length is only 1 and code in 0xd800-0xdfff, means that is a single code point, … in HWTEST_F_L0()
295 uint32_t length = 0; in HWTEST_F_L0()
296 uint16_t utf16Value1[1] = {0xD800}; in HWTEST_F_L0()
301 uint16_t utf16Value2[1] = {0xDFFF}; in HWTEST_F_L0()
307 uint16_t utf16Value3[1] = {0x00}; in HWTEST_F_L0()
310 EXPECT_EQ(length - 1, 0U); in HWTEST_F_L0()
315 uint16_t utf16Value12[1] = {0x00}; in HWTEST_F_L0()
322 // code point lie in [0x00, 0x7F], it needs to be represented by one UTF8 code. in HWTEST_F_L0()
323 uint16_t utf16Value4[1] = {0x00}; in HWTEST_F_L0()
324 uint16_t utf16Value5[1] = {0x7F}; in HWTEST_F_L0()
328 EXPECT_EQ(length - 1, 0U); in HWTEST_F_L0()
332 // code point lie in [0x80, 0x7FF], it needs to be represented by two UTF8 code, in HWTEST_F_L0()
333 uint16_t utf16Value6[1] = {0x80}; in HWTEST_F_L0()
334 uint16_t utf16Value7[1] = {0x7FF}; in HWTEST_F_L0()
341 …// code point lie in [0x800, 0xD7FF] or [0xDCoo, 0xFFFF], it needs to be represented by three UTF8… in HWTEST_F_L0()
342 uint16_t utf16Value8[1] = {0x800}; in HWTEST_F_L0()
343 uint16_t utf16Value9[1] = {0xD7FF}; in HWTEST_F_L0()
344 uint16_t utf16Value10[1] = {0xDC00}; in HWTEST_F_L0()
345 uint16_t utf16Value11[1] = {0xFFFF}; in HWTEST_F_L0()
362 …// The trail value is valid, located in [0xDc00, 0xDFFF].It needs to be represented by four UTF8 c… in HWTEST_F_L0()
363 uint16_t utf16Value12[2] = {0xD800, 0xDc00}; in HWTEST_F_L0()
364 uint16_t utf16Value13[2] = {0xD800, 0xDFFF}; in HWTEST_F_L0()
365 uint16_t utf16Value14[2] = {0xDBFF, 0xDC00}; in HWTEST_F_L0()
366 uint16_t utf16Value15[2] = {0xDBFF, 0xDFFF}; in HWTEST_F_L0()
380 // The trail value of Bad sequence is invalid, not located in [0xDC00, 0xDFFF]. in HWTEST_F_L0()
382 uint16_t utf16Value16[2] = {0xD800, 0xDBFF}; in HWTEST_F_L0()
383 uint16_t utf16Value17[2] = {0xDC00, 0xDFFF}; in HWTEST_F_L0()
391 // 0(or 2)+ 1+ 2 + 3 + 4 = 10(or 12) in HWTEST_F_L0()
392 uint16_t utf16Value18[6] = {0x00, 0x7F, 0x80, 0x800, 0xD800, 0xDC00}; in HWTEST_F_L0()
409 // code point lie in [0x00, 0x7F], the length of utf8 code element byte is 1 in HWTEST_F_L0()
410 uint8_t utf8Value1[1] = {0x00}; in HWTEST_F_L0()
415 std::pair<uint32_t, size_t> utf16Value = {utf8Value1[0], 1}; in HWTEST_F_L0()
418 utf16Value = {utf8Value2[0], 1}; in HWTEST_F_L0()
420 // code point lie in [0x80, 0x7FF], the length of utf8 code element byte is 2 in HWTEST_F_L0()
421 uint8_t utf8Value3[2] = {0xc2, 0x80}; // 0x80 in HWTEST_F_L0()
422 uint8_t utf8Value4[2] = {0xDF, 0xBF}; // 0x7FF in HWTEST_F_L0()
426 utf16Value = {0x80, 2}; in HWTEST_F_L0()
429 utf16Value = {0x7FF, 2}; in HWTEST_F_L0()
432 …// code point lie in [0x800, 0xD7FF] or [0xDC00,0xFFFF], the length of utf8 code element byte is 3. in HWTEST_F_L0()
433 …// when code point lie in [0xD800, 0xDBFF], due to the use of UCS-2, it corresponds to 3 utf8 symb… in HWTEST_F_L0()
434 uint8_t utf8Value5[3] = {0xE0, 0xA0, 0x80}; // 0x800 in HWTEST_F_L0()
435 uint8_t utf8Value6[3] = {0xEF, 0xBF, 0xBF}; // 0xFFFF in HWTEST_F_L0()
439 utf16Value = {0x800, 3}; in HWTEST_F_L0()
442 utf16Value = {0xFFFF, 3}; in HWTEST_F_L0()
444 // code point lie in [0x10000, 0x10FFFF], the length of utf8 code element byte is 4. in HWTEST_F_L0()
445 uint8_t utf8Value9[4] = {0xF0, 0x90, 0x80, 0x80}; // 0x10000 in HWTEST_F_L0()
446 uint8_t utf8Value10[4] = {0xF4, 0x8F, 0xBF, 0xBF}; // 0x10FFFF in HWTEST_F_L0()
450 utf16Value = {0xD800 << 16 | 0xDC00U, 4}; in HWTEST_F_L0()
453 utf16Value = {0xDBFF << 16 | 0xDFFF, 4}; in HWTEST_F_L0()
456 utf16Value = {0x10000, 4}; in HWTEST_F_L0()
459 utf16Value = {0x10FFFF, 4}; in HWTEST_F_L0()
471 // when code point lie in (0x00, 0xFFFF], the required utf16 code element length is 1. in HWTEST_F_L0()
472 uint8_t utf8ValueOneByteMin[1] = {0x00}; in HWTEST_F_L0()
473 uint8_t utf8ValueOneByteMax[4] = {0xEF, 0xBF, 0xBF, 0x00}; // 0xFFFF in HWTEST_F_L0()
480 // when code point lie in [0x10000, 0x10FFFF], the required utf16 code element length is 2. in HWTEST_F_L0()
481 const uint8_t utf8ValueTwoBytesMin[5] = {0xF0, 0x90, 0x80, 0x80, 0x00}; // 0x10000 in HWTEST_F_L0()
482 const uint8_t utf8ValueTwoBytesMax[5] = {0xF4, 0x8F, 0xBF, 0xBF, 0x00}; // 0x10FFFF in HWTEST_F_L0()
490 0xEF, 0xBF, 0xBF, 0xF0, in HWTEST_F_L0()
491 0x90, 0x80, 0x80, 0xF4, in HWTEST_F_L0()
492 0x8F, 0xBF, 0xBF, 0x00}; in HWTEST_F_L0()
502 size_t start = 0; in ConvertRegionUtf16ToUtf8Test()
503 size_t utf8Pos = 0; in ConvertRegionUtf16ToUtf8Test()
506 0x00, // 0 or 2 (special case for \u0000 ==> C080 - 1100'0000 1000'0000) in ConvertRegionUtf16ToUtf8Test()
507 0x7F, // 1(0x00, 0x7F] in ConvertRegionUtf16ToUtf8Test()
508 0x7FF, // 2 [0x80, 0x7FF] in ConvertRegionUtf16ToUtf8Test()
509 0x800, // 3 [0x800, 0xD7FF] in ConvertRegionUtf16ToUtf8Test()
510 0xD800, // 3 [0xD800, 0xDFFF] in ConvertRegionUtf16ToUtf8Test()
511 0xFFFF, // 3 [0xE000, 0xFFFF] in ConvertRegionUtf16ToUtf8Test()
512 0xD800, 0xDFFF}; // 4 [0x10000, 0x10FFFF] in ConvertRegionUtf16ToUtf8Test()
520 // 0 + 1 + 2 +(3 *3)+ 4= 16 in ConvertRegionUtf16ToUtf8Test()
561 0x7F, // 1-length UTF16 encoding in HWTEST_F_L0()
562 0xDF, 0xBF, // 1-length UTF16 encoding in HWTEST_F_L0()
563 0xEF, 0xBF, 0xBF, // 1-length UTF16 encoding in HWTEST_F_L0()
564 0xF4, 0x8F, 0xBF, 0xBF}; // 2-length UTF16 encoding in HWTEST_F_L0()
584 std::pair<int32_t, size_t> invalidValue = {INVALID_UTF8, 0}; in HWTEST_F_L0()
585 // utf-8 is one byte, code point lie in [0x00, 0x7F] in HWTEST_F_L0()
586 uint8_t utf8Value1[1] = {0x00}; // 0x00 in HWTEST_F_L0()
587 uint8_t utf8Value2[1] = {0x7F}; // 0x7F in HWTEST_F_L0()
591 std::pair<int32_t, size_t> unicodeValue = {0x00, 1}; in HWTEST_F_L0()
594 unicodeValue = {0x7F, 1}; in HWTEST_F_L0()
596 unicodeRes = ConvertUtf8ToUnicodeChar(utf8ValuePtr2, 0); in HWTEST_F_L0()
599 // utf-8 is two bytes, code point lie in [0x80, 0x7FF] in HWTEST_F_L0()
600 uint8_t utf8Value3[2] = {0xC2, 0x80}; // 0x80 in HWTEST_F_L0()
601 uint8_t utf8Value4[2] = {0xDF, 0xBF}; // 0x7FF in HWTEST_F_L0()
605 unicodeValue = {0x80, 2}; in HWTEST_F_L0()
608 unicodeValue = {0x7FF, 2}; in HWTEST_F_L0()
610 uint8_t utf8Value5[2] = {0xD0, 0x00}; // invalid in HWTEST_F_L0()
617 // utf-8 is three bytes, code point lie in [0x800, 0xFFFF] in HWTEST_F_L0()
618 uint8_t utf8Value6[3] = {0xE0, 0xA0, 0x80}; // 0x800 in HWTEST_F_L0()
619 uint8_t utf8Value7[3] = {0xED, 0x9F, 0xBF}; // 0xD7FF in HWTEST_F_L0()
623 unicodeValue = {0x800, 3}; in HWTEST_F_L0()
626 unicodeValue = {0xD7FF, 3}; in HWTEST_F_L0()
628 uint8_t utf8Value8[3] = {0xEB, 0x80, 0x40}; // invalid in HWTEST_F_L0()
635 // utf-8 is four bytes, code point lie in [0x10000, 0x10FFFF]. in HWTEST_F_L0()
636 uint8_t utf8Value9[4] = {0xF0, 0x90, 0x80, 0x80}; // 0x10000 in HWTEST_F_L0()
637 uint8_t utf8Value10[4] = {0xF4, 0x8F, 0xBF, 0xBF}; // 0x10FFFF in HWTEST_F_L0()
641 unicodeValue = {0x10000, 4}; in HWTEST_F_L0()
644 unicodeValue = {0x10FFFF, 4}; in HWTEST_F_L0()
646 uint8_t utf8Value11[4] = {0xF4, 0x80, 0x80, 0x40}; // invalid in HWTEST_F_L0()
654 uint8_t utf8Value12[2] = {0x90, 0x00}; // invalid in HWTEST_F_L0()
658 uint8_t utf8Value13[2] = {0xF8, 0x00}; // invalid in HWTEST_F_L0()
671 std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0, 0x0, 0x0}; // "Hello" in HWTEST_F_L0()
685 std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}; // "你好,世界!" in HWTEST_F_L0()
713 …std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}; // "Hello, 你" in HWTEST_F_L0()
727 std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}; // "你好" in HWTEST_F_L0()
741 std::vector<uint16_t> expected_utf16 = {0x0, 0x0}; in HWTEST_F_L0()
755 std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0}; // ASCII characters: A, B, C in HWTEST_F_L0()
769 std::vector<uint16_t> expected_utf16 = {0x0, 0x0}; // Unicode . in HWTEST_F_L0()
783 std::vector<uint16_t> expected_utf16 = {0x0}; // Unicode . in HWTEST_F_L0()
797 std::vector<uint16_t> expected_utf16 = {0x0, 0x0}; // surrogates in HWTEST_F_L0()
810 …std::string utf8 = "Hello\0World", utf8Nul = utf8 + '\0' + "World"; // Clearly including zero bytes in HWTEST_F_L0()
811 std::vector<uint16_t> expected_utf16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}; in HWTEST_F_L0()
825 std::vector<uint16_t> expected_utf16 = {0x0, 0x0}; in HWTEST_F_L0()
839 std::vector<uint16_t> expected_utf16 = {0x0048, 0x0065, 0x006C, 0x006C, 0x006F}; // "Hello" in HWTEST_F_L0()
854 …std::vector<uint16_t> expected_utf16 = {0x4F60, 0x597D, 0xFF0C, 0x4E16, 0x754C, 0xFF01}; // "你好,世界… in HWTEST_F_L0()
884 …std::vector<uint16_t> expected_utf16 = {0x0048, 0x0065, 0x006C, 0x006C, 0x006F, 0x002C, 0x20, 0x4F… in HWTEST_F_L0()
899 std::vector<uint16_t> expected_utf16 = {0x4F60, 0x597D}; // "你好" in HWTEST_F_L0()
929 std::vector<uint16_t> expected_utf16 = {0x0041, 0x0042, 0x0043}; // ASCII characters: A, B, C in HWTEST_F_L0()
944 std::vector<uint16_t> expected_utf16 = {0x00A2, 0x00FC}; // Unicode . in HWTEST_F_L0()
959 std::vector<uint16_t> expected_utf16 = {0x20AC}; // Unicode . in HWTEST_F_L0()
974 std::vector<uint16_t> expected_utf16 = {0xD83D, 0xDE0E}; // surrogates in HWTEST_F_L0()
988 …std::string utf8 = "Hello\0World", utf8Nul = utf8 + '\0' + "World"; // Clearly including zero bytes in HWTEST_F_L0()
989 std::vector<uint16_t> expected_utf16 = {0x0048, 0x0065, 0x006C, 0x006C, 0x006F, in HWTEST_F_L0()
990 0x0000, 0x0057, 0x006F, 0x0072, 0x006C, 0x0064}; // Including NULL characters in HWTEST_F_L0()
1020 std::vector<uint16_t> expected_utf16 = {0xD83D, 0xDE0E}; // surrogates in HWTEST_F_L0()
1021 std::vector<uint16_t> utf16(0); in HWTEST_F_L0()
1025 EXPECT_EQ(converted, 0); in HWTEST_F_L0()
1034 std::vector<uint16_t> expected_utf16 = {0xD83D, 0xDE0E}; // surrogates in HWTEST_F_L0()
1039 EXPECT_EQ(converted, 0); in HWTEST_F_L0()