Searched refs:WideStringToUtf8 (Results 1 – 3 of 3) sorted by relevance
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 283 using testing::internal::WideStringToUtf8; 612 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST() 613 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST() 618 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST() 619 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST() 620 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST() 621 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST() 628 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST() 629 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST() 633 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST() [all …]
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-internal-inl.h | 247 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 877 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1485 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1513 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|