Lines Matching refs:utf16
76 std::wstring utf16; in UTF8ToWide() local
77 EXPECT_TRUE(UTF8ToWide(utf8, &utf16)); in UTF8ToWide()
78 return utf16; in UTF8ToWide()
81 static std::string WideToUTF8(const std::wstring& utf16) { in WideToUTF8() argument
83 EXPECT_TRUE(WideToUTF8(utf16, &utf8)); in WideToUTF8()
207 const wchar_t* utf16; in TEST() member
243 const bool success = WideToUTF8(convert_cases[i].utf16, in TEST()
244 wcslen(convert_cases[i].utf16), in TEST()
309 static std::string UTF16ToUTF8(const string16& utf16) { in UTF16ToUTF8() argument
310 return WideToUTF8(utf16); in UTF16ToUTF8()
343 static std::string SysWideToUTF8(const std::wstring& utf16) { in SysWideToUTF8() argument
344 return WideToUTF8(utf16); in SysWideToUTF8()