Home
last modified time | relevance | path

Searched refs:WideStringToUtf8 (Results 1 – 18 of 18) sorted by relevance

/external/googletest/googletest/test/
Dgtest_unittest.cc282 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/
Dgtest_unittest.cc279 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/
Dgtest-internal-inl.h241 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc916 *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/
Dgtest-internal-inl.h248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc910 *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/
Dgtest-internal-inl.h254 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc1120 *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/
Dgtest-internal-inl.h245 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc928 *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/
Dgtest-internal-inl.h247 GTEST_API_ std::string WideStringToUtf8(const wchar_t *str, int num_chars);
Dgtest.cc1065 *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/
Dgtest-internal-inl.h244 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc954 *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/
Dgtest-internal-inl.h245 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc933 *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/
Dgmock-gtest-all.cc658 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/
Dgmock-gtest-all.cc655 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()