Home
last modified time | relevance | path

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

/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc194 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/
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/google-breakpad/src/testing/gtest/src/
Dgtest-internal-inl.h245 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc917 *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/
Dgtest-internal-inl.h238 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/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/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-internal-inl.h248 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
Dgtest.cc911 *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/
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/swiftshader/third_party/llvm-7.0/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/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/googletest/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()
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/
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/epid-sdk/ext/gtest/
Dgtest-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()