Lines Matching defs:utf16_length
23 size_t utf16_length = simdutf::convert_utf8_to_utf16(
25 // We have that utf16_length == expected_utf16_length if and only
27 if (utf16_length != 0) {
28 CHECK_EQ(expected_utf16_length, utf16_length);
30 utf16_length,
44 size_t utf16_length = simdutf::convert_utf8_to_utf16(
46 // We have that utf16_length == expected_utf16_length if and only
48 if (utf16_length == 0) return nullptr; // We had an invalid UTF-8 input.
49 CHECK_EQ(expected_utf16_length, utf16_length);
51 utf16_length);