Home
last modified time | relevance | path

Searched refs:utf8_len (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp169 size_t utf8_len = utf16_to_utf8_length(type_name16, len); in TEST() local
171 type_name.resize(utf8_len); in TEST()
172 utf16_to_utf8(type_name16, len, &*type_name.begin(), utf8_len + 1); in TEST()
/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h294 ssize_t utf8_len = utf16_to_utf8_length(str.data(), str.size()); variable
295 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);