/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 194 using testing::internal::WideStringToUtf8; 530 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST() 531 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST() 536 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST() 537 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST() 538 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST() 539 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST() 546 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST() 547 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST() 551 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST() [all …]
|
/external/googletest/googletest/test/ |
D | gtest_unittest.cc | 279 using testing::internal::WideStringToUtf8; 666 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST() 667 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST() 672 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST() 673 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST() 674 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST() 675 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST() 682 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST() 683 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST() 687 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST() [all …]
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-internal-inl.h | 245 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 917 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1505 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1534 return String(internal::WideStringToUtf8(wide_c_str, -1).c_str()); in ShowWideCString()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal-inl.h | 238 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-internal-inl.h | 241 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 916 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1533 return String(internal::WideStringToUtf8(wide_c_str, -1).c_str()); in ShowWideCString()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-internal-inl.h | 248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 911 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1824 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1852 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-internal-inl.h | 248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 910 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1823 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1851 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-internal-inl.h | 248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 910 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1823 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1851 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-internal-inl.h | 244 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 954 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1868 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1896 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/googletest/googletest/src/ |
D | gtest-internal-inl.h | 245 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 933 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1841 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1869 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest.cc | 916 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1533 return String(internal::WideStringToUtf8(wide_c_str, -1).c_str()); in ShowWideCString()
|
/external/epid-sdk/ext/gtest/ |
D | gtest-all.cc | 655 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars); 2358 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 3271 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 3299 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|