Lines Matching refs:wcrtomb
49 EXPECT_EQ(1U, wcrtomb(nullptr, L'\0', nullptr)); in TEST()
50 EXPECT_EQ(1U, wcrtomb(nullptr, L'h', nullptr)); in TEST()
56 EXPECT_EQ(1U, wcrtomb(bytes, L'\0', nullptr)); in TEST()
63 EXPECT_EQ(1U, wcrtomb(bytes, L'h', nullptr)); in TEST()
71 EXPECT_EQ(1U, wcrtomb(bytes, L'h', nullptr)); in TEST()
75 EXPECT_EQ(2U, wcrtomb(bytes, 0x00a2, nullptr)); in TEST()
80 EXPECT_EQ(3U, wcrtomb(bytes, 0x20ac, nullptr)); in TEST()
86 EXPECT_EQ(4U, wcrtomb(bytes, 0x24b62, nullptr)); in TEST()
92 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(bytes, 0xffffffff, nullptr)); in TEST()
103 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); in TEST()
110 EXPECT_EQ(1U, wcrtomb(nullptr, 0x00a2, &ps)); in TEST()
115 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); in TEST()