URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [ctype/] [ctype_iso.h] - Rev 829
Compare with Previous | Blame | View Log
/* ctype table definitions for ISO-8859-x charsets. Included by ctype_.c. */ #define _CTYPE_ISO_8859_1_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_1_255 _L #define _CTYPE_ISO_8859_2_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _P, _U, _P, _U, _U, _P, \ _P, _U, _U, _U, _U, _P, _U, _U, \ _P, _L, _P, _L, _P, _L, _L, _P, \ _P, _L, _L, _L, _L, _P, _L, _L, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_2_255 _P #define _CTYPE_ISO_8859_3_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _P, _P, _P, 0, _U, _P, \ _P, _U, _U, _U, _U, _P, 0, _U, \ _P, _L, _P, _P, _P, _P, _L, _P, \ _P, _L, _L, _L, _L, _P, 0, _L, \ _U, _U, _U, 0, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ 0, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, 0, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ 0, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_3_255 _P #define _CTYPE_ISO_8859_4_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _L, _U, _P, _U, _U, _P, \ _P, _U, _U, _U, _U, _P, _U, _P, \ _P, _L, _P, _L, _P, _L, _L, _P, \ _P, _L, _L, _L, _L, _P, _L, _L, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_4_255 _L #define _CTYPE_ISO_8859_5_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _P, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _P, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _P, _L #define _CTYPE_ISO_8859_5_255 _L #define _CTYPE_ISO_8859_6_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, 0, 0, 0, _P, 0, 0, 0, \ 0, 0, 0, 0, _P, _P, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, _P, 0, 0, 0, _P, \ 0, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, 0, 0, 0, 0, 0, \ _P, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _P, _P, _P, _P, _P, \ _P, _P, _P, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0 #define _CTYPE_ISO_8859_6_255 0 #define _CTYPE_ISO_8859_7_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, 0, _P, \ _P, _P, _P, _P, _P, _P, _U, _P, \ _U, _U, _U, _P, _U, _P, _U, _U, \ _L, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_7_255 0 #define _CTYPE_ISO_8859_8_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, 0, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, _P, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, 0, 0, _P, _P #define _CTYPE_ISO_8859_8_255 0 #define _CTYPE_ISO_8859_9_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_9_255 _L #define _CTYPE_ISO_8859_10_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _P, _U, _U, \ _P, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _P, _L, _L, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_10_255 _L #define _CTYPE_ISO_8859_11_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _P, _U|_L, _U|_L, _P, _P, _P, _P, \ _P, _P, _P, 0, 0, 0, 0, _P, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, \ _P, _P, _P, _P, _P, _P, _P, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \ _U|_L, _U|_L, _U|_L, _U|_L, 0, 0, 0 #define _CTYPE_ISO_8859_11_255 0 #define _CTYPE_ISO_8859_13_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _P, _P, _P, _P, _P, _P, _P, \ _U, _P, _U, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _P, _P, _P, _P, \ _L, _P, _L, _P, _P, _P, _P, _P, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_13_255 _P #define _CTYPE_ISO_8859_14_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _L, _P, _U, _L, _U, _P, \ _U, _P, _U, _L, _U, _P, _P, _U, \ _U, _L, _U, _L, _U, _L, _P, _U, \ _L, _L, _L, _U, _L, _U, _L, _L, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_14_255 _L #define _CTYPE_ISO_8859_15_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _P, _P, _P, _P, _P, _U, _P, \ _L, _P, _P, _P, _P, _P, _P, _P, \ _P, _P, _P, _P, _U, _P, _P, _P, \ _L, _P, _P, _P, _U, _L, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _P, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _P, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_15_255 _L #define _CTYPE_ISO_8859_16_128_254 \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _C, _C, _C, _C, _C, _C, _C, _C, \ _S|_B, _U, _L, _U, _P, _P, _U, _P, \ _L, _P, _U, _P, _U, _P, _L, _U, \ _P, _P, _U, _U, _U, _P, _P, _P, \ _L, _L, _L, _P, _U, _L, _U, _L, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _U, \ _U, _U, _U, _U, _U, _U, _U, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L, _L, \ _L, _L, _L, _L, _L, _L, _L #define _CTYPE_ISO_8859_16_255 _L extern int __iso_8859_index (const char *charset_ext); #if defined(ALLOW_NEGATIVE_CTYPE_INDEX) #ifndef __CYGWIN__ static _CONST #endif char __ctype_iso[15][128 + 256] = { { _CTYPE_ISO_8859_1_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_1_128_254, _CTYPE_ISO_8859_1_255 }, { _CTYPE_ISO_8859_2_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_2_128_254, _CTYPE_ISO_8859_2_255 }, { _CTYPE_ISO_8859_3_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_3_128_254, _CTYPE_ISO_8859_3_255 }, { _CTYPE_ISO_8859_4_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_4_128_254, _CTYPE_ISO_8859_4_255 }, { _CTYPE_ISO_8859_5_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_5_128_254, _CTYPE_ISO_8859_5_255 }, { _CTYPE_ISO_8859_6_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_6_128_254, _CTYPE_ISO_8859_6_255 }, { _CTYPE_ISO_8859_7_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_7_128_254, _CTYPE_ISO_8859_7_255 }, { _CTYPE_ISO_8859_8_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_8_128_254, _CTYPE_ISO_8859_8_255 }, { _CTYPE_ISO_8859_9_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_9_128_254, _CTYPE_ISO_8859_9_255 }, { _CTYPE_ISO_8859_10_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_10_128_254, _CTYPE_ISO_8859_10_255 }, { _CTYPE_ISO_8859_11_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_11_128_254, _CTYPE_ISO_8859_11_255 }, { _CTYPE_ISO_8859_13_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_13_128_254, _CTYPE_ISO_8859_13_255 }, { _CTYPE_ISO_8859_14_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_14_128_254, _CTYPE_ISO_8859_14_255 }, { _CTYPE_ISO_8859_15_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_15_128_254, _CTYPE_ISO_8859_15_255 }, { _CTYPE_ISO_8859_16_128_254, 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_16_128_254, _CTYPE_ISO_8859_16_255 }, }; #else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */ static _CONST char __ctype_iso[15][1 + 256] = { { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_1_128_254, _CTYPE_ISO_8859_1_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_2_128_254, _CTYPE_ISO_8859_2_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_3_128_254, _CTYPE_ISO_8859_3_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_4_128_254, _CTYPE_ISO_8859_4_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_5_128_254, _CTYPE_ISO_8859_5_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_6_128_254, _CTYPE_ISO_8859_6_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_7_128_254, _CTYPE_ISO_8859_7_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_8_128_254, _CTYPE_ISO_8859_8_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_9_128_254, _CTYPE_ISO_8859_9_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_10_128_254, _CTYPE_ISO_8859_10_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_11_128_254, _CTYPE_ISO_8859_11_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_13_128_254, _CTYPE_ISO_8859_13_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_14_128_254, _CTYPE_ISO_8859_14_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_15_128_254, _CTYPE_ISO_8859_15_255 }, { 0, _CTYPE_DATA_0_127, _CTYPE_ISO_8859_16_128_254, _CTYPE_ISO_8859_16_255 }, }; #endif /* ALLOW_NEGATIVE_CTYPE_INDEX */