Home
last modified time | relevance | path

Searched refs:Utf8ToUtf16 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp296 const std::u16string package16 = util::Utf8ToUtf16(name.package); in FindByName()
297 const std::u16string type16 = util::Utf8ToUtf16(to_string(name.type)); in FindByName()
298 const std::u16string entry16 = util::Utf8ToUtf16(name.entry); in FindByName()
300 util::Utf8ToUtf16(NameMangler::MangleEntry(name.package, name.entry)); in FindByName()
/frameworks/base/libs/androidfw/
DUtil.cpp44 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
DAssetManager2.cpp759 static bool Utf8ToUtf16(const StringPiece& str, std::u16string* out) { in Utf8ToUtf16() function
792 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()
797 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h114 std::u16string Utf8ToUtf16(const StringPiece& utf8);
/frameworks/base/tools/aapt2/
DResourceUtils.cpp465 std::u16string str16 = util::Utf8ToUtf16(str); in ParseInt()
476 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseResourceId()
492 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseSdkVersion()
520 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseInt()
533 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseFloat()
DStringPool_test.cpp279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
DResourceParser.cpp1127 std::u16string min_str16 = util::Utf8ToUtf16(min_str); in ParseAttrImpl()
1144 std::u16string max_str16 = util::Utf8ToUtf16(max_str); in ParseAttrImpl()
1274 std::u16string value16 = util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()
DStringPool.cpp400 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp250 strcpy16_htod(pkg_header->name, arraysize(pkg_header->name), util::Utf8ToUtf16(package_->name)); in FlattenPackage()
550 util::Utf8ToUtf16(package_->name)); in FlattenLibrarySpec()
557 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/tools/aapt2/util/
DUtil.h201 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
DUtil.cpp300 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp123 const std::u16string text16 = util::Utf8ToUtf16(string->value->value); in PseudolocalizeStyledString()