Lines Matching refs:utf8
33 const char* utf8; in TEST() member
44 Win32UnicodeString str1(kData[n].utf8); in TEST()
48 Win32UnicodeString str2(kData[n].utf8, strlen(kData[n].utf8)); in TEST()
52 std::string baseStr(kData[n].utf8); in TEST()
75 const char* utf8; in TEST() member
87 EXPECT_EQ(strlen(kData[n].utf8), str1.size()); in TEST()
88 EXPECT_STREQ(kData[n].utf8, str1.c_str()); in TEST()
92 EXPECT_EQ(strlen(kData[n].utf8), str2.size()); in TEST()
93 EXPECT_STREQ(kData[n].utf8, str2.c_str()); in TEST()
98 EXPECT_EQ(strlen(kData[n].utf8) + 1U, (size_t)len); in TEST()
99 EXPECT_STREQ(kData[n].utf8, out); in TEST()
104 EXPECT_EQ((int)strlen(kData[n].utf8), len); in TEST()
106 EXPECT_STREQ(kData[n].utf8, out); in TEST()
108 if (kData[n].utf8[0] != 0) { in TEST()
124 EXPECT_EQ((int)strlen(kData[n].utf8) + 1, len); in TEST()
128 EXPECT_EQ((int)strlen(kData[n].utf8), len); in TEST()
134 const char* utf8; in TEST() member
147 kData[n].utf8); in TEST()
152 kData[n].utf8, in TEST()
153 strlen(kData[n].utf8)); in TEST()
159 len = Win32UnicodeString::convertFromUtf8(out, 1, kData[n].utf8); in TEST()
163 len = Win32UnicodeString::convertFromUtf8(nullptr, 0, kData[n].utf8); in TEST()
167 kData[n].utf8, in TEST()
168 strlen(kData[n].utf8)); in TEST()
171 len = Win32UnicodeString::calcUtf16BufferLength(kData[n].utf8); in TEST()
174 len = Win32UnicodeString::calcUtf16BufferLength(kData[n].utf8, in TEST()
175 strlen(kData[n].utf8)); in TEST()