Lines Matching refs:utf16
71 std::wstring utf16; in UTF8ToWide() local
72 EXPECT_TRUE(UTF8ToWide(utf8, &utf16)); in UTF8ToWide()
73 return utf16; in UTF8ToWide()
76 static std::string WideToUTF8(const std::wstring& utf16) { in WideToUTF8() argument
78 EXPECT_TRUE(WideToUTF8(utf16, &utf8)); in WideToUTF8()
202 const wchar_t* utf16; in TEST() member
238 const bool success = WideToUTF8(convert_cases[i].utf16, in TEST()
239 wcslen(convert_cases[i].utf16), in TEST()
304 static std::string UTF16ToUTF8(const string16& utf16) { in UTF16ToUTF8() argument
305 return WideToUTF8(utf16); in UTF16ToUTF8()
338 static std::string SysWideToUTF8(const std::wstring& utf16) { in SysWideToUTF8() argument
339 return WideToUTF8(utf16); in SysWideToUTF8()