Lines Matching defs:in_bytes
61 size_t in_bytes = strlen(in);
66 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes));
73 EXPECT_EQ(0U, in_bytes);
87 size_t in_bytes = strlen(in);
95 EXPECT_EQ(2U, iconv(c, &in, &in_bytes, &out, &out_bytes));
102 EXPECT_EQ(0U, in_bytes);
116 size_t in_bytes = strlen(in);
124 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
130 EXPECT_EQ(0U, in_bytes);
144 size_t in_bytes = strlen(in);
151 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
156 EXPECT_EQ(6U, in_bytes); // Two bytes for ?, three bytes for ?, and one byte for z.
170 size_t in_bytes = strlen(in);
177 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
181 --in_bytes;
183 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes));
189 EXPECT_EQ(0U, in_bytes);
203 size_t in_bytes = strlen(in);
210 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
216 EXPECT_EQ(1U, in_bytes);
230 size_t in_bytes = strlen(in);
238 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
240 EXPECT_EQ(2U, in_bytes);
246 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
248 EXPECT_EQ(2U, in_bytes);
254 EXPECT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
256 EXPECT_EQ(1U, in_bytes);
262 EXPECT_EQ(0U, iconv(c, &in, &in_bytes, &out, &out_bytes));
264 EXPECT_EQ(0U, in_bytes);
278 size_t in_bytes = 0;
281 ASSERT_EQ(static_cast<size_t>(-1), iconv(INVALID_ICONV_T, &in, &in_bytes, &out, &out_bytes));
299 size_t in_bytes = strlen(utf8);
303 size_t replacement_count = iconv(c, &in, &in_bytes, &out, &out_bytes);
323 in_bytes = n;
327 iconv(c, &in, &in_bytes, &out, &out_bytes);
365 size_t in_bytes = n;
370 ASSERT_EQ(static_cast<size_t>(-1), iconv(c, &in, &in_bytes, &out, &out_bytes));
437 size_t in_bytes = 0;
444 ASSERT_EQ(static_cast<size_t>(0), iconv(c, &in, &in_bytes, &out, &out_bytes));
450 ASSERT_EQ(static_cast<size_t>(0), iconv(c, nullptr, &in_bytes, &out, &out_bytes));