/external/googletest/googletest/test/ |
D | gtest_unittest.cc | 282 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/rust/crates/quiche/deps/boringssl/src/third_party/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/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/llvm-project/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/googletest/googletest/src/ |
D | gtest-internal-inl.h | 254 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 1120 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1997 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 2025 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-internal-inl.h | 245 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
|
D | gtest.cc | 928 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1831 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1859 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-internal-inl.h | 247 GTEST_API_ std::string WideStringToUtf8(const wchar_t *str, int num_chars);
|
D | gtest.cc | 1065 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 1935 std::string WideStringToUtf8(const wchar_t *str, int num_chars) { in WideStringToUtf8() function 1962 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/rust/crates/quiche/deps/boringssl/src/third_party/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() 1832 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 1860 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/fmtlib/test/ |
D | gmock-gtest-all.cc | 658 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars); 2338 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage() 2913 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() function 2940 return internal::WideStringToUtf8(wide_c_str, -1); in ShowWideCString()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/ |
D | gmock-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()
|