Searched refs:utf8_length (Results 1 – 3 of 3) sorted by relevance
201 int32_t utf8_length) { in AllocFromModifiedUtf8() argument203 const bool compressible = kUseStringCompression && (utf16_length == utf8_length); in AllocFromModifiedUtf8()214 ConvertModifiedUtf8ToUtf16(utf16_data_out, utf16_length, utf8_data_in, utf8_length); in AllocFromModifiedUtf8()
167 int32_t utf8_length)
36 size_t utf8_length = LIKELY(utf8_data[utf16_length] == 0) // Is ASCII? in StringViewFromUtf16Length() local39 return std::string_view(utf8_data, utf8_length); in StringViewFromUtf16Length()