Lines Matching refs:c32rtomb
39 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); in TEST()
46 EXPECT_EQ(1U, c32rtomb(nullptr, 0x00a2, &ps)); in TEST()
51 EXPECT_EQ(1U, c32rtomb(out, L'\0', &ps)); in TEST()
209 TEST(uchar, c32rtomb) { in TEST() argument
210 EXPECT_EQ(1U, c32rtomb(nullptr, L'\0', nullptr)); in TEST()
211 EXPECT_EQ(1U, c32rtomb(nullptr, L'h', nullptr)); in TEST()
216 EXPECT_EQ(1U, c32rtomb(bytes, L'\0', nullptr)); in TEST()
221 EXPECT_EQ(1U, c32rtomb(bytes, L'h', nullptr)); in TEST()
229 EXPECT_EQ(1U, c32rtomb(bytes, L'h', nullptr)); in TEST()
233 EXPECT_EQ(2U, c32rtomb(bytes, 0x00a2, nullptr)); in TEST()
238 EXPECT_EQ(3U, c32rtomb(bytes, 0x20ac, nullptr)); in TEST()
244 EXPECT_EQ(4U, c32rtomb(bytes, 0x24b62, nullptr)); in TEST()
250 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(bytes, 0xffffffff, nullptr)); in TEST()