Searched refs:WideStringToUtf8 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 275 using testing::internal::WideStringToUtf8; 671 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST() 672 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST() 677 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST() 678 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST() 679 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST() 680 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST() 687 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST() 688 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST() 692 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST() [all …]
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-internal-inl.h | 241 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
H A D | gtest.cc | 1266 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 2082 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 2109 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|