Searched refs:INVALID_ICONV_T (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | iconv_test.cpp | 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() [all …]
|
/bionic/libc/bionic/ |
D | iconv.cpp | 40 #define INVALID_ICONV_T reinterpret_cast<iconv_t>(-1) macro 347 return INVALID_ICONV_T; in iconv_open() 355 if (__converter == INVALID_ICONV_T) { in iconv() 363 if (__converter == INVALID_ICONV_T) { in iconv_close()
|