Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / ctype / ctype_cp.h
blobf6aa2e582f71ed0b148bc5b246c763922fc5cfb2
1 /* ctype table definitions for Windows codepage charsets.
2 Included by ctype_.c. */
4 #define _CTYPE_CP437_128_254 \
5 _U, _L, _L, _L, _L, _L, _L, _L, \
6 _L, _L, _L, _L, _L, _L, _U, _U, \
7 _U, _L, _U, _L, _L, _L, _L, _L, \
8 _L, _U, _U, _P, _P, _P, _P, _P, \
9 _L, _L, _L, _L, _L, _L, _P, _P, \
10 _P, _P, _P, _P, _P, _P, _P, _P, \
11 _P, _P, _P, _P, _P, _P, _P, _P, \
12 _P, _P, _P, _P, _P, _P, _P, _P, \
13 _P, _P, _P, _P, _P, _P, _P, _P, \
14 _P, _P, _P, _P, _P, _P, _P, _P, \
15 _P, _P, _P, _P, _P, _P, _P, _P, \
16 _P, _P, _P, _P, _P, _P, _P, _P, \
17 _L, _L, _U, _L, _U, _L, _P, _L, \
18 _U, _U, _U, _L, _P, _L, _L, _P, \
19 _P, _P, _P, _P, _P, _P, _P, _P, \
20 _P, _P, _P, _P, _P, _P, _P
21 #define _CTYPE_CP437_255 _S|_B
22 #define _CTYPE_CP720_128_254 \
23 0, 0, _L, _L, 0, _L, 0, _L, \
24 _L, _L, _L, _L, _L, 0, 0, 0, \
25 0, _P, _P, _L, _P, _P, _L, _L, \
26 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \
27 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
28 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _P, \
29 _P, _P, _P, _P, _P, _P, _P, _P, \
30 _P, _P, _P, _P, _P, _P, _P, _P, \
31 _P, _P, _P, _P, _P, _P, _P, _P, \
32 _P, _P, _P, _P, _P, _P, _P, _P, \
33 _P, _P, _P, _P, _P, _P, _P, _P, \
34 _P, _P, _P, _P, _P, _P, _P, _P, \
35 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, \
36 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
37 _P, _P, _P, _P, _P, _P, _P, _P, \
38 _P, _P, _P, _P, _P, _P, _P
39 #define _CTYPE_CP720_255 _S|_B
40 #define _CTYPE_CP737_128_254 \
41 _U, _U, _U, _U, _U, _U, _U, _U, \
42 _U, _U, _U, _U, _U, _U, _U, _U, \
43 _U, _U, _U, _U, _U, _U, _U, _U, \
44 _L, _L, _L, _L, _L, _L, _L, _L, \
45 _L, _L, _L, _L, _L, _L, _L, _L, \
46 _L, _L, _L, _L, _L, _L, _L, _L, \
47 _P, _P, _P, _P, _P, _P, _P, _P, \
48 _P, _P, _P, _P, _P, _P, _P, _P, \
49 _P, _P, _P, _P, _P, _P, _P, _P, \
50 _P, _P, _P, _P, _P, _P, _P, _P, \
51 _P, _P, _P, _P, _P, _P, _P, _P, \
52 _P, _P, _P, _P, _P, _P, _P, _P, \
53 _L, _L, _L, _L, _L, _L, _L, _L, \
54 _L, _L, _U, _U, _U, _U, _U, _U, \
55 _U, _P, _P, _P, _U, _U, _P, _P, \
56 _P, _P, _P, _P, _P, _P, _P
57 #define _CTYPE_CP737_255 _S|_B
58 #define _CTYPE_CP775_128_254 \
59 _U, _L, _L, _L, _L, _L, _L, _L, \
60 _L, _L, _U, _L, _L, _U, _U, _U, \
61 _U, _L, _U, _L, _L, _U, _P, _U, \
62 _L, _U, _U, _L, _P, _U, _P, _P, \
63 _U, _U, _L, _U, _L, _L, _P, _P, \
64 _P, _P, _P, _P, _P, _U, _P, _P, \
65 _P, _P, _P, _P, _P, _U, _U, _U, \
66 _U, _P, _P, _P, _P, _U, _U, _P, \
67 _P, _P, _P, _P, _P, _P, _U, _U, \
68 _P, _P, _P, _P, _P, _P, _P, _U, \
69 _L, _L, _L, _L, _L, _L, _L, _L, \
70 _L, _P, _P, _P, _P, _P, _P, _P, \
71 _U, _L, _U, _U, _L, _U, _P, _L, \
72 _U, _L, _U, _L, _L, _U, _U, _P, \
73 _P, _P, _P, _P, _P, _P, _P, _P, \
74 _P, _P, _P, _P, _P, _P, _P
75 #define _CTYPE_CP775_255 _S|_B
76 #define _CTYPE_CP850_128_254 \
77 _U, _L, _L, _L, _L, _L, _L, _L, \
78 _L, _L, _L, _L, _L, _L, _U, _U, \
79 _U, _L, _U, _L, _L, _L, _L, _L, \
80 _L, _U, _U, _L, _P, _U, _P, _L, \
81 _L, _L, _L, _L, _L, _U, _P, _P, \
82 _P, _P, _P, _P, _P, _P, _P, _P, \
83 _P, _P, _P, _P, _P, _U, _U, _U, \
84 _P, _P, _P, _P, _P, _P, _P, _P, \
85 _P, _P, _P, _P, _P, _P, _L, _U, \
86 _P, _P, _P, _P, _P, _P, _P, _P, \
87 _L, _U, _U, _U, _U, _L, _U, _U, \
88 _U, _P, _P, _P, _P, _P, _U, _P, \
89 _U, _L, _U, _U, _L, _U, _P, _L, \
90 _U, _U, _U, _U, _L, _U, _P, _P, \
91 _P, _P, _P, _P, _P, _P, _P, _P, \
92 _P, _P, _P, _P, _P, _P, _P
93 #define _CTYPE_CP850_255 _S|_B
94 #define _CTYPE_CP852_128_254 \
95 _U, _L, _L, _L, _L, _L, _L, _L, \
96 _L, _L, _U, _L, _L, _U, _U, _U, \
97 _U, _U, _L, _L, _L, _U, _L, _U, \
98 _L, _U, _U, _U, _L, _U, _P, _L, \
99 _L, _L, _L, _L, _U, _L, _U, _L, \
100 _U, _L, _P, _L, _U, _L, _P, _P, \
101 _P, _P, _P, _P, _P, _U, _U, _U, \
102 _U, _P, _P, _P, _P, _U, _L, _P, \
103 _P, _P, _P, _P, _P, _P, _U, _L, \
104 _P, _P, _P, _P, _P, _P, _P, _P, \
105 _L, _U, _U, _U, _L, _U, _U, _U, \
106 _L, _P, _P, _P, _P, _U, _U, _P, \
107 _U, _L, _U, _U, _L, _L, _U, _L, \
108 _U, _U, _L, _U, _L, _U, _L, _P, \
109 _P, _P, _P, _P, _P, _P, _P, _P, \
110 _P, _P, _P, _L, _U, _L, _P
111 #define _CTYPE_CP852_255 _S|_B
112 #define _CTYPE_CP855_128_254 \
113 _L, _U, _L, _U, _L, _U, _L, _U, \
114 _L, _U, _L, _U, _L, _U, _L, _U, \
115 _L, _U, _L, _U, _L, _U, _L, _U, \
116 _L, _U, _L, _U, _L, _U, _L, _U, \
117 _L, _U, _L, _U, _L, _U, _L, _U, \
118 _L, _U, _L, _U, _L, _U, _P, _P, \
119 _P, _P, _P, _P, _P, _L, _U, _L, \
120 _U, _P, _P, _P, _P, _L, _U, _P, \
121 _P, _P, _P, _P, _P, _P, _L, _U, \
122 _P, _P, _P, _P, _P, _P, _P, _P, \
123 _L, _U, _L, _U, _L, _U, _L, _U, \
124 _L, _P, _P, _P, _P, _U, _L, _P, \
125 _U, _L, _U, _L, _U, _L, _U, _L, \
126 _U, _L, _U, _L, _U, _L, _U, _P, \
127 _P, _L, _U, _L, _U, _L, _U, _L, \
128 _U, _L, _U, _L, _U, _P, _P
129 #define _CTYPE_CP855_255 _S|_B
130 #define _CTYPE_CP857_128_254 \
131 _U, _L, _L, _L, _L, _L, _L, _L, \
132 _L, _L, _L, _L, _L, _L, _U, _U, \
133 _U, _L, _U, _L, _L, _L, _L, _L, \
134 _U, _U, _U, _L, _P, _U, _U, _L, \
135 _L, _L, _L, _L, _L, _U, _U, _L, \
136 _P, _P, _P, _P, _P, _P, _P, _P, \
137 _P, _P, _P, _P, _U, _U, _U, _P, \
138 _P, _P, _P, _P, _P, _P, _P, _P, \
139 _P, _P, _P, _P, _P, _P, _L, _U, \
140 _P, _P, _P, _P, _P, _P, _P, _P, \
141 _P, _P, _U, _U, _U, 0, _U, _U, \
142 _U, _P, _P, _P, _P, _P, _U, _P, \
143 _U, _L, _U, _U, _L, _U, _P, 0, \
144 _P, _U, _U, _U, _L, _L, _P, _P, \
145 _P, _P, 0, _P, _P, _P, _P, _P, \
146 _P, _P, _P, _P, _P, _P, _P
147 #define _CTYPE_CP857_255 _S|_B
148 #define _CTYPE_CP858_128_254 \
149 _U, _L, _L, _L, _L, _L, _L, _L, \
150 _L, _L, _L, _L, _L, _L, _U, _U, \
151 _U, _L, _U, _L, _L, _L, _L, _L, \
152 _L, _U, _U, _L, _P, _U, _P, _L, \
153 _L, _L, _L, _L, _L, _U, _P, _P, \
154 _P, _P, _P, _P, _P, _P, _P, _P, \
155 _P, _P, _P, _P, _P, _U, _U, _U, \
156 _P, _P, _P, _P, _P, _P, _P, _P, \
157 _P, _P, _P, _P, _P, _P, _L, _U, \
158 _P, _P, _P, _P, _P, _P, _P, _P, \
159 _L, _U, _U, _U, _U, _P, _U, _U, \
160 _U, _P, _P, _P, _P, _P, _U, _P, \
161 _U, _L, _U, _U, _L, _U, _P, _L, \
162 _U, _U, _U, _U, _L, _U, _P, _P, \
163 _P, _P, _P, _P, _P, _P, _P, _P, \
164 _P, _P, _P, _P, _P, _P, _P
165 #define _CTYPE_CP858_255 _S|_B
166 #define _CTYPE_CP862_128_254 \
167 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
168 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
169 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
170 _U|_L, _U|_L, _U|_L, _P, _P, _P, _P, _L, \
171 _L, _L, _L, _L, _L, _U, _P, _P, \
172 _P, _P, _P, _P, _P, _P, _P, _P, \
173 _P, _P, _P, _P, _P, _P, _P, _P, \
174 _P, _P, _P, _P, _P, _P, _P, _P, \
175 _P, _P, _P, _P, _P, _P, _P, _P, \
176 _P, _P, _P, _P, _P, _P, _P, _P, \
177 _P, _P, _P, _P, _P, _P, _P, _P, \
178 _P, _P, _P, _P, _P, _P, _P, _P, \
179 _L, _L, _U, _L, _U, _L, _P, _L, \
180 _U, _U, _U, _L, _P, _L, _L, _P, \
181 _P, _P, _P, _P, _P, _P, _P, _P, \
182 _P, _P, _P, _P, _P, _P, _P
183 #define _CTYPE_CP862_255 _S|_B
184 #define _CTYPE_CP866_128_254 \
185 _U, _U, _U, _U, _U, _U, _U, _U, \
186 _U, _U, _U, _U, _U, _U, _U, _U, \
187 _U, _U, _U, _U, _U, _U, _U, _U, \
188 _U, _U, _U, _U, _U, _U, _U, _U, \
189 _L, _L, _L, _L, _L, _L, _L, _L, \
190 _L, _L, _L, _L, _L, _L, _L, _L, \
191 _P, _P, _P, _P, _P, _P, _P, _P, \
192 _P, _P, _P, _P, _P, _P, _P, _P, \
193 _P, _P, _P, _P, _P, _P, _P, _P, \
194 _P, _P, _P, _P, _P, _P, _P, _P, \
195 _P, _P, _P, _P, _P, _P, _P, _P, \
196 _P, _P, _P, _P, _P, _P, _P, _P, \
197 _L, _L, _L, _L, _L, _L, _L, _L, \
198 _L, _L, _L, _L, _L, _L, _L, _L, \
199 _U, _L, _U, _L, _U, _L, _U, _L, \
200 _P, _P, _P, _P, _P, _P, _P
201 #define _CTYPE_CP866_255 _S|_B
202 #define _CTYPE_CP874_128_254 \
203 _P, 0, 0, 0, 0, _P, 0, 0, \
204 0, 0, 0, 0, 0, 0, 0, 0, \
205 0, _P, _P, _P, _P, _P, _P, _P, \
206 0, 0, 0, 0, 0, 0, 0, 0, \
207 _S|_B, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
208 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
209 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
210 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
211 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
212 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
213 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
214 _U|_L, _U|_L, _U|_L, 0, 0, 0, 0, _P, \
215 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
216 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
217 _P, _P, _P, _P, _P, _P, _P, _P, \
218 _P, _P, _U|_L, _U|_L, 0, 0, 0
219 #define _CTYPE_CP874_255 0
220 #define _CTYPE_CP1125_128_254 \
221 _U, _U, _U, _U, _U, _U, _U, _U, \
222 _U, _U, _U, _U, _U, _U, _U, _U, \
223 _U, _U, _U, _U, _U, _U, _U, _U, \
224 _U, _U, _U, _U, _U, _U, _U, _U, \
225 _L, _L, _L, _L, _L, _L, _L, _L, \
226 _L, _L, _L, _L, _L, _L, _L, _L, \
227 _P, _P, _P, _P, _P, _P, _P, _P, \
228 _P, _P, _P, _P, _P, _P, _P, _P, \
229 _P, _P, _P, _P, _P, _P, _P, _P, \
230 _P, _P, _P, _P, _P, _P, _P, _P, \
231 _P, _P, _P, _P, _P, _P, _P, _P, \
232 _P, _P, _P, _P, _P, _P, _P, _P, \
233 _L, _L, _L, _L, _L, _L, _L, _L, \
234 _L, _L, _L, _L, _L, _L, _L, _L, \
235 _U, _L, _U, _L, _U, _L, _U, _L, \
236 _U, _L, _P, _P, _P, _P, _P
237 #define _CTYPE_CP1125_255 _S|_B
238 #define _CTYPE_CP1250_128_254 \
239 _P, 0, _P, 0, _P, _P, _P, _P, \
240 0, _P, _U, _P, _U, _U, _U, _U, \
241 0, _P, _P, _P, _P, _P, _P, _P, \
242 0, _P, _L, _P, _L, _L, _L, _L, \
243 _S|_B, _P, _P, _U, _P, _U, _P, _P, \
244 _P, _P, _U, _P, _P, _P, _P, _U, \
245 _P, _P, _P, _L, _P, _P, _P, _P, \
246 _P, _L, _L, _P, _U, _P, _L, _L, \
247 _U, _U, _U, _U, _U, _U, _U, _U, \
248 _U, _U, _U, _U, _U, _U, _U, _U, \
249 _U, _U, _U, _U, _U, _U, _U, _P, \
250 _U, _U, _U, _U, _U, _U, _U, _L, \
251 _L, _L, _L, _L, _L, _L, _L, _L, \
252 _L, _L, _L, _L, _L, _L, _L, _L, \
253 _L, _L, _L, _L, _L, _L, _L, _P, \
254 _L, _L, _L, _L, _L, _L, _L
255 #define _CTYPE_CP1250_255 _P
256 #define _CTYPE_CP1251_128_254 \
257 _U, _U, _P, _L, _P, _P, _P, _P, \
258 _P, _P, _U, _P, _U, _U, _U, _U, \
259 _L, _P, _P, _P, _P, _P, _P, _P, \
260 0, _P, _L, _P, _L, _L, _L, _L, \
261 _S|_B, _U, _L, _U, _P, _U, _P, _P, \
262 _U, _P, _U, _P, _P, _P, _P, _U, \
263 _P, _P, _U, _L, _L, _P, _P, _P, \
264 _L, _P, _L, _P, _L, _U, _L, _L, \
265 _U, _U, _U, _U, _U, _U, _U, _U, \
266 _U, _U, _U, _U, _U, _U, _U, _U, \
267 _U, _U, _U, _U, _U, _U, _U, _U, \
268 _U, _U, _U, _U, _U, _U, _U, _U, \
269 _L, _L, _L, _L, _L, _L, _L, _L, \
270 _L, _L, _L, _L, _L, _L, _L, _L, \
271 _L, _L, _L, _L, _L, _L, _L, _L, \
272 _L, _L, _L, _L, _L, _L, _L
273 #define _CTYPE_CP1251_255 _L
274 #define _CTYPE_CP1252_128_254 \
275 _P, 0, _P, _L, _P, _P, _P, _P, \
276 _P, _P, _U, _P, _U, _U, 0, 0, \
277 0, _P, _P, _P, _P, _P, _P, _P, \
278 _P, _P, _L, _P, _L, 0, _L, _U, \
279 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
280 _P, _P, _P, _P, _P, _P, _P, _P, \
281 _P, _P, _P, _P, _P, _P, _P, _P, \
282 _P, _P, _P, _P, _P, _P, _P, _P, \
283 _U, _U, _U, _U, _U, _U, _U, _U, \
284 _U, _U, _U, _U, _U, _U, _U, _U, \
285 _U, _U, _U, _U, _U, _U, _U, _P, \
286 _U, _U, _U, _U, _U, _U, _U, _L, \
287 _L, _L, _L, _L, _L, _L, _L, _L, \
288 _L, _L, _L, _L, _L, _L, _L, _L, \
289 _L, _L, _L, _L, _L, _L, _L, _P, \
290 _L, _L, _L, _L, _L, _L, _L
291 #define _CTYPE_CP1252_255 _L
292 #define _CTYPE_CP1253_128_254 \
293 _P, 0, _P, _L, _P, _P, _P, _P, \
294 0, _P, 0, _P, 0, 0, 0, 0, \
295 0, _P, _P, _P, _P, _P, _P, _P, \
296 0, _P, 0, _P, 0, 0, 0, 0, \
297 _S|_B, _P, _U, _P, _P, _P, _P, _P, \
298 _P, _P, 0, _P, _P, _P, _P, _P, \
299 _P, _P, _P, _P, _P, _P, _P, _P, \
300 _U, _U, _U, _P, _U, _P, _U, _U, \
301 _L, _U, _U, _U, _U, _U, _U, _U, \
302 _U, _U, _U, _U, _U, _U, _U, _U, \
303 _U, _U, _U, _U, _U, _U, _U, _U, \
304 _U, _U, _U, _U, _L, _L, _L, _L, \
305 _L, _L, _L, _L, _L, _L, _L, _L, \
306 _L, _L, _L, _L, _L, _L, _L, _L, \
307 _L, _L, _L, _L, _L, _L, _L, _L, \
308 _L, _L, _L, _L, _L, _L, _L
309 #define _CTYPE_CP1253_255 _L
310 #define _CTYPE_CP1254_128_254 \
311 _P, 0, _P, _L, _P, _P, _P, _P, \
312 _P, _P, _U, _P, _U, 0, 0, 0, \
313 0, _P, _P, _P, _P, _P, _P, _P, \
314 _P, _P, _L, _P, _L, 0, 0, _U, \
315 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
316 _P, _P, _P, _P, _P, _P, _P, _P, \
317 _P, _P, _P, _P, _P, _P, _P, _P, \
318 _P, _P, _P, _P, _P, _P, _P, _P, \
319 _U, _U, _U, _U, _U, _U, _U, _U, \
320 _U, _U, _U, _U, _U, _U, _U, _U, \
321 _U, _U, _U, _U, _U, _U, _U, _P, \
322 _U, _U, _U, _U, _U, _U, _U, _L, \
323 _L, _L, _L, _L, _L, _L, _L, _L, \
324 _L, _L, _L, _L, _L, _L, _L, _L, \
325 _L, _L, _L, _L, _L, _L, _L, _P, \
326 _L, _L, _L, _L, _L, _L, _L
327 #define _CTYPE_CP1254_255 _L
328 #define _CTYPE_CP1255_128_254 \
329 _P, 0, _P, _L, _P, _P, _P, _P, \
330 _P, _P, 0, _P, 0, 0, 0, 0, \
331 0, _P, _P, _P, _P, _P, _P, _P, \
332 _P, _P, 0, _P, 0, 0, 0, 0, \
333 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
334 _P, _P, _P, _P, _P, _P, _P, _P, \
335 _P, _P, _P, _P, _P, _P, _P, _P, \
336 _P, _P, _P, _P, _P, _P, _P, _P, \
337 _P, _P, _P, _P, _P, _P, _P, _P, \
338 _P, _P, _P, _P, _P, _P, _P, _P, \
339 _P, _P, _P, _P, _U|_L, _U|_L, _U|_L, _P, \
340 _P, 0, 0, 0, 0, 0, 0, 0, \
341 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
342 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
343 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
344 _U|_L, _U|_L, _U|_L, 0, 0, _P, _P
345 #define _CTYPE_CP1255_255 0
346 #define _CTYPE_CP1256_128_254 \
347 _P, _U|_L, _P, _L, _P, _P, _P, _P, \
348 _P, _P, _U|_L, _P, _U, _U|_L, _U|_L, _U|_L, \
349 _U|_L, _P, _P, _P, _P, _P, _P, _P, \
350 _U|_L, _P, _U|_L, _P, _L, _P, _P, _U|_L, \
351 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
352 _P, _P, _U|_L, _P, _P, _P, _P, _P, \
353 _P, _P, _P, _P, _P, _P, _P, _P, \
354 _P, _P, _P, _P, _P, _P, _P, _P, \
355 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
356 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
357 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _P, \
358 _U|_L, _U|_L, _U|_L, _U|_L, _P, _U|_L, _U|_L, _U|_L, \
359 _L, _U|_L, _L, _U|_L, _U|_L, _U|_L, _U|_L, _L, \
360 _L, _L, _L, _L, _U|_L, _U|_L, _L, _L, \
361 _P, _P, _P, _P, _L, _P, _P, _P, \
362 _P, _L, _P, _L, _L, _P, _P
363 #define _CTYPE_CP1256_255 _U|_L
364 #define _CTYPE_CP1257_128_254 \
365 _P, 0, _P, 0, _P, _P, _P, _P, \
366 0, _P, 0, _P, 0, _P, _P, _P, \
367 0, _P, _P, _P, _P, _P, _P, _P, \
368 0, _P, 0, _P, 0, _P, _P, 0, \
369 _S|_B, 0, _P, _P, _P, 0, _P, _P, \
370 _U, _P, _U, _P, _P, _P, _P, _U, \
371 _P, _P, _P, _P, _P, _P, _P, _P, \
372 _L, _P, _L, _P, _P, _P, _P, _L, \
373 _U, _U, _U, _U, _U, _U, _U, _U, \
374 _U, _U, _U, _U, _U, _U, _U, _U, \
375 _U, _U, _U, _U, _U, _U, _U, _P, \
376 _U, _U, _U, _U, _U, _U, _U, _L, \
377 _L, _L, _L, _L, _L, _L, _L, _L, \
378 _L, _L, _L, _L, _L, _L, _L, _L, \
379 _L, _L, _L, _L, _L, _L, _L, _P, \
380 _L, _L, _L, _L, _L, _L, _L
381 #define _CTYPE_CP1257_255 _P
382 #define _CTYPE_CP1258_128_254 \
383 _P, 0, _P, _L, _P, _P, _P, _P, \
384 _P, _P, 0, _P, _U, 0, 0, 0, \
385 0, _P, _P, _P, _P, _P, _P, _P, \
386 _P, _P, 0, _P, _L, 0, 0, _U, \
387 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
388 _P, _P, _P, _P, _P, _P, _P, _P, \
389 _P, _P, _P, _P, _P, _P, _P, _P, \
390 _P, _P, _P, _P, _P, _P, _P, _P, \
391 _U, _U, _U, _U, _U, _U, _U, _U, \
392 _U, _U, _U, _U, _P, _U, _U, _U, \
393 _U, _U, _P, _U, _U, _U, _U, _P, \
394 _U, _U, _U, _U, _U, _U, _P, _L, \
395 _L, _L, _L, _L, _L, _L, _L, _L, \
396 _L, _L, _L, _L, _P, _L, _L, _L, \
397 _L, _L, _P, _L, _L, _L, _L, _P, \
398 _L, _L, _L, _L, _L, _L, _P
399 #define _CTYPE_CP1258_255 _L
400 #define _CTYPE_CP20866_128_254 \
401 _P, _P, _P, _P, _P, _P, _P, _P, \
402 _P, _P, _P, _P, _P, _P, _P, _P, \
403 _P, _P, _P, _P, _P, _P, _P, _P, \
404 _P, _P, _S|_B, _P, _P, _P, _P, _P, \
405 _P, _P, _P, _L, _P, _P, _P, _P, \
406 _P, _P, _P, _P, _P, _P, _P, _P, \
407 _P, _P, _P, _U, _P, _P, _P, _P, \
408 _P, _P, _P, _P, _P, _P, _P, _P, \
409 _L, _L, _L, _L, _L, _L, _L, _L, \
410 _L, _L, _L, _L, _L, _L, _L, _L, \
411 _L, _L, _L, _L, _L, _L, _L, _L, \
412 _L, _L, _L, _L, _L, _L, _L, _L, \
413 _U, _U, _U, _U, _U, _U, _U, _U, \
414 _U, _U, _U, _U, _U, _U, _U, _U, \
415 _U, _U, _U, _U, _U, _U, _U, _U, \
416 _U, _U, _U, _U, _U, _U, _U
417 #define _CTYPE_CP20866_255 _U
418 #define _CTYPE_CP21866_128_254 \
419 _P, _P, _P, _P, _P, _P, _P, _P, \
420 _P, _P, _P, _P, _P, _P, _P, _P, \
421 _P, _P, _P, _P, _P, _P, _P, _P, \
422 _P, _P, _S|_B, _P, _P, _P, _P, _P, \
423 _P, _P, _P, _L, _L, _P, _L, _L, \
424 _P, _P, _P, _P, _P, _L, _P, _P, \
425 _P, _P, _P, _U, _U, _P, _U, _U, \
426 _P, _P, _P, _P, _P, _U, _P, _P, \
427 _L, _L, _L, _L, _L, _L, _L, _L, \
428 _L, _L, _L, _L, _L, _L, _L, _L, \
429 _L, _L, _L, _L, _L, _L, _L, _L, \
430 _L, _L, _L, _L, _L, _L, _L, _L, \
431 _U, _U, _U, _U, _U, _U, _U, _U, \
432 _U, _U, _U, _U, _U, _U, _U, _U, \
433 _U, _U, _U, _U, _U, _U, _U, _U, \
434 _U, _U, _U, _U, _U, _U, _U
435 #define _CTYPE_CP21866_255 _U
436 #define _CTYPE_GEORGIAN_PS_128_254 \
437 _P, 0, _P, _L, _P, _P, _P, _P, \
438 _P, _P, _U, _P, _U, _U, 0, 0, \
439 0, _P, _P, _P, _P, _P, _P, _P, \
440 _P, _P, _L, _P, _L, 0, _L, _U, \
441 _S|_B, _P, _P, _P, _P, _P, _P, _P, \
442 _P, _P, _P, _P, _P, _P, _P, _P, \
443 _P, _P, _P, _P, _P, _P, _P, _P, \
444 _P, _P, _P, _P, _P, _P, _P, _P, \
445 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
446 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
447 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
448 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, \
449 _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _U|_L, _L, _L, \
450 _L, _L, _L, _L, _L, _L, _L, _L, \
451 _L, _L, _L, _L, _L, _L, _L, _P, \
452 _L, _L, _L, _L, _L, _L, _L
453 #define _CTYPE_GEORGIAN_PS_255 _L
454 #define _CTYPE_PT154_128_254 \
455 _U, _U, _U, _L, _P, _P, _U, _U, \
456 _U, _L, _U, _U, _U, _U, _U, _U, \
457 _L, _P, _P, _P, _P, _P, _P, _P, \
458 _L, _L, _L, _L, _L, _L, _L, _L, \
459 _S|_B, _U, _L, _U, _U, _U, _U, _P, \
460 _U, _P, _U, _P, _P, _L, _P, _U, \
461 _P, _L, _U, _L, _L, _L, _P, _P, \
462 _L, _P, _L, _P, _L, _U, _L, _L, \
463 _U, _U, _U, _U, _U, _U, _U, _U, \
464 _U, _U, _U, _U, _U, _U, _U, _U, \
465 _U, _U, _U, _U, _U, _U, _U, _U, \
466 _U, _U, _U, _U, _U, _U, _U, _U, \
467 _L, _L, _L, _L, _L, _L, _L, _L, \
468 _L, _L, _L, _L, _L, _L, _L, _L, \
469 _L, _L, _L, _L, _L, _L, _L, _L, \
470 _L, _L, _L, _L, _L, _L, _L
471 #define _CTYPE_PT154_255 _L
472 #define _CTYPE_CP103_128_254 \
473 _L, _L, _P, _U, _P, _P, _P, _P, \
474 0, _P, _L, _P, _U, _L, _U, 0, \
475 _U, _P, _P, _P, _P, _P, _P, _P, \
476 0, _P, 0, _P, 0, 0, 0, 0, \
477 0, _L, _U, _L, _P, _L, _P, _P, \
478 0, 0, 0, _P, _P, _P, _P, 0, \
479 _P, _P, _P, _U, 0, _U, _P, _P, \
480 0, _P, 0, _P, 0, 0, 0, _P, \
481 _L, _L, _L, _L, _L, _L, _L, _L, \
482 _L, _L, _L, _L, _L, _L, _L, _L, \
483 _L, _L, _L, _L, _L, _L, _L, _L, \
484 _L, _L, _L, _L, _L, _L, _L, _L, \
485 _U, _U, _U, _U, _U, _U, _U, _U, \
486 _U, _U, _U, _U, _U, _U, _U, _U, \
487 _U, _U, _U, _U, _U, _U, _U, _U, \
488 _U, _U, _U, _U, _U, _U, _U
489 #define _CTYPE_CP103_255 _U
491 #if defined(ALLOW_NEGATIVE_CTYPE_INDEX)
493 #ifndef __CYGWIN__
494 static const
495 #endif
496 char __ctype_cp[27][128 + 256] = {
497 { _CTYPE_CP437_128_254,
499 _CTYPE_DATA_0_127,
500 _CTYPE_CP437_128_254,
501 _CTYPE_CP437_255
503 { _CTYPE_CP720_128_254,
505 _CTYPE_DATA_0_127,
506 _CTYPE_CP720_128_254,
507 _CTYPE_CP720_255
509 { _CTYPE_CP737_128_254,
511 _CTYPE_DATA_0_127,
512 _CTYPE_CP737_128_254,
513 _CTYPE_CP737_255
515 { _CTYPE_CP775_128_254,
517 _CTYPE_DATA_0_127,
518 _CTYPE_CP775_128_254,
519 _CTYPE_CP775_255
521 { _CTYPE_CP850_128_254,
523 _CTYPE_DATA_0_127,
524 _CTYPE_CP850_128_254,
525 _CTYPE_CP850_255
527 { _CTYPE_CP852_128_254,
529 _CTYPE_DATA_0_127,
530 _CTYPE_CP852_128_254,
531 _CTYPE_CP852_255
533 { _CTYPE_CP855_128_254,
535 _CTYPE_DATA_0_127,
536 _CTYPE_CP855_128_254,
537 _CTYPE_CP855_255
539 { _CTYPE_CP857_128_254,
541 _CTYPE_DATA_0_127,
542 _CTYPE_CP857_128_254,
543 _CTYPE_CP857_255
545 { _CTYPE_CP858_128_254,
547 _CTYPE_DATA_0_127,
548 _CTYPE_CP858_128_254,
549 _CTYPE_CP858_255
551 { _CTYPE_CP862_128_254,
553 _CTYPE_DATA_0_127,
554 _CTYPE_CP862_128_254,
555 _CTYPE_CP862_255
557 { _CTYPE_CP866_128_254,
559 _CTYPE_DATA_0_127,
560 _CTYPE_CP866_128_254,
561 _CTYPE_CP866_255
563 { _CTYPE_CP874_128_254,
565 _CTYPE_DATA_0_127,
566 _CTYPE_CP874_128_254,
567 _CTYPE_CP874_255
569 { _CTYPE_CP1125_128_254,
571 _CTYPE_DATA_0_127,
572 _CTYPE_CP1125_128_254,
573 _CTYPE_CP1125_255
575 { _CTYPE_CP1250_128_254,
577 _CTYPE_DATA_0_127,
578 _CTYPE_CP1250_128_254,
579 _CTYPE_CP1250_255
581 { _CTYPE_CP1251_128_254,
583 _CTYPE_DATA_0_127,
584 _CTYPE_CP1251_128_254,
585 _CTYPE_CP1251_255
587 { _CTYPE_CP1252_128_254,
589 _CTYPE_DATA_0_127,
590 _CTYPE_CP1252_128_254,
591 _CTYPE_CP1252_255
593 { _CTYPE_CP1253_128_254,
595 _CTYPE_DATA_0_127,
596 _CTYPE_CP1253_128_254,
597 _CTYPE_CP1253_255
599 { _CTYPE_CP1254_128_254,
601 _CTYPE_DATA_0_127,
602 _CTYPE_CP1254_128_254,
603 _CTYPE_CP1254_255
605 { _CTYPE_CP1255_128_254,
607 _CTYPE_DATA_0_127,
608 _CTYPE_CP1255_128_254,
609 _CTYPE_CP1255_255
611 { _CTYPE_CP1256_128_254,
613 _CTYPE_DATA_0_127,
614 _CTYPE_CP1256_128_254,
615 _CTYPE_CP1256_255
617 { _CTYPE_CP1257_128_254,
619 _CTYPE_DATA_0_127,
620 _CTYPE_CP1257_128_254,
621 _CTYPE_CP1257_255
623 { _CTYPE_CP1258_128_254,
625 _CTYPE_DATA_0_127,
626 _CTYPE_CP1258_128_254,
627 _CTYPE_CP1258_255
629 { _CTYPE_CP20866_128_254,
631 _CTYPE_DATA_0_127,
632 _CTYPE_CP20866_128_254,
633 _CTYPE_CP20866_255
635 { _CTYPE_CP21866_128_254,
637 _CTYPE_DATA_0_127,
638 _CTYPE_CP21866_128_254,
639 _CTYPE_CP21866_255
641 { _CTYPE_GEORGIAN_PS_128_254,
643 _CTYPE_DATA_0_127,
644 _CTYPE_GEORGIAN_PS_128_254,
645 _CTYPE_GEORGIAN_PS_255
647 { _CTYPE_PT154_128_254,
649 _CTYPE_DATA_0_127,
650 _CTYPE_PT154_128_254,
651 _CTYPE_PT154_255
653 { _CTYPE_CP103_128_254,
655 _CTYPE_DATA_0_127,
656 _CTYPE_CP103_128_254,
657 _CTYPE_CP103_255
661 #else /* !defined(ALLOW_NEGATIVE_CTYPE_INDEX) */
663 static const char __ctype_cp[27][1 + 256] = {
664 { 0,
665 _CTYPE_DATA_0_127,
666 _CTYPE_CP437_128_254,
667 _CTYPE_CP437_255
669 { 0,
670 _CTYPE_DATA_0_127,
671 _CTYPE_CP720_128_254,
672 _CTYPE_CP720_255
674 { 0,
675 _CTYPE_DATA_0_127,
676 _CTYPE_CP737_128_254,
677 _CTYPE_CP737_255
679 { 0,
680 _CTYPE_DATA_0_127,
681 _CTYPE_CP775_128_254,
682 _CTYPE_CP775_255
684 { 0,
685 _CTYPE_DATA_0_127,
686 _CTYPE_CP850_128_254,
687 _CTYPE_CP850_255
689 { 0,
690 _CTYPE_DATA_0_127,
691 _CTYPE_CP852_128_254,
692 _CTYPE_CP852_255
694 { 0,
695 _CTYPE_DATA_0_127,
696 _CTYPE_CP855_128_254,
697 _CTYPE_CP855_255
699 { 0,
700 _CTYPE_DATA_0_127,
701 _CTYPE_CP857_128_254,
702 _CTYPE_CP857_255
704 { 0,
705 _CTYPE_DATA_0_127,
706 _CTYPE_CP858_128_254,
707 _CTYPE_CP858_255
709 { 0,
710 _CTYPE_DATA_0_127,
711 _CTYPE_CP862_128_254,
712 _CTYPE_CP862_255
714 { 0,
715 _CTYPE_DATA_0_127,
716 _CTYPE_CP866_128_254,
717 _CTYPE_CP866_255
719 { 0,
720 _CTYPE_DATA_0_127,
721 _CTYPE_CP874_128_254,
722 _CTYPE_CP874_255
724 { 0,
725 _CTYPE_DATA_0_127,
726 _CTYPE_CP1125_128_254,
727 _CTYPE_CP1125_255
729 { 0,
730 _CTYPE_DATA_0_127,
731 _CTYPE_CP1250_128_254,
732 _CTYPE_CP1250_255
734 { 0,
735 _CTYPE_DATA_0_127,
736 _CTYPE_CP1251_128_254,
737 _CTYPE_CP1251_255
739 { 0,
740 _CTYPE_DATA_0_127,
741 _CTYPE_CP1252_128_254,
742 _CTYPE_CP1252_255
744 { 0,
745 _CTYPE_DATA_0_127,
746 _CTYPE_CP1253_128_254,
747 _CTYPE_CP1253_255
749 { 0,
750 _CTYPE_DATA_0_127,
751 _CTYPE_CP1254_128_254,
752 _CTYPE_CP1254_255
754 { 0,
755 _CTYPE_DATA_0_127,
756 _CTYPE_CP1255_128_254,
757 _CTYPE_CP1255_255
759 { 0,
760 _CTYPE_DATA_0_127,
761 _CTYPE_CP1256_128_254,
762 _CTYPE_CP1256_255
764 { 0,
765 _CTYPE_DATA_0_127,
766 _CTYPE_CP1257_128_254,
767 _CTYPE_CP1257_255
769 { 0,
770 _CTYPE_DATA_0_127,
771 _CTYPE_CP1258_128_254,
772 _CTYPE_CP1258_255
774 { 0,
775 _CTYPE_DATA_0_127,
776 _CTYPE_CP20866_128_254,
777 _CTYPE_CP20866_255
779 { 0,
780 _CTYPE_DATA_0_127,
781 _CTYPE_CP21866_128_254,
782 _CTYPE_CP21866_255
784 { 0,
785 _CTYPE_DATA_0_127,
786 _CTYPE_GEORGIAN_PS_128_254,
787 _CTYPE_GEORGIAN_PS_255
789 { 0,
790 _CTYPE_DATA_0_127,
791 _CTYPE_PT154_128_254,
792 _CTYPE_PT154_255
794 { 0,
795 _CTYPE_DATA_0_127,
796 _CTYPE_CP103_128_254,
797 _CTYPE_CP103_255
801 #endif /* ALLOW_NEGATIVE_CTYPE_INDEX */