]> git.wh0rd.org - ICEs.git/blob - 150951/gccSEGV.cpp
initial import
[ICEs.git] / 150951 / gccSEGV.cpp
1 // /usr/libexec/gcc/i686-pc-linux-gnu/4.1.1/cc1plus -quiet -D_GNU_SOURCE jasmin.cpp -quiet -dumpbase jasmin.cpp -mtune=pentiumpro -auxbase-strip jasmin.o -g -g -o - -frandom-seed=0
2 # 1 "jasmin.cpp"
3 # 1 "/home/viktor/skola/kompilator/main/src/be-jvm//"
4 # 1 "<inbyggd>"
5 # 1 "<kommandorad>"
6 # 1 "jasmin.cpp"
7 # 1 "jasmin.h" 1
8 # 18 "jasmin.h"
9 # 1 "jvmdefs.h" 1
10 # 18 "jvmdefs.h"
11 # 1 "../defs.h" 1
12 # 19 "jvmdefs.h" 2
13 # 19 "jasmin.h" 2
14 # 1 "../ast/identifier.h" 1
15 # 18 "../ast/identifier.h"
16 # 1 "../ast/adefs.h" 1
17 # 18 "../ast/adefs.h"
18 # 1 "../ast/../defs.h" 1
19 # 19 "../ast/adefs.h" 2
20 # 1 "../ast/../error.h" 1
21 # 18 "../ast/../error.h"
22 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string" 1 3
23 # 42 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string" 3
24
25 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string" 3
26 #pragma GCC visibility push(default)
27
28 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h" 1 3
29 # 35 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h" 3
30 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h" 1 3
31 # 39 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h" 3
32 # 1 "/usr/include/features.h" 1 3 4
33 # 323 "/usr/include/features.h" 3 4
34 # 1 "/usr/include/sys/cdefs.h" 1 3 4
35 # 313 "/usr/include/sys/cdefs.h" 3 4
36 # 1 "/usr/include/bits/wordsize.h" 1 3 4
37 # 314 "/usr/include/sys/cdefs.h" 2 3 4
38 # 324 "/usr/include/features.h" 2 3 4
39 # 346 "/usr/include/features.h" 3 4
40 # 1 "/usr/include/gnu/stubs.h" 1 3 4
41
42
43
44 # 1 "/usr/include/bits/wordsize.h" 1 3 4
45 # 5 "/usr/include/gnu/stubs.h" 2 3 4
46
47
48 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
49 # 8 "/usr/include/gnu/stubs.h" 2 3 4
50 # 347 "/usr/include/features.h" 2 3 4
51 # 40 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/os_defines.h" 2 3
52 # 36 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h" 2 3
53
54
55 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/cpu_defines.h" 1 3
56 # 39 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h" 2 3
57
58
59
60
61 namespace __gnu_debug_def { }
62
63 namespace __gnu_debug
64 {
65 using namespace __gnu_debug_def;
66 }
67 # 46 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string" 2 3
68 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stringfwd.h" 1 3
69 # 42 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stringfwd.h" 3
70
71 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stringfwd.h" 3
72
73
74
75 namespace std
76 {
77 template<typename _Alloc>
78 class allocator;
79
80 template<class _CharT>
81 struct char_traits;
82
83 template<typename _CharT, typename _Traits = char_traits<_CharT>,
84 typename _Alloc = allocator<_CharT> >
85 class basic_string;
86
87 template<> struct char_traits<char>;
88
89 typedef basic_string<char> string;
90
91
92 template<> struct char_traits<wchar_t>;
93
94 typedef basic_string<wchar_t> wstring;
95
96 }
97 # 47 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string" 2 3
98 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/char_traits.h" 1 3
99 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/char_traits.h" 3
100
101 # 44 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/char_traits.h" 3
102
103 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 1 3
104 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 3
105
106 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 3
107 #pragma GCC visibility push(default)
108
109 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstddef" 1 3
110 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstddef" 3
111
112 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstddef" 3
113 #pragma GCC visibility push(default)
114
115 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
116 # 152 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
117 typedef int ptrdiff_t;
118 # 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
119 typedef unsigned int size_t;
120 # 52 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstddef" 2 3
121
122 namespace std
123 {
124 using ::ptrdiff_t;
125 using ::size_t;
126 }
127
128 #pragma GCC visibility pop
129 # 52 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 2 3
130
131 # 1 "/usr/include/string.h" 1 3 4
132 # 28 "/usr/include/string.h" 3 4
133 extern "C" {
134
135
136
137
138 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
139 # 34 "/usr/include/string.h" 2 3 4
140
141
142
143
144 extern void *memcpy (void *__restrict __dest,
145 __const void *__restrict __src, size_t __n)
146 throw () __attribute__ ((__nonnull__ (1, 2)));
147
148
149 extern void *memmove (void *__dest, __const void *__src, size_t __n)
150 throw () __attribute__ ((__nonnull__ (1, 2)));
151
152
153
154
155
156
157 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
158 int __c, size_t __n)
159 throw () __attribute__ ((__nonnull__ (1, 2)));
160
161
162
163
164
165 extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
166
167
168 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
169 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
170
171
172 extern void *memchr (__const void *__s, int __c, size_t __n)
173 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
174
175
176
177
178
179 extern void *rawmemchr (__const void *__s, int __c)
180 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
181
182
183 extern void *memrchr (__const void *__s, int __c, size_t __n)
184 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
185
186
187
188
189
190 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
191 throw () __attribute__ ((__nonnull__ (1, 2)));
192
193 extern char *strncpy (char *__restrict __dest,
194 __const char *__restrict __src, size_t __n)
195 throw () __attribute__ ((__nonnull__ (1, 2)));
196
197
198 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
199 throw () __attribute__ ((__nonnull__ (1, 2)));
200
201 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
202 size_t __n) throw () __attribute__ ((__nonnull__ (1, 2)));
203
204
205 extern int strcmp (__const char *__s1, __const char *__s2)
206 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
207
208 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
209 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
210
211
212 extern int strcoll (__const char *__s1, __const char *__s2)
213 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
214
215 extern size_t strxfrm (char *__restrict __dest,
216 __const char *__restrict __src, size_t __n)
217 throw () __attribute__ ((__nonnull__ (2)));
218
219
220
221
222
223
224 # 1 "/usr/include/xlocale.h" 1 3 4
225 # 28 "/usr/include/xlocale.h" 3 4
226 typedef struct __locale_struct
227 {
228
229 struct locale_data *__locales[13];
230
231
232 const unsigned short int *__ctype_b;
233 const int *__ctype_tolower;
234 const int *__ctype_toupper;
235
236
237 const char *__names[13];
238 } *__locale_t;
239 # 119 "/usr/include/string.h" 2 3 4
240
241
242 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
243 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
244
245 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
246 __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4)));
247
248
249
250
251 extern char *strdup (__const char *__s)
252 throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
253
254
255
256
257
258
259 extern char *strndup (__const char *__string, size_t __n)
260 throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
261 # 165 "/usr/include/string.h" 3 4
262
263
264 extern char *strchr (__const char *__s, int __c)
265 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
266
267 extern char *strrchr (__const char *__s, int __c)
268 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
269
270
271
272
273
274 extern char *strchrnul (__const char *__s, int __c)
275 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
276
277
278
279
280
281 extern size_t strcspn (__const char *__s, __const char *__reject)
282 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
283
284
285 extern size_t strspn (__const char *__s, __const char *__accept)
286 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
287
288 extern char *strpbrk (__const char *__s, __const char *__accept)
289 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
290
291 extern char *strstr (__const char *__haystack, __const char *__needle)
292 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
293
294
295
296 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
297 throw () __attribute__ ((__nonnull__ (2)));
298
299
300
301
302 extern char *__strtok_r (char *__restrict __s,
303 __const char *__restrict __delim,
304 char **__restrict __save_ptr)
305 throw () __attribute__ ((__nonnull__ (2, 3)));
306
307 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
308 char **__restrict __save_ptr)
309 throw () __attribute__ ((__nonnull__ (2, 3)));
310
311
312
313
314 extern char *strcasestr (__const char *__haystack, __const char *__needle)
315 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
316
317
318
319
320
321
322 extern void *memmem (__const void *__haystack, size_t __haystacklen,
323 __const void *__needle, size_t __needlelen)
324 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
325
326
327
328 extern void *__mempcpy (void *__restrict __dest,
329 __const void *__restrict __src, size_t __n)
330 throw () __attribute__ ((__nonnull__ (1, 2)));
331 extern void *mempcpy (void *__restrict __dest,
332 __const void *__restrict __src, size_t __n)
333 throw () __attribute__ ((__nonnull__ (1, 2)));
334
335
336
337
338
339 extern size_t strlen (__const char *__s)
340 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
341
342
343
344
345
346 extern size_t strnlen (__const char *__string, size_t __maxlen)
347 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
348
349
350
351
352
353 extern char *strerror (int __errnum) throw ();
354
355 # 281 "/usr/include/string.h" 3 4
356 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
357 throw () __attribute__ ((__nonnull__ (2)));
358
359
360
361
362
363 extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
364
365
366
367 extern void bcopy (__const void *__src, void *__dest, size_t __n)
368 throw () __attribute__ ((__nonnull__ (1, 2)));
369
370
371 extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
372
373
374 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
375 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
376
377
378 extern char *index (__const char *__s, int __c)
379 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
380
381
382 extern char *rindex (__const char *__s, int __c)
383 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
384
385
386
387 extern int ffs (int __i) throw () __attribute__ ((__const__));
388
389
390
391
392 extern int ffsl (long int __l) throw () __attribute__ ((__const__));
393
394 __extension__ extern int ffsll (long long int __ll)
395 throw () __attribute__ ((__const__));
396
397
398
399
400 extern int strcasecmp (__const char *__s1, __const char *__s2)
401 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
402
403
404 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
405 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
406
407
408
409
410
411 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
412 __locale_t __loc)
413 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
414
415 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
416 size_t __n, __locale_t __loc)
417 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
418
419
420
421
422
423 extern char *strsep (char **__restrict __stringp,
424 __const char *__restrict __delim)
425 throw () __attribute__ ((__nonnull__ (1, 2)));
426
427
428
429
430 extern int strverscmp (__const char *__s1, __const char *__s2)
431 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
432
433
434 extern char *strsignal (int __sig) throw ();
435
436
437 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
438 throw () __attribute__ ((__nonnull__ (1, 2)));
439 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
440 throw () __attribute__ ((__nonnull__ (1, 2)));
441
442
443
444 extern char *__stpncpy (char *__restrict __dest,
445 __const char *__restrict __src, size_t __n)
446 throw () __attribute__ ((__nonnull__ (1, 2)));
447 extern char *stpncpy (char *__restrict __dest,
448 __const char *__restrict __src, size_t __n)
449 throw () __attribute__ ((__nonnull__ (1, 2)));
450
451
452 extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1)));
453
454
455 extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
456
457
458
459
460
461
462 extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1)));
463 # 426 "/usr/include/string.h" 3 4
464 }
465 # 54 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 2 3
466 # 79 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstring" 3
467 namespace std
468 {
469 using ::memcpy;
470 using ::memmove;
471 using ::strcpy;
472 using ::strncpy;
473 using ::strcat;
474 using ::strncat;
475 using ::memcmp;
476 using ::strcmp;
477 using ::strcoll;
478 using ::strncmp;
479 using ::strxfrm;
480 using ::strcspn;
481 using ::strspn;
482 using ::strtok;
483 using ::memset;
484 using ::strerror;
485 using ::strlen;
486
487 using ::memchr;
488
489 inline void*
490 memchr(void* __p, int __c, size_t __n)
491 { return memchr(const_cast<const void*>(__p), __c, __n); }
492
493 using ::strchr;
494
495 inline char*
496 strchr(char* __s1, int __n)
497 { return __builtin_strchr(const_cast<const char*>(__s1), __n); }
498
499 using ::strpbrk;
500
501 inline char*
502 strpbrk(char* __s1, const char* __s2)
503 { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); }
504
505 using ::strrchr;
506
507 inline char*
508 strrchr(char* __s1, int __n)
509 { return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
510
511 using ::strstr;
512
513 inline char*
514 strstr(char* __s1, const char* __s2)
515 { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
516 }
517
518 #pragma GCC visibility pop
519 # 46 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/char_traits.h" 2 3
520 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h" 1 3
521 # 66 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h" 3
522 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/climits" 1 3
523 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/climits" 3
524
525 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/climits" 3
526 #pragma GCC visibility push(default)
527
528 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4
529 # 11 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 3 4
530 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h" 1 3 4
531
532
533
534
535
536
537 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 1 3 4
538 # 122 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 3 4
539 # 1 "/usr/include/limits.h" 1 3 4
540 # 145 "/usr/include/limits.h" 3 4
541 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
542 # 153 "/usr/include/bits/posix1_lim.h" 3 4
543 # 1 "/usr/include/bits/local_lim.h" 1 3 4
544 # 36 "/usr/include/bits/local_lim.h" 3 4
545 # 1 "/usr/include/linux/limits.h" 1 3 4
546 # 37 "/usr/include/bits/local_lim.h" 2 3 4
547 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
548 # 146 "/usr/include/limits.h" 2 3 4
549
550
551
552 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
553 # 150 "/usr/include/limits.h" 2 3 4
554
555
556
557 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
558 # 34 "/usr/include/bits/xopen_lim.h" 3 4
559 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
560 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
561 # 154 "/usr/include/limits.h" 2 3 4
562 # 123 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 2 3 4
563 # 8 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/syslimits.h" 2 3 4
564 # 12 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/limits.h" 2 3 4
565 # 52 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/climits" 2 3
566
567 #pragma GCC visibility pop
568 # 67 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h" 2 3
569 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 1 3
570 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
571
572 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
573 #pragma GCC visibility push(default)
574 # 72 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
575 # 1 "/usr/include/stdlib.h" 1 3 4
576 # 33 "/usr/include/stdlib.h" 3 4
577 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
578 # 34 "/usr/include/stdlib.h" 2 3 4
579
580 extern "C" {
581
582
583
584
585
586
587 # 1 "/usr/include/bits/waitflags.h" 1 3 4
588 # 43 "/usr/include/stdlib.h" 2 3 4
589 # 1 "/usr/include/bits/waitstatus.h" 1 3 4
590 # 65 "/usr/include/bits/waitstatus.h" 3 4
591 # 1 "/usr/include/endian.h" 1 3 4
592 # 37 "/usr/include/endian.h" 3 4
593 # 1 "/usr/include/bits/endian.h" 1 3 4
594 # 38 "/usr/include/endian.h" 2 3 4
595 # 66 "/usr/include/bits/waitstatus.h" 2 3 4
596
597 union wait
598 {
599 int w_status;
600 struct
601 {
602
603 unsigned int __w_termsig:7;
604 unsigned int __w_coredump:1;
605 unsigned int __w_retcode:8;
606 unsigned int:16;
607
608
609
610
611
612
613
614 } __wait_terminated;
615 struct
616 {
617
618 unsigned int __w_stopval:8;
619 unsigned int __w_stopsig:8;
620 unsigned int:16;
621
622
623
624
625
626
627 } __wait_stopped;
628 };
629 # 44 "/usr/include/stdlib.h" 2 3 4
630 # 96 "/usr/include/stdlib.h" 3 4
631
632
633 typedef struct
634 {
635 int quot;
636 int rem;
637 } div_t;
638
639
640
641 typedef struct
642 {
643 long int quot;
644 long int rem;
645 } ldiv_t;
646
647
648
649
650
651
652
653 __extension__ typedef struct
654 {
655 long long int quot;
656 long long int rem;
657 } lldiv_t;
658
659
660 # 140 "/usr/include/stdlib.h" 3 4
661 extern size_t __ctype_get_mb_cur_max (void) throw () ;
662
663
664
665
666 extern double atof (__const char *__nptr)
667 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
668
669 extern int atoi (__const char *__nptr)
670 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
671
672 extern long int atol (__const char *__nptr)
673 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
674
675
676
677
678
679 __extension__ extern long long int atoll (__const char *__nptr)
680 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
681
682
683
684
685
686 extern double strtod (__const char *__restrict __nptr,
687 char **__restrict __endptr)
688 throw () __attribute__ ((__nonnull__ (1))) ;
689
690
691
692
693
694 extern float strtof (__const char *__restrict __nptr,
695 char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ;
696
697 extern long double strtold (__const char *__restrict __nptr,
698 char **__restrict __endptr)
699 throw () __attribute__ ((__nonnull__ (1))) ;
700
701
702
703
704
705 extern long int strtol (__const char *__restrict __nptr,
706 char **__restrict __endptr, int __base)
707 throw () __attribute__ ((__nonnull__ (1))) ;
708
709 extern unsigned long int strtoul (__const char *__restrict __nptr,
710 char **__restrict __endptr, int __base)
711 throw () __attribute__ ((__nonnull__ (1))) ;
712
713
714
715
716 __extension__
717 extern long long int strtoq (__const char *__restrict __nptr,
718 char **__restrict __endptr, int __base)
719 throw () __attribute__ ((__nonnull__ (1))) ;
720
721 __extension__
722 extern unsigned long long int strtouq (__const char *__restrict __nptr,
723 char **__restrict __endptr, int __base)
724 throw () __attribute__ ((__nonnull__ (1))) ;
725
726
727
728
729
730 __extension__
731 extern long long int strtoll (__const char *__restrict __nptr,
732 char **__restrict __endptr, int __base)
733 throw () __attribute__ ((__nonnull__ (1))) ;
734
735 __extension__
736 extern unsigned long long int strtoull (__const char *__restrict __nptr,
737 char **__restrict __endptr, int __base)
738 throw () __attribute__ ((__nonnull__ (1))) ;
739
740 # 240 "/usr/include/stdlib.h" 3 4
741 extern long int strtol_l (__const char *__restrict __nptr,
742 char **__restrict __endptr, int __base,
743 __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ;
744
745 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
746 char **__restrict __endptr,
747 int __base, __locale_t __loc)
748 throw () __attribute__ ((__nonnull__ (1, 4))) ;
749
750 __extension__
751 extern long long int strtoll_l (__const char *__restrict __nptr,
752 char **__restrict __endptr, int __base,
753 __locale_t __loc)
754 throw () __attribute__ ((__nonnull__ (1, 4))) ;
755
756 __extension__
757 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
758 char **__restrict __endptr,
759 int __base, __locale_t __loc)
760 throw () __attribute__ ((__nonnull__ (1, 4))) ;
761
762 extern double strtod_l (__const char *__restrict __nptr,
763 char **__restrict __endptr, __locale_t __loc)
764 throw () __attribute__ ((__nonnull__ (1, 3))) ;
765
766 extern float strtof_l (__const char *__restrict __nptr,
767 char **__restrict __endptr, __locale_t __loc)
768 throw () __attribute__ ((__nonnull__ (1, 3))) ;
769
770 extern long double strtold_l (__const char *__restrict __nptr,
771 char **__restrict __endptr,
772 __locale_t __loc)
773 throw () __attribute__ ((__nonnull__ (1, 3))) ;
774
775
776
777
778
779
780 extern double __strtod_internal (__const char *__restrict __nptr,
781 char **__restrict __endptr, int __group)
782 throw () __attribute__ ((__nonnull__ (1))) ;
783 extern float __strtof_internal (__const char *__restrict __nptr,
784 char **__restrict __endptr, int __group)
785 throw () __attribute__ ((__nonnull__ (1))) ;
786 extern long double __strtold_internal (__const char *__restrict __nptr,
787 char **__restrict __endptr,
788 int __group)
789 throw () __attribute__ ((__nonnull__ (1))) ;
790
791 extern long int __strtol_internal (__const char *__restrict __nptr,
792 char **__restrict __endptr,
793 int __base, int __group)
794 throw () __attribute__ ((__nonnull__ (1))) ;
795
796
797
798 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
799 char **__restrict __endptr,
800 int __base, int __group)
801 throw () __attribute__ ((__nonnull__ (1))) ;
802
803
804
805
806 __extension__
807 extern long long int __strtoll_internal (__const char *__restrict __nptr,
808 char **__restrict __endptr,
809 int __base, int __group)
810 throw () __attribute__ ((__nonnull__ (1))) ;
811
812
813
814 __extension__
815 extern unsigned long long int __strtoull_internal (__const char *
816 __restrict __nptr,
817 char **__restrict __endptr,
818 int __base, int __group)
819 throw () __attribute__ ((__nonnull__ (1))) ;
820 # 429 "/usr/include/stdlib.h" 3 4
821 extern char *l64a (long int __n) throw () ;
822
823
824 extern long int a64l (__const char *__s)
825 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
826
827
828
829
830 # 1 "/usr/include/sys/types.h" 1 3 4
831 # 29 "/usr/include/sys/types.h" 3 4
832 extern "C" {
833
834 # 1 "/usr/include/bits/types.h" 1 3 4
835 # 28 "/usr/include/bits/types.h" 3 4
836 # 1 "/usr/include/bits/wordsize.h" 1 3 4
837 # 29 "/usr/include/bits/types.h" 2 3 4
838
839
840 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
841 # 32 "/usr/include/bits/types.h" 2 3 4
842
843
844 typedef unsigned char __u_char;
845 typedef unsigned short int __u_short;
846 typedef unsigned int __u_int;
847 typedef unsigned long int __u_long;
848
849
850 typedef signed char __int8_t;
851 typedef unsigned char __uint8_t;
852 typedef signed short int __int16_t;
853 typedef unsigned short int __uint16_t;
854 typedef signed int __int32_t;
855 typedef unsigned int __uint32_t;
856
857
858
859
860 __extension__ typedef signed long long int __int64_t;
861 __extension__ typedef unsigned long long int __uint64_t;
862
863
864
865
866
867
868
869 __extension__ typedef long long int __quad_t;
870 __extension__ typedef unsigned long long int __u_quad_t;
871 # 134 "/usr/include/bits/types.h" 3 4
872 # 1 "/usr/include/bits/typesizes.h" 1 3 4
873 # 135 "/usr/include/bits/types.h" 2 3 4
874
875
876 __extension__ typedef __u_quad_t __dev_t;
877 __extension__ typedef unsigned int __uid_t;
878 __extension__ typedef unsigned int __gid_t;
879 __extension__ typedef unsigned long int __ino_t;
880 __extension__ typedef __u_quad_t __ino64_t;
881 __extension__ typedef unsigned int __mode_t;
882 __extension__ typedef unsigned int __nlink_t;
883 __extension__ typedef long int __off_t;
884 __extension__ typedef __quad_t __off64_t;
885 __extension__ typedef int __pid_t;
886 __extension__ typedef struct { int __val[2]; } __fsid_t;
887 __extension__ typedef long int __clock_t;
888 __extension__ typedef unsigned long int __rlim_t;
889 __extension__ typedef __u_quad_t __rlim64_t;
890 __extension__ typedef unsigned int __id_t;
891 __extension__ typedef long int __time_t;
892 __extension__ typedef unsigned int __useconds_t;
893 __extension__ typedef long int __suseconds_t;
894
895 __extension__ typedef int __daddr_t;
896 __extension__ typedef long int __swblk_t;
897 __extension__ typedef int __key_t;
898
899
900 __extension__ typedef int __clockid_t;
901
902
903 __extension__ typedef void * __timer_t;
904
905
906 __extension__ typedef long int __blksize_t;
907
908
909
910
911 __extension__ typedef long int __blkcnt_t;
912 __extension__ typedef __quad_t __blkcnt64_t;
913
914
915 __extension__ typedef unsigned long int __fsblkcnt_t;
916 __extension__ typedef __u_quad_t __fsblkcnt64_t;
917
918
919 __extension__ typedef unsigned long int __fsfilcnt_t;
920 __extension__ typedef __u_quad_t __fsfilcnt64_t;
921
922 __extension__ typedef int __ssize_t;
923
924
925
926 typedef __off64_t __loff_t;
927 typedef __quad_t *__qaddr_t;
928 typedef char *__caddr_t;
929
930
931 __extension__ typedef int __intptr_t;
932
933
934 __extension__ typedef unsigned int __socklen_t;
935 # 32 "/usr/include/sys/types.h" 2 3 4
936
937
938
939 typedef __u_char u_char;
940 typedef __u_short u_short;
941 typedef __u_int u_int;
942 typedef __u_long u_long;
943 typedef __quad_t quad_t;
944 typedef __u_quad_t u_quad_t;
945 typedef __fsid_t fsid_t;
946
947
948
949
950 typedef __loff_t loff_t;
951
952
953
954 typedef __ino_t ino_t;
955
956
957
958
959
960
961 typedef __ino64_t ino64_t;
962
963
964
965
966 typedef __dev_t dev_t;
967
968
969
970
971 typedef __gid_t gid_t;
972
973
974
975
976 typedef __mode_t mode_t;
977
978
979
980
981 typedef __nlink_t nlink_t;
982
983
984
985
986 typedef __uid_t uid_t;
987
988
989
990
991
992 typedef __off_t off_t;
993
994
995
996
997
998
999 typedef __off64_t off64_t;
1000
1001
1002
1003
1004 typedef __pid_t pid_t;
1005
1006
1007
1008
1009 typedef __id_t id_t;
1010
1011
1012
1013
1014 typedef __ssize_t ssize_t;
1015
1016
1017
1018
1019
1020 typedef __daddr_t daddr_t;
1021 typedef __caddr_t caddr_t;
1022
1023
1024
1025
1026
1027 typedef __key_t key_t;
1028 # 133 "/usr/include/sys/types.h" 3 4
1029 # 1 "/usr/include/time.h" 1 3 4
1030 # 59 "/usr/include/time.h" 3 4
1031
1032
1033 typedef __clock_t clock_t;
1034
1035
1036
1037 # 75 "/usr/include/time.h" 3 4
1038
1039
1040 typedef __time_t time_t;
1041
1042
1043
1044 # 93 "/usr/include/time.h" 3 4
1045 typedef __clockid_t clockid_t;
1046 # 105 "/usr/include/time.h" 3 4
1047 typedef __timer_t timer_t;
1048 # 134 "/usr/include/sys/types.h" 2 3 4
1049
1050
1051
1052 typedef __useconds_t useconds_t;
1053
1054
1055
1056 typedef __suseconds_t suseconds_t;
1057
1058
1059
1060
1061
1062 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1063 # 148 "/usr/include/sys/types.h" 2 3 4
1064
1065
1066
1067 typedef unsigned long int ulong;
1068 typedef unsigned short int ushort;
1069 typedef unsigned int uint;
1070 # 195 "/usr/include/sys/types.h" 3 4
1071 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1072 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1073 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1074 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1075
1076
1077 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1078 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1079 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1080 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1081
1082 typedef int register_t __attribute__ ((__mode__ (__word__)));
1083 # 220 "/usr/include/sys/types.h" 3 4
1084 # 1 "/usr/include/sys/select.h" 1 3 4
1085 # 31 "/usr/include/sys/select.h" 3 4
1086 # 1 "/usr/include/bits/select.h" 1 3 4
1087 # 32 "/usr/include/sys/select.h" 2 3 4
1088
1089
1090 # 1 "/usr/include/bits/sigset.h" 1 3 4
1091 # 23 "/usr/include/bits/sigset.h" 3 4
1092 typedef int __sig_atomic_t;
1093
1094
1095
1096
1097 typedef struct
1098 {
1099 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1100 } __sigset_t;
1101 # 35 "/usr/include/sys/select.h" 2 3 4
1102
1103
1104
1105 typedef __sigset_t sigset_t;
1106
1107
1108
1109
1110
1111 # 1 "/usr/include/time.h" 1 3 4
1112 # 121 "/usr/include/time.h" 3 4
1113 struct timespec
1114 {
1115 __time_t tv_sec;
1116 long int tv_nsec;
1117 };
1118 # 45 "/usr/include/sys/select.h" 2 3 4
1119
1120 # 1 "/usr/include/bits/time.h" 1 3 4
1121 # 69 "/usr/include/bits/time.h" 3 4
1122 struct timeval
1123 {
1124 __time_t tv_sec;
1125 __suseconds_t tv_usec;
1126 };
1127 # 47 "/usr/include/sys/select.h" 2 3 4
1128 # 55 "/usr/include/sys/select.h" 3 4
1129 typedef long int __fd_mask;
1130 # 67 "/usr/include/sys/select.h" 3 4
1131 typedef struct
1132 {
1133
1134
1135
1136 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1137
1138
1139
1140
1141
1142 } fd_set;
1143
1144
1145
1146
1147
1148
1149 typedef __fd_mask fd_mask;
1150 # 99 "/usr/include/sys/select.h" 3 4
1151 extern "C" {
1152 # 109 "/usr/include/sys/select.h" 3 4
1153 extern int select (int __nfds, fd_set *__restrict __readfds,
1154 fd_set *__restrict __writefds,
1155 fd_set *__restrict __exceptfds,
1156 struct timeval *__restrict __timeout);
1157 # 121 "/usr/include/sys/select.h" 3 4
1158 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1159 fd_set *__restrict __writefds,
1160 fd_set *__restrict __exceptfds,
1161 const struct timespec *__restrict __timeout,
1162 const __sigset_t *__restrict __sigmask);
1163
1164
1165 }
1166 # 221 "/usr/include/sys/types.h" 2 3 4
1167
1168
1169 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1170 # 29 "/usr/include/sys/sysmacros.h" 3 4
1171 __extension__
1172 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1173 throw ();
1174 __extension__
1175 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1176 throw ();
1177 __extension__
1178 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1179 unsigned int __minor)
1180 throw ();
1181
1182
1183 __extension__ extern __inline unsigned int
1184 gnu_dev_major (unsigned long long int __dev) throw ()
1185 {
1186 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1187 }
1188
1189 __extension__ extern __inline unsigned int
1190 gnu_dev_minor (unsigned long long int __dev) throw ()
1191 {
1192 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1193 }
1194
1195 __extension__ extern __inline unsigned long long int
1196 gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw ()
1197 {
1198 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1199 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1200 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1201 }
1202 # 224 "/usr/include/sys/types.h" 2 3 4
1203
1204
1205
1206
1207 typedef __blksize_t blksize_t;
1208
1209
1210
1211
1212
1213
1214 typedef __blkcnt_t blkcnt_t;
1215
1216
1217
1218 typedef __fsblkcnt_t fsblkcnt_t;
1219
1220
1221
1222 typedef __fsfilcnt_t fsfilcnt_t;
1223 # 262 "/usr/include/sys/types.h" 3 4
1224 typedef __blkcnt64_t blkcnt64_t;
1225 typedef __fsblkcnt64_t fsblkcnt64_t;
1226 typedef __fsfilcnt64_t fsfilcnt64_t;
1227
1228
1229
1230
1231
1232 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1233 # 36 "/usr/include/bits/pthreadtypes.h" 3 4
1234 typedef unsigned long int pthread_t;
1235
1236
1237 typedef union
1238 {
1239 char __size[36];
1240 long int __align;
1241 } pthread_attr_t;
1242
1243
1244 typedef struct __pthread_internal_slist
1245 {
1246 struct __pthread_internal_slist *__next;
1247 } __pthread_slist_t;
1248
1249
1250
1251
1252 typedef union
1253 {
1254 struct __pthread_mutex_s
1255 {
1256 int __lock;
1257 unsigned int __count;
1258 int __owner;
1259
1260
1261 int __kind;
1262 unsigned int __nusers;
1263 __extension__ union
1264 {
1265 int __spins;
1266 __pthread_slist_t __list;
1267 };
1268 } __data;
1269 char __size[24];
1270 long int __align;
1271 } pthread_mutex_t;
1272
1273 typedef union
1274 {
1275 char __size[4];
1276 long int __align;
1277 } pthread_mutexattr_t;
1278
1279
1280
1281
1282 typedef union
1283 {
1284 struct
1285 {
1286 int __lock;
1287 unsigned int __futex;
1288 __extension__ unsigned long long int __total_seq;
1289 __extension__ unsigned long long int __wakeup_seq;
1290 __extension__ unsigned long long int __woken_seq;
1291 void *__mutex;
1292 unsigned int __nwaiters;
1293 unsigned int __broadcast_seq;
1294 } __data;
1295 char __size[48];
1296 __extension__ long long int __align;
1297 } pthread_cond_t;
1298
1299 typedef union
1300 {
1301 char __size[4];
1302 long int __align;
1303 } pthread_condattr_t;
1304
1305
1306
1307 typedef unsigned int pthread_key_t;
1308
1309
1310
1311 typedef int pthread_once_t;
1312
1313
1314
1315
1316
1317 typedef union
1318 {
1319 struct
1320 {
1321 int __lock;
1322 unsigned int __nr_readers;
1323 unsigned int __readers_wakeup;
1324 unsigned int __writer_wakeup;
1325 unsigned int __nr_readers_queued;
1326 unsigned int __nr_writers_queued;
1327
1328
1329 unsigned int __flags;
1330 int __writer;
1331 } __data;
1332 char __size[32];
1333 long int __align;
1334 } pthread_rwlock_t;
1335
1336 typedef union
1337 {
1338 char __size[8];
1339 long int __align;
1340 } pthread_rwlockattr_t;
1341
1342
1343
1344
1345
1346 typedef volatile int pthread_spinlock_t;
1347
1348
1349
1350
1351 typedef union
1352 {
1353 char __size[20];
1354 long int __align;
1355 } pthread_barrier_t;
1356
1357 typedef union
1358 {
1359 char __size[4];
1360 int __align;
1361 } pthread_barrierattr_t;
1362 # 271 "/usr/include/sys/types.h" 2 3 4
1363
1364
1365 }
1366 # 439 "/usr/include/stdlib.h" 2 3 4
1367
1368
1369
1370
1371
1372
1373 extern long int random (void) throw ();
1374
1375
1376 extern void srandom (unsigned int __seed) throw ();
1377
1378
1379
1380
1381
1382 extern char *initstate (unsigned int __seed, char *__statebuf,
1383 size_t __statelen) throw () __attribute__ ((__nonnull__ (2)));
1384
1385
1386
1387 extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1)));
1388
1389
1390
1391
1392
1393
1394
1395 struct random_data
1396 {
1397 int32_t *fptr;
1398 int32_t *rptr;
1399 int32_t *state;
1400 int rand_type;
1401 int rand_deg;
1402 int rand_sep;
1403 int32_t *end_ptr;
1404 };
1405
1406 extern int random_r (struct random_data *__restrict __buf,
1407 int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1408
1409 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1410 throw () __attribute__ ((__nonnull__ (2)));
1411
1412 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1413 size_t __statelen,
1414 struct random_data *__restrict __buf)
1415 throw () __attribute__ ((__nonnull__ (2, 4)));
1416
1417 extern int setstate_r (char *__restrict __statebuf,
1418 struct random_data *__restrict __buf)
1419 throw () __attribute__ ((__nonnull__ (1, 2)));
1420
1421
1422
1423
1424
1425
1426 extern int rand (void) throw ();
1427
1428 extern void srand (unsigned int __seed) throw ();
1429
1430
1431
1432
1433 extern int rand_r (unsigned int *__seed) throw ();
1434
1435
1436
1437
1438
1439
1440
1441 extern double drand48 (void) throw ();
1442 extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1)));
1443
1444
1445 extern long int lrand48 (void) throw ();
1446 extern long int nrand48 (unsigned short int __xsubi[3])
1447 throw () __attribute__ ((__nonnull__ (1)));
1448
1449
1450 extern long int mrand48 (void) throw ();
1451 extern long int jrand48 (unsigned short int __xsubi[3])
1452 throw () __attribute__ ((__nonnull__ (1)));
1453
1454
1455 extern void srand48 (long int __seedval) throw ();
1456 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1457 throw () __attribute__ ((__nonnull__ (1)));
1458 extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1)));
1459
1460
1461
1462
1463
1464 struct drand48_data
1465 {
1466 unsigned short int __x[3];
1467 unsigned short int __old_x[3];
1468 unsigned short int __c;
1469 unsigned short int __init;
1470 unsigned long long int __a;
1471 };
1472
1473
1474 extern int drand48_r (struct drand48_data *__restrict __buffer,
1475 double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1476 extern int erand48_r (unsigned short int __xsubi[3],
1477 struct drand48_data *__restrict __buffer,
1478 double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1479
1480
1481 extern int lrand48_r (struct drand48_data *__restrict __buffer,
1482 long int *__restrict __result)
1483 throw () __attribute__ ((__nonnull__ (1, 2)));
1484 extern int nrand48_r (unsigned short int __xsubi[3],
1485 struct drand48_data *__restrict __buffer,
1486 long int *__restrict __result)
1487 throw () __attribute__ ((__nonnull__ (1, 2)));
1488
1489
1490 extern int mrand48_r (struct drand48_data *__restrict __buffer,
1491 long int *__restrict __result)
1492 throw () __attribute__ ((__nonnull__ (1, 2)));
1493 extern int jrand48_r (unsigned short int __xsubi[3],
1494 struct drand48_data *__restrict __buffer,
1495 long int *__restrict __result)
1496 throw () __attribute__ ((__nonnull__ (1, 2)));
1497
1498
1499 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
1500 throw () __attribute__ ((__nonnull__ (2)));
1501
1502 extern int seed48_r (unsigned short int __seed16v[3],
1503 struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2)));
1504
1505 extern int lcong48_r (unsigned short int __param[7],
1506 struct drand48_data *__buffer)
1507 throw () __attribute__ ((__nonnull__ (1, 2)));
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517 extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
1518
1519 extern void *calloc (size_t __nmemb, size_t __size)
1520 throw () __attribute__ ((__malloc__)) ;
1521
1522
1523
1524
1525
1526
1527
1528 extern void *realloc (void *__ptr, size_t __size)
1529 throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
1530
1531 extern void free (void *__ptr) throw ();
1532
1533
1534
1535
1536 extern void cfree (void *__ptr) throw ();
1537
1538
1539
1540 # 1 "/usr/include/alloca.h" 1 3 4
1541 # 25 "/usr/include/alloca.h" 3 4
1542 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1543 # 26 "/usr/include/alloca.h" 2 3 4
1544
1545 extern "C" {
1546
1547
1548
1549
1550
1551 extern void *alloca (size_t __size) throw ();
1552
1553
1554
1555
1556
1557 }
1558 # 613 "/usr/include/stdlib.h" 2 3 4
1559
1560
1561
1562
1563 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
1564
1565
1566
1567
1568 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
1569 throw () __attribute__ ((__nonnull__ (1))) ;
1570
1571
1572
1573
1574 extern void abort (void) throw () __attribute__ ((__noreturn__));
1575
1576
1577
1578 extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1)));
1579
1580
1581
1582
1583
1584 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
1585 throw () __attribute__ ((__nonnull__ (1)));
1586
1587
1588
1589
1590
1591
1592 extern void exit (int __status) throw () __attribute__ ((__noreturn__));
1593
1594
1595
1596
1597
1598
1599 extern void _Exit (int __status) throw () __attribute__ ((__noreturn__));
1600
1601
1602
1603
1604
1605
1606 extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ;
1607
1608
1609
1610
1611 extern char *__secure_getenv (__const char *__name)
1612 throw () __attribute__ ((__nonnull__ (1))) ;
1613
1614
1615
1616
1617
1618 extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1)));
1619
1620
1621
1622
1623
1624 extern int setenv (__const char *__name, __const char *__value, int __replace)
1625 throw () __attribute__ ((__nonnull__ (2)));
1626
1627
1628 extern int unsetenv (__const char *__name) throw ();
1629
1630
1631
1632
1633
1634
1635 extern int clearenv (void) throw ();
1636 # 698 "/usr/include/stdlib.h" 3 4
1637 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
1638 # 709 "/usr/include/stdlib.h" 3 4
1639 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
1640 # 719 "/usr/include/stdlib.h" 3 4
1641 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
1642 # 729 "/usr/include/stdlib.h" 3 4
1643 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
1644
1645
1646
1647
1648
1649
1650
1651
1652 extern int system (__const char *__command) ;
1653
1654
1655
1656
1657
1658
1659
1660 extern char *canonicalize_file_name (__const char *__name)
1661 throw () __attribute__ ((__nonnull__ (1))) ;
1662 # 757 "/usr/include/stdlib.h" 3 4
1663 extern char *realpath (__const char *__restrict __name,
1664 char *__restrict __resolved) throw () ;
1665
1666
1667
1668
1669
1670
1671 typedef int (*__compar_fn_t) (__const void *, __const void *);
1672
1673
1674 typedef __compar_fn_t comparison_fn_t;
1675
1676
1677
1678
1679
1680
1681 extern void *bsearch (__const void *__key, __const void *__base,
1682 size_t __nmemb, size_t __size, __compar_fn_t __compar)
1683 __attribute__ ((__nonnull__ (1, 2, 5))) ;
1684
1685
1686
1687 extern void qsort (void *__base, size_t __nmemb, size_t __size,
1688 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
1689
1690
1691
1692 extern int abs (int __x) throw () __attribute__ ((__const__)) ;
1693 extern long int labs (long int __x) throw () __attribute__ ((__const__)) ;
1694
1695
1696
1697 __extension__ extern long long int llabs (long long int __x)
1698 throw () __attribute__ ((__const__)) ;
1699
1700
1701
1702
1703
1704
1705
1706 extern div_t div (int __numer, int __denom)
1707 throw () __attribute__ ((__const__)) ;
1708 extern ldiv_t ldiv (long int __numer, long int __denom)
1709 throw () __attribute__ ((__const__)) ;
1710
1711
1712
1713
1714 __extension__ extern lldiv_t lldiv (long long int __numer,
1715 long long int __denom)
1716 throw () __attribute__ ((__const__)) ;
1717
1718 # 822 "/usr/include/stdlib.h" 3 4
1719 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
1720 int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ;
1721
1722
1723
1724
1725 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
1726 int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ;
1727
1728
1729
1730
1731 extern char *gcvt (double __value, int __ndigit, char *__buf)
1732 throw () __attribute__ ((__nonnull__ (3))) ;
1733
1734
1735
1736
1737 extern char *qecvt (long double __value, int __ndigit,
1738 int *__restrict __decpt, int *__restrict __sign)
1739 throw () __attribute__ ((__nonnull__ (3, 4))) ;
1740 extern char *qfcvt (long double __value, int __ndigit,
1741 int *__restrict __decpt, int *__restrict __sign)
1742 throw () __attribute__ ((__nonnull__ (3, 4))) ;
1743 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
1744 throw () __attribute__ ((__nonnull__ (3))) ;
1745
1746
1747
1748
1749 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
1750 int *__restrict __sign, char *__restrict __buf,
1751 size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5)));
1752 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
1753 int *__restrict __sign, char *__restrict __buf,
1754 size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5)));
1755
1756 extern int qecvt_r (long double __value, int __ndigit,
1757 int *__restrict __decpt, int *__restrict __sign,
1758 char *__restrict __buf, size_t __len)
1759 throw () __attribute__ ((__nonnull__ (3, 4, 5)));
1760 extern int qfcvt_r (long double __value, int __ndigit,
1761 int *__restrict __decpt, int *__restrict __sign,
1762 char *__restrict __buf, size_t __len)
1763 throw () __attribute__ ((__nonnull__ (3, 4, 5)));
1764
1765
1766
1767
1768
1769
1770
1771 extern int mblen (__const char *__s, size_t __n) throw () ;
1772
1773
1774 extern int mbtowc (wchar_t *__restrict __pwc,
1775 __const char *__restrict __s, size_t __n) throw () ;
1776
1777
1778 extern int wctomb (char *__s, wchar_t __wchar) throw () ;
1779
1780
1781
1782 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
1783 __const char *__restrict __s, size_t __n) throw ();
1784
1785 extern size_t wcstombs (char *__restrict __s,
1786 __const wchar_t *__restrict __pwcs, size_t __n)
1787 throw ();
1788
1789
1790
1791
1792
1793
1794
1795
1796 extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ;
1797 # 910 "/usr/include/stdlib.h" 3 4
1798 extern int getsubopt (char **__restrict __optionp,
1799 char *__const *__restrict __tokens,
1800 char **__restrict __valuep)
1801 throw () __attribute__ ((__nonnull__ (1, 2, 3))) ;
1802
1803
1804
1805
1806
1807 extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1)));
1808
1809
1810
1811
1812
1813
1814
1815 extern int posix_openpt (int __oflag) ;
1816
1817
1818
1819
1820
1821
1822
1823 extern int grantpt (int __fd) throw ();
1824
1825
1826
1827 extern int unlockpt (int __fd) throw ();
1828
1829
1830
1831
1832 extern char *ptsname (int __fd) throw () ;
1833
1834
1835
1836
1837
1838
1839 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
1840 throw () __attribute__ ((__nonnull__ (2)));
1841
1842
1843 extern int getpt (void);
1844
1845
1846
1847
1848
1849
1850 extern int getloadavg (double __loadavg[], int __nelem)
1851 throw () __attribute__ ((__nonnull__ (1)));
1852 # 978 "/usr/include/stdlib.h" 3 4
1853 }
1854 # 73 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 2 3
1855 # 104 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
1856 namespace std
1857 {
1858 using ::div_t;
1859 using ::ldiv_t;
1860
1861 using ::abort;
1862 using ::abs;
1863 using ::atexit;
1864 using ::atof;
1865 using ::atoi;
1866 using ::atol;
1867 using ::bsearch;
1868 using ::calloc;
1869 using ::div;
1870 using ::exit;
1871 using ::free;
1872 using ::getenv;
1873 using ::labs;
1874 using ::ldiv;
1875 using ::malloc;
1876
1877 using ::mblen;
1878 using ::mbstowcs;
1879 using ::mbtowc;
1880
1881 using ::qsort;
1882 using ::rand;
1883 using ::realloc;
1884 using ::srand;
1885 using ::strtod;
1886 using ::strtol;
1887 using ::strtoul;
1888 using ::system;
1889
1890 using ::wcstombs;
1891 using ::wctomb;
1892
1893
1894 inline long
1895 abs(long __i) { return labs(__i); }
1896
1897 inline ldiv_t
1898 div(long __i, long __j) { return ldiv(__i, __j); }
1899 }
1900 # 160 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
1901 namespace __gnu_cxx
1902 {
1903
1904 using ::lldiv_t;
1905
1906
1907
1908
1909
1910 using ::_Exit;
1911
1912
1913 inline long long
1914 abs(long long __x) { return __x >= 0 ? __x : -__x; }
1915
1916
1917 using ::llabs;
1918
1919 inline lldiv_t
1920 div(long long __n, long long __d)
1921 { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
1922
1923 using ::lldiv;
1924 # 193 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdlib" 3
1925 using ::atoll;
1926 using ::strtoll;
1927 using ::strtoull;
1928
1929 using ::strtof;
1930 using ::strtold;
1931 }
1932
1933 namespace std
1934 {
1935
1936 using ::__gnu_cxx::lldiv_t;
1937
1938 using ::__gnu_cxx::_Exit;
1939 using ::__gnu_cxx::abs;
1940
1941 using ::__gnu_cxx::llabs;
1942 using ::__gnu_cxx::div;
1943 using ::__gnu_cxx::lldiv;
1944
1945 using ::__gnu_cxx::atoll;
1946 using ::__gnu_cxx::strtof;
1947 using ::__gnu_cxx::strtoll;
1948 using ::__gnu_cxx::strtoull;
1949 using ::__gnu_cxx::strtold;
1950 }
1951
1952
1953
1954
1955
1956 #pragma GCC visibility pop
1957 # 68 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/stl_algobase.h" 2 3
1958
1959 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/iosfwd" 1 3
1960 # 42 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/iosfwd" 3
1961
1962 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/iosfwd" 3
1963 #pragma GCC visibility push(default)
1964
1965
1966 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++locale.h" 1 3
1967 # 39 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++locale.h" 3
1968
1969 # 40 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++locale.h" 3
1970
1971
1972 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 1 3
1973 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 3
1974
1975 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 3
1976 #pragma GCC visibility push(default)
1977
1978
1979
1980
1981 # 1 "/usr/include/stdio.h" 1 3 4
1982 # 30 "/usr/include/stdio.h" 3 4
1983 extern "C" {
1984
1985
1986
1987 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1988 # 35 "/usr/include/stdio.h" 2 3 4
1989 # 44 "/usr/include/stdio.h" 3 4
1990
1991
1992 typedef struct _IO_FILE FILE;
1993
1994
1995
1996
1997
1998 # 62 "/usr/include/stdio.h" 3 4
1999 typedef struct _IO_FILE __FILE;
2000 # 72 "/usr/include/stdio.h" 3 4
2001 # 1 "/usr/include/libio.h" 1 3 4
2002 # 32 "/usr/include/libio.h" 3 4
2003 # 1 "/usr/include/_G_config.h" 1 3 4
2004 # 14 "/usr/include/_G_config.h" 3 4
2005 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2006 # 355 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
2007 typedef unsigned int wint_t;
2008 # 15 "/usr/include/_G_config.h" 2 3 4
2009 # 24 "/usr/include/_G_config.h" 3 4
2010 # 1 "/usr/include/wchar.h" 1 3 4
2011 # 48 "/usr/include/wchar.h" 3 4
2012 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2013 # 49 "/usr/include/wchar.h" 2 3 4
2014
2015 # 1 "/usr/include/bits/wchar.h" 1 3 4
2016 # 51 "/usr/include/wchar.h" 2 3 4
2017 # 76 "/usr/include/wchar.h" 3 4
2018 typedef struct
2019 {
2020 int __count;
2021 union
2022 {
2023 wint_t __wch;
2024 char __wchb[4];
2025 } __value;
2026 } __mbstate_t;
2027 # 25 "/usr/include/_G_config.h" 2 3 4
2028
2029 typedef struct
2030 {
2031 __off_t __pos;
2032 __mbstate_t __state;
2033 } _G_fpos_t;
2034 typedef struct
2035 {
2036 __off64_t __pos;
2037 __mbstate_t __state;
2038 } _G_fpos64_t;
2039 # 44 "/usr/include/_G_config.h" 3 4
2040 # 1 "/usr/include/gconv.h" 1 3 4
2041 # 28 "/usr/include/gconv.h" 3 4
2042 # 1 "/usr/include/wchar.h" 1 3 4
2043 # 48 "/usr/include/wchar.h" 3 4
2044 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2045 # 49 "/usr/include/wchar.h" 2 3 4
2046 # 29 "/usr/include/gconv.h" 2 3 4
2047
2048
2049 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2050 # 32 "/usr/include/gconv.h" 2 3 4
2051
2052
2053
2054
2055
2056 enum
2057 {
2058 __GCONV_OK = 0,
2059 __GCONV_NOCONV,
2060 __GCONV_NODB,
2061 __GCONV_NOMEM,
2062
2063 __GCONV_EMPTY_INPUT,
2064 __GCONV_FULL_OUTPUT,
2065 __GCONV_ILLEGAL_INPUT,
2066 __GCONV_INCOMPLETE_INPUT,
2067
2068 __GCONV_ILLEGAL_DESCRIPTOR,
2069 __GCONV_INTERNAL_ERROR
2070 };
2071
2072
2073
2074 enum
2075 {
2076 __GCONV_IS_LAST = 0x0001,
2077 __GCONV_IGNORE_ERRORS = 0x0002
2078 };
2079
2080
2081
2082 struct __gconv_step;
2083 struct __gconv_step_data;
2084 struct __gconv_loaded_object;
2085 struct __gconv_trans_data;
2086
2087
2088
2089 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
2090 __const unsigned char **, __const unsigned char *,
2091 unsigned char **, size_t *, int, int);
2092
2093
2094 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
2095
2096
2097 typedef int (*__gconv_init_fct) (struct __gconv_step *);
2098 typedef void (*__gconv_end_fct) (struct __gconv_step *);
2099
2100
2101
2102 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
2103 struct __gconv_step_data *, void *,
2104 __const unsigned char *,
2105 __const unsigned char **,
2106 __const unsigned char *, unsigned char **,
2107 size_t *);
2108
2109
2110 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
2111 __const unsigned char *,
2112 unsigned char *, unsigned char *);
2113
2114
2115 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
2116 size_t *);
2117
2118
2119 typedef int (*__gconv_trans_init_fct) (void **, const char *);
2120 typedef void (*__gconv_trans_end_fct) (void *);
2121
2122 struct __gconv_trans_data
2123 {
2124
2125 __gconv_trans_fct __trans_fct;
2126 __gconv_trans_context_fct __trans_context_fct;
2127 __gconv_trans_end_fct __trans_end_fct;
2128 void *__data;
2129 struct __gconv_trans_data *__next;
2130 };
2131
2132
2133
2134 struct __gconv_step
2135 {
2136 struct __gconv_loaded_object *__shlib_handle;
2137 __const char *__modname;
2138
2139 int __counter;
2140
2141 char *__from_name;
2142 char *__to_name;
2143
2144 __gconv_fct __fct;
2145 __gconv_btowc_fct __btowc_fct;
2146 __gconv_init_fct __init_fct;
2147 __gconv_end_fct __end_fct;
2148
2149
2150
2151 int __min_needed_from;
2152 int __max_needed_from;
2153 int __min_needed_to;
2154 int __max_needed_to;
2155
2156
2157 int __stateful;
2158
2159 void *__data;
2160 };
2161
2162
2163
2164 struct __gconv_step_data
2165 {
2166 unsigned char *__outbuf;
2167 unsigned char *__outbufend;
2168
2169
2170
2171 int __flags;
2172
2173
2174
2175 int __invocation_counter;
2176
2177
2178
2179 int __internal_use;
2180
2181 __mbstate_t *__statep;
2182 __mbstate_t __state;
2183
2184
2185
2186 struct __gconv_trans_data *__trans;
2187 };
2188
2189
2190
2191 typedef struct __gconv_info
2192 {
2193 size_t __nsteps;
2194 struct __gconv_step *__steps;
2195 __extension__ struct __gconv_step_data __data [];
2196 } *__gconv_t;
2197 # 45 "/usr/include/_G_config.h" 2 3 4
2198 typedef union
2199 {
2200 struct __gconv_info __cd;
2201 struct
2202 {
2203 struct __gconv_info __cd;
2204 struct __gconv_step_data __data;
2205 } __combined;
2206 } _G_iconv_t;
2207
2208 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
2209 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
2210 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
2211 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
2212 # 33 "/usr/include/libio.h" 2 3 4
2213 # 53 "/usr/include/libio.h" 3 4
2214 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4
2215 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4
2216 typedef __builtin_va_list __gnuc_va_list;
2217 # 54 "/usr/include/libio.h" 2 3 4
2218 # 166 "/usr/include/libio.h" 3 4
2219 struct _IO_jump_t; struct _IO_FILE;
2220 # 176 "/usr/include/libio.h" 3 4
2221 typedef void _IO_lock_t;
2222
2223
2224
2225
2226
2227 struct _IO_marker {
2228 struct _IO_marker *_next;
2229 struct _IO_FILE *_sbuf;
2230
2231
2232
2233 int _pos;
2234 # 199 "/usr/include/libio.h" 3 4
2235 };
2236
2237
2238 enum __codecvt_result
2239 {
2240 __codecvt_ok,
2241 __codecvt_partial,
2242 __codecvt_error,
2243 __codecvt_noconv
2244 };
2245 # 267 "/usr/include/libio.h" 3 4
2246 struct _IO_FILE {
2247 int _flags;
2248
2249
2250
2251
2252 char* _IO_read_ptr;
2253 char* _IO_read_end;
2254 char* _IO_read_base;
2255 char* _IO_write_base;
2256 char* _IO_write_ptr;
2257 char* _IO_write_end;
2258 char* _IO_buf_base;
2259 char* _IO_buf_end;
2260
2261 char *_IO_save_base;
2262 char *_IO_backup_base;
2263 char *_IO_save_end;
2264
2265 struct _IO_marker *_markers;
2266
2267 struct _IO_FILE *_chain;
2268
2269 int _fileno;
2270
2271
2272
2273 int _flags2;
2274
2275 __off_t _old_offset;
2276
2277
2278
2279 unsigned short _cur_column;
2280 signed char _vtable_offset;
2281 char _shortbuf[1];
2282
2283
2284
2285 _IO_lock_t *_lock;
2286 # 315 "/usr/include/libio.h" 3 4
2287 __off64_t _offset;
2288 # 324 "/usr/include/libio.h" 3 4
2289 void *__pad1;
2290 void *__pad2;
2291 void *__pad3;
2292 void *__pad4;
2293 size_t __pad5;
2294
2295 int _mode;
2296
2297 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
2298
2299 };
2300
2301
2302
2303
2304
2305 struct _IO_FILE_plus;
2306
2307 extern struct _IO_FILE_plus _IO_2_1_stdin_;
2308 extern struct _IO_FILE_plus _IO_2_1_stdout_;
2309 extern struct _IO_FILE_plus _IO_2_1_stderr_;
2310 # 360 "/usr/include/libio.h" 3 4
2311 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
2312
2313
2314
2315
2316
2317
2318
2319 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
2320 size_t __n);
2321
2322
2323
2324
2325
2326
2327
2328 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
2329
2330
2331 typedef int __io_close_fn (void *__cookie);
2332
2333
2334
2335
2336 typedef __io_read_fn cookie_read_function_t;
2337 typedef __io_write_fn cookie_write_function_t;
2338 typedef __io_seek_fn cookie_seek_function_t;
2339 typedef __io_close_fn cookie_close_function_t;
2340
2341
2342 typedef struct
2343 {
2344 __io_read_fn *read;
2345 __io_write_fn *write;
2346 __io_seek_fn *seek;
2347 __io_close_fn *close;
2348 } _IO_cookie_io_functions_t;
2349 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
2350
2351 struct _IO_cookie_file;
2352
2353
2354 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
2355 void *__cookie, _IO_cookie_io_functions_t __fns);
2356
2357
2358
2359
2360 extern "C" {
2361
2362
2363 extern int __underflow (_IO_FILE *) throw ();
2364 extern int __uflow (_IO_FILE *) throw ();
2365 extern int __overflow (_IO_FILE *, int) throw ();
2366 extern wint_t __wunderflow (_IO_FILE *) throw ();
2367 extern wint_t __wuflow (_IO_FILE *) throw ();
2368 extern wint_t __woverflow (_IO_FILE *, wint_t) throw ();
2369 # 450 "/usr/include/libio.h" 3 4
2370 extern int _IO_getc (_IO_FILE *__fp) throw ();
2371 extern int _IO_putc (int __c, _IO_FILE *__fp) throw ();
2372 extern int _IO_feof (_IO_FILE *__fp) throw ();
2373 extern int _IO_ferror (_IO_FILE *__fp) throw ();
2374
2375 extern int _IO_peekc_locked (_IO_FILE *__fp) throw ();
2376
2377
2378
2379
2380
2381 extern void _IO_flockfile (_IO_FILE *) throw ();
2382 extern void _IO_funlockfile (_IO_FILE *) throw ();
2383 extern int _IO_ftrylockfile (_IO_FILE *) throw ();
2384 # 480 "/usr/include/libio.h" 3 4
2385 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
2386 __gnuc_va_list, int *__restrict);
2387 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
2388 __gnuc_va_list);
2389 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw ();
2390 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw ();
2391
2392 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw ();
2393 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw ();
2394
2395 extern void _IO_free_backup_area (_IO_FILE *) throw ();
2396 # 542 "/usr/include/libio.h" 3 4
2397 }
2398 # 73 "/usr/include/stdio.h" 2 3 4
2399
2400
2401
2402
2403 typedef __gnuc_va_list va_list;
2404 # 86 "/usr/include/stdio.h" 3 4
2405
2406
2407 typedef _G_fpos_t fpos_t;
2408
2409
2410
2411
2412
2413 typedef _G_fpos64_t fpos64_t;
2414 # 138 "/usr/include/stdio.h" 3 4
2415 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
2416 # 139 "/usr/include/stdio.h" 2 3 4
2417
2418
2419
2420 extern struct _IO_FILE *stdin;
2421 extern struct _IO_FILE *stdout;
2422 extern struct _IO_FILE *stderr;
2423
2424
2425
2426
2427
2428
2429
2430 extern int remove (__const char *__filename) throw ();
2431
2432 extern int rename (__const char *__old, __const char *__new) throw ();
2433
2434
2435
2436
2437 extern int renameat (int __oldfd, __const char *__old, int __newfd,
2438 __const char *__new) throw ();
2439
2440
2441
2442
2443
2444
2445
2446
2447 extern FILE *tmpfile (void);
2448 # 179 "/usr/include/stdio.h" 3 4
2449 extern FILE *tmpfile64 (void);
2450
2451
2452
2453 extern char *tmpnam (char *__s) throw ();
2454
2455
2456
2457
2458
2459 extern char *tmpnam_r (char *__s) throw ();
2460 # 201 "/usr/include/stdio.h" 3 4
2461 extern char *tempnam (__const char *__dir, __const char *__pfx)
2462 throw () __attribute__ ((__malloc__));
2463
2464
2465
2466
2467
2468
2469
2470
2471 extern int fclose (FILE *__stream);
2472
2473
2474
2475
2476 extern int fflush (FILE *__stream);
2477
2478 # 226 "/usr/include/stdio.h" 3 4
2479 extern int fflush_unlocked (FILE *__stream);
2480 # 236 "/usr/include/stdio.h" 3 4
2481 extern int fcloseall (void);
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491 extern FILE *fopen (__const char *__restrict __filename,
2492 __const char *__restrict __modes);
2493
2494
2495
2496
2497 extern FILE *freopen (__const char *__restrict __filename,
2498 __const char *__restrict __modes,
2499 FILE *__restrict __stream);
2500 # 267 "/usr/include/stdio.h" 3 4
2501
2502
2503 extern FILE *fopen64 (__const char *__restrict __filename,
2504 __const char *__restrict __modes);
2505 extern FILE *freopen64 (__const char *__restrict __filename,
2506 __const char *__restrict __modes,
2507 FILE *__restrict __stream);
2508
2509
2510
2511
2512 extern FILE *fdopen (int __fd, __const char *__modes) throw ();
2513
2514
2515
2516
2517
2518 extern FILE *fopencookie (void *__restrict __magic_cookie,
2519 __const char *__restrict __modes,
2520 _IO_cookie_io_functions_t __io_funcs) throw ();
2521
2522
2523 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw ();
2524
2525
2526
2527
2528 extern FILE *open_memstream (char **__restrict __bufloc,
2529 size_t *__restrict __sizeloc) throw ();
2530
2531
2532
2533 extern FILE *open_wmemstream (wchar_t **__restrict __bufloc,
2534 size_t *__restrict __sizeloc) throw ();
2535
2536
2537
2538
2539
2540
2541 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw ();
2542
2543
2544
2545 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
2546 int __modes, size_t __n) throw ();
2547
2548
2549
2550
2551
2552 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
2553 size_t __size) throw ();
2554
2555
2556 extern void setlinebuf (FILE *__stream) throw ();
2557
2558
2559
2560
2561
2562
2563
2564
2565 extern int fprintf (FILE *__restrict __stream,
2566 __const char *__restrict __format, ...);
2567
2568
2569
2570
2571 extern int printf (__const char *__restrict __format, ...);
2572
2573 extern int sprintf (char *__restrict __s,
2574 __const char *__restrict __format, ...) throw ();
2575
2576
2577
2578
2579
2580 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
2581 __gnuc_va_list __arg);
2582
2583
2584
2585
2586 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
2587
2588 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
2589 __gnuc_va_list __arg) throw ();
2590
2591
2592
2593
2594
2595 extern int snprintf (char *__restrict __s, size_t __maxlen,
2596 __const char *__restrict __format, ...)
2597 throw () __attribute__ ((__format__ (__printf__, 3, 4)));
2598
2599 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
2600 __const char *__restrict __format, __gnuc_va_list __arg)
2601 throw () __attribute__ ((__format__ (__printf__, 3, 0)));
2602
2603
2604
2605
2606
2607
2608 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
2609 __gnuc_va_list __arg)
2610 throw () __attribute__ ((__format__ (__printf__, 2, 0)));
2611 extern int __asprintf (char **__restrict __ptr,
2612 __const char *__restrict __fmt, ...)
2613 throw () __attribute__ ((__format__ (__printf__, 2, 3)));
2614 extern int asprintf (char **__restrict __ptr,
2615 __const char *__restrict __fmt, ...)
2616 throw () __attribute__ ((__format__ (__printf__, 2, 3)));
2617
2618
2619
2620
2621
2622
2623
2624 extern int vdprintf (int __fd, __const char *__restrict __fmt,
2625 __gnuc_va_list __arg)
2626 __attribute__ ((__format__ (__printf__, 2, 0)));
2627 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
2628 __attribute__ ((__format__ (__printf__, 2, 3)));
2629
2630
2631
2632
2633
2634
2635
2636
2637 extern int fscanf (FILE *__restrict __stream,
2638 __const char *__restrict __format, ...) ;
2639
2640
2641
2642
2643 extern int scanf (__const char *__restrict __format, ...) ;
2644
2645 extern int sscanf (__const char *__restrict __s,
2646 __const char *__restrict __format, ...) throw ();
2647
2648
2649
2650
2651
2652
2653
2654
2655 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
2656 __gnuc_va_list __arg)
2657 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
2658
2659
2660
2661
2662
2663 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
2664 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
2665
2666
2667 extern int vsscanf (__const char *__restrict __s,
2668 __const char *__restrict __format, __gnuc_va_list __arg)
2669 throw () __attribute__ ((__format__ (__scanf__, 2, 0)));
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679 extern int fgetc (FILE *__stream);
2680 extern int getc (FILE *__stream);
2681
2682
2683
2684
2685
2686 extern int getchar (void);
2687
2688 # 464 "/usr/include/stdio.h" 3 4
2689 extern int getc_unlocked (FILE *__stream);
2690 extern int getchar_unlocked (void);
2691 # 475 "/usr/include/stdio.h" 3 4
2692 extern int fgetc_unlocked (FILE *__stream);
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704 extern int fputc (int __c, FILE *__stream);
2705 extern int putc (int __c, FILE *__stream);
2706
2707
2708
2709
2710
2711 extern int putchar (int __c);
2712
2713 # 508 "/usr/include/stdio.h" 3 4
2714 extern int fputc_unlocked (int __c, FILE *__stream);
2715
2716
2717
2718
2719
2720
2721
2722 extern int putc_unlocked (int __c, FILE *__stream);
2723 extern int putchar_unlocked (int __c);
2724
2725
2726
2727
2728
2729
2730 extern int getw (FILE *__stream);
2731
2732
2733 extern int putw (int __w, FILE *__stream);
2734
2735
2736
2737
2738
2739
2740
2741
2742 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2743 ;
2744
2745
2746
2747
2748
2749
2750 extern char *gets (char *__s) ;
2751
2752 # 554 "/usr/include/stdio.h" 3 4
2753 extern char *fgets_unlocked (char *__restrict __s, int __n,
2754 FILE *__restrict __stream) ;
2755 # 570 "/usr/include/stdio.h" 3 4
2756 extern __ssize_t __getdelim (char **__restrict __lineptr,
2757 size_t *__restrict __n, int __delimiter,
2758 FILE *__restrict __stream) ;
2759 extern __ssize_t getdelim (char **__restrict __lineptr,
2760 size_t *__restrict __n, int __delimiter,
2761 FILE *__restrict __stream) ;
2762
2763
2764
2765
2766
2767
2768
2769 extern __ssize_t getline (char **__restrict __lineptr,
2770 size_t *__restrict __n,
2771 FILE *__restrict __stream) ;
2772
2773
2774
2775
2776
2777
2778
2779
2780 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
2781
2782
2783
2784
2785
2786 extern int puts (__const char *__s);
2787
2788
2789
2790
2791
2792
2793 extern int ungetc (int __c, FILE *__stream);
2794
2795
2796
2797
2798
2799
2800 extern size_t fread (void *__restrict __ptr, size_t __size,
2801 size_t __n, FILE *__restrict __stream) ;
2802
2803
2804
2805
2806 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
2807 size_t __n, FILE *__restrict __s) ;
2808
2809 # 631 "/usr/include/stdio.h" 3 4
2810 extern int fputs_unlocked (__const char *__restrict __s,
2811 FILE *__restrict __stream);
2812 # 642 "/usr/include/stdio.h" 3 4
2813 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
2814 size_t __n, FILE *__restrict __stream) ;
2815 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
2816 size_t __n, FILE *__restrict __stream) ;
2817
2818
2819
2820
2821
2822
2823
2824
2825 extern int fseek (FILE *__stream, long int __off, int __whence);
2826
2827
2828
2829
2830 extern long int ftell (FILE *__stream) ;
2831
2832
2833
2834
2835 extern void rewind (FILE *__stream);
2836
2837 # 678 "/usr/include/stdio.h" 3 4
2838 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
2839
2840
2841
2842
2843 extern __off_t ftello (FILE *__stream) ;
2844 # 697 "/usr/include/stdio.h" 3 4
2845
2846
2847
2848
2849
2850
2851 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
2852
2853
2854
2855
2856 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
2857 # 720 "/usr/include/stdio.h" 3 4
2858
2859
2860
2861 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
2862 extern __off64_t ftello64 (FILE *__stream) ;
2863 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
2864 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
2865
2866
2867
2868
2869 extern void clearerr (FILE *__stream) throw ();
2870
2871 extern int feof (FILE *__stream) throw () ;
2872
2873 extern int ferror (FILE *__stream) throw () ;
2874
2875
2876
2877
2878 extern void clearerr_unlocked (FILE *__stream) throw ();
2879 extern int feof_unlocked (FILE *__stream) throw () ;
2880 extern int ferror_unlocked (FILE *__stream) throw () ;
2881
2882
2883
2884
2885
2886
2887
2888
2889 extern void perror (__const char *__s);
2890
2891
2892
2893
2894
2895
2896 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
2897 # 27 "/usr/include/bits/sys_errlist.h" 3 4
2898 extern int sys_nerr;
2899 extern __const char *__const sys_errlist[];
2900
2901
2902 extern int _sys_nerr;
2903 extern __const char *__const _sys_errlist[];
2904 # 759 "/usr/include/stdio.h" 2 3 4
2905
2906
2907
2908
2909 extern int fileno (FILE *__stream) throw () ;
2910
2911
2912
2913
2914 extern int fileno_unlocked (FILE *__stream) throw () ;
2915 # 778 "/usr/include/stdio.h" 3 4
2916 extern FILE *popen (__const char *__command, __const char *__modes) ;
2917
2918
2919
2920
2921
2922 extern int pclose (FILE *__stream);
2923
2924
2925
2926
2927
2928 extern char *ctermid (char *__s) throw ();
2929
2930
2931
2932
2933
2934 extern char *cuserid (char *__s);
2935
2936
2937
2938
2939 struct obstack;
2940
2941
2942 extern int obstack_printf (struct obstack *__restrict __obstack,
2943 __const char *__restrict __format, ...)
2944 throw () __attribute__ ((__format__ (__printf__, 2, 3)));
2945 extern int obstack_vprintf (struct obstack *__restrict __obstack,
2946 __const char *__restrict __format,
2947 __gnuc_va_list __args)
2948 throw () __attribute__ ((__format__ (__printf__, 2, 0)));
2949
2950
2951
2952
2953
2954
2955
2956 extern void flockfile (FILE *__stream) throw ();
2957
2958
2959
2960 extern int ftrylockfile (FILE *__stream) throw () ;
2961
2962
2963 extern void funlockfile (FILE *__stream) throw ();
2964 # 848 "/usr/include/stdio.h" 3 4
2965 }
2966 # 55 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 2 3
2967 # 99 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 3
2968 namespace std
2969 {
2970 using ::FILE;
2971 using ::fpos_t;
2972
2973 using ::clearerr;
2974 using ::fclose;
2975 using ::feof;
2976 using ::ferror;
2977 using ::fflush;
2978 using ::fgetc;
2979 using ::fgetpos;
2980 using ::fgets;
2981 using ::fopen;
2982 using ::fprintf;
2983 using ::fputc;
2984 using ::fputs;
2985 using ::fread;
2986 using ::freopen;
2987 using ::fscanf;
2988 using ::fseek;
2989 using ::fsetpos;
2990 using ::ftell;
2991 using ::fwrite;
2992 using ::getc;
2993 using ::getchar;
2994 using ::gets;
2995 using ::perror;
2996 using ::printf;
2997 using ::putc;
2998 using ::putchar;
2999 using ::puts;
3000 using ::remove;
3001 using ::rename;
3002 using ::rewind;
3003 using ::scanf;
3004 using ::setbuf;
3005 using ::setvbuf;
3006 using ::sprintf;
3007 using ::sscanf;
3008 using ::tmpfile;
3009 using ::tmpnam;
3010 using ::ungetc;
3011 using ::vfprintf;
3012 using ::vprintf;
3013 using ::vsprintf;
3014 }
3015 # 155 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 3
3016 namespace __gnu_cxx
3017 {
3018 # 170 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/cstdio" 3
3019 using ::snprintf;
3020 using ::vfscanf;
3021 using ::vscanf;
3022 using ::vsnprintf;
3023 using ::vsscanf;
3024
3025 }
3026
3027 namespace std
3028 {
3029 using __gnu_cxx::snprintf;
3030 using __gnu_cxx::vfscanf;
3031 using __gnu_cxx::vscanf;
3032 using __gnu_cxx::vsnprintf;
3033 using __gnu_cxx::vsscanf;
3034 }
3035
3036
3037 #pragma GCC visibility pop
3038 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++locale.h" 2 3
3039 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/clocale" 1 3
3040 # 48 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/clocale" 3
3041
3042 # 49 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/clocale" 3
3043 #pragma GCC visibility push(default)
3044
3045 # 1 "/usr/include/locale.h" 1 3 4
3046 # 29 "/usr/include/locale.h" 3 4
3047 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
3048 # 30 "/usr/include/locale.h" 2 3 4
3049 # 1 "/usr/include/bits/locale.h" 1 3 4
3050 # 27 "/usr/include/bits/locale.h" 3 4
3051 enum
3052 {
3053 __LC_CTYPE = 0,
3054 __LC_NUMERIC = 1,
3055 __LC_TIME = 2,
3056 __LC_COLLATE = 3,
3057 __LC_MONETARY = 4,
3058 __LC_MESSAGES = 5,
3059 __LC_ALL = 6,
3060 __LC_PAPER = 7,
3061 __LC_NAME = 8,
3062 __LC_ADDRESS = 9,
3063 __LC_TELEPHONE = 10,
3064 __LC_MEASUREMENT = 11,
3065 __LC_IDENTIFICATION = 12
3066 };
3067 # 31 "/usr/include/locale.h" 2 3 4
3068
3069 extern "C" {
3070 # 52 "/usr/include/locale.h" 3 4
3071 struct lconv
3072 {
3073
3074
3075 char *decimal_point;
3076 char *thousands_sep;
3077
3078
3079
3080
3081
3082 char *grouping;
3083
3084
3085
3086
3087
3088 char *int_curr_symbol;
3089 char *currency_symbol;
3090 char *mon_decimal_point;
3091 char *mon_thousands_sep;
3092 char *mon_grouping;
3093 char *positive_sign;
3094 char *negative_sign;
3095 char int_frac_digits;
3096 char frac_digits;
3097
3098 char p_cs_precedes;
3099
3100 char p_sep_by_space;
3101
3102 char n_cs_precedes;
3103
3104 char n_sep_by_space;
3105
3106
3107
3108
3109
3110
3111 char p_sign_posn;
3112 char n_sign_posn;
3113
3114
3115 char int_p_cs_precedes;
3116
3117 char int_p_sep_by_space;
3118
3119 char int_n_cs_precedes;
3120
3121 char int_n_sep_by_space;
3122
3123
3124
3125
3126
3127
3128 char int_p_sign_posn;
3129 char int_n_sign_posn;
3130 # 119 "/usr/include/locale.h" 3 4
3131 };
3132
3133
3134
3135
3136
3137 extern char *setlocale (int __category, __const char *__locale) throw ();
3138
3139
3140 extern struct lconv *localeconv (void) throw ();
3141
3142
3143 # 148 "/usr/include/locale.h" 3 4
3144 typedef __locale_t locale_t;
3145
3146
3147
3148
3149
3150 extern __locale_t newlocale (int __category_mask, __const char *__locale,
3151 __locale_t __base) throw ();
3152 # 189 "/usr/include/locale.h" 3 4
3153 extern __locale_t duplocale (__locale_t __dataset) throw ();
3154
3155
3156
3157 extern void freelocale (__locale_t __dataset) throw ();
3158
3159
3160
3161
3162
3163
3164 extern __locale_t uselocale (__locale_t __dataset) throw ();
3165
3166
3167
3168
3169
3170
3171
3172 }
3173 # 52 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/clocale" 2 3
3174
3175
3176
3177
3178
3179 namespace std
3180 {
3181 using ::lconv;
3182 using ::setlocale;
3183 using ::localeconv;
3184 }
3185
3186 #pragma GCC visibility pop
3187 # 44 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/i686-pc-linux-gnu/bits/c++locale.h" 2 3
3188 # 1 "/usr/include/langinfo.h" 1 3 4
3189 # 24 "/usr/include/langinfo.h" 3 4
3190 # 1 "/usr/include/nl_types.h" 1 3 4
3191 # 31 "/usr/include/nl_types.h" 3 4
3192 extern "C" {
3193
3194
3195 typedef void *nl_catd;
3196
3197
3198 typedef int nl_item;
3199
3200
3201
3202
3203
3204 extern nl_catd catopen (__const char *__cat_name, int __flag) __attribute__ ((__nonnull__ (1)));
3205
3206
3207
3208 extern char *catgets (nl_catd __catalog, int __set, int __number,
3209 __const char *__string) throw () __attribute__ ((__nonnull__ (1)));
3210
3211
3212 extern int catclose (nl_catd __catalog) throw () __attribute__ ((__nonnull__ (1)));
3213
3214 }
3215 # 25 "/usr/include/langinfo.h" 2 3 4
3216
3217 # 1 "/usr/include/bits/locale.h" 1 3 4
3218 # 27 "/usr/include/langinfo.h" 2 3 4
3219
3220
3221 extern "C" {
3222 # 42 "/usr/include/langinfo.h" 3 4
3223 enum
3224 {
3225
3226
3227
3228 ABDAY_1 = (((__LC_TIME) << 16) | (0)),
3229
3230 ABDAY_2,
3231
3232 ABDAY_3,
3233
3234 ABDAY_4,
3235
3236 ABDAY_5,
3237
3238 ABDAY_6,
3239
3240 ABDAY_7,
3241
3242
3243
3244 DAY_1,
3245
3246 DAY_2,
3247
3248 DAY_3,
3249
3250 DAY_4,
3251
3252 DAY_5,
3253
3254 DAY_6,
3255
3256 DAY_7,
3257
3258
3259
3260 ABMON_1,
3261
3262 ABMON_2,
3263
3264 ABMON_3,
3265
3266 ABMON_4,
3267
3268 ABMON_5,
3269
3270 ABMON_6,
3271
3272 ABMON_7,
3273
3274 ABMON_8,
3275
3276 ABMON_9,
3277
3278 ABMON_10,
3279
3280 ABMON_11,
3281
3282 ABMON_12,
3283
3284
3285
3286 MON_1,
3287
3288 MON_2,
3289
3290 MON_3,
3291
3292 MON_4,
3293
3294 MON_5,
3295
3296 MON_6,
3297
3298 MON_7,
3299
3300 MON_8,
3301
3302 MON_9,
3303
3304 MON_10,
3305
3306 MON_11,
3307
3308 MON_12,
3309
3310
3311 AM_STR,
3312
3313 PM_STR,
3314
3315
3316 D_T_FMT,
3317
3318 D_FMT,
3319
3320 T_FMT,
3321
3322 T_FMT_AMPM,
3323
3324
3325 ERA,
3326
3327 __ERA_YEAR,
3328
3329
3330
3331 ERA_D_FMT,
3332
3333 ALT_DIGITS,
3334
3335 ERA_D_T_FMT,
3336
3337 ERA_T_FMT,
3338
3339
3340 _NL_TIME_ERA_NUM_ENTRIES,
3341 _NL_TIME_ERA_ENTRIES,
3342
3343 _NL_WABDAY_1,
3344 _NL_WABDAY_2,
3345 _NL_WABDAY_3,
3346 _NL_WABDAY_4,
3347 _NL_WABDAY_5,
3348 _NL_WABDAY_6,
3349 _NL_WABDAY_7,
3350
3351
3352 _NL_WDAY_1,
3353 _NL_WDAY_2,
3354 _NL_WDAY_3,
3355 _NL_WDAY_4,
3356 _NL_WDAY_5,
3357 _NL_WDAY_6,
3358 _NL_WDAY_7,
3359
3360
3361 _NL_WABMON_1,
3362 _NL_WABMON_2,
3363 _NL_WABMON_3,
3364 _NL_WABMON_4,
3365 _NL_WABMON_5,
3366 _NL_WABMON_6,
3367 _NL_WABMON_7,
3368 _NL_WABMON_8,
3369 _NL_WABMON_9,
3370 _NL_WABMON_10,
3371 _NL_WABMON_11,
3372 _NL_WABMON_12,
3373
3374
3375 _NL_WMON_1,
3376 _NL_WMON_2,
3377 _NL_WMON_3,
3378 _NL_WMON_4,
3379 _NL_WMON_5,
3380 _NL_WMON_6,
3381 _NL_WMON_7,
3382 _NL_WMON_8,
3383 _NL_WMON_9,
3384 _NL_WMON_10,
3385 _NL_WMON_11,
3386 _NL_WMON_12,
3387
3388 _NL_WAM_STR,
3389 _NL_WPM_STR,
3390
3391 _NL_WD_T_FMT,
3392 _NL_WD_FMT,
3393 _NL_WT_FMT,
3394 _NL_WT_FMT_AMPM,
3395
3396 _NL_WERA_YEAR,
3397 _NL_WERA_D_FMT,
3398 _NL_WALT_DIGITS,
3399 _NL_WERA_D_T_FMT,
3400 _NL_WERA_T_FMT,
3401
3402 _NL_TIME_WEEK_NDAYS,
3403 _NL_TIME_WEEK_1STDAY,
3404 _NL_TIME_WEEK_1STWEEK,
3405 _NL_TIME_FIRST_WEEKDAY,
3406 _NL_TIME_FIRST_WORKDAY,
3407 _NL_TIME_CAL_DIRECTION,
3408 _NL_TIME_TIMEZONE,
3409
3410 _DATE_FMT,
3411
3412 _NL_W_DATE_FMT,
3413
3414 _NL_TIME_CODESET,
3415
3416 _NL_NUM_LC_TIME,
3417
3418
3419
3420
3421 _NL_COLLATE_NRULES = (((__LC_COLLATE) << 16) | (0)),
3422 _NL_COLLATE_RULESETS,
3423 _NL_COLLATE_TABLEMB,
3424 _NL_COLLATE_WEIGHTMB,
3425 _NL_COLLATE_EXTRAMB,
3426 _NL_COLLATE_INDIRECTMB,
3427 _NL_COLLATE_GAP1,
3428 _NL_COLLATE_GAP2,
3429 _NL_COLLATE_GAP3,
3430 _NL_COLLATE_TABLEWC,
3431 _NL_COLLATE_WEIGHTWC,
3432 _NL_COLLATE_EXTRAWC,
3433 _NL_COLLATE_INDIRECTWC,
3434 _NL_COLLATE_SYMB_HASH_SIZEMB,
3435 _NL_COLLATE_SYMB_TABLEMB,
3436 _NL_COLLATE_SYMB_EXTRAMB,
3437 _NL_COLLATE_COLLSEQMB,
3438 _NL_COLLATE_COLLSEQWC,
3439 _NL_COLLATE_CODESET,
3440 _NL_NUM_LC_COLLATE,
3441
3442
3443
3444
3445 _NL_CTYPE_CLASS = (((__LC_CTYPE) << 16) | (0)),
3446 _NL_CTYPE_TOUPPER,
3447 _NL_CTYPE_GAP1,
3448 _NL_CTYPE_TOLOWER,
3449 _NL_CTYPE_GAP2,
3450 _NL_CTYPE_CLASS32,
3451 _NL_CTYPE_GAP3,
3452 _NL_CTYPE_GAP4,
3453 _NL_CTYPE_GAP5,
3454 _NL_CTYPE_GAP6,
3455 _NL_CTYPE_CLASS_NAMES,
3456 _NL_CTYPE_MAP_NAMES,
3457 _NL_CTYPE_WIDTH,
3458 _NL_CTYPE_MB_CUR_MAX,
3459 _NL_CTYPE_CODESET_NAME,
3460 CODESET = _NL_CTYPE_CODESET_NAME,
3461
3462 _NL_CTYPE_TOUPPER32,
3463 _NL_CTYPE_TOLOWER32,
3464 _NL_CTYPE_CLASS_OFFSET,
3465 _NL_CTYPE_MAP_OFFSET,
3466 _NL_CTYPE_INDIGITS_MB_LEN,
3467 _NL_CTYPE_INDIGITS0_MB,
3468 _NL_CTYPE_INDIGITS1_MB,
3469 _NL_CTYPE_INDIGITS2_MB,
3470 _NL_CTYPE_INDIGITS3_MB,
3471 _NL_CTYPE_INDIGITS4_MB,
3472 _NL_CTYPE_INDIGITS5_MB,
3473 _NL_CTYPE_INDIGITS6_MB,
3474 _NL_CTYPE_INDIGITS7_MB,
3475 _NL_CTYPE_INDIGITS8_MB,
3476 _NL_CTYPE_INDIGITS9_MB,
3477 _NL_CTYPE_INDIGITS_WC_LEN,
3478 _NL_CTYPE_INDIGITS0_WC,
3479 _NL_CTYPE_INDIGITS1_WC,
3480 _NL_CTYPE_INDIGITS2_WC,
3481 _NL_CTYPE_INDIGITS3_WC,
3482 _NL_CTYPE_INDIGITS4_WC,
3483 _NL_CTYPE_INDIGITS5_WC,
3484 _NL_CTYPE_INDIGITS6_WC,
3485 _NL_CTYPE_INDIGITS7_WC,
3486 _NL_CTYPE_INDIGITS8_WC,
3487 _NL_CTYPE_INDIGITS9_WC,
3488 _NL_CTYPE_OUTDIGIT0_MB,
3489 _NL_CTYPE_OUTDIGIT1_MB,
3490 _NL_CTYPE_OUTDIGIT2_MB,
3491 _NL_CTYPE_OUTDIGIT3_MB,
3492 _NL_CTYPE_OUTDIGIT4_MB,
3493 _NL_CTYPE_OUTDIGIT5_MB,
3494 _NL_CTYPE_OUTDIGIT6_MB,
3495 _NL_CTYPE_OUTDIGIT7_MB,
3496 _NL_CTYPE_OUTDIGIT8_MB,
3497 _NL_CTYPE_OUTDIGIT9_MB,
3498 _NL_CTYPE_OUTDIGIT0_WC,
3499 _NL_CTYPE_OUTDIGIT1_WC,
3500 _NL_CTYPE_OUTDIGIT2_WC,
3501 _NL_CTYPE_OUTDIGIT3_WC,
3502 _NL_CTYPE_OUTDIGIT4_WC,
3503 _NL_CTYPE_OUTDIGIT5_WC,
3504 _NL_CTYPE_OUTDIGIT6_WC,
3505 _NL_CTYPE_OUTDIGIT7_WC,
3506 _NL_CTYPE_OUTDIGIT8_WC,
3507 _NL_CTYPE_OUTDIGIT9_WC,
3508 _NL_CTYPE_TRANSLIT_TAB_SIZE,
3509 _NL_CTYPE_TRANSLIT_FROM_IDX,
3510 _NL_CTYPE_TRANSLIT_FROM_TBL,
3511 _NL_CTYPE_TRANSLIT_TO_IDX,
3512 _NL_CTYPE_TRANSLIT_TO_TBL,
3513 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN,
3514 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING,
3515 _NL_CTYPE_TRANSLIT_IGNORE_LEN,
3516 _NL_CTYPE_TRANSLIT_IGNORE,
3517 _NL_CTYPE_MAP_TO_NONASCII,
3518 _NL_CTYPE_EXTRA_MAP_1,
3519 _NL_CTYPE_EXTRA_MAP_2,
3520 _NL_CTYPE_EXTRA_MAP_3,
3521 _NL_CTYPE_EXTRA_MAP_4,
3522 _NL_CTYPE_EXTRA_MAP_5,
3523 _NL_CTYPE_EXTRA_MAP_6,
3524 _NL_CTYPE_EXTRA_MAP_7,
3525 _NL_CTYPE_EXTRA_MAP_8,
3526 _NL_CTYPE_EXTRA_MAP_9,
3527 _NL_CTYPE_EXTRA_MAP_10,
3528 _NL_CTYPE_EXTRA_MAP_11,
3529 _NL_CTYPE_EXTRA_MAP_12,
3530 _NL_CTYPE_EXTRA_MAP_13,
3531 _NL_CTYPE_EXTRA_MAP_14,
3532 _NL_NUM_LC_CTYPE,
3533
3534
3535
3536
3537 __INT_CURR_SYMBOL = (((__LC_MONETARY) << 16) | (0)),
3538
3539
3540
3541 __CURRENCY_SYMBOL,
3542
3543
3544
3545 __MON_DECIMAL_POINT,
3546
3547
3548
3549 __MON_THOUSANDS_SEP,
3550
3551
3552
3553 __MON_GROUPING,
3554
3555
3556
3557 __POSITIVE_SIGN,
3558
3559
3560
3561 __NEGATIVE_SIGN,
3562
3563
3564
3565 __INT_FRAC_DIGITS,
3566
3567
3568
3569 __FRAC_DIGITS,
3570
3571
3572
3573 __P_CS_PRECEDES,
3574
3575
3576
3577 __P_SEP_BY_SPACE,
3578
3579
3580
3581 __N_CS_PRECEDES,
3582
3583
3584
3585 __N_SEP_BY_SPACE,
3586
3587
3588
3589 __P_SIGN_POSN,
3590
3591
3592
3593 __N_SIGN_POSN,
3594
3595
3596
3597 _NL_MONETARY_CRNCYSTR,
3598
3599 __INT_P_CS_PRECEDES,
3600
3601
3602
3603 __INT_P_SEP_BY_SPACE,
3604
3605
3606
3607 __INT_N_CS_PRECEDES,
3608
3609
3610
3611 __INT_N_SEP_BY_SPACE,
3612
3613
3614
3615 __INT_P_SIGN_POSN,
3616
3617
3618
3619 __INT_N_SIGN_POSN,
3620
3621
3622
3623 _NL_MONETARY_DUO_INT_CURR_SYMBOL,
3624 _NL_MONETARY_DUO_CURRENCY_SYMBOL,
3625 _NL_MONETARY_DUO_INT_FRAC_DIGITS,
3626 _NL_MONETARY_DUO_FRAC_DIGITS,
3627 _NL_MONETARY_DUO_P_CS_PRECEDES,
3628 _NL_MONETARY_DUO_P_SEP_BY_SPACE,
3629 _NL_MONETARY_DUO_N_CS_PRECEDES,
3630 _NL_MONETARY_DUO_N_SEP_BY_SPACE,
3631 _NL_MONETARY_DUO_INT_P_CS_PRECEDES,
3632 _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE,
3633 _NL_MONETARY_DUO_INT_N_CS_PRECEDES,
3634 _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE,
3635 _NL_MONETARY_DUO_P_SIGN_POSN,
3636 _NL_MONETARY_DUO_N_SIGN_POSN,
3637 _NL_MONETARY_DUO_INT_P_SIGN_POSN,
3638 _NL_MONETARY_DUO_INT_N_SIGN_POSN,
3639 _NL_MONETARY_UNO_VALID_FROM,
3640 _NL_MONETARY_UNO_VALID_TO,
3641 _NL_MONETARY_DUO_VALID_FROM,
3642 _NL_MONETARY_DUO_VALID_TO,
3643 _NL_MONETARY_CONVERSION_RATE,
3644 _NL_MONETARY_DECIMAL_POINT_WC,
3645 _NL_MONETARY_THOUSANDS_SEP_WC,
3646 _NL_MONETARY_CODESET,
3647 _NL_NUM_LC_MONETARY,
3648
3649
3650
3651 __DECIMAL_POINT = (((__LC_NUMERIC) << 16) | (0)),
3652
3653
3654
3655 RADIXCHAR = __DECIMAL_POINT,
3656
3657 __THOUSANDS_SEP,
3658
3659
3660
3661 THOUSEP = __THOUSANDS_SEP,
3662
3663 __GROUPING,
3664
3665
3666
3667 _NL_NUMERIC_DECIMAL_POINT_WC,
3668 _NL_NUMERIC_THOUSANDS_SEP_WC,
3669 _NL_NUMERIC_CODESET,
3670 _NL_NUM_LC_NUMERIC,
3671
3672 __YESEXPR = (((__LC_MESSAGES) << 16) | (0)),
3673
3674 __NOEXPR,
3675
3676 __YESSTR,
3677