Searched refs:Utf8ToUtf16 (Results 1 – 12 of 12) sorted by relevance
296 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()
44 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
759 static bool Utf8ToUtf16(const StringPiece& str, std::u16string* out) { in Utf8ToUtf16() function792 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()797 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
114 std::u16string Utf8ToUtf16(const StringPiece& utf8);
465 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()
279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
1127 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()
400 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
250 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()
201 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
300 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
123 const std::u16string text16 = util::Utf8ToUtf16(string->value->value); in PseudolocalizeStyledString()