Home | History | Annotate | Download | only in test

Lines Matching full:wchar_t

381                CodePointToUtf8(static_cast<wchar_t>(0x576), buffer));
390 CodePointToUtf8(static_cast<wchar_t>(0x8D3), buffer));
394 CodePointToUtf8(static_cast<wchar_t>(0xC74D), buffer));
398 // Tests in this group require a wchar_t to hold > 16 bits, and thus
399 // are skipped on Windows, Cygwin, and Symbian, where a wchar_t is
449 const wchar_t
458 const wchar_t s1[] = { 0x8D3, '\0' };
463 const wchar_t s2[] = { 0xC74D, '\0' };
502 const wchar_t s[] = { 0xD801, 0xDC00, '\0' };
510 const wchar_t s1[] = { 0xD800, '\0' };
513 const wchar_t s2[] = { 0xD800, 'M', '\0' };
516 const wchar_t s3[] = { 0xDC00, 'P', 'Q', 'R', '\0' };
524 const wchar_t s[] = { 0x108634, 0xC74D, '\n', 0x576, 0x8D3, 0x108634, '\0'};
536 const wchar_t s[] = { 0xC74D, '\n', 0x576, 0x8D3, '\0'};
1101 static const wchar_t* const kNull = NULL;
2519 ASSERT_STREQ(static_cast<const wchar_t *>(NULL), NULL);
2544 EXPECT_STRNE(static_cast<const wchar_t *>(NULL), NULL);
2580 // argument type is const wchar_t*.
2586 EXPECT_TRUE(IsSubstring("", "", static_cast<const wchar_t*>(NULL), NULL));
2640 // argument type is const wchar_t*.
2647 // argument type is const wchar_t*.
4545 // Tests using wchar_t values in {EXPECT|ASSERT}_EQ.
4555 static wchar_t wchar;
4560 EXPECT_FATAL_FAILURE(ASSERT_EQ(static_cast<wchar_t>(0x8120), wchar),
4603 // Compares an std::wstring to a const wchar_t* that has identical
4605 const wchar_t kTestX8119[] = { 'T', 'e', 's', 't', 0x8119, '\0' };
4608 // Compares an std::wstring to a const wchar_t* that has different
4610 const wchar_t kTestX8120[] = { 'T', 'e', 's', 't', 0x8120, '\0' };
4622 // Compares a wchar_t* to an std::wstring that has different
4625 ASSERT_EQ(const_cast<wchar_t*>(L"foo"), ::std::wstring(L"bar"));
4670 // Compares a const wchar_t* to a ::wstring that has identical content.
4671 const wchar_t kTestX8119[] = { 'T', 'e', 's', 't', 0x8119, '\0' };
4674 // Compares a const wchar_t* to a ::wstring that has different
4676 const wchar_t kTestX8120[] = { 'T', 'e', 's', 't', 0x8120, '\0' };
4681 // Compares a wchar_t* to a ::wstring that has different content.
4682 wchar_t* const p1 = const_cast<wchar_t*>(L"foo");
4719 // Tests using wchar_t pointers in {EXPECT|ASSERT}_EQ.
4721 wchar_t* const p0 = NULL;
4728 wchar_t* const p1 = reinterpret_cast<wchar_t*>(pv1);
4729 wchar_t* const p2 = reinterpret_cast<wchar_t*>(pv2);
4738 const wchar_t* p3 = reinterpret_cast<const wchar_t*>(pv3);
4739 const wchar_t* p4 = reinterpret_cast<const wchar_t*>(pv4);
5073 // Streams a NULL of type const wchar_t*.
5074 const wchar_t* const_wstr = NULL;
5078 // Streams a NULL of type wchar_t*.
5079 wchar_t* wstr = NULL;
5083 // Streams a non-NULL of type const wchar_t*.
5088 // Streams a non-NULL of type wchar_t*.
5089 wstr = const_cast<wchar_t*>(const_wstr);
6132 const wchar_t* argv[] = {
6141 const wchar_t* argv2[] = {