initial import
[ICEs.git] / register-spill-fschedule-insns / yasm.i.0
1 # 1 "frontends/yasm/yasm.c"
2 # 1 "/root/ICEs/PRxxx/yasm-0.6.0//"
3 # 1 "<built-in>"
4 # 1 "<command-line>"
5 # 1 "frontends/yasm/yasm.c"
6 # 27 "frontends/yasm/yasm.c"
7 # 1 "./util.h" 1
8 # 34 "./util.h"
9 # 1 "./config.h" 1
10 # 35 "./util.h" 2
11 # 55 "./util.h"
12 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/stdio.h" 1 3 4
13 # 14 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/stdio.h" 3 4
14 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stdarg.h" 1 3 4
15 # 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stdarg.h" 3 4
16 typedef __builtin_va_list __gnuc_va_list;
17 # 15 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/stdio.h" 2 3 4
18
19
20
21 # 1 "/usr/include/gentoo-multilib/x86/stdio.h" 1 3 4
22 # 28 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
23 # 1 "/usr/include/features.h" 1 3 4
24
25
26
27 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/gentoo-multilib/x86/features.h" 1 3 4
28 # 331 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/gentoo-multilib/x86/features.h" 3 4
29 # 1 "/usr/include/sys/cdefs.h" 1 3 4
30
31
32
33 # 1 "/usr/include/gentoo-multilib/x86/sys/cdefs.h" 1 3 4
34 # 324 "/usr/include/gentoo-multilib/x86/sys/cdefs.h" 3 4
35 # 1 "/usr/include/bits/wordsize.h" 1 3 4
36
37
38
39 # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4
40 # 5 "/usr/include/bits/wordsize.h" 2 3 4
41 # 325 "/usr/include/gentoo-multilib/x86/sys/cdefs.h" 2 3 4
42 # 5 "/usr/include/sys/cdefs.h" 2 3 4
43 # 332 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/gentoo-multilib/x86/features.h" 2 3 4
44 # 354 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/gentoo-multilib/x86/features.h" 3 4
45 # 1 "/usr/include/gnu/stubs.h" 1 3 4
46
47
48
49 # 1 "/usr/include/gentoo-multilib/x86/gnu/stubs.h" 1 3 4
50
51
52
53 # 1 "/usr/include/bits/wordsize.h" 1 3 4
54
55
56
57 # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4
58 # 5 "/usr/include/bits/wordsize.h" 2 3 4
59 # 5 "/usr/include/gentoo-multilib/x86/gnu/stubs.h" 2 3 4
60
61
62 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
63
64
65
66 # 1 "/usr/include/gentoo-multilib/x86/gnu/stubs-32.h" 1 3 4
67 # 5 "/usr/include/gnu/stubs-32.h" 2 3 4
68 # 8 "/usr/include/gentoo-multilib/x86/gnu/stubs.h" 2 3 4
69 # 5 "/usr/include/gnu/stubs.h" 2 3 4
70 # 355 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/gentoo-multilib/x86/features.h" 2 3 4
71 # 5 "/usr/include/features.h" 2 3 4
72 # 29 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
73
74
75
76
77
78 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
79 # 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 3 4
80 typedef unsigned int size_t;
81 # 35 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
82
83 # 1 "/usr/include/bits/types.h" 1 3 4
84
85
86
87 # 1 "/usr/include/gentoo-multilib/x86/bits/types.h" 1 3 4
88 # 27 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4
89 # 1 "/usr/include/features.h" 1 3 4
90 # 28 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
91 # 1 "/usr/include/bits/wordsize.h" 1 3 4
92
93
94
95 # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4
96 # 5 "/usr/include/bits/wordsize.h" 2 3 4
97 # 29 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
98
99
100 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
101 # 32 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
102
103
104 typedef unsigned char __u_char;
105 typedef unsigned short int __u_short;
106 typedef unsigned int __u_int;
107 typedef unsigned long int __u_long;
108
109
110 typedef signed char __int8_t;
111 typedef unsigned char __uint8_t;
112 typedef signed short int __int16_t;
113 typedef unsigned short int __uint16_t;
114 typedef signed int __int32_t;
115 typedef unsigned int __uint32_t;
116
117
118
119
120 __extension__ typedef signed long long int __int64_t;
121 __extension__ typedef unsigned long long int __uint64_t;
122
123
124
125
126
127
128
129 __extension__ typedef long long int __quad_t;
130 __extension__ typedef unsigned long long int __u_quad_t;
131 # 134 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4
132 # 1 "/usr/include/bits/typesizes.h" 1 3 4
133
134
135
136 # 1 "/usr/include/gentoo-multilib/x86/bits/typesizes.h" 1 3 4
137 # 5 "/usr/include/bits/typesizes.h" 2 3 4
138 # 135 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
139
140
141 __extension__ typedef __u_quad_t __dev_t;
142 __extension__ typedef unsigned int __uid_t;
143 __extension__ typedef unsigned int __gid_t;
144 __extension__ typedef unsigned long int __ino_t;
145 __extension__ typedef __u_quad_t __ino64_t;
146 __extension__ typedef unsigned int __mode_t;
147 __extension__ typedef unsigned int __nlink_t;
148 __extension__ typedef long int __off_t;
149 __extension__ typedef __quad_t __off64_t;
150 __extension__ typedef int __pid_t;
151 __extension__ typedef struct { int __val[2]; } __fsid_t;
152 __extension__ typedef long int __clock_t;
153 __extension__ typedef unsigned long int __rlim_t;
154 __extension__ typedef __u_quad_t __rlim64_t;
155 __extension__ typedef unsigned int __id_t;
156 __extension__ typedef long int __time_t;
157 __extension__ typedef unsigned int __useconds_t;
158 __extension__ typedef long int __suseconds_t;
159
160 __extension__ typedef int __daddr_t;
161 __extension__ typedef long int __swblk_t;
162 __extension__ typedef int __key_t;
163
164
165 __extension__ typedef int __clockid_t;
166
167
168 __extension__ typedef void * __timer_t;
169
170
171 __extension__ typedef long int __blksize_t;
172
173
174
175
176 __extension__ typedef long int __blkcnt_t;
177 __extension__ typedef __quad_t __blkcnt64_t;
178
179
180 __extension__ typedef unsigned long int __fsblkcnt_t;
181 __extension__ typedef __u_quad_t __fsblkcnt64_t;
182
183
184 __extension__ typedef unsigned long int __fsfilcnt_t;
185 __extension__ typedef __u_quad_t __fsfilcnt64_t;
186
187 __extension__ typedef int __ssize_t;
188
189
190
191 typedef __off64_t __loff_t;
192 typedef __quad_t *__qaddr_t;
193 typedef char *__caddr_t;
194
195
196 __extension__ typedef int __intptr_t;
197
198
199 __extension__ typedef unsigned int __socklen_t;
200 # 5 "/usr/include/bits/types.h" 2 3 4
201 # 37 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
202 # 45 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
203 struct _IO_FILE;
204
205
206
207 typedef struct _IO_FILE FILE;
208
209
210
211
212
213 # 65 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
214 typedef struct _IO_FILE __FILE;
215 # 75 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
216 # 1 "/usr/include/libio.h" 1 3 4
217
218
219
220 # 1 "/usr/include/gentoo-multilib/x86/libio.h" 1 3 4
221 # 32 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
222 # 1 "/usr/include/_G_config.h" 1 3 4
223
224
225
226 # 1 "/usr/include/gentoo-multilib/x86/_G_config.h" 1 3 4
227 # 9 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
228 # 1 "/usr/include/bits/types.h" 1 3 4
229 # 10 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
230
231
232
233
234 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
235 # 326 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 3 4
236 typedef int wchar_t;
237 # 355 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 3 4
238 typedef unsigned int wint_t;
239 # 15 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
240 # 24 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
241 # 1 "/usr/include/wchar.h" 1 3 4
242
243
244
245 # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4
246 # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
247 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
248 # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
249
250 # 1 "/usr/include/bits/wchar.h" 1 3 4
251
252
253
254 # 1 "/usr/include/gentoo-multilib/x86/bits/wchar.h" 1 3 4
255 # 5 "/usr/include/bits/wchar.h" 2 3 4
256 # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
257 # 76 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
258 typedef struct
259 {
260 int __count;
261 union
262 {
263 wint_t __wch;
264 char __wchb[4];
265 } __value;
266 } __mbstate_t;
267 # 5 "/usr/include/wchar.h" 2 3 4
268 # 25 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
269
270 typedef struct
271 {
272 __off_t __pos;
273 __mbstate_t __state;
274 } _G_fpos_t;
275 typedef struct
276 {
277 __off64_t __pos;
278 __mbstate_t __state;
279 } _G_fpos64_t;
280 # 44 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
281 # 1 "/usr/include/gconv.h" 1 3 4
282
283
284
285 # 1 "/usr/include/gentoo-multilib/x86/gconv.h" 1 3 4
286 # 26 "/usr/include/gentoo-multilib/x86/gconv.h" 3 4
287 # 1 "/usr/include/features.h" 1 3 4
288 # 27 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
289
290 # 1 "/usr/include/wchar.h" 1 3 4
291
292
293
294 # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4
295 # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
296 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
297 # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
298
299 # 1 "/usr/include/bits/wchar.h" 1 3 4
300 # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
301 # 5 "/usr/include/wchar.h" 2 3 4
302 # 29 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
303
304
305 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
306 # 32 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
307
308
309
310
311
312 enum
313 {
314 __GCONV_OK = 0,
315 __GCONV_NOCONV,
316 __GCONV_NODB,
317 __GCONV_NOMEM,
318
319 __GCONV_EMPTY_INPUT,
320 __GCONV_FULL_OUTPUT,
321 __GCONV_ILLEGAL_INPUT,
322 __GCONV_INCOMPLETE_INPUT,
323
324 __GCONV_ILLEGAL_DESCRIPTOR,
325 __GCONV_INTERNAL_ERROR
326 };
327
328
329
330 enum
331 {
332 __GCONV_IS_LAST = 0x0001,
333 __GCONV_IGNORE_ERRORS = 0x0002
334 };
335
336
337
338 struct __gconv_step;
339 struct __gconv_step_data;
340 struct __gconv_loaded_object;
341 struct __gconv_trans_data;
342
343
344
345 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
346 __const unsigned char **, __const unsigned char *,
347 unsigned char **, size_t *, int, int);
348
349
350 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
351
352
353 typedef int (*__gconv_init_fct) (struct __gconv_step *);
354 typedef void (*__gconv_end_fct) (struct __gconv_step *);
355
356
357
358 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
359 struct __gconv_step_data *, void *,
360 __const unsigned char *,
361 __const unsigned char **,
362 __const unsigned char *, unsigned char **,
363 size_t *);
364
365
366 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
367 __const unsigned char *,
368 unsigned char *, unsigned char *);
369
370
371 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
372 size_t *);
373
374
375 typedef int (*__gconv_trans_init_fct) (void **, const char *);
376 typedef void (*__gconv_trans_end_fct) (void *);
377
378 struct __gconv_trans_data
379 {
380
381 __gconv_trans_fct __trans_fct;
382 __gconv_trans_context_fct __trans_context_fct;
383 __gconv_trans_end_fct __trans_end_fct;
384 void *__data;
385 struct __gconv_trans_data *__next;
386 };
387
388
389
390 struct __gconv_step
391 {
392 struct __gconv_loaded_object *__shlib_handle;
393 __const char *__modname;
394
395 int __counter;
396
397 char *__from_name;
398 char *__to_name;
399
400 __gconv_fct __fct;
401 __gconv_btowc_fct __btowc_fct;
402 __gconv_init_fct __init_fct;
403 __gconv_end_fct __end_fct;
404
405
406
407 int __min_needed_from;
408 int __max_needed_from;
409 int __min_needed_to;
410 int __max_needed_to;
411
412
413 int __stateful;
414
415 void *__data;
416 };
417
418
419
420 struct __gconv_step_data
421 {
422 unsigned char *__outbuf;
423 unsigned char *__outbufend;
424
425
426
427 int __flags;
428
429
430
431 int __invocation_counter;
432
433
434
435 int __internal_use;
436
437 __mbstate_t *__statep;
438 __mbstate_t __state;
439
440
441
442 struct __gconv_trans_data *__trans;
443 };
444
445
446
447 typedef struct __gconv_info
448 {
449 size_t __nsteps;
450 struct __gconv_step *__steps;
451 __extension__ struct __gconv_step_data __data [];
452 } *__gconv_t;
453 # 5 "/usr/include/gconv.h" 2 3 4
454 # 45 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
455 typedef union
456 {
457 struct __gconv_info __cd;
458 struct
459 {
460 struct __gconv_info __cd;
461 struct __gconv_step_data __data;
462 } __combined;
463 } _G_iconv_t;
464
465 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
466 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
467 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
468 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
469 # 5 "/usr/include/_G_config.h" 2 3 4
470 # 33 "/usr/include/gentoo-multilib/x86/libio.h" 2 3 4
471 # 53 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
472 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stdarg.h" 1 3 4
473 # 54 "/usr/include/gentoo-multilib/x86/libio.h" 2 3 4
474 # 167 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
475 struct _IO_jump_t; struct _IO_FILE;
476 # 177 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
477 typedef void _IO_lock_t;
478
479
480
481
482
483 struct _IO_marker {
484 struct _IO_marker *_next;
485 struct _IO_FILE *_sbuf;
486
487
488
489 int _pos;
490 # 200 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
491 };
492
493
494 enum __codecvt_result
495 {
496 __codecvt_ok,
497 __codecvt_partial,
498 __codecvt_error,
499 __codecvt_noconv
500 };
501 # 268 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
502 struct _IO_FILE {
503 int _flags;
504
505
506
507
508 char* _IO_read_ptr;
509 char* _IO_read_end;
510 char* _IO_read_base;
511 char* _IO_write_base;
512 char* _IO_write_ptr;
513 char* _IO_write_end;
514 char* _IO_buf_base;
515 char* _IO_buf_end;
516
517 char *_IO_save_base;
518 char *_IO_backup_base;
519 char *_IO_save_end;
520
521 struct _IO_marker *_markers;
522
523 struct _IO_FILE *_chain;
524
525 int _fileno;
526
527
528
529 int _flags2;
530
531 __off_t _old_offset;
532
533
534
535 unsigned short _cur_column;
536 signed char _vtable_offset;
537 char _shortbuf[1];
538
539
540
541 _IO_lock_t *_lock;
542 # 316 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
543 __off64_t _offset;
544 # 325 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
545 void *__pad1;
546 void *__pad2;
547 void *__pad3;
548 void *__pad4;
549 size_t __pad5;
550
551 int _mode;
552
553 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
554
555 };
556
557
558 typedef struct _IO_FILE _IO_FILE;
559
560
561 struct _IO_FILE_plus;
562
563 extern struct _IO_FILE_plus _IO_2_1_stdin_;
564 extern struct _IO_FILE_plus _IO_2_1_stdout_;
565 extern struct _IO_FILE_plus _IO_2_1_stderr_;
566 # 361 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
567 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
568
569
570
571
572
573
574
575 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
576 size_t __n);
577
578
579
580
581
582
583
584 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
585
586
587 typedef int __io_close_fn (void *__cookie);
588 # 413 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
589 extern int __underflow (_IO_FILE *);
590 extern int __uflow (_IO_FILE *);
591 extern int __overflow (_IO_FILE *, int);
592 extern wint_t __wunderflow (_IO_FILE *);
593 extern wint_t __wuflow (_IO_FILE *);
594 extern wint_t __woverflow (_IO_FILE *, wint_t);
595 # 451 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
596 extern int _IO_getc (_IO_FILE *__fp);
597 extern int _IO_putc (int __c, _IO_FILE *__fp);
598 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
599 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
600
601 extern int _IO_peekc_locked (_IO_FILE *__fp);
602
603
604
605
606
607 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
608 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
609 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
610 # 481 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
611 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
612 __gnuc_va_list, int *__restrict);
613 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
614 __gnuc_va_list);
615 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
616 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
617
618 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
619 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
620
621 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
622 # 5 "/usr/include/libio.h" 2 3 4
623 # 76 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
624 # 89 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
625
626
627 typedef _G_fpos_t fpos_t;
628
629
630
631
632 # 141 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
633 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
634
635
636
637 # 1 "/usr/include/gentoo-multilib/x86/bits/stdio_lim.h" 1 3 4
638 # 5 "/usr/include/bits/stdio_lim.h" 2 3 4
639 # 142 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
640
641
642
643 extern struct _IO_FILE *stdin;
644 extern struct _IO_FILE *stdout;
645 extern struct _IO_FILE *stderr;
646
647
648
649
650
651
652
653 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
654
655 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670 extern FILE *tmpfile (void) ;
671 # 186 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
672 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
673
674
675
676
677
678 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
679 # 204 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
680 extern char *tempnam (__const char *__dir, __const char *__pfx)
681 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
682
683
684
685
686
687
688
689
690 extern int fclose (FILE *__stream);
691
692
693
694
695 extern int fflush (FILE *__stream);
696
697 # 229 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
698 extern int fflush_unlocked (FILE *__stream);
699 # 243 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
700
701
702
703
704
705
706 extern FILE *fopen (__const char *__restrict __filename,
707 __const char *__restrict __modes) ;
708
709
710
711
712 extern FILE *freopen (__const char *__restrict __filename,
713 __const char *__restrict __modes,
714 FILE *__restrict __stream) ;
715 # 272 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
716
717 # 283 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
718 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
719 # 304 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
720
721
722
723 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
724
725
726
727 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
728 int __modes, size_t __n) __attribute__ ((__nothrow__));
729
730
731
732
733
734 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
735 size_t __size) __attribute__ ((__nothrow__));
736
737
738 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
739
740
741
742
743
744
745
746
747 extern int fprintf (FILE *__restrict __stream,
748 __const char *__restrict __format, ...);
749
750
751
752
753 extern int printf (__const char *__restrict __format, ...);
754
755 extern int sprintf (char *__restrict __s,
756 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
757
758
759
760
761
762 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
763 __gnuc_va_list __arg);
764
765
766
767
768 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
769
770 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
771 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
772
773
774
775
776
777 extern int snprintf (char *__restrict __s, size_t __maxlen,
778 __const char *__restrict __format, ...)
779 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
780
781 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
782 __const char *__restrict __format, __gnuc_va_list __arg)
783 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
784
785 # 398 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
786
787
788
789
790
791 extern int fscanf (FILE *__restrict __stream,
792 __const char *__restrict __format, ...) ;
793
794
795
796
797 extern int scanf (__const char *__restrict __format, ...) ;
798
799 extern int sscanf (__const char *__restrict __s,
800 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
801
802 # 440 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
803
804
805
806
807
808 extern int fgetc (FILE *__stream);
809 extern int getc (FILE *__stream);
810
811
812
813
814
815 extern int getchar (void);
816
817 # 464 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
818 extern int getc_unlocked (FILE *__stream);
819 extern int getchar_unlocked (void);
820 # 475 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
821 extern int fgetc_unlocked (FILE *__stream);
822
823
824
825
826
827
828
829
830
831
832
833 extern int fputc (int __c, FILE *__stream);
834 extern int putc (int __c, FILE *__stream);
835
836
837
838
839
840 extern int putchar (int __c);
841
842 # 508 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
843 extern int fputc_unlocked (int __c, FILE *__stream);
844
845
846
847
848
849
850
851 extern int putc_unlocked (int __c, FILE *__stream);
852 extern int putchar_unlocked (int __c);
853
854
855
856
857
858
859 extern int getw (FILE *__stream);
860
861
862 extern int putw (int __w, FILE *__stream);
863
864
865
866
867
868
869
870
871 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
872 ;
873
874
875
876
877
878
879 extern char *gets (char *__s) ;
880
881 # 589 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
882
883
884
885
886
887 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
888
889
890
891
892
893 extern int puts (__const char *__s);
894
895
896
897
898
899
900 extern int ungetc (int __c, FILE *__stream);
901
902
903
904
905
906
907 extern size_t fread (void *__restrict __ptr, size_t __size,
908 size_t __n, FILE *__restrict __stream) ;
909
910
911
912
913 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
914 size_t __n, FILE *__restrict __s) ;
915
916 # 642 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
917 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
918 size_t __n, FILE *__restrict __stream) ;
919 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
920 size_t __n, FILE *__restrict __stream) ;
921
922
923
924
925
926
927
928
929 extern int fseek (FILE *__stream, long int __off, int __whence);
930
931
932
933
934 extern long int ftell (FILE *__stream) ;
935
936
937
938
939 extern void rewind (FILE *__stream);
940
941 # 678 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
942 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
943
944
945
946
947 extern __off_t ftello (FILE *__stream) ;
948 # 697 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
949
950
951
952
953
954
955 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
956
957
958
959
960 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
961 # 720 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
962
963 # 729 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
964
965
966 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
967
968 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
969
970 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
971
972
973
974
975 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
976 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
977 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
978
979
980
981
982
983
984
985
986 extern void perror (__const char *__s);
987
988
989
990
991
992
993 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
994
995
996
997 # 1 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 1 3 4
998 # 27 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 3 4
999 extern int sys_nerr;
1000 extern __const char *__const sys_errlist[];
1001 # 5 "/usr/include/bits/sys_errlist.h" 2 3 4
1002 # 759 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
1003
1004
1005
1006
1007 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
1008
1009
1010
1011
1012 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1013 # 778 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
1014 extern FILE *popen (__const char *__command, __const char *__modes) ;
1015
1016
1017
1018
1019
1020 extern int pclose (FILE *__stream);
1021
1022
1023
1024
1025
1026 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1027 # 818 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
1028 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1029
1030
1031
1032 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
1033
1034
1035 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1036 # 839 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
1037 # 1 "/usr/include/bits/stdio.h" 1 3 4
1038
1039
1040
1041 # 1 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 1 3 4
1042 # 33 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4
1043 extern __inline int
1044 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
1045 {
1046 return vfprintf (stdout, __fmt, __arg);
1047 }
1048
1049
1050 extern __inline int
1051 getchar (void)
1052 {
1053 return _IO_getc (stdin);
1054 }
1055
1056
1057
1058
1059 extern __inline int
1060 fgetc_unlocked (FILE *__fp)
1061 {
1062 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
1063 }
1064
1065
1066
1067
1068
1069 extern __inline int
1070 getc_unlocked (FILE *__fp)
1071 {
1072 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
1073 }
1074
1075
1076 extern __inline int
1077 getchar_unlocked (void)
1078 {
1079 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
1080 }
1081
1082
1083
1084
1085 extern __inline int
1086 putchar (int __c)
1087 {
1088 return _IO_putc (__c, stdout);
1089 }
1090
1091
1092
1093
1094 extern __inline int
1095 fputc_unlocked (int __c, FILE *__stream)
1096 {
1097 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1098 }
1099
1100
1101
1102
1103
1104 extern __inline int
1105 putc_unlocked (int __c, FILE *__stream)
1106 {
1107 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1108 }
1109
1110
1111 extern __inline int
1112 putchar_unlocked (int __c)
1113 {
1114 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
1115 }
1116 # 121 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4
1117 extern __inline int
1118 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
1119 {
1120 return (((__stream)->_flags & 0x10) != 0);
1121 }
1122
1123
1124 extern __inline int
1125 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
1126 {
1127 return (((__stream)->_flags & 0x20) != 0);
1128 }
1129 # 5 "/usr/include/bits/stdio.h" 2 3 4
1130 # 840 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
1131 # 848 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
1132
1133 # 19 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include-fixed/stdio.h" 2 3 4
1134 # 56 "./util.h" 2
1135 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stdarg.h" 1 3 4
1136 # 105 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stdarg.h" 3 4
1137 typedef __gnuc_va_list va_list;
1138 # 57 "./util.h" 2
1139
1140 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
1141 # 152 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 3 4
1142 typedef int ptrdiff_t;
1143 # 59 "./util.h" 2
1144 # 1 "/usr/include/stdlib.h" 1 3 4
1145
1146
1147
1148 # 1 "/usr/include/gentoo-multilib/x86/stdlib.h" 1 3 4
1149 # 25 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1150 # 1 "/usr/include/features.h" 1 3 4
1151 # 26 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
1152
1153
1154
1155
1156
1157
1158
1159 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
1160 # 34 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
1161
1162
1163 # 96 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1164
1165
1166 typedef struct
1167 {
1168 int quot;
1169 int rem;
1170 } div_t;
1171
1172
1173
1174 typedef struct
1175 {
1176 long int quot;
1177 long int rem;
1178 } ldiv_t;
1179
1180
1181
1182 # 140 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1183 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
1184
1185
1186
1187
1188 extern double atof (__const char *__nptr)
1189 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1190
1191 extern int atoi (__const char *__nptr)
1192 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1193
1194 extern long int atol (__const char *__nptr)
1195 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1196
1197
1198
1199
1200
1201 __extension__ extern long long int atoll (__const char *__nptr)
1202 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1203
1204
1205
1206
1207
1208 extern double strtod (__const char *__restrict __nptr,
1209 char **__restrict __endptr)
1210 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1211
1212 # 182 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1213
1214
1215 extern long int strtol (__const char *__restrict __nptr,
1216 char **__restrict __endptr, int __base)
1217 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1218
1219 extern unsigned long int strtoul (__const char *__restrict __nptr,
1220 char **__restrict __endptr, int __base)
1221 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1222
1223
1224
1225
1226 __extension__
1227 extern long long int strtoq (__const char *__restrict __nptr,
1228 char **__restrict __endptr, int __base)
1229 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1230
1231 __extension__
1232 extern unsigned long long int strtouq (__const char *__restrict __nptr,
1233 char **__restrict __endptr, int __base)
1234 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1235
1236
1237
1238
1239
1240 __extension__
1241 extern long long int strtoll (__const char *__restrict __nptr,
1242 char **__restrict __endptr, int __base)
1243 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1244
1245 __extension__
1246 extern unsigned long long int strtoull (__const char *__restrict __nptr,
1247 char **__restrict __endptr, int __base)
1248 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1249
1250 # 279 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1251 extern double __strtod_internal (__const char *__restrict __nptr,
1252 char **__restrict __endptr, int __group)
1253 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1254 extern float __strtof_internal (__const char *__restrict __nptr,
1255 char **__restrict __endptr, int __group)
1256 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1257 extern long double __strtold_internal (__const char *__restrict __nptr,
1258 char **__restrict __endptr,
1259 int __group)
1260 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1261
1262 extern long int __strtol_internal (__const char *__restrict __nptr,
1263 char **__restrict __endptr,
1264 int __base, int __group)
1265 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1266
1267
1268
1269 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
1270 char **__restrict __endptr,
1271 int __base, int __group)
1272 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1273
1274
1275
1276
1277 __extension__
1278 extern long long int __strtoll_internal (__const char *__restrict __nptr,
1279 char **__restrict __endptr,
1280 int __base, int __group)
1281 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1282
1283
1284
1285 __extension__
1286 extern unsigned long long int __strtoull_internal (__const char *
1287 __restrict __nptr,
1288 char **__restrict __endptr,
1289 int __base, int __group)
1290 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1291
1292
1293
1294
1295
1296
1297
1298
1299 extern __inline double
1300 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
1301 {
1302 return __strtod_internal (__nptr, __endptr, 0);
1303 }
1304 extern __inline long int
1305 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1306
1307 {
1308 return __strtol_internal (__nptr, __endptr, __base, 0);
1309 }
1310 extern __inline unsigned long int
1311 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1312
1313 {
1314 return __strtoul_internal (__nptr, __endptr, __base, 0);
1315 }
1316
1317 # 364 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1318 __extension__ extern __inline long long int
1319 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1320
1321 {
1322 return __strtoll_internal (__nptr, __endptr, __base, 0);
1323 }
1324 __extension__ extern __inline unsigned long long int
1325 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1326
1327 {
1328 return __strtoull_internal (__nptr, __endptr, __base, 0);
1329 }
1330
1331
1332
1333
1334 __extension__ extern __inline long long int
1335 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1336
1337 {
1338 return __strtoll_internal (__nptr, __endptr, __base, 0);
1339 }
1340 __extension__ extern __inline unsigned long long int
1341 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
1342
1343 {
1344 return __strtoull_internal (__nptr, __endptr, __base, 0);
1345 }
1346
1347
1348
1349
1350 extern __inline double
1351 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
1352 {
1353 return strtod (__nptr, (char **) ((void *)0));
1354 }
1355 extern __inline int
1356 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
1357 {
1358 return (int) strtol (__nptr, (char **) ((void *)0), 10);
1359 }
1360 extern __inline long int
1361 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
1362 {
1363 return strtol (__nptr, (char **) ((void *)0), 10);
1364 }
1365
1366
1367
1368
1369 __extension__ extern __inline long long int
1370 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
1371 {
1372 return strtoll (__nptr, (char **) ((void *)0), 10);
1373 }
1374
1375 # 429 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
1376 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
1377
1378
1379 extern long int a64l (__const char *__s)
1380 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1381
1382
1383
1384
1385 # 1 "/usr/include/sys/types.h" 1 3 4
1386
1387
1388
1389 # 1 "/usr/include/gentoo-multilib/x86/sys/types.h" 1 3 4
1390 # 27 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1391 # 1 "/usr/include/features.h" 1 3 4
1392 # 28 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1393
1394
1395
1396 # 1 "/usr/include/bits/types.h" 1 3 4
1397 # 32 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1398
1399
1400
1401 typedef __u_char u_char;
1402 typedef __u_short u_short;
1403 typedef __u_int u_int;
1404 typedef __u_long u_long;
1405 typedef __quad_t quad_t;
1406 typedef __u_quad_t u_quad_t;
1407 typedef __fsid_t fsid_t;
1408
1409
1410
1411
1412 typedef __loff_t loff_t;
1413
1414
1415
1416 typedef __ino_t ino_t;
1417 # 62 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1418 typedef __dev_t dev_t;
1419
1420
1421
1422
1423 typedef __gid_t gid_t;
1424
1425
1426
1427
1428 typedef __mode_t mode_t;
1429
1430
1431
1432
1433 typedef __nlink_t nlink_t;
1434
1435
1436
1437
1438 typedef __uid_t uid_t;
1439
1440
1441
1442
1443
1444 typedef __off_t off_t;
1445 # 100 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1446 typedef __pid_t pid_t;
1447
1448
1449
1450
1451 typedef __id_t id_t;
1452
1453
1454
1455
1456 typedef __ssize_t ssize_t;
1457
1458
1459
1460
1461
1462 typedef __daddr_t daddr_t;
1463 typedef __caddr_t caddr_t;
1464
1465
1466
1467
1468
1469 typedef __key_t key_t;
1470 # 133 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1471 # 1 "/usr/include/time.h" 1 3 4
1472
1473
1474
1475 # 1 "/usr/include/gentoo-multilib/x86/time.h" 1 3 4
1476 # 73 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1477 # 1 "/usr/include/bits/types.h" 1 3 4
1478 # 74 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1479
1480
1481
1482 typedef __time_t time_t;
1483
1484
1485
1486 # 90 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1487 # 1 "/usr/include/bits/types.h" 1 3 4
1488 # 91 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1489
1490
1491 typedef __clockid_t clockid_t;
1492 # 102 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1493 # 1 "/usr/include/bits/types.h" 1 3 4
1494 # 103 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1495
1496
1497 typedef __timer_t timer_t;
1498 # 5 "/usr/include/time.h" 2 3 4
1499 # 134 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1500 # 147 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1501 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
1502 # 148 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1503
1504
1505
1506 typedef unsigned long int ulong;
1507 typedef unsigned short int ushort;
1508 typedef unsigned int uint;
1509 # 195 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1510 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1511 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1512 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1513 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1514
1515
1516 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1517 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1518 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1519 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1520
1521 typedef int register_t __attribute__ ((__mode__ (__word__)));
1522 # 217 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1523 # 1 "/usr/include/endian.h" 1 3 4
1524
1525
1526
1527 # 1 "/usr/include/gentoo-multilib/x86/endian.h" 1 3 4
1528 # 22 "/usr/include/gentoo-multilib/x86/endian.h" 3 4
1529 # 1 "/usr/include/features.h" 1 3 4
1530 # 23 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4
1531 # 37 "/usr/include/gentoo-multilib/x86/endian.h" 3 4
1532 # 1 "/usr/include/bits/endian.h" 1 3 4
1533
1534
1535
1536 # 1 "/usr/include/gentoo-multilib/x86/bits/endian.h" 1 3 4
1537 # 5 "/usr/include/bits/endian.h" 2 3 4
1538 # 38 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4
1539 # 5 "/usr/include/endian.h" 2 3 4
1540 # 218 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1541
1542
1543 # 1 "/usr/include/sys/select.h" 1 3 4
1544
1545
1546
1547 # 1 "/usr/include/gentoo-multilib/x86/sys/select.h" 1 3 4
1548 # 25 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4
1549 # 1 "/usr/include/features.h" 1 3 4
1550 # 26 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1551
1552
1553 # 1 "/usr/include/bits/types.h" 1 3 4
1554 # 29 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1555
1556
1557 # 1 "/usr/include/bits/select.h" 1 3 4
1558
1559
1560
1561 # 1 "/usr/include/gentoo-multilib/x86/bits/select.h" 1 3 4
1562 # 5 "/usr/include/bits/select.h" 2 3 4
1563 # 32 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1564
1565
1566 # 1 "/usr/include/bits/sigset.h" 1 3 4
1567
1568
1569
1570 # 1 "/usr/include/gentoo-multilib/x86/bits/sigset.h" 1 3 4
1571 # 24 "/usr/include/gentoo-multilib/x86/bits/sigset.h" 3 4
1572 typedef int __sig_atomic_t;
1573
1574
1575
1576
1577 typedef struct
1578 {
1579 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1580 } __sigset_t;
1581 # 5 "/usr/include/bits/sigset.h" 2 3 4
1582 # 35 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1583
1584
1585
1586 typedef __sigset_t sigset_t;
1587
1588
1589
1590
1591
1592 # 1 "/usr/include/time.h" 1 3 4
1593
1594
1595
1596 # 1 "/usr/include/gentoo-multilib/x86/time.h" 1 3 4
1597 # 117 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1598 # 1 "/usr/include/bits/types.h" 1 3 4
1599 # 118 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1600
1601
1602
1603 struct timespec
1604 {
1605 __time_t tv_sec;
1606 long int tv_nsec;
1607 };
1608 # 5 "/usr/include/time.h" 2 3 4
1609 # 45 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1610
1611 # 1 "/usr/include/bits/time.h" 1 3 4
1612
1613
1614
1615 # 1 "/usr/include/gentoo-multilib/x86/bits/time.h" 1 3 4
1616 # 65 "/usr/include/gentoo-multilib/x86/bits/time.h" 3 4
1617 # 1 "/usr/include/bits/types.h" 1 3 4
1618 # 66 "/usr/include/gentoo-multilib/x86/bits/time.h" 2 3 4
1619
1620
1621
1622 struct timeval
1623 {
1624 __time_t tv_sec;
1625 __suseconds_t tv_usec;
1626 };
1627 # 5 "/usr/include/bits/time.h" 2 3 4
1628 # 47 "/usr/include/gentoo-multilib/x86/sys/select.h" 2 3 4
1629
1630
1631 typedef __suseconds_t suseconds_t;
1632
1633
1634
1635
1636
1637 typedef long int __fd_mask;
1638 # 67 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4
1639 typedef struct
1640 {
1641
1642
1643
1644
1645
1646
1647 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
1648
1649
1650 } fd_set;
1651
1652
1653
1654
1655
1656
1657 typedef __fd_mask fd_mask;
1658 # 99 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4
1659
1660 # 109 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4
1661 extern int select (int __nfds, fd_set *__restrict __readfds,
1662 fd_set *__restrict __writefds,
1663 fd_set *__restrict __exceptfds,
1664 struct timeval *__restrict __timeout);
1665 # 121 "/usr/include/gentoo-multilib/x86/sys/select.h" 3 4
1666 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1667 fd_set *__restrict __writefds,
1668 fd_set *__restrict __exceptfds,
1669 const struct timespec *__restrict __timeout,
1670 const __sigset_t *__restrict __sigmask);
1671
1672
1673
1674 # 5 "/usr/include/sys/select.h" 2 3 4
1675 # 221 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1676
1677
1678 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1679
1680
1681
1682 # 1 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 1 3 4
1683 # 24 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 3 4
1684 # 1 "/usr/include/features.h" 1 3 4
1685 # 25 "/usr/include/gentoo-multilib/x86/sys/sysmacros.h" 2 3 4
1686
1687
1688
1689
1690
1691 __extension__
1692 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1693 __attribute__ ((__nothrow__));
1694 __extension__
1695 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1696 __attribute__ ((__nothrow__));
1697 __extension__
1698 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1699 unsigned int __minor)
1700 __attribute__ ((__nothrow__));
1701
1702
1703 __extension__ extern __inline unsigned int
1704 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1705 {
1706 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1707 }
1708
1709 __extension__ extern __inline unsigned int
1710 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1711 {
1712 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1713 }
1714
1715 __extension__ extern __inline unsigned long long int
1716 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1717 {
1718 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1719 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1720 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1721 }
1722 # 5 "/usr/include/sys/sysmacros.h" 2 3 4
1723 # 224 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1724 # 235 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1725 typedef __blkcnt_t blkcnt_t;
1726
1727
1728
1729 typedef __fsblkcnt_t fsblkcnt_t;
1730
1731
1732
1733 typedef __fsfilcnt_t fsfilcnt_t;
1734 # 270 "/usr/include/gentoo-multilib/x86/sys/types.h" 3 4
1735 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1736
1737
1738
1739 # 1 "/usr/include/gentoo-multilib/x86/bits/pthreadtypes.h" 1 3 4
1740 # 36 "/usr/include/gentoo-multilib/x86/bits/pthreadtypes.h" 3 4
1741 typedef unsigned long int pthread_t;
1742
1743
1744 typedef union
1745 {
1746 char __size[36];
1747 long int __align;
1748 } pthread_attr_t;
1749
1750
1751 typedef struct __pthread_internal_slist
1752 {
1753 struct __pthread_internal_slist *__next;
1754 } __pthread_slist_t;
1755
1756
1757
1758
1759 typedef union
1760 {
1761 struct __pthread_mutex_s
1762 {
1763 int __lock;
1764 unsigned int __count;
1765 int __owner;
1766
1767
1768 int __kind;
1769 unsigned int __nusers;
1770 __extension__ union
1771 {
1772 int __spins;
1773 __pthread_slist_t __list;
1774 };
1775 } __data;
1776 char __size[24];
1777 long int __align;
1778 } pthread_mutex_t;
1779
1780 typedef union
1781 {
1782 char __size[4];
1783 long int __align;
1784 } pthread_mutexattr_t;
1785
1786
1787
1788
1789 typedef union
1790 {
1791 struct
1792 {
1793 int __lock;
1794 unsigned int __futex;
1795 __extension__ unsigned long long int __total_seq;
1796 __extension__ unsigned long long int __wakeup_seq;
1797 __extension__ unsigned long long int __woken_seq;
1798 void *__mutex;
1799 unsigned int __nwaiters;
1800 unsigned int __broadcast_seq;
1801 } __data;
1802 char __size[48];
1803 __extension__ long long int __align;
1804 } pthread_cond_t;
1805
1806 typedef union
1807 {
1808 char __size[4];
1809 long int __align;
1810 } pthread_condattr_t;
1811
1812
1813
1814 typedef unsigned int pthread_key_t;
1815
1816
1817
1818 typedef int pthread_once_t;
1819
1820
1821
1822
1823
1824 typedef union
1825 {
1826 struct
1827 {
1828 int __lock;
1829 unsigned int __nr_readers;
1830 unsigned int __readers_wakeup;
1831 unsigned int __writer_wakeup;
1832 unsigned int __nr_readers_queued;
1833 unsigned int __nr_writers_queued;
1834
1835
1836 unsigned int __flags;
1837 int __writer;
1838 } __data;
1839 char __size[32];
1840 long int __align;
1841 } pthread_rwlock_t;
1842
1843 typedef union
1844 {
1845 char __size[8];
1846 long int __align;
1847 } pthread_rwlockattr_t;
1848
1849
1850
1851
1852
1853 typedef volatile int pthread_spinlock_t;
1854
1855
1856
1857
1858 typedef union
1859 {
1860 char __size[20];
1861 long int __align;
1862 } pthread_barrier_t;
1863
1864 typedef union
1865 {
1866 char __size[4];
1867 int __align;
1868 } pthread_barrierattr_t;
1869 # 5 "/usr/include/bits/pthreadtypes.h" 2 3 4
1870 # 271 "/usr/include/gentoo-multilib/x86/sys/types.h" 2 3 4
1871
1872
1873
1874 # 5 "/usr/include/sys/types.h" 2 3 4
1875 # 439 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
1876
1877
1878
1879
1880
1881
1882 extern long int random (void) __attribute__ ((__nothrow__));
1883
1884
1885 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
1886
1887
1888
1889
1890
1891 extern char *initstate (unsigned int __seed, char *__statebuf,
1892 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1893
1894
1895
1896 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1897
1898
1899
1900
1901
1902
1903
1904 struct random_data
1905 {
1906 int32_t *fptr;
1907 int32_t *rptr;
1908 int32_t *state;
1909 int rand_type;
1910 int rand_deg;
1911 int rand_sep;
1912 int32_t *end_ptr;
1913 };
1914
1915 extern int random_r (struct random_data *__restrict __buf,
1916 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1917
1918 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1919 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1920
1921 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1922 size_t __statelen,
1923 struct random_data *__restrict __buf)
1924 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
1925
1926 extern int setstate_r (char *__restrict __statebuf,
1927 struct random_data *__restrict __buf)
1928 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1929
1930
1931
1932
1933
1934
1935 extern int rand (void) __attribute__ ((__nothrow__));
1936
1937 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
1938
1939
1940
1941
1942 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
1943
1944
1945
1946
1947
1948
1949
1950 extern double drand48 (void) __attribute__ ((__nothrow__));
1951 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1952
1953
1954 extern long int lrand48 (void) __attribute__ ((__nothrow__));
1955 extern long int nrand48 (unsigned short int __xsubi[3])
1956 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1957
1958
1959 extern long int mrand48 (void) __attribute__ ((__nothrow__));
1960 extern long int jrand48 (unsigned short int __xsubi[3])
1961 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1962
1963
1964 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
1965 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1966 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1967 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1968
1969
1970
1971
1972
1973 struct drand48_data
1974 {
1975 unsigned short int __x[3];
1976 unsigned short int __old_x[3];
1977 unsigned short int __c;
1978 unsigned short int __init;
1979 unsigned long long int __a;
1980 };
1981
1982
1983 extern int drand48_r (struct drand48_data *__restrict __buffer,
1984 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1985 extern int erand48_r (unsigned short int __xsubi[3],
1986 struct drand48_data *__restrict __buffer,
1987 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1988
1989
1990 extern int lrand48_r (struct drand48_data *__restrict __buffer,
1991 long int *__restrict __result)
1992 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1993 extern int nrand48_r (unsigned short int __xsubi[3],
1994 struct drand48_data *__restrict __buffer,
1995 long int *__restrict __result)
1996 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1997
1998
1999 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2000 long int *__restrict __result)
2001 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2002 extern int jrand48_r (unsigned short int __xsubi[3],
2003 struct drand48_data *__restrict __buffer,
2004 long int *__restrict __result)
2005 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2006
2007
2008 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2009 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2010
2011 extern int seed48_r (unsigned short int __seed16v[3],
2012 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2013
2014 extern int lcong48_r (unsigned short int __param[7],
2015 struct drand48_data *__buffer)
2016 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2027
2028 extern void *calloc (size_t __nmemb, size_t __size)
2029 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2030
2031
2032
2033
2034
2035
2036
2037 extern void *realloc (void *__ptr, size_t __size)
2038 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
2039
2040 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2041
2042
2043
2044
2045 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2046
2047
2048
2049 # 1 "/usr/include/alloca.h" 1 3 4
2050
2051
2052
2053 # 1 "/usr/include/gentoo-multilib/x86/alloca.h" 1 3 4
2054 # 22 "/usr/include/gentoo-multilib/x86/alloca.h" 3 4
2055 # 1 "/usr/include/features.h" 1 3 4
2056 # 23 "/usr/include/gentoo-multilib/x86/alloca.h" 2 3 4
2057
2058
2059 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
2060 # 26 "/usr/include/gentoo-multilib/x86/alloca.h" 2 3 4
2061
2062
2063
2064
2065
2066
2067
2068 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2069
2070
2071
2072
2073
2074
2075 # 5 "/usr/include/alloca.h" 2 3 4
2076 # 613 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
2077
2078
2079
2080
2081 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2082
2083
2084
2085
2086 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2087 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2088
2089
2090
2091
2092 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2093
2094
2095
2096 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2097
2098
2099
2100
2101
2102 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2103 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2104
2105
2106
2107
2108
2109
2110 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2111
2112 # 658 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2113
2114
2115 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2116
2117
2118
2119
2120 extern char *__secure_getenv (__const char *__name)
2121 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2122
2123
2124
2125
2126
2127 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2128
2129
2130
2131
2132
2133 extern int setenv (__const char *__name, __const char *__value, int __replace)
2134 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2135
2136
2137 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
2138
2139
2140
2141
2142
2143
2144 extern int clearenv (void) __attribute__ ((__nothrow__));
2145 # 698 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2146 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2147 # 709 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2148 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
2149 # 729 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2150 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2151
2152
2153
2154
2155
2156
2157
2158
2159 extern int system (__const char *__command) ;
2160
2161 # 755 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2162 extern char *realpath (__const char *__restrict __name,
2163 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
2164
2165
2166
2167
2168
2169
2170 typedef int (*__compar_fn_t) (__const void *, __const void *);
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180 extern void *bsearch (__const void *__key, __const void *__base,
2181 size_t __nmemb, size_t __size, __compar_fn_t __compar)
2182 __attribute__ ((__nonnull__ (1, 2, 5))) ;
2183
2184
2185
2186 extern void qsort (void *__base, size_t __nmemb, size_t __size,
2187 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2188
2189
2190
2191 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2192 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205 extern div_t div (int __numer, int __denom)
2206 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2207 extern ldiv_t ldiv (long int __numer, long int __denom)
2208 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2209
2210 # 820 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2211 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2212 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2213
2214
2215
2216
2217 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2218 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2219
2220
2221
2222
2223 extern char *gcvt (double __value, int __ndigit, char *__buf)
2224 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2225
2226
2227
2228
2229 extern char *qecvt (long double __value, int __ndigit,
2230 int *__restrict __decpt, int *__restrict __sign)
2231 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2232 extern char *qfcvt (long double __value, int __ndigit,
2233 int *__restrict __decpt, int *__restrict __sign)
2234 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2235 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2236 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2237
2238
2239
2240
2241 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2242 int *__restrict __sign, char *__restrict __buf,
2243 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2244 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2245 int *__restrict __sign, char *__restrict __buf,
2246 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2247
2248 extern int qecvt_r (long double __value, int __ndigit,
2249 int *__restrict __decpt, int *__restrict __sign,
2250 char *__restrict __buf, size_t __len)
2251 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2252 extern int qfcvt_r (long double __value, int __ndigit,
2253 int *__restrict __decpt, int *__restrict __sign,
2254 char *__restrict __buf, size_t __len)
2255 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2256
2257
2258
2259
2260
2261
2262
2263 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
2264
2265
2266 extern int mbtowc (wchar_t *__restrict __pwc,
2267 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
2268
2269
2270 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
2271
2272
2273
2274 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2275 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
2276
2277 extern size_t wcstombs (char *__restrict __s,
2278 __const wchar_t *__restrict __pwcs, size_t __n)
2279 __attribute__ ((__nothrow__));
2280
2281
2282
2283
2284
2285
2286
2287
2288 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2289 # 925 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2290 extern int posix_openpt (int __oflag) ;
2291 # 960 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2292 extern int getloadavg (double __loadavg[], int __nelem)
2293 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2294 # 976 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2295
2296 # 5 "/usr/include/stdlib.h" 2 3 4
2297 # 60 "./util.h" 2
2298 # 1 "/usr/include/string.h" 1 3 4
2299
2300
2301
2302 # 1 "/usr/include/gentoo-multilib/x86/string.h" 1 3 4
2303 # 26 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2304 # 1 "/usr/include/features.h" 1 3 4
2305 # 27 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2306
2307
2308
2309
2310
2311
2312 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
2313 # 34 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2314
2315
2316
2317
2318 extern void *memcpy (void *__restrict __dest,
2319 __const void *__restrict __src, size_t __n)
2320 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2321
2322
2323 extern void *memmove (void *__dest, __const void *__src, size_t __n)
2324 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2325
2326
2327
2328
2329
2330
2331 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
2332 int __c, size_t __n)
2333 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2334
2335
2336
2337
2338
2339 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2340
2341
2342 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
2343 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2344
2345
2346 extern void *memchr (__const void *__s, int __c, size_t __n)
2347 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2348
2349 # 82 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2350
2351
2352 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
2353 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2354
2355 extern char *strncpy (char *__restrict __dest,
2356 __const char *__restrict __src, size_t __n)
2357 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2358
2359
2360 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
2361 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2362
2363 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
2364 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2365
2366
2367 extern int strcmp (__const char *__s1, __const char *__s2)
2368 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2369
2370 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
2371 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2372
2373
2374 extern int strcoll (__const char *__s1, __const char *__s2)
2375 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2376
2377 extern size_t strxfrm (char *__restrict __dest,
2378 __const char *__restrict __src, size_t __n)
2379 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2380
2381 # 130 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2382 extern char *strdup (__const char *__s)
2383 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2384 # 165 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2385
2386
2387 extern char *strchr (__const char *__s, int __c)
2388 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2389
2390 extern char *strrchr (__const char *__s, int __c)
2391 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2392
2393 # 181 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2394
2395
2396
2397 extern size_t strcspn (__const char *__s, __const char *__reject)
2398 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2399
2400
2401 extern size_t strspn (__const char *__s, __const char *__accept)
2402 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2403
2404 extern char *strpbrk (__const char *__s, __const char *__accept)
2405 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2406
2407 extern char *strstr (__const char *__haystack, __const char *__needle)
2408 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2409
2410
2411
2412 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
2413 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2414
2415
2416
2417
2418 extern char *__strtok_r (char *__restrict __s,
2419 __const char *__restrict __delim,
2420 char **__restrict __save_ptr)
2421 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
2422
2423 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
2424 char **__restrict __save_ptr)
2425 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
2426 # 240 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2427
2428
2429 extern size_t strlen (__const char *__s)
2430 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2431
2432 # 254 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2433
2434
2435 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
2436
2437 # 270 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2438 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2439 # 294 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2440 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2441
2442
2443
2444 extern void bcopy (__const void *__src, void *__dest, size_t __n)
2445 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2446
2447
2448 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2449
2450
2451 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
2452 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2453
2454
2455 extern char *index (__const char *__s, int __c)
2456 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2457
2458
2459 extern char *rindex (__const char *__s, int __c)
2460 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2461
2462
2463
2464 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2465 # 331 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2466 extern int strcasecmp (__const char *__s1, __const char *__s2)
2467 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2468
2469
2470 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
2471 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2472 # 354 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2473 extern char *strsep (char **__restrict __stringp,
2474 __const char *__restrict __delim)
2475 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2476 # 420 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2477 # 1 "/usr/include/bits/string.h" 1 3 4
2478
2479
2480
2481 # 1 "/usr/include/gentoo-multilib/x86/bits/string.h" 1 3 4
2482 # 5 "/usr/include/bits/string.h" 2 3 4
2483 # 421 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2484
2485
2486 # 1 "/usr/include/bits/string2.h" 1 3 4
2487
2488
2489
2490 # 1 "/usr/include/gentoo-multilib/x86/bits/string2.h" 1 3 4
2491 # 52 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2492 # 1 "/usr/include/endian.h" 1 3 4
2493 # 53 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2494 # 1 "/usr/include/bits/types.h" 1 3 4
2495 # 54 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2496 # 394 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2497 extern void *__rawmemchr (const void *__s, int __c);
2498 # 969 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2499 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
2500 extern __inline size_t
2501 __strcspn_c1 (__const char *__s, int __reject)
2502 {
2503 register size_t __result = 0;
2504 while (__s[__result] != '\0' && __s[__result] != __reject)
2505 ++__result;
2506 return __result;
2507 }
2508
2509 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
2510 int __reject2);
2511 extern __inline size_t
2512 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
2513 {
2514 register size_t __result = 0;
2515 while (__s[__result] != '\0' && __s[__result] != __reject1
2516 && __s[__result] != __reject2)
2517 ++__result;
2518 return __result;
2519 }
2520
2521 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
2522 int __reject2, int __reject3);
2523 extern __inline size_t
2524 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
2525 int __reject3)
2526 {
2527 register size_t __result = 0;
2528 while (__s[__result] != '\0' && __s[__result] != __reject1
2529 && __s[__result] != __reject2 && __s[__result] != __reject3)
2530 ++__result;
2531 return __result;
2532 }
2533 # 1045 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2534 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
2535 extern __inline size_t
2536 __strspn_c1 (__const char *__s, int __accept)
2537 {
2538 register size_t __result = 0;
2539
2540 while (__s[__result] == __accept)
2541 ++__result;
2542 return __result;
2543 }
2544
2545 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
2546 int __accept2);
2547 extern __inline size_t
2548 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
2549 {
2550 register size_t __result = 0;
2551
2552 while (__s[__result] == __accept1 || __s[__result] == __accept2)
2553 ++__result;
2554 return __result;
2555 }
2556
2557 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
2558 int __accept2, int __accept3);
2559 extern __inline size_t
2560 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
2561 {
2562 register size_t __result = 0;
2563
2564 while (__s[__result] == __accept1 || __s[__result] == __accept2
2565 || __s[__result] == __accept3)
2566 ++__result;
2567 return __result;
2568 }
2569 # 1121 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2570 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
2571 int __accept2);
2572 extern __inline char *
2573 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
2574 {
2575
2576 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
2577 ++__s;
2578 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2579 }
2580
2581 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
2582 int __accept2, int __accept3);
2583 extern __inline char *
2584 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
2585 int __accept3)
2586 {
2587
2588 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
2589 && *__s != __accept3)
2590 ++__s;
2591 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2592 }
2593 # 1173 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2594 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
2595 extern __inline char *
2596 __strtok_r_1c (char *__s, char __sep, char **__nextp)
2597 {
2598 char *__result;
2599 if (__s == ((void *)0))
2600 __s = *__nextp;
2601 while (*__s == __sep)
2602 ++__s;
2603 __result = ((void *)0);
2604 if (*__s != '\0')
2605 {
2606 __result = __s++;
2607 while (*__s != '\0')
2608 if (*__s++ == __sep)
2609 {
2610 __s[-1] = '\0';
2611 break;
2612 }
2613 *__nextp = __s;
2614 }
2615 return __result;
2616 }
2617 # 1205 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2618 extern char *__strsep_g (char **__stringp, __const char *__delim);
2619 # 1223 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2620 extern __inline char *__strsep_1c (char **__s, char __reject);
2621 extern __inline char *
2622 __strsep_1c (char **__s, char __reject)
2623 {
2624 register char *__retval = *__s;
2625 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
2626 *(*__s)++ = '\0';
2627 return __retval;
2628 }
2629
2630 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
2631 extern __inline char *
2632 __strsep_2c (char **__s, char __reject1, char __reject2)
2633 {
2634 register char *__retval = *__s;
2635 if (__retval != ((void *)0))
2636 {
2637 register char *__cp = __retval;
2638 while (1)
2639 {
2640 if (*__cp == '\0')
2641 {
2642 __cp = ((void *)0);
2643 break;
2644 }
2645 if (*__cp == __reject1 || *__cp == __reject2)
2646 {
2647 *__cp++ = '\0';
2648 break;
2649 }
2650 ++__cp;
2651 }
2652 *__s = __cp;
2653 }
2654 return __retval;
2655 }
2656
2657 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
2658 char __reject3);
2659 extern __inline char *
2660 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
2661 {
2662 register char *__retval = *__s;
2663 if (__retval != ((void *)0))
2664 {
2665 register char *__cp = __retval;
2666 while (1)
2667 {
2668 if (*__cp == '\0')
2669 {
2670 __cp = ((void *)0);
2671 break;
2672 }
2673 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
2674 {
2675 *__cp++ = '\0';
2676 break;
2677 }
2678 ++__cp;
2679 }
2680 *__s = __cp;
2681 }
2682 return __retval;
2683 }
2684 # 1299 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2685 # 1 "/usr/include/stdlib.h" 1 3 4
2686 # 1300 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2687
2688
2689
2690
2691 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2692 # 1323 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2693 extern char *__strndup (__const char *__string, size_t __n)
2694 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2695 # 5 "/usr/include/bits/string2.h" 2 3 4
2696 # 424 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2697 # 432 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2698
2699 # 5 "/usr/include/string.h" 2 3 4
2700 # 61 "./util.h" 2
2701 # 1 "/usr/include/assert.h" 1 3 4
2702
2703
2704
2705 # 1 "/usr/include/gentoo-multilib/x86/assert.h" 1 3 4
2706 # 37 "/usr/include/gentoo-multilib/x86/assert.h" 3 4
2707 # 1 "/usr/include/features.h" 1 3 4
2708 # 38 "/usr/include/gentoo-multilib/x86/assert.h" 2 3 4
2709 # 5 "/usr/include/assert.h" 2 3 4
2710 # 62 "./util.h" 2
2711
2712 # 1 "./libyasm/coretype.h" 1
2713 # 38 "./libyasm/coretype.h"
2714 typedef struct yasm_arch yasm_arch;
2715
2716 typedef struct yasm_preproc yasm_preproc;
2717
2718 typedef struct yasm_parser yasm_parser;
2719
2720 typedef struct yasm_objfmt yasm_objfmt;
2721
2722 typedef struct yasm_dbgfmt yasm_dbgfmt;
2723
2724 typedef struct yasm_listfmt yasm_listfmt;
2725
2726
2727
2728
2729 typedef struct yasm_assoc_data_callback {
2730
2731
2732
2733 void (*destroy) ( void *data);
2734
2735
2736
2737
2738
2739
2740 void (*print) (void *data, FILE *f, int indent_level);
2741 } yasm_assoc_data_callback;
2742
2743
2744
2745
2746 typedef struct yasm_errwarns yasm_errwarns;
2747
2748
2749
2750
2751
2752 typedef struct yasm_bytecode yasm_bytecode;
2753
2754
2755 typedef struct yasm_object yasm_object;
2756
2757
2758 typedef struct yasm_section yasm_section;
2759
2760
2761 typedef struct yasm_symtab yasm_symtab;
2762
2763
2764 typedef struct yasm_symrec yasm_symrec;
2765
2766
2767
2768
2769
2770 typedef struct yasm_expr yasm_expr;
2771
2772 typedef struct yasm_intnum yasm_intnum;
2773
2774
2775
2776 typedef struct yasm_floatnum yasm_floatnum;
2777
2778
2779
2780
2781
2782
2783 typedef struct yasm_value {
2784
2785
2786
2787
2788 yasm_expr *abs;
2789
2790
2791
2792
2793 yasm_symrec *rel;
2794
2795
2796 yasm_symrec *wrt;
2797
2798
2799
2800
2801 unsigned int seg_of : 1;
2802
2803
2804
2805
2806
2807 unsigned int rshift : 7;
2808
2809
2810
2811
2812
2813
2814 unsigned int curpos_rel : 1;
2815
2816
2817
2818
2819
2820 unsigned int ip_rel : 1;
2821
2822
2823
2824
2825
2826 unsigned int jump_target : 1;
2827
2828
2829
2830
2831
2832
2833
2834 unsigned int section_rel : 1;
2835
2836
2837
2838
2839 unsigned int sign : 1;
2840
2841
2842 unsigned int size : 8;
2843 } yasm_value;
2844
2845
2846
2847
2848
2849
2850
2851 typedef struct yasm_linemap yasm_linemap;
2852
2853
2854
2855
2856 typedef struct yasm_valparam yasm_valparam;
2857
2858
2859
2860 typedef struct yasm_valparamhead yasm_valparamhead;
2861
2862
2863
2864
2865
2866 typedef struct yasm_insn_operands yasm_insn_operands;
2867
2868
2869 typedef enum yasm_expr_op {
2870 YASM_EXPR_IDENT,
2871 YASM_EXPR_ADD,
2872 YASM_EXPR_SUB,
2873 YASM_EXPR_MUL,
2874 YASM_EXPR_DIV,
2875 YASM_EXPR_SIGNDIV,
2876 YASM_EXPR_MOD,
2877 YASM_EXPR_SIGNMOD,
2878 YASM_EXPR_NEG,
2879 YASM_EXPR_NOT,
2880 YASM_EXPR_OR,
2881 YASM_EXPR_AND,
2882 YASM_EXPR_XOR,
2883 YASM_EXPR_XNOR,
2884 YASM_EXPR_NOR,
2885 YASM_EXPR_SHL,
2886 YASM_EXPR_SHR,
2887 YASM_EXPR_LOR,
2888 YASM_EXPR_LAND,
2889 YASM_EXPR_LNOT,
2890 YASM_EXPR_LXOR,
2891 YASM_EXPR_LXNOR,
2892 YASM_EXPR_LNOR,
2893 YASM_EXPR_LT,
2894 YASM_EXPR_GT,
2895 YASM_EXPR_EQ,
2896 YASM_EXPR_LE,
2897 YASM_EXPR_GE,
2898 YASM_EXPR_NE,
2899 YASM_EXPR_NONNUM,
2900 YASM_EXPR_SEG,
2901 YASM_EXPR_WRT,
2902
2903 YASM_EXPR_SEGOFF
2904 } yasm_expr_op;
2905
2906
2907
2908
2909
2910 typedef enum yasm_sym_vis {
2911 YASM_SYM_LOCAL = 0,
2912 YASM_SYM_GLOBAL = 1 << 0,
2913 YASM_SYM_COMMON = 1 << 1,
2914 YASM_SYM_EXTERN = 1 << 2,
2915 YASM_SYM_DLOCAL = 1 << 3
2916 } yasm_sym_vis;
2917 # 262 "./libyasm/coretype.h"
2918 typedef int (*yasm_output_value_func)
2919 (yasm_value *value, unsigned char *buf, unsigned int destsize,
2920 unsigned long offset, yasm_bytecode *bc, int warn, void *d);
2921 # 283 "./libyasm/coretype.h"
2922 typedef int (*yasm_output_reloc_func)
2923 (yasm_symrec *sym, yasm_bytecode *bc, unsigned char *buf,
2924 unsigned int destsize, unsigned int valsize, int warn, void *d);
2925 # 294 "./libyasm/coretype.h"
2926 int yasm__mergesort(void *base, size_t nmemb, size_t size,
2927 int (*compar)(const void *, const void *));
2928
2929
2930
2931
2932
2933
2934
2935 char *yasm__strsep(char **stringp, const char *delim);
2936
2937
2938
2939
2940
2941
2942
2943 int yasm__strcasecmp(const char *s1, const char *s2);
2944 # 320 "./libyasm/coretype.h"
2945 int yasm__strncasecmp(const char *s1, const char *s2, size_t n);
2946
2947
2948
2949
2950
2951
2952 char *yasm__xstrdup(const char *str);
2953
2954
2955
2956
2957
2958
2959
2960 char *yasm__xstrndup(const char *str, size_t len);
2961
2962
2963
2964
2965
2966
2967
2968 extern void * (*yasm_xmalloc) (size_t size);
2969 # 352 "./libyasm/coretype.h"
2970 extern void * (*yasm_xcalloc) (size_t nelem, size_t elsize);
2971 # 361 "./libyasm/coretype.h"
2972 extern void * (*yasm_xrealloc)
2973 ( void *oldmem, size_t size)
2974 ;
2975
2976
2977
2978
2979
2980 extern void (*yasm_xfree) ( void *p)
2981 ;
2982 # 64 "./util.h" 2
2983 # 73 "./util.h"
2984 # 1 "/usr/include/libintl.h" 1 3 4
2985
2986
2987
2988 # 1 "/usr/include/gentoo-multilib/x86/libintl.h" 1 3 4
2989 # 24 "/usr/include/gentoo-multilib/x86/libintl.h" 3 4
2990 # 1 "/usr/include/features.h" 1 3 4
2991 # 25 "/usr/include/gentoo-multilib/x86/libintl.h" 2 3 4
2992 # 35 "/usr/include/gentoo-multilib/x86/libintl.h" 3 4
2993
2994
2995
2996
2997
2998 extern char *gettext (__const char *__msgid)
2999 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
3000
3001
3002
3003 extern char *dgettext (__const char *__domainname, __const char *__msgid)
3004 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
3005 extern char *__dgettext (__const char *__domainname, __const char *__msgid)
3006 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
3007
3008
3009
3010 extern char *dcgettext (__const char *__domainname,
3011 __const char *__msgid, int __category)
3012 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
3013 extern char *__dcgettext (__const char *__domainname,
3014 __const char *__msgid, int __category)
3015 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
3016
3017
3018
3019
3020 extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
3021 unsigned long int __n)
3022 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2)));
3023
3024
3025
3026 extern char *dngettext (__const char *__domainname, __const char *__msgid1,
3027 __const char *__msgid2, unsigned long int __n)
3028 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
3029
3030
3031
3032 extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
3033 __const char *__msgid2, unsigned long int __n,
3034 int __category)
3035 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
3036
3037
3038
3039
3040
3041 extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__));
3042
3043
3044
3045 extern char *bindtextdomain (__const char *__domainname,
3046 __const char *__dirname) __attribute__ ((__nothrow__));
3047
3048
3049
3050 extern char *bind_textdomain_codeset (__const char *__domainname,
3051 __const char *__codeset) __attribute__ ((__nothrow__));
3052
3053
3054
3055
3056
3057
3058
3059 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
3060 # 102 "/usr/include/gentoo-multilib/x86/libintl.h" 2 3 4
3061
3062
3063 # 1 "/usr/include/locale.h" 1 3 4
3064
3065
3066
3067 # 1 "/usr/include/gentoo-multilib/x86/locale.h" 1 3 4
3068 # 26 "/usr/include/gentoo-multilib/x86/locale.h" 3 4
3069 # 1 "/usr/include/features.h" 1 3 4
3070 # 27 "/usr/include/gentoo-multilib/x86/locale.h" 2 3 4
3071
3072
3073 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0-alpha20070615/include/stddef.h" 1 3 4
3074 # 30 "/usr/include/gentoo-multilib/x86/locale.h" 2 3 4
3075 # 1 "/usr/include/bits/locale.h" 1 3 4
3076
3077
3078
3079 # 1 "/usr/include/gentoo-multilib/x86/bits/locale.h" 1 3 4
3080 # 27 "/usr/include/gentoo-multilib/x86/bits/locale.h" 3 4
3081 enum
3082 {
3083 __LC_CTYPE = 0,
3084 __LC_NUMERIC = 1,
3085 __LC_TIME = 2,
3086 __LC_COLLATE = 3,
3087 __LC_MONETARY = 4,
3088 __LC_MESSAGES = 5,
3089 __LC_ALL = 6,
3090 __LC_PAPER = 7,
3091 __LC_NAME = 8,
3092 __LC_ADDRESS = 9,
3093 __LC_TELEPHONE = 10,
3094 __LC_MEASUREMENT = 11,
3095 __LC_IDENTIFICATION = 12
3096 };
3097 # 5 "/usr/include/bits/locale.h" 2 3 4
3098 # 31 "/usr/include/gentoo-multilib/x86/locale.h" 2 3 4
3099
3100
3101 # 51 "/usr/include/gentoo-multilib/x86/locale.h" 3 4
3102
3103
3104
3105 struct lconv
3106 {
3107
3108
3109 char *decimal_point;
3110 char *thousands_sep;
3111
3112
3113
3114
3115
3116 char *grouping;
3117
3118
3119
3120
3121
3122 char *int_curr_symbol;
3123 char *currency_symbol;
3124 char *mon_decimal_point;
3125 char *mon_thousands_sep;
3126 char *mon_grouping;
3127 char *positive_sign;
3128 char *negative_sign;
3129 char int_frac_digits;
3130 char frac_digits;
3131
3132 char p_cs_precedes;
3133
3134 char p_sep_by_space;
3135
3136 char n_cs_precedes;
3137
3138 char n_sep_by_space;
3139
3140
3141
3142
3143
3144
3145 char p_sign_posn;
3146 char n_sign_posn;
3147 # 114 "/usr/include/gentoo-multilib/x86/locale.h" 3 4
3148 char __int_p_cs_precedes;
3149 char __int_p_sep_by_space;
3150 char __int_n_cs_precedes;
3151 char __int_n_sep_by_space;
3152 char __int_p_sign_posn;
3153 char __int_n_sign_posn;
3154
3155 };
3156
3157
3158
3159 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
3160
3161
3162 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
3163
3164
3165 # 208 "/usr/include/gentoo-multilib/x86/locale.h" 3 4
3166
3167 # 5 "/usr/include/locale.h" 2 3 4
3168 # 105 "/usr/include/gentoo-multilib/x86/libintl.h" 2 3 4
3169 # 122 "/usr/include/gentoo-multilib/x86/libintl.h" 3 4
3170
3171 # 5 "/usr/include/libintl.h" 2 3 4
3172 # 74 "./util.h" 2
3173 # 119 "./util.h"
3174 # 1 "./libyasm/compat-queue.h" 1
3175 # 120 "./util.h" 2
3176 # 28 "frontends/yasm/yasm.c" 2
3177 __asm__(".ident\t\"" "$Id: yasm.c 1760 2007-02-08 05:02:37Z peter $" "\"");
3178
3179 # 1 "/usr/include/ctype.h" 1 3 4
3180
3181
3182
3183 # 1 "/usr/include/gentoo-multilib/x86/ctype.h" 1 3 4
3184 # 27 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3185 # 1 "/usr/include/features.h" 1 3 4
3186 # 28 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
3187 # 1 "/usr/include/bits/types.h" 1 3 4
3188 # 29 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
3189
3190
3191 # 41 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3192 # 1 "/usr/include/endian.h" 1 3 4
3193 # 42 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
3194
3195
3196
3197
3198
3199
3200 enum
3201 {
3202 _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
3203 _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
3204 _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
3205 _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
3206 _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
3207 _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
3208 _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
3209 _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
3210 _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
3211 _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
3212 _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
3213 _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
3214 };
3215 # 81 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3216 extern __const unsigned short int **__ctype_b_loc (void)
3217 __attribute__ ((__const));
3218 extern __const __int32_t **__ctype_tolower_loc (void)
3219 __attribute__ ((__const));
3220 extern __const __int32_t **__ctype_toupper_loc (void)
3221 __attribute__ ((__const));
3222 # 96 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3223
3224
3225
3226
3227
3228
3229 extern int isalnum (int) __attribute__ ((__nothrow__));
3230 extern int isalpha (int) __attribute__ ((__nothrow__));
3231 extern int iscntrl (int) __attribute__ ((__nothrow__));
3232 extern int isdigit (int) __attribute__ ((__nothrow__));
3233 extern int islower (int) __attribute__ ((__nothrow__));
3234 extern int isgraph (int) __attribute__ ((__nothrow__));
3235 extern int isprint (int) __attribute__ ((__nothrow__));
3236 extern int ispunct (int) __attribute__ ((__nothrow__));
3237 extern int isspace (int) __attribute__ ((__nothrow__));
3238 extern int isupper (int) __attribute__ ((__nothrow__));
3239 extern int isxdigit (int) __attribute__ ((__nothrow__));
3240
3241
3242
3243 extern int tolower (int __c) __attribute__ ((__nothrow__));
3244
3245
3246 extern int toupper (int __c) __attribute__ ((__nothrow__));
3247
3248
3249 # 142 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3250 extern int isascii (int __c) __attribute__ ((__nothrow__));
3251
3252
3253
3254 extern int toascii (int __c) __attribute__ ((__nothrow__));
3255
3256
3257
3258 extern int _toupper (int) __attribute__ ((__nothrow__));
3259 extern int _tolower (int) __attribute__ ((__nothrow__));
3260 # 190 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3261 extern __inline int
3262 __attribute__ ((__nothrow__)) tolower (int __c)
3263 {
3264 return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
3265 }
3266
3267 extern __inline int
3268 __attribute__ ((__nothrow__)) toupper (int __c)
3269 {
3270 return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
3271 }
3272 # 323 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
3273
3274 # 5 "/usr/include/ctype.h" 2 3 4
3275 # 31 "frontends/yasm/yasm.c" 2
3276
3277 # 1 "./libyasm/bitvect.h" 1
3278 # 19 "./libyasm/bitvect.h"
3279 typedef unsigned char N_char;
3280 typedef unsigned char N_byte;
3281 typedef unsigned short N_short;
3282 typedef unsigned short N_shortword;
3283 typedef unsigned int N_int;
3284 typedef unsigned int N_word;
3285 typedef unsigned long N_long;
3286 typedef unsigned long N_longword;
3287
3288
3289
3290
3291 typedef signed char Z_char;
3292 typedef signed char Z_byte;
3293 typedef signed short Z_short;
3294 typedef signed short Z_shortword;
3295 typedef signed int Z_int;
3296 typedef signed int Z_word;
3297 typedef signed long Z_long;
3298 typedef signed long Z_longword;
3299
3300
3301
3302
3303 typedef void *voidptr;
3304 typedef N_char *charptr;
3305 typedef N_byte *byteptr;
3306 typedef N_short *shortptr;
3307 typedef N_shortword *shortwordptr;
3308 typedef N_int *intptr;
3309 typedef N_word *wordptr;
3310 typedef N_long *longptr;
3311 typedef N_longword *longwordptr;
3312
3313 typedef N_char *N_charptr;
3314 typedef N_byte *N_byteptr;
3315 typedef N_short *N_shortptr;
3316 typedef N_shortword *N_shortwordptr;
3317 typedef N_int *N_intptr;
3318 typedef N_word *N_wordptr;
3319 typedef N_long *N_longptr;
3320 typedef N_longword *N_longwordptr;
3321
3322 typedef Z_char *Z_charptr;
3323 typedef Z_byte *Z_byteptr;
3324 typedef Z_short *Z_shortptr;
3325 typedef Z_shortword *Z_shortwordptr;
3326 typedef Z_int *Z_intptr;
3327 typedef Z_word *Z_wordptr;
3328 typedef Z_long *Z_longptr;
3329 typedef Z_longword *Z_longwordptr;
3330 # 85 "./libyasm/bitvect.h"
3331 typedef enum boolean { false = (0!=0), true = (0==0) } boolean;
3332
3333
3334
3335
3336
3337
3338
3339 typedef enum ErrCode
3340 {
3341 ErrCode_Ok = 0,
3342
3343 ErrCode_Type,
3344 ErrCode_Bits,
3345 ErrCode_Word,
3346 ErrCode_Long,
3347 ErrCode_Powr,
3348 ErrCode_Loga,
3349
3350 ErrCode_Null,
3351
3352 ErrCode_Indx,
3353 ErrCode_Ordr,
3354 ErrCode_Size,
3355 ErrCode_Pars,
3356 ErrCode_Ovfl,
3357 ErrCode_Same,
3358 ErrCode_Expo,
3359 ErrCode_Zero
3360 } ErrCode;
3361
3362 typedef wordptr *listptr;
3363
3364
3365
3366 const char * BitVector_Error (ErrCode error);
3367
3368 ErrCode BitVector_Boot (void);
3369 void BitVector_Shutdown (void);
3370
3371 N_word BitVector_Size (N_int bits);
3372 N_word BitVector_Mask (N_int bits);
3373
3374
3375
3376 const char * BitVector_Version (void);
3377
3378 N_int BitVector_Word_Bits (void);
3379 N_int BitVector_Long_Bits (void);
3380
3381
3382
3383 wordptr BitVector_Create (N_int bits, boolean clear);
3384 listptr BitVector_Create_List(N_int bits, boolean clear, N_int count);
3385
3386 wordptr BitVector_Resize (wordptr oldaddr, N_int bits);
3387
3388 wordptr BitVector_Shadow (wordptr addr);
3389 wordptr BitVector_Clone (wordptr addr);
3390
3391 wordptr BitVector_Concat (wordptr X, wordptr Y);
3392
3393
3394
3395 void BitVector_Dispose ( charptr string);
3396 void BitVector_Destroy ( wordptr addr);
3397 void BitVector_Destroy_List (listptr list, N_int count);
3398
3399
3400
3401
3402
3403 void BitVector_Copy (wordptr X, wordptr Y);
3404
3405
3406
3407 void BitVector_Empty (wordptr addr);
3408 void BitVector_Fill (wordptr addr);
3409 void BitVector_Flip (wordptr addr);
3410
3411 void BitVector_Primes (wordptr addr);
3412
3413
3414
3415 void BitVector_Reverse (wordptr X, wordptr Y);
3416
3417
3418
3419 void BitVector_Interval_Empty ( wordptr addr, N_int lower, N_int upper);
3420 void BitVector_Interval_Fill ( wordptr addr, N_int lower, N_int upper);
3421 void BitVector_Interval_Flip ( wordptr addr, N_int lower, N_int upper);
3422 void BitVector_Interval_Reverse ( wordptr addr, N_int lower, N_int upper);
3423
3424 boolean BitVector_interval_scan_inc (wordptr addr, N_int start,
3425 N_intptr min, N_intptr max);
3426 boolean BitVector_interval_scan_dec (wordptr addr, N_int start,
3427 N_intptr min, N_intptr max);
3428
3429 void BitVector_Interval_Copy ( wordptr X, wordptr Y, N_int Xoffset,
3430 N_int Yoffset, N_int length);
3431
3432 wordptr BitVector_Interval_Substitute( wordptr X, wordptr Y,
3433 N_int Xoffset, N_int Xlength,
3434 N_int Yoffset, N_int Ylength);
3435
3436
3437
3438 boolean BitVector_is_empty (wordptr addr);
3439 boolean BitVector_is_full (wordptr addr);
3440
3441 boolean BitVector_equal (wordptr X, wordptr Y);
3442 Z_int BitVector_Lexicompare(wordptr X, wordptr Y);
3443 Z_int BitVector_Compare (wordptr X, wordptr Y);
3444
3445
3446
3447 charptr BitVector_to_Hex (wordptr addr);
3448 ErrCode BitVector_from_Hex ( wordptr addr, charptr string);
3449
3450 ErrCode BitVector_from_Oct( wordptr addr, charptr string);
3451
3452 charptr BitVector_to_Bin (wordptr addr);
3453 ErrCode BitVector_from_Bin ( wordptr addr, charptr string);
3454
3455 charptr BitVector_to_Dec (wordptr addr);
3456 ErrCode BitVector_from_Dec ( wordptr addr, charptr string);
3457
3458 typedef struct BitVector_from_Dec_static_data BitVector_from_Dec_static_data;
3459 BitVector_from_Dec_static_data *BitVector_from_Dec_static_Boot(N_word bits);
3460 void BitVector_from_Dec_static_Shutdown( BitVector_from_Dec_static_data *data);
3461 ErrCode BitVector_from_Dec_static(BitVector_from_Dec_static_data *data,
3462 wordptr addr, charptr string);
3463
3464 charptr BitVector_to_Enum (wordptr addr);
3465 ErrCode BitVector_from_Enum ( wordptr addr, charptr string);
3466
3467
3468
3469 void BitVector_Bit_Off ( wordptr addr, N_int indx);
3470 void BitVector_Bit_On ( wordptr addr, N_int indx);
3471 boolean BitVector_bit_flip ( wordptr addr, N_int indx);
3472
3473 boolean BitVector_bit_test (wordptr addr, N_int indx);
3474
3475 void BitVector_Bit_Copy ( wordptr addr, N_int indx, boolean bit);
3476
3477
3478
3479 void BitVector_LSB ( wordptr addr, boolean bit);
3480 void BitVector_MSB ( wordptr addr, boolean bit);
3481 boolean BitVector_lsb_ (wordptr addr);
3482 boolean BitVector_msb_ (wordptr addr);
3483 boolean BitVector_rotate_left (wordptr addr);
3484 boolean BitVector_rotate_right (wordptr addr);
3485 boolean BitVector_shift_left (wordptr addr, boolean carry_in);
3486 boolean BitVector_shift_right (wordptr addr, boolean carry_in);
3487 void BitVector_Move_Left (wordptr addr, N_int bits);
3488 void BitVector_Move_Right (wordptr addr, N_int bits);
3489
3490
3491
3492 void BitVector_Insert (wordptr addr, N_int offset, N_int count,
3493 boolean clear);
3494 void BitVector_Delete (wordptr addr, N_int offset, N_int count,
3495 boolean clear);
3496
3497
3498
3499 boolean BitVector_increment (wordptr addr);
3500 boolean BitVector_decrement (wordptr addr);
3501
3502 boolean BitVector_compute (wordptr X, wordptr Y, wordptr Z, boolean minus,
3503 boolean *carry);
3504 boolean BitVector_add (wordptr X, wordptr Y, wordptr Z, boolean *carry);
3505 boolean BitVector_sub (wordptr X, wordptr Y, wordptr Z, boolean *carry);
3506 boolean BitVector_inc (wordptr X, wordptr Y);
3507 boolean BitVector_dec (wordptr X, wordptr Y);
3508
3509 void BitVector_Negate (wordptr X, wordptr Y);
3510 void BitVector_Absolute (wordptr X, wordptr Y);
3511 Z_int BitVector_Sign (wordptr addr);
3512 ErrCode BitVector_Mul_Pos (wordptr X, wordptr Y, wordptr Z, boolean strict);
3513 ErrCode BitVector_Multiply (wordptr X, wordptr Y, wordptr Z);
3514 ErrCode BitVector_Div_Pos (wordptr Q, wordptr X, wordptr Y, wordptr R);
3515 ErrCode BitVector_Divide (wordptr Q, wordptr X, wordptr Y, wordptr R);
3516 ErrCode BitVector_GCD (wordptr X, wordptr Y, wordptr Z);
3517 ErrCode BitVector_GCD2 (wordptr U, wordptr V, wordptr W,
3518 wordptr X, wordptr Y);
3519 ErrCode BitVector_Power (wordptr X, wordptr Y, wordptr Z);
3520
3521
3522
3523 void BitVector_Block_Store(wordptr addr, charptr buffer, N_int length);
3524 charptr BitVector_Block_Read (wordptr addr, N_intptr length);
3525
3526
3527
3528 void BitVector_Word_Store (wordptr addr, N_int offset, N_int value);
3529 N_int BitVector_Word_Read (wordptr addr, N_int offset);
3530
3531 void BitVector_Word_Insert(wordptr addr, N_int offset, N_int count,
3532 boolean clear);
3533 void BitVector_Word_Delete(wordptr addr, N_int offset, N_int count,
3534 boolean clear);
3535
3536
3537
3538 void BitVector_Chunk_Store(wordptr addr, N_int chunksize,
3539 N_int offset, N_long value);
3540 N_long BitVector_Chunk_Read (wordptr addr, N_int chunksize,
3541 N_int offset);
3542
3543
3544
3545 void Set_Union (wordptr X, wordptr Y, wordptr Z);
3546 void Set_Intersection (wordptr X, wordptr Y, wordptr Z);
3547 void Set_Difference (wordptr X, wordptr Y, wordptr Z);
3548 void Set_ExclusiveOr (wordptr X, wordptr Y, wordptr Z);
3549 void Set_Complement (wordptr X, wordptr Y);
3550
3551
3552
3553 boolean Set_subset (wordptr X, wordptr Y);
3554
3555 N_int Set_Norm (wordptr addr);
3556 N_int Set_Norm2 (wordptr addr);
3557 N_int Set_Norm3 (wordptr addr);
3558 Z_long Set_Min (wordptr addr);
3559 Z_long Set_Max (wordptr addr);
3560
3561
3562
3563 void Matrix_Multiplication(wordptr X, N_int rowsX, N_int colsX,
3564 wordptr Y, N_int rowsY, N_int colsY,
3565 wordptr Z, N_int rowsZ, N_int colsZ);
3566
3567 void Matrix_Product (wordptr X, N_int rowsX, N_int colsX,
3568 wordptr Y, N_int rowsY, N_int colsY,
3569 wordptr Z, N_int rowsZ, N_int colsZ);
3570
3571 void Matrix_Closure (wordptr addr, N_int rows, N_int cols);
3572
3573 void Matrix_Transpose (wordptr X, N_int rowsX, N_int colsX,
3574 wordptr Y, N_int rowsY, N_int colsY);
3575 # 33 "frontends/yasm/yasm.c" 2
3576 # 1 "./libyasm.h" 1
3577 # 55 "./libyasm.h"
3578 # 1 "./libyasm-stdint.h" 1
3579
3580
3581
3582
3583
3584
3585 # 1 "/usr/include/stdint.h" 1 3 4
3586
3587
3588
3589 # 1 "/usr/include/gentoo-multilib/x86/stdint.h" 1 3 4
3590 # 26 "/usr/include/gentoo-multilib/x86/stdint.h" 3 4
3591 # 1 "/usr/include/features.h" 1 3 4
3592 # 27 "/usr/include/gentoo-multilib/x86/stdint.h" 2 3 4
3593 # 1 "/usr/include/bits/wchar.h" 1 3 4
3594 # 28 "/usr/include/gentoo-multilib/x86/stdint.h" 2 3 4
3595 # 1 "/usr/include/bits/wordsize.h" 1 3 4
3596
3597
3598
3599 # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4
3600 # 5 "/usr/include/bits/wordsize.h" 2 3 4
3601 # 29 "/usr/include/gentoo-multilib/x86/stdint.h" 2 3 4
3602 # 49 "/usr/include/gentoo-multilib/x86/stdint.h" 3 4
3603 typedef unsigned char uint8_t;
3604 typedef unsigned short int uint16_t;
3605
3606 typedef unsigned int uint32_t;
3607
3608
3609
3610
3611
3612 __extension__
3613 typedef unsigned long long int uint64_t;
3614
3615
3616
3617
3618
3619
3620 typedef signed char int_least8_t;
3621 typedef short int int_least16_t;
3622 typedef int int_least32_t;
3623
3624
3625
3626 __extension__
3627 typedef long long int int_least64_t;
3628
3629
3630
3631 typedef unsigned char uint_least8_t;
3632 typedef unsigned short int uint_least16_t;
3633 typedef unsigned int uint_least32_t;
3634
3635
3636
3637 __extension__
3638 typedef unsigned long long int uint_least64_t;
3639
3640
3641
3642
3643
3644
3645 typedef signed char int_fast8_t;
3646
3647
3648
3649
3650
3651 typedef int int_fast16_t;
3652 typedef int int_fast32_t;
3653 __extension__
3654 typedef long long int int_fast64_t;
3655
3656
3657
3658 typedef unsigned char uint_fast8_t;
3659
3660
3661
3662
3663
3664 typedef unsigned int uint_fast16_t;
3665 typedef unsigned int uint_fast32_t;
3666 __extension__
3667 typedef unsigned long long int uint_fast64_t;
3668 # 126 "/usr/include/gentoo-multilib/x86/stdint.h" 3 4
3669 typedef int intptr_t;
3670
3671
3672 typedef unsigned int uintptr_t;
3673 # 138 "/usr/include/gentoo-multilib/x86/stdint.h" 3 4
3674 __extension__
3675 typedef long long int intmax_t;
3676 __extension__
3677 typedef unsigned long long int uintmax_t;
3678 # 5 "/usr/include/stdint.h" 2 3 4
3679 # 8 "./libyasm-stdint.h" 2
3680 # 56 "./libyasm.h" 2
3681
3682
3683
3684
3685
3686
3687
3688 # 1 "./libyasm/valparam.h" 1
3689 # 54 "./libyasm/valparam.h"
3690 yasm_valparam *yasm_vp_create( char *v, yasm_expr *p);
3691
3692
3693
3694
3695 yasm_valparamhead *yasm_vps_create(void);
3696
3697
3698
3699
3700 void yasm_vps_destroy(yasm_valparamhead *headp);
3701 # 84 "./libyasm/valparam.h"
3702 void yasm_vps_append(yasm_valparamhead *headp, yasm_valparam *vp);
3703 # 96 "./libyasm/valparam.h"
3704 yasm_valparam *yasm_vps_first
3705 (yasm_valparamhead *headp);
3706 # 106 "./libyasm/valparam.h"
3707 yasm_valparam *yasm_vps_next(yasm_valparam *cur);
3708 # 122 "./libyasm/valparam.h"
3709 void yasm_vps_print( const yasm_valparamhead *headp, FILE *f);
3710 # 64 "./libyasm.h" 2
3711
3712 # 1 "./libyasm/linemap.h" 1
3713 # 40 "./libyasm/linemap.h"
3714 yasm_linemap *yasm_linemap_create(void);
3715
3716
3717
3718
3719 void yasm_linemap_destroy(yasm_linemap *linemap);
3720
3721
3722
3723
3724
3725 unsigned long yasm_linemap_get_current(yasm_linemap *linemap);
3726 # 62 "./libyasm/linemap.h"
3727 int yasm_linemap_get_source(yasm_linemap *linemap, unsigned long line,
3728 yasm_bytecode **bcp,
3729 const char **sourcep);
3730 # 74 "./libyasm/linemap.h"
3731 void yasm_linemap_add_source(yasm_linemap *linemap,
3732 yasm_bytecode *bc,
3733 const char *source);
3734
3735
3736
3737
3738
3739 unsigned long yasm_linemap_goto_next(yasm_linemap *linemap);
3740 # 92 "./libyasm/linemap.h"
3741 void yasm_linemap_set(yasm_linemap *linemap, const char *filename,
3742 unsigned long file_line, unsigned long line_inc);
3743 # 103 "./libyasm/linemap.h"
3744 unsigned long yasm_linemap_poke(yasm_linemap *linemap,
3745 const char *filename,
3746 unsigned long file_line);
3747
3748
3749
3750
3751
3752
3753
3754 void yasm_linemap_lookup(yasm_linemap *linemap, unsigned long line,
3755 const char **filename,
3756 unsigned long *file_line);
3757 # 125 "./libyasm/linemap.h"
3758 int yasm_linemap_traverse_filenames
3759 (yasm_linemap *linemap, void *d,
3760 int (*func) (const char *filename, void *d));
3761 # 66 "./libyasm.h" 2
3762
3763 # 1 "./libyasm/errwarn.h" 1
3764 # 38 "./libyasm/errwarn.h"
3765 typedef enum yasm_warn_class {
3766 YASM_WARN_NONE = 0,
3767 YASM_WARN_GENERAL,
3768 YASM_WARN_UNREC_CHAR,
3769 YASM_WARN_PREPROC,
3770 YASM_WARN_ORPHAN_LABEL,
3771 YASM_WARN_UNINIT_CONTENTS
3772 } yasm_warn_class;
3773
3774
3775 typedef enum yasm_error_class {
3776 YASM_ERROR_NONE = 0x0000,
3777 YASM_ERROR_GENERAL = 0xFFFF,
3778 YASM_ERROR_ARITHMETIC = 0x0001,
3779 YASM_ERROR_OVERFLOW = 0x8001,
3780 YASM_ERROR_FLOATING_POINT = 0x4001,
3781 YASM_ERROR_ZERO_DIVISION = 0x2001,
3782 YASM_ERROR_ASSERTION = 0x0002,
3783 YASM_ERROR_VALUE = 0x0004,
3784
3785 YASM_ERROR_NOT_ABSOLUTE = 0x8004,
3786 YASM_ERROR_TOO_COMPLEX = 0x4004,
3787 YASM_ERROR_NOT_CONSTANT = 0x2004,
3788 YASM_ERROR_IO = 0x0008,
3789 YASM_ERROR_NOT_IMPLEMENTED = 0x0010,
3790 YASM_ERROR_TYPE = 0x0020,
3791 YASM_ERROR_SYNTAX = 0x0040,
3792 YASM_ERROR_PARSE = 0x8040
3793 } yasm_error_class;
3794
3795
3796 void yasm_errwarn_initialize(void);
3797
3798
3799
3800
3801 void yasm_errwarn_cleanup(void);
3802 # 84 "./libyasm/errwarn.h"
3803 extern void (*yasm_internal_error_)
3804 (const char *file, unsigned int line, const char *message);
3805 # 100 "./libyasm/errwarn.h"
3806 extern void (*yasm_fatal) (const char *message, va_list va);
3807
3808
3809
3810
3811
3812
3813
3814 void yasm__fatal(const char *message, ...);
3815
3816
3817
3818
3819 void yasm_error_clear(void);
3820
3821
3822
3823
3824
3825
3826 yasm_error_class yasm_error_occurred(void);
3827 # 129 "./libyasm/errwarn.h"
3828 int yasm_error_matches(yasm_error_class eclass);
3829
3830
3831 extern yasm_error_class yasm_eclass;
3832 # 142 "./libyasm/errwarn.h"
3833 void yasm_error_set_va(yasm_error_class eclass, const char *format, va_list va);
3834
3835
3836
3837
3838
3839
3840
3841 void yasm_error_set(yasm_error_class eclass, const char *format, ...)
3842 ;
3843 # 160 "./libyasm/errwarn.h"
3844 void yasm_error_set_xref_va(unsigned long xrefline, const char *format,
3845 va_list va);
3846 # 170 "./libyasm/errwarn.h"
3847 void yasm_error_set_xref(unsigned long xrefline, const char *format, ...)
3848 ;
3849 # 185 "./libyasm/errwarn.h"
3850 void yasm_error_fetch( yasm_error_class *eclass,
3851 char **str,
3852 unsigned long *xrefline,
3853 char **xrefstr);
3854
3855
3856
3857
3858 void yasm_warn_clear(void);
3859
3860
3861
3862
3863
3864
3865 yasm_warn_class yasm_warn_occurred(void);
3866
3867
3868
3869
3870
3871
3872 void yasm_warn_set_va(yasm_warn_class wclass, const char *format, va_list va);
3873
3874
3875
3876
3877
3878
3879 void yasm_warn_set(yasm_warn_class wclass, const char *format, ...)
3880 ;
3881 # 227 "./libyasm/errwarn.h"
3882 void yasm_warn_fetch( yasm_warn_class *wclass,
3883 char **str);
3884
3885
3886
3887
3888 void yasm_warn_enable(yasm_warn_class wclass);
3889
3890
3891
3892
3893 void yasm_warn_disable(yasm_warn_class wclass);
3894
3895
3896 void yasm_warn_disable_all(void);
3897
3898
3899
3900
3901 yasm_errwarns *yasm_errwarns_create(void);
3902
3903
3904
3905
3906 void yasm_errwarns_destroy( yasm_errwarns *errwarns);
3907 # 263 "./libyasm/errwarn.h"
3908 void yasm_errwarn_propagate(yasm_errwarns *errwarns, unsigned long line);
3909
3910
3911
3912
3913
3914
3915 unsigned int yasm_errwarns_num_errors(yasm_errwarns *errwarns,
3916 int warning_as_error);
3917 # 281 "./libyasm/errwarn.h"
3918 typedef void (*yasm_print_error_func)
3919 (const char *fn, unsigned long line, const char *msg,
3920 const char *xref_fn, unsigned long xref_line,
3921 const char *xref_msg);
3922
3923
3924
3925
3926
3927
3928 typedef void (*yasm_print_warning_func)
3929 (const char *fn, unsigned long line, const char *msg);
3930 # 301 "./libyasm/errwarn.h"
3931 void yasm_errwarns_output_all
3932 (yasm_errwarns *errwarns, yasm_linemap *lm, int warning_as_error,
3933 yasm_print_error_func print_error, yasm_print_warning_func print_warning);
3934
3935
3936
3937
3938
3939
3940 char *yasm__conv_unprint(int ch);
3941
3942
3943
3944
3945
3946 extern const char * (*yasm_gettext_hook) (const char *msgid);
3947 # 68 "./libyasm.h" 2
3948 # 1 "./libyasm/intnum.h" 1
3949 # 38 "./libyasm/intnum.h"
3950 void yasm_intnum_initialize(void);
3951
3952
3953 void yasm_intnum_cleanup(void);
3954
3955
3956
3957
3958
3959 yasm_intnum *yasm_intnum_create_dec(char *str);
3960
3961
3962
3963
3964
3965 yasm_intnum *yasm_intnum_create_bin(char *str);
3966
3967
3968
3969
3970
3971 yasm_intnum *yasm_intnum_create_oct(char *str);
3972
3973
3974
3975
3976
3977 yasm_intnum *yasm_intnum_create_hex(char *str);
3978
3979
3980
3981
3982
3983
3984
3985 yasm_intnum *yasm_intnum_create_charconst_nasm(const char *str);
3986
3987
3988
3989
3990
3991 yasm_intnum *yasm_intnum_create_uint(unsigned long i);
3992
3993
3994
3995
3996
3997 yasm_intnum *yasm_intnum_create_int(long i);
3998 # 94 "./libyasm/intnum.h"
3999 yasm_intnum *yasm_intnum_create_leb128
4000 (const unsigned char *ptr, int sign, unsigned long *size);
4001 # 104 "./libyasm/intnum.h"
4002 yasm_intnum *yasm_intnum_create_sized
4003 (unsigned char *ptr, int sign, size_t srcsize, int bigendian);
4004
4005
4006
4007
4008
4009 yasm_intnum *yasm_intnum_copy(const yasm_intnum *intn);
4010
4011
4012
4013
4014 void yasm_intnum_destroy( yasm_intnum *intn);
4015 # 126 "./libyasm/intnum.h"
4016 int yasm_intnum_calc(yasm_intnum *acc, yasm_expr_op op, yasm_intnum *operand);
4017
4018
4019
4020
4021 void yasm_intnum_zero(yasm_intnum *intn);
4022
4023
4024
4025
4026
4027 void yasm_intnum_set_uint(yasm_intnum *intn, unsigned long val);
4028
4029
4030
4031
4032
4033 void yasm_intnum_set_int(yasm_intnum *intn, long val);
4034
4035
4036
4037
4038
4039 int yasm_intnum_is_zero(const yasm_intnum *acc);
4040
4041
4042
4043
4044
4045 int yasm_intnum_is_pos1(const yasm_intnum *acc);
4046
4047
4048
4049
4050
4051 int yasm_intnum_is_neg1(const yasm_intnum *acc);
4052
4053
4054
4055
4056
4057 int yasm_intnum_sign(const yasm_intnum *acc);
4058 # 176 "./libyasm/intnum.h"
4059 unsigned long yasm_intnum_get_uint(const yasm_intnum *intn);
4060 # 185 "./libyasm/intnum.h"
4061 long yasm_intnum_get_int(const yasm_intnum *intn);
4062 # 201 "./libyasm/intnum.h"
4063 void yasm_intnum_get_sized(const yasm_intnum *intn, unsigned char *ptr,
4064 size_t destsize, size_t valsize, int shift,
4065 int bigendian, int warn);
4066 # 215 "./libyasm/intnum.h"
4067 int yasm_intnum_check_size(const yasm_intnum *intn, size_t size,
4068 size_t rshift, int rangetype);
4069
4070
4071
4072
4073
4074
4075
4076 int yasm_intnum_in_range(const yasm_intnum *intn, long low, long high);
4077
4078
4079
4080
4081
4082
4083
4084 unsigned long yasm_intnum_get_leb128(const yasm_intnum *intn,
4085 unsigned char *ptr, int sign);
4086
4087
4088
4089
4090
4091
4092 unsigned long yasm_intnum_size_leb128(const yasm_intnum *intn, int sign);
4093
4094
4095
4096
4097
4098
4099 unsigned long yasm_get_sleb128(long v, unsigned char *ptr);
4100
4101
4102
4103
4104
4105 unsigned long yasm_size_sleb128(long v);
4106
4107
4108
4109
4110
4111
4112 unsigned long yasm_get_uleb128(unsigned long v, unsigned char *ptr);
4113
4114
4115
4116
4117
4118 unsigned long yasm_size_uleb128(unsigned long v);
4119
4120
4121
4122
4123
4124
4125
4126 char *yasm_intnum_get_str(const yasm_intnum *intn);
4127
4128
4129
4130
4131
4132 void yasm_intnum_print(const yasm_intnum *intn, FILE *f);
4133 # 69 "./libyasm.h" 2
4134 # 1 "./libyasm/floatnum.h" 1
4135 # 40 "./libyasm/floatnum.h"
4136 void yasm_floatnum_initialize(void);
4137
4138
4139 void yasm_floatnum_cleanup(void);
4140
4141
4142
4143
4144
4145
4146 yasm_floatnum *yasm_floatnum_create(const char *str);
4147
4148
4149
4150
4151
4152 yasm_floatnum *yasm_floatnum_copy(const yasm_floatnum *flt);
4153
4154
4155
4156
4157 void yasm_floatnum_destroy( yasm_floatnum *flt);
4158 # 71 "./libyasm/floatnum.h"
4159 int yasm_floatnum_calc(yasm_floatnum *acc, yasm_expr_op op,
4160 yasm_floatnum *operand);
4161 # 81 "./libyasm/floatnum.h"
4162 int yasm_floatnum_get_int(const yasm_floatnum *flt,
4163 unsigned long *ret_val);
4164 # 101 "./libyasm/floatnum.h"
4165 int yasm_floatnum_get_sized(const yasm_floatnum *flt, unsigned char *ptr,
4166 size_t destsize, size_t valsize, size_t shift,
4167 int bigendian, int warn);
4168 # 113 "./libyasm/floatnum.h"
4169 int yasm_floatnum_check_size(const yasm_floatnum *flt, size_t size);
4170
4171
4172
4173
4174
4175 void yasm_floatnum_print(const yasm_floatnum *flt, FILE *f);
4176 # 70 "./libyasm.h" 2
4177 # 1 "./libyasm/expr.h" 1
4178 # 38 "./libyasm/expr.h"
4179 typedef struct yasm_expr__item yasm_expr__item;
4180 # 47 "./libyasm/expr.h"
4181 yasm_expr *yasm_expr_create
4182 (yasm_expr_op op, yasm_expr__item *a,
4183 yasm_expr__item *b, unsigned long line);
4184
4185
4186
4187
4188
4189 yasm_expr__item *yasm_expr_precbc( yasm_bytecode *precbc);
4190
4191
4192
4193
4194
4195 yasm_expr__item *yasm_expr_sym( yasm_symrec *sym);
4196
4197
4198
4199
4200
4201 yasm_expr__item *yasm_expr_expr( yasm_expr *e);
4202
4203
4204
4205
4206
4207 yasm_expr__item *yasm_expr_int( yasm_intnum *intn);
4208
4209
4210
4211
4212
4213 yasm_expr__item *yasm_expr_float( yasm_floatnum *flt);
4214
4215
4216
4217
4218
4219 yasm_expr__item *yasm_expr_reg(uintptr_t reg);
4220 # 118 "./libyasm/expr.h"
4221 yasm_expr *yasm_expr_copy(const yasm_expr *e);
4222
4223
4224
4225