Lines Matching refs:INVALID_ICONV_T
21 #define INVALID_ICONV_T reinterpret_cast<iconv_t>(-1) macro
25 ASSERT_EQ(INVALID_ICONV_T, iconv_open("silly", "silly")); in TEST()
28 ASSERT_EQ(INVALID_ICONV_T, iconv_open("silly", "UTF-8")); in TEST()
31 ASSERT_EQ(INVALID_ICONV_T, iconv_open("UTF-8", "silly")); in TEST()
39 ASSERT_NE(INVALID_ICONV_T, c = iconv_open("UTF-8", "utf8")); in TEST()
41 ASSERT_NE(INVALID_ICONV_T, c = iconv_open("UTF-8", "u.t.f-008")); in TEST()
46 ASSERT_EQ(INVALID_ICONV_T, iconv_open("UTF-8", "utf-80")); in TEST()
49 ASSERT_EQ(INVALID_ICONV_T, iconv_open("UTF-8", "ut80")); in TEST()
58 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
84 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
113 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
141 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
167 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
200 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
227 ASSERT_NE(INVALID_ICONV_T, c); in TEST()
281 ASSERT_EQ(static_cast<size_t>(-1), iconv(INVALID_ICONV_T, &in, &in_bytes, &out, &out_bytes)); in TEST()
287 ASSERT_EQ(-1, iconv_close(INVALID_ICONV_T)); in TEST()
296 ASSERT_NE(INVALID_ICONV_T, c) << dst_enc; in RoundTrip()
320 ASSERT_NE(INVALID_ICONV_T, c) << dst_enc; in RoundTrip()