t_wctype.c | 144 wctype_t wct; local in function:h_ctype 161 wct = wctype(typenames[i]); 162 ATF_REQUIRE(wct != 0); 167 testall(i, (unsigned char)*cp, wc, wct, 1); 172 testall(i, (unsigned char)*cp, wc, wct, 0); 177 void testall(int idx, int c, wchar_t wc, wctype_t wct, int inout) 179 printf("Testing class %d (%s), char %c (0x%2.2x), wc %x, wct %ld, expect %d\n", 180 idx, typenames[idx], c, c, wc, (long int)wct, inout); 181 ATF_REQUIRE(!!iswctype(wc, wct) == inout); 183 /* Switch based on wct and call is{,w}* to check * [all...] |