Searched refs:utf8_len (Results 1 – 2 of 2) sorted by relevance
169 size_t utf8_len = utf16_to_utf8_length(type_name16, len); in TEST() local171 type_name.resize(utf8_len); in TEST()172 utf16_to_utf8(type_name16, len, &*type_name.begin(), utf8_len + 1); in TEST()
294 ssize_t utf8_len = utf16_to_utf8_length(str.data(), str.size()); variable295 if (utf8_len < 0) {300 utf8.resize(static_cast<size_t>(utf8_len));301 utf16_to_utf8(str.data(), str.size(), &*utf8.begin(), utf8_len + 1);