Lines Matching refs:c16rtomb
56 EXPECT_EQ(1U, c16rtomb(nullptr, L'\0', nullptr)); in TEST()
57 EXPECT_EQ(1U, c16rtomb(nullptr, L'h', nullptr)); in TEST()
62 EXPECT_EQ(1U, c16rtomb(bytes, L'\0', nullptr)); in TEST()
65 TEST(uchar, c16rtomb) { in TEST() argument
69 EXPECT_EQ(1U, c16rtomb(bytes, L'h', nullptr)); in TEST()
77 EXPECT_EQ(1U, c16rtomb(bytes, L'h', nullptr)); in TEST()
81 EXPECT_EQ(2U, c16rtomb(bytes, 0x00a2, nullptr)); in TEST()
86 EXPECT_EQ(3U, c16rtomb(bytes, 0x20ac, nullptr)); in TEST()
96 EXPECT_EQ(0U, c16rtomb(bytes, 0xdbea, nullptr)); in TEST()
97 EXPECT_EQ(4U, c16rtomb(bytes, 0xdfcd, nullptr)); in TEST()
108 EXPECT_EQ(static_cast<size_t>(-1), c16rtomb(bytes, 0xdfcd, nullptr)); in TEST()
110 EXPECT_EQ(0U, c16rtomb(bytes, 0xdbea, nullptr)); in TEST()
111 EXPECT_EQ(static_cast<size_t>(-1), c16rtomb(bytes, 0xdbea, nullptr)); in TEST()