28 #ifndef _GL_INLINE_HEADER_BEGIN 29 #error "Please include config.h first." 32 #ifndef C_CTYPE_INLINE 33 # define C_CTYPE_INLINE _GL_INLINE 49 #if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ 50 && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ 51 && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ 52 && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ 53 && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ 54 && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ 55 && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ 56 && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ 57 && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ 58 && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ 59 && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ 60 && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ 61 && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ 62 && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ 63 && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ 64 && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ 65 && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ 66 && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ 67 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ 68 && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ 69 && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ 70 && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ 71 && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126) 74 # define C_CTYPE_ASCII 1 75 #elif ! (' ' == '\x40' && '0' == '\xf0' \ 76 && 'A' == '\xc1' && 'J' == '\xd1' && 'S' == '\xe2' \ 77 && 'a' == '\x81' && 'j' == '\x91' && 's' == '\xa2') 78 # error "Only ASCII and EBCDIC are supported" 82 # error "EBCDIC and char is signed -- not supported" 87 #define _C_CTYPE_CNTRL \ 88 case '\a': case '\b': case '\f': case '\n': \ 89 case '\r': case '\t': case '\v': \ 95 # define _C_CTYPE_OTHER_CNTRL \ 96 case '\x00': case '\x01': case '\x02': case '\x03': \ 97 case '\x04': case '\x05': case '\x06': case '\x0e': \ 98 case '\x0f': case '\x10': case '\x11': case '\x12': \ 99 case '\x13': case '\x14': case '\x15': case '\x16': \ 100 case '\x17': case '\x18': case '\x19': case '\x1a': \ 101 case '\x1b': case '\x1c': case '\x1d': case '\x1e': \ 102 case '\x1f': case '\x7f' 106 # define _C_CTYPE_OTHER_CNTRL \ 107 case '\x00': case '\x01': case '\x02': case '\x03': \ 108 case '\x07': case '\x0e': case '\x0f': case '\x10': \ 109 case '\x11': case '\x12': case '\x13': case '\x18': \ 110 case '\x19': case '\x1c': case '\x1d': case '\x1e': \ 111 case '\x1f': case '\x26': case '\x27': case '\x2d': \ 112 case '\x2e': case '\x32': case '\x37': case '\x3c': \ 113 case '\x3d': case '\x3f' 118 #define _C_CTYPE_LOWER_A_THRU_F_N(N) \ 119 case 'a' + (N): case 'b' + (N): case 'c' + (N): case 'd' + (N): \ 120 case 'e' + (N): case 'f' + (N) 121 #define _C_CTYPE_LOWER_N(N) \ 122 _C_CTYPE_LOWER_A_THRU_F_N(N): \ 123 case 'g' + (N): case 'h' + (N): case 'i' + (N): case 'j' + (N): \ 124 case 'k' + (N): case 'l' + (N): case 'm' + (N): case 'n' + (N): \ 125 case 'o' + (N): case 'p' + (N): case 'q' + (N): case 'r' + (N): \ 126 case 's' + (N): case 't' + (N): case 'u' + (N): case 'v' + (N): \ 127 case 'w' + (N): case 'x' + (N): case 'y' + (N): case 'z' + (N) 131 #define _C_CTYPE_A_THRU_F \ 132 _C_CTYPE_LOWER_A_THRU_F_N (0): \ 133 _C_CTYPE_LOWER_A_THRU_F_N ('A' - 'a') 134 #define _C_CTYPE_DIGIT \ 135 case '0': case '1': case '2': case '3': \ 136 case '4': case '5': case '6': case '7': \ 138 #define _C_CTYPE_LOWER _C_CTYPE_LOWER_N (0) 139 #define _C_CTYPE_PUNCT \ 140 case '!': case '"': case '#': case '$': \ 141 case '%': case '&': case '\'': case '(': \ 142 case ')': case '*': case '+': case ',': \ 143 case '-': case '.': case '/': case ':': \ 144 case ';': case '<': case '=': case '>': \ 145 case '?': case '@': case '[': case '\\': \ 146 case ']': case '^': case '_': case '`': \ 147 case '{': case '|': case '}': case '~' 148 #define _C_CTYPE_UPPER _C_CTYPE_LOWER_N ('A' - 'a') 217 return c ==
' ' || c ==
'\t';
304 case ' ':
case '\t':
case '\n':
case '\v':
case '\f':
case '\r':
342 return c -
'A' +
'a';
354 return c -
'a' +
'A';
C_CTYPE_INLINE bool c_isprint(int c)
Definition: c-ctype.h:272
C_CTYPE_INLINE bool c_iscntrl(int c)
Definition: c-ctype.h:221
#define _C_CTYPE_A_THRU_F
Definition: c-ctype.h:131
C_CTYPE_INLINE bool c_isspace(int c)
Definition: c-ctype.h:300
C_CTYPE_INLINE bool c_isalpha(int c)
Definition: c-ctype.h:183
C_CTYPE_INLINE bool c_isascii(int c)
Definition: c-ctype.h:198
#define _C_CTYPE_CNTRL
Definition: c-ctype.h:87
C_CTYPE_INLINE int c_toupper(int c)
Definition: c-ctype.h:349
C_CTYPE_INLINE bool c_ispunct(int c)
Definition: c-ctype.h:288
#define _C_CTYPE_DIGIT
Definition: c-ctype.h:134
#define _C_CTYPE_UPPER
Definition: c-ctype.h:148
C_CTYPE_INLINE bool c_isalnum(int c)
Definition: c-ctype.h:169
C_CTYPE_INLINE bool c_isdigit(int c)
Definition: c-ctype.h:233
C_CTYPE_INLINE bool c_isupper(int c)
Definition: c-ctype.h:312
#define _C_CTYPE_PUNCT
Definition: c-ctype.h:139
#define _C_CTYPE_LOWER
Definition: c-ctype.h:138
#define _GL_INLINE_HEADER_BEGIN
Definition: config.h:1817
C_CTYPE_INLINE bool c_isxdigit(int c)
Definition: c-ctype.h:324
#define _GL_INLINE_HEADER_END
Definition: config.h:1818
#define C_CTYPE_INLINE
Definition: c-ctype.h:33
C_CTYPE_INLINE bool c_isgraph(int c)
Definition: c-ctype.h:245
C_CTYPE_INLINE int c_tolower(int c)
Definition: c-ctype.h:337
C_CTYPE_INLINE bool c_isblank(int c)
Definition: c-ctype.h:215
C_CTYPE_INLINE bool c_islower(int c)
Definition: c-ctype.h:260