Lines Matching refs:in

60   char* in = const_cast<char*>(utf8);  in TEST()  local
61 size_t in_bytes = strlen(in); in TEST()
66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
86 char* in = const_cast<char*>(utf8); in TEST() local
87 size_t in_bytes = strlen(in); in TEST()
95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
115 char* in = const_cast<char*>(utf8); in TEST() local
116 size_t in_bytes = strlen(in); in TEST()
124 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
143 char* in = const_cast<char*>(utf8); in TEST() local
144 size_t in_bytes = strlen(in); in TEST()
151 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
169 char* in = const_cast<char*>(utf8); in TEST() local
170 size_t in_bytes = strlen(in); in TEST()
177 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
179 EXPECT_EQ('\xd9', *in); // *in is left pointing to the start of the invalid sequence. in TEST()
180 ++in; in TEST()
183 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
202 char* in = const_cast<char*>(utf8); in TEST() local
203 size_t in_bytes = strlen(in); in TEST()
210 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
212 EXPECT_EQ('\xd9', *in); // *in is left pointing to the start of the incomplete sequence. in TEST()
229 char* in = const_cast<char*>(utf8); in TEST() local
230 size_t in_bytes = strlen(in); in TEST()
238 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
246 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
254 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
262 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()
276 char* in = nullptr; in TEST() local
281 ASSERT_EQ(static_cast<size_t>(-1), iconv(INVALID_ICONV_T, &in, &in_bytes, &out, &out_bytes)); in TEST()
298 char* in = const_cast<char*>(utf8); in RoundTrip() local
303 size_t replacement_count = iconv(c, &in, &in_bytes, &out, &out_bytes); in RoundTrip()
322 in = buf; in RoundTrip()
327 iconv(c, &in, &in_bytes, &out, &out_bytes); in RoundTrip()
364 char* in = const_cast<char*>(src); in Check() local
370 ASSERT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes)); in Check()
436 char* in = nullptr; in TEST() local
444 ASSERT_EQ(static_cast<size_t>(0), iconv(c, &in, &in_bytes, &out, &out_bytes)); in TEST()