Lines Matching refs:utf8_length
75 size_t utf8_length =
77 // We have that utf8_length == expected_utf8_length if and only
78 // if the input was a valid UTF-16 string. Otherwise, utf8_length
80 CHECK(utf8_length == 0 || utf8_length == expected_utf8_length);
82 return String(buffer.out(), utf8_length);
130 size_t utf8_length =
132 // We have that utf8_length == expected_utf8_length if and only
133 // if the input was a valid UTF-16 string. Otherwise, utf8_length
135 CHECK(utf8_length == 0 || utf8_length == expected_utf8_length);
137 return String(buffer.out(), utf8_length);