Home
last modified time | relevance | path

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

/system/libbase/
Dutf8_test.cpp347 static std::wstring SysUTF8ToWide(const std::string& utf8) { in SysUTF8ToWide() function
391 TEST(SysStrings, SysUTF8ToWide) { in TEST() argument
392 EXPECT_EQ(L"Hello, world", SysUTF8ToWide("Hello, world")); in TEST()
393 EXPECT_EQ(L"\x4f60\x597d", SysUTF8ToWide("\xe4\xbd\xa0\xe5\xa5\xbd")); in TEST()
395 EXPECT_EQ(kSysWideOldItalicLetterA, SysUTF8ToWide("\xF0\x90\x8C\x80")); in TEST()
413 EXPECT_EQ(expected_null, SysUTF8ToWide(utf8_null)); in TEST()