Searched refs:Utf8ToUtf16 (Results 1 – 11 of 11) sorted by relevance
45 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
1219 static bool Utf8ToUtf16(const StringPiece& str, std::u16string* out) { in Utf8ToUtf16() function1252 if (!Utf8ToUtf16(type, &type16)) { in GetResourceId()1257 if (!Utf8ToUtf16(entry, &entry16)) { in GetResourceId()
264 strcpy16_htod(pkg_header->name, arraysize(pkg_header->name), util::Utf8ToUtf16(package_.name)); in FlattenPackage()509 util::Utf8ToUtf16(name)); in FlattenOverlayable()519 util::Utf8ToUtf16(overlayable.actor)); in FlattenOverlayable()677 util::Utf8ToUtf16(package_.name)); in FlattenLibrarySpec()684 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
123 std::u16string Utf8ToUtf16(const StringPiece& utf8);
503 std::u16string str16 = util::Utf8ToUtf16(str); in ParseInt()514 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseResourceId()530 std::u16string str16 = util::Utf8ToUtf16(trimmed_str); in ParseSdkVersion()567 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseInt()580 std::u16string str16 = util::Utf8ToUtf16(util::TrimWhitespace(str)); in TryParseFloat()
279 EXPECT_THAT(util::GetString16(test, 3), Eq(util::Utf8ToUtf16(sLongString))); in TEST()
400 const std::u16string encoded = util::Utf8ToUtf16(str); in EncodeString()
1320 std::u16string min_str16 = util::Utf8ToUtf16(min_str); in ParseAttrImpl()1337 std::u16string max_str16 = util::Utf8ToUtf16(max_str); in ParseAttrImpl()1470 std::u16string value16 = util::Utf8ToUtf16(maybe_value.value()); in ParseEnumOrFlagItem()
221 std::u16string Utf8ToUtf16(const android::StringPiece& utf8);
438 std::u16string Utf8ToUtf16(const StringPiece& utf8) { in Utf8ToUtf16() function
124 const std::u16string text16 = util::Utf8ToUtf16(string->value->value); in PseudolocalizeStyledString()