File: x.c

package info (click to toggle)
ted 2.6-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,928 kB
  • ctags: 8,734
  • sloc: ansic: 71,878; makefile: 2,363; sh: 159
file content (280 lines) | stat: -rw-r--r-- 10,883 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
#   include "charnames.h"

unsigned char docISO2_to_WIN1250[256]=
    {
    WIN1250__nul,		/*	ISO2__nul	0	*/
    WIN1250__soh,		/*	ISO2__soh	1	*/
    WIN1250__stx,		/*	ISO2__stx	2	*/
    WIN1250__etx,		/*	ISO2__etx	3	*/
    WIN1250__eot,		/*	ISO2__eot	4	*/
    WIN1250__enq,		/*	ISO2__enq	5	*/
    WIN1250__ack,		/*	ISO2__ack	6	*/
    WIN1250__bel,		/*	ISO2__bel	7	*/
    WIN1250__bs,		/*	ISO2__bs	8	*/
    WIN1250__ht,		/*	ISO2__ht	9	*/
    WIN1250__nl,		/*	ISO2__nl	10	*/
    WIN1250__vt,		/*	ISO2__vt	11	*/
    WIN1250__np,		/*	ISO2__np	12	*/
    WIN1250__cr,		/*	ISO2__cr	13	*/
    WIN1250__so,		/*	ISO2__so	14	*/
    WIN1250__si,		/*	ISO2__si	15	*/
    WIN1250__dle,		/*	ISO2__dle	16	*/
    WIN1250__dc1,		/*	ISO2__dc1	17	*/
    WIN1250__dc2,		/*	ISO2__dc2	18	*/
    WIN1250__dc3,		/*	ISO2__dc3	19	*/
    WIN1250__dc4,		/*	ISO2__dc4	20	*/
    WIN1250__nak,		/*	ISO2__nak	21	*/
    WIN1250__syn,		/*	ISO2__syn	22	*/
    WIN1250__etb,		/*	ISO2__etb	23	*/
    WIN1250__can,		/*	ISO2__can	24	*/
    WIN1250__em,		/*	ISO2__em	25	*/
    WIN1250__sub,		/*	ISO2__sub	26	*/
    WIN1250__esc,		/*	ISO2__esc	27	*/
    WIN1250__fs,		/*	ISO2__fs	28	*/
    WIN1250__gs,		/*	ISO2__gs	29	*/
    WIN1250__rs,		/*	ISO2__rs	30	*/
    WIN1250__us,		/*	ISO2__us	31	*/

    WIN1250_space,		/*	ISO2_space	32	*/
    WIN1250_exclam,		/*	ISO2_exclam	33	*/
    WIN1250_quotedbl,		/*	ISO2_quotedbl	34	*/
    WIN1250_numbersign,		/*	ISO2_numbersign	35	*/
    WIN1250_dollar,		/*	ISO2_dollar	36	*/
    WIN1250_percent,		/*	ISO2_percent	37	*/
    WIN1250_ampersand,		/*	ISO2_ampersand	38	*/
    WIN1250_quoteright,		/*	ISO2_quoteright	39	*/
    WIN1250_parenleft,		/*	ISO2_parenleft	40	*/
    WIN1250_parenright,		/*	ISO2_parenright	41	*/
    WIN1250_asterisk,		/*	ISO2_asterisk	42	*/
    WIN1250_plus,		/*	ISO2_plus	43	*/
    WIN1250_comma,		/*	ISO2_comma	44	*/
    WIN1250_minus,		/*	ISO2_minus	45	*/
    WIN1250_period,		/*	ISO2_period	46	*/
    WIN1250_slash,		/*	ISO2_slash	47	*/
    WIN1250_zero,		/*	ISO2_zero	48	*/
    WIN1250_one,		/*	ISO2_one	49	*/
    WIN1250_two,		/*	ISO2_two	50	*/
    WIN1250_three,		/*	ISO2_three	51	*/
    WIN1250_four,		/*	ISO2_four	52	*/
    WIN1250_five,		/*	ISO2_five	53	*/
    WIN1250_six,		/*	ISO2_six	54	*/
    WIN1250_seven,		/*	ISO2_seven	55	*/
    WIN1250_eight,		/*	ISO2_eight	56	*/
    WIN1250_nine,		/*	ISO2_nine	57	*/
    WIN1250_colon,		/*	ISO2_colon	58	*/
    WIN1250_semicolon,		/*	ISO2_semicolon	59	*/
    WIN1250_less,		/*	ISO2_less	60	*/
    WIN1250_equal,		/*	ISO2_equal	61	*/
    WIN1250_greater,		/*	ISO2_greater	62	*/
    WIN1250_question,		/*	ISO2_question	63	*/

    WIN1250_at,			/*	ISO2_at		64	*/
    WIN1250_A,			/*	ISO2_A		65	*/
    WIN1250_B,			/*	ISO2_B		66	*/
    WIN1250_C,			/*	ISO2_C		67	*/
    WIN1250_D,			/*	ISO2_D		68	*/
    WIN1250_E,			/*	ISO2_E		69	*/
    WIN1250_F,			/*	ISO2_F		70	*/
    WIN1250_G,			/*	ISO2_G		71	*/
    WIN1250_H,			/*	ISO2_H		72	*/
    WIN1250_I,			/*	ISO2_I		73	*/
    WIN1250_J,			/*	ISO2_J		74	*/
    WIN1250_K,			/*	ISO2_K		75	*/
    WIN1250_L,			/*	ISO2_L		76	*/
    WIN1250_M,			/*	ISO2_M		77	*/
    WIN1250_N,			/*	ISO2_N		78	*/
    WIN1250_O,			/*	ISO2_O		79	*/
    WIN1250_P,			/*	ISO2_P		80	*/
    WIN1250_Q,			/*	ISO2_Q		81	*/
    WIN1250_R,			/*	ISO2_R		82	*/
    WIN1250_S,			/*	ISO2_S		83	*/
    WIN1250_T,			/*	ISO2_T		84	*/
    WIN1250_U,			/*	ISO2_U		85	*/
    WIN1250_V,			/*	ISO2_V		86	*/
    WIN1250_W,			/*	ISO2_W		87	*/
    WIN1250_X,			/*	ISO2_X		88	*/
    WIN1250_Y,			/*	ISO2_Y		89	*/
    WIN1250_Z,			/*	ISO2_Z		90	*/
    WIN1250_bracketleft,	/*	ISO2_bracketleft 91	*/
    WIN1250_backslash,		/*	ISO2_backslash	92	*/
    WIN1250_bracketright,	/*	ISO2_bracketright 93	*/
    WIN1250_circumflex,		/*	ISO2_circumflex	94	*/
    WIN1250_underscore,		/*	ISO2_underscore	95	*/

    WIN1250_quoteleft,		/*	ISO2_quoteleft	96	*/
    WIN1250_a,			/*	ISO2_a		97	*/
    WIN1250_b,			/*	ISO2_b		98	*/
    WIN1250_c,			/*	ISO2_c		99	*/
    WIN1250_d,			/*	ISO2_d		100	*/
    WIN1250_e,			/*	ISO2_e		101	*/
    WIN1250_f,			/*	ISO2_f		102	*/
    WIN1250_g,			/*	ISO2_g		103	*/
    WIN1250_h,			/*	ISO2_h		104	*/
    WIN1250_i,			/*	ISO2_i		105	*/
    WIN1250_j,			/*	ISO2_j		106	*/
    WIN1250_k,			/*	ISO2_k		107	*/
    WIN1250_l,			/*	ISO2_l		108	*/
    WIN1250_m,			/*	ISO2_m		109	*/
    WIN1250_n,			/*	ISO2_n		110	*/
    WIN1250_o,			/*	ISO2_o		111	*/
    WIN1250_p,			/*	ISO2_p		112	*/
    WIN1250_q,			/*	ISO2_q		113	*/
    WIN1250_r,			/*	ISO2_r		114	*/
    WIN1250_s,			/*	ISO2_s		115	*/
    WIN1250_t,			/*	ISO2_t		116	*/
    WIN1250_u,			/*	ISO2_u		117	*/
    WIN1250_v,			/*	ISO2_v		118	*/
    WIN1250_w,			/*	ISO2_w		119	*/
    WIN1250_x,			/*	ISO2_x		120	*/
    WIN1250_y,			/*	ISO2_y		121	*/
    WIN1250_z,			/*	ISO2_z		122	*/
    WIN1250_braceleft,		/*	ISO2_braceleft	123	*/
    WIN1250_bar,		/*	ISO2_bar	124	*/
    WIN1250_braceright,		/*	ISO2_braceright	125	*/
    WIN1250_tilde,		/*	ISO2_tilde	126	*/
    WIN1250__del,		/*	ISO2__del	127	*/

    WIN1250_currency,		/*	.NOTDEF_128	128	*//**/
    WIN1250_currency,		/*	.NOTDEF_129	129	*//**/
    WIN1250_currency,		/*	.NOTDEF_130	130	*//**/
    WIN1250_currency,		/*	.NOTDEF_131	131	*//**/
    WIN1250_currency,		/*	.NOTDEF_132	132	*//**/
    WIN1250_currency,		/*	.NOTDEF_133	133	*//**/
    WIN1250_currency,		/*	.NOTDEF_134	134	*//**/
    WIN1250_currency,		/*	.NOTDEF_135	135	*//**/

    WIN1250_currency,		/*	.NOTDEF_136	136	*//**/
    WIN1250_currency,		/*	.NOTDEF_137	137	*//**/
    WIN1250_currency,		/*	.NOTDEF_138	138	*//**/
    WIN1250_currency,		/*	.NOTDEF_139	139	*//**/
    WIN1250_currency,		/*	.NOTDEF_140	140	*//**/
    WIN1250_currency,		/*	.NOTDEF_141	141	*//**/
    WIN1250_currency,		/*	.NOTDEF_142	142	*//**/
    WIN1250_currency,		/*	.NOTDEF_143	143	*//**/

    WIN1250_currency,		/*	ISO2_dotlessi	144	*//**/
    WIN1250_currency,		/*	ISO2_grave	145	*//**/
    WIN1250_acute,		/*	ISO2__acute_146	146	*/
    WIN1250_circumflex,		/*	ISO2__circumflex 147	*/
    WIN1250_tilde,		/*	ISO2__tilde_148	148	*/
    WIN1250_currency,		/*	ISO2__macron	149	*//**/
    WIN1250_breve,		/*	ISO2__breve_150	150	*/
    WIN1250_dotaccent,		/*	ISO2__dotaccent	151	*/

    WIN1250_dieresis,		/*	ISO2__dieresis	152	*/
    WIN1250_currency,		/*	._NOTDEF_153	153	*/
    WIN1250_degree,		/*	ISO2_ring	154	*//**/
    WIN1250_cedilla,		/*	ISO2__cedilla	155	*/
    WIN1250_currency,		/*	._NOTDEF_156	156	*/
    WIN1250_hungarumlaut,	/*	ISO2__hungarumlaut 157	*/
    WIN1250_ogonek,		/*	ISO2__ogonek	158	*/
    WIN1250_caron,		/*	ISO2__caron_159	159	*/

    WIN1250_space,		/*	ISO2_nobreakspace 160	*//**/
    WIN1250_Aogonek,		/*	ISO2_Aogonek	161	*/
    WIN1250_breve,		/*	ISO2_breve	162	*/
    WIN1250_Lslash,		/*	ISO2_Lslash	163	*/
    WIN1250_currency,		/*	ISO2_currency	164	*/
    WIN1250_Lcaron,		/*	ISO2_Lcaron	165	*/
    WIN1250_Sacute,		/*	ISO2_Sacute	166	*/
    WIN1250_section,		/*	ISO2_section	167	*/

    WIN1250_dieresis,		/*	ISO2_dieresis	168	*/
    WIN1250_Scaron,		/*	ISO2_Scaron	169	*/
    WIN1250_Scedilla,		/*	ISO2_Scedilla	170	*/
    WIN1250_Tcaron,		/*	ISO2_Tcaron	171	*/
    WIN1250_Zacute,		/*	ISO2_Zacute	172	*/
    WIN1250_hyphen,		/*	ISO2_hyphen	173	*/
    WIN1250_Zcaron,		/*	ISO2_Zcaron	174	*/
    WIN1250_Zdotaccent,		/*	ISO2_Zdotaccent	175	*/

    WIN1250_degree,		/*	ISO2_degree	176	*/
    WIN1250_aogonek,		/*	ISO2_aogonek	177	*/
    WIN1250_ogonek,		/*	ISO2_ogonek	178	*/
    WIN1250_lslash,		/*	ISO2_lslash	179	*/
    WIN1250_acute,		/*	ISO2_acute	180	*/
    WIN1250_lcaron,		/*	ISO2_lcaron	181	*/
    WIN1250_sacute,		/*	ISO2_sacute	182	*/
    WIN1250_caron,		/*	ISO2_caron	183	*/

    WIN1250_cedilla,		/*	ISO2_cedilla	184	*/
    WIN1250_scaron,		/*	ISO2_scaron	185	*/
    WIN1250_scedilla,		/*	ISO2_scedilla	186	*/
    WIN1250_tcaron,		/*	ISO2_tcaron	187	*/
    WIN1250_zacute,		/*	ISO2_zacute	188	*/
    WIN1250_hungarumlaut,	/*	ISO2_hungarumlaut	189	*/
    WIN1250_zcaron,		/*	ISO2_zcaron	190	*/
    WIN1250_zdotaccent,		/*	ISO2_zdotaccent	191	*/

    WIN1250_Racute,		/*	ISO2_Racute	192	*/
    WIN1250_Aacute,		/*	ISO2_Aacute	193	*/
    WIN1250_Acircumflex,	/*	ISO2_Acircumflex	194	*/
    WIN1250_Abreve,		/*	ISO2_Abreve	195	*/
    WIN1250_Adieresis,		/*	ISO2_Adieresis	196	*/
    WIN1250_Lacute,		/*	ISO2_Lacute	197	*/
    WIN1250_Cacute,		/*	ISO2_Cacute	198	*/
    WIN1250_Ccedilla,		/*	ISO2_Ccedilla	199	*/

    WIN1250_Ccaron,		/*	ISO2_Ccaron	200	*/
    WIN1250_Eacute,		/*	ISO2_Eacute	201	*/
    WIN1250_Eogonek,		/*	ISO2_Eogonek	202	*/
    WIN1250_Edieresis,		/*	ISO2_Edieresis	203	*/
    WIN1250_Ecaron,		/*	ISO2_Ecaron	204	*/
    WIN1250_Iacute,		/*	ISO2_Iacute	205	*/
    WIN1250_Icircumflex,	/*	ISO2_Icircumflex	206	*/
    WIN1250_Dcaron,		/*	ISO2_Dcaron	207	*/

    WIN1250_Dcroat,		/*	ISO2_Dcroat	208	*/
    WIN1250_Nacute,		/*	ISO2_Nacute	209	*/
    WIN1250_Ncaron,		/*	ISO2_Ncaron	210	*/
    WIN1250_Oacute,		/*	ISO2_Oacute	211	*/
    WIN1250_Ocircumflex,	/*	ISO2_Ocircumflex	212	*/
    WIN1250_Ohungarumlaut,	/*	ISO2_Ohungarumlaut	213	*/
    WIN1250_Odieresis,		/*	ISO2_Odieresis	214	*/
    WIN1250_multiply,		/*	ISO2_multiply	215	*/

    WIN1250_Rcaron,		/*	ISO2_Rcaron	216	*/
    WIN1250_Uring,		/*	ISO2_Uring	217	*/
    WIN1250_Uacute,		/*	ISO2_Uacute	218	*/
    WIN1250_Uhungarumlaut,	/*	ISO2_Uhungarumlaut	219	*/
    WIN1250_Udieresis,		/*	ISO2_Udieresis	220	*/
    WIN1250_Yacute,		/*	ISO2_Yacute	221	*/
    WIN1250_Tcedilla,		/*	ISO2_Tcedilla	222	*/
    WIN1250_germandbls,		/*	ISO2_germandbls	223	*/

    WIN1250_racute,		/*	ISO2_racute	224	*/
    WIN1250_aacute,		/*	ISO2_aacute	225	*/
    WIN1250_acircumflex,	/*	ISO2_acircumflex	226	*/
    WIN1250_abreve,		/*	ISO2_abreve	227	*/
    WIN1250_adieresis,		/*	ISO2_adieresis	228	*/
    WIN1250_lacute,		/*	ISO2_lacute	229	*/
    WIN1250_cacute,		/*	ISO2_cacute	230	*/
    WIN1250_ccedilla,		/*	ISO2_ccedilla	231	*/

    WIN1250_ccaron,		/*	ISO2_ccaron	232	*/
    WIN1250_eacute,		/*	ISO2_eacute	233	*/
    WIN1250_eogonek,		/*	ISO2_eogonek	234	*/
    WIN1250_edieresis,		/*	ISO2_edieresis	235	*/
    WIN1250_ecaron,		/*	ISO2_ecaron	236	*/
    WIN1250_iacute,		/*	ISO2_iacute	237	*/
    WIN1250_icircumflex,	/*	ISO2_icircumflex	238	*/
    WIN1250_dcaron,		/*	ISO2_dcaron	239	*/

    WIN1250_dcroat,		/*	ISO2_dcroat	240	*/
    WIN1250_nacute,		/*	ISO2_nacute	241	*/
    WIN1250_ncaron,		/*	ISO2_ncaron	242	*/
    WIN1250_oacute,		/*	ISO2_oacute	243	*/
    WIN1250_ocircumflex,	/*	ISO2_ocircumflex	244	*/
    WIN1250_ohungarumlaut,	/*	ISO2_ohungarumlaut	245	*/
    WIN1250_odieresis,		/*	ISO2_odieresis	246	*/
    WIN1250_divide,		/*	ISO2_divide	247	*/

    WIN1250_rcaron,		/*	ISO2_rcaron	248	*/
    WIN1250_uring,		/*	ISO2_uring	249	*/
    WIN1250_uacute,		/*	ISO2_uacute	250	*/
    WIN1250_uhungarumlaut,	/*	ISO2_uhungarumlaut	251	*/
    WIN1250_udieresis,		/*	ISO2_udieresis	252	*/
    WIN1250_yacute,		/*	ISO2_yacute	253	*/
    WIN1250_tcedilla,		/*	ISO2_tcedilla	254	*/
    WIN1250_dotaccent,		/*	ISO2_dotaccent	255	*/
    };