initial import
[ICEs.git] / 218508 / test.mi.unfiltered
1 # 1 "test.m"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "test.m"
5 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/Object.h" 1 3 4
6 # 30 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/Object.h" 3 4
7 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 1 3 4
8 # 34 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 3 4
9 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 1 3 4
10 # 152 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 3 4
11 typedef long int ptrdiff_t;
12 # 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 3 4
13 typedef long unsigned int size_t;
14 # 326 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 3 4
15 typedef int wchar_t;
16 # 35 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 2 3 4
17
18
19
20
21
22
23
24 typedef unsigned char BOOL;
25 # 51 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 3 4
26 typedef const struct objc_selector
27 {
28 void *sel_id;
29 const char *sel_types;
30 } *SEL;
31
32 inline static BOOL
33 sel_eq (SEL s1, SEL s2)
34 {
35 if (s1 == 0 || s2 == 0)
36 return s1 == s2;
37 else
38 return s1->sel_id == s2->sel_id;
39 }
40
41
42
43
44
45 typedef struct objc_object {
46 struct objc_class* class_pointer;
47 } *id;
48 # 85 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 3 4
49 typedef id (*IMP)(id, SEL, ...);
50
51
52
53
54
55
56 typedef char *STR;
57 # 104 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 3 4
58 typedef struct objc_class *MetaClass;
59 typedef struct objc_class *Class;
60 struct objc_class {
61 MetaClass class_pointer;
62
63 struct objc_class* super_class;
64
65
66 const char* name;
67 long version;
68 unsigned long info;
69
70 long instance_size;
71
72
73
74 struct objc_ivar_list* ivars;
75
76
77
78
79
80
81 struct objc_method_list* methods;
82
83
84 struct sarray * dtable;
85
86 struct objc_class* subclass_list;
87 struct objc_class* sibling_class;
88
89 struct objc_protocol_list *protocols;
90 void* gc_object_type;
91 };
92 # 148 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/objc.h" 3 4
93 @class Protocol;
94
95
96 typedef void* retval_t;
97 typedef void(*apply_t)(void);
98 typedef union arglist {
99 char *arg_ptr;
100 char arg_regs[sizeof (char*)];
101 } *arglist_t;
102
103
104 IMP objc_msg_lookup(id receiver, SEL op);
105 # 31 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/Object.h" 2 3 4
106 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 1 3 4
107 # 31 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 3 4
108 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 1 3 4
109 # 31 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
110 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 1 3 4
111 # 32 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 2 3 4
112 # 1 "/usr/include/string.h" 1 3 4
113 # 26 "/usr/include/string.h" 3 4
114 # 1 "/usr/include/features.h" 1 3 4
115 # 330 "/usr/include/features.h" 3 4
116 # 1 "/usr/include/sys/cdefs.h" 1 3 4
117 # 348 "/usr/include/sys/cdefs.h" 3 4
118 # 1 "/usr/include/bits/wordsize.h" 1 3 4
119 # 349 "/usr/include/sys/cdefs.h" 2 3 4
120 # 331 "/usr/include/features.h" 2 3 4
121 # 354 "/usr/include/features.h" 3 4
122 # 1 "/usr/include/gnu/stubs.h" 1 3 4
123
124
125
126 # 1 "/usr/include/bits/wordsize.h" 1 3 4
127 # 5 "/usr/include/gnu/stubs.h" 2 3 4
128
129
130
131
132 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
133 # 10 "/usr/include/gnu/stubs.h" 2 3 4
134 # 355 "/usr/include/features.h" 2 3 4
135 # 27 "/usr/include/string.h" 2 3 4
136
137
138
139
140
141
142 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 1 3 4
143 # 34 "/usr/include/string.h" 2 3 4
144
145
146
147
148 extern void *memcpy (void *__restrict __dest,
149 __const void *__restrict __src, size_t __n)
150 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
151
152
153 extern void *memmove (void *__dest, __const void *__src, size_t __n)
154 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
155
156
157
158
159
160
161 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
162 int __c, size_t __n)
163 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
164
165
166
167
168
169 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
170
171
172 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
173 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
174
175
176 extern void *memchr (__const void *__s, int __c, size_t __n)
177 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
178
179 # 82 "/usr/include/string.h" 3 4
180
181
182 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
183 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
184
185 extern char *strncpy (char *__restrict __dest,
186 __const char *__restrict __src, size_t __n)
187 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
188
189
190 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
191 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
192
193 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
194 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
195
196
197 extern int strcmp (__const char *__s1, __const char *__s2)
198 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
199
200 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
201 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
202
203
204 extern int strcoll (__const char *__s1, __const char *__s2)
205 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
206
207 extern size_t strxfrm (char *__restrict __dest,
208 __const char *__restrict __src, size_t __n)
209 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
210
211 # 130 "/usr/include/string.h" 3 4
212 extern char *strdup (__const char *__s)
213 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
214 # 165 "/usr/include/string.h" 3 4
215
216
217 extern char *strchr (__const char *__s, int __c)
218 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
219
220 extern char *strrchr (__const char *__s, int __c)
221 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
222
223 # 181 "/usr/include/string.h" 3 4
224
225
226
227 extern size_t strcspn (__const char *__s, __const char *__reject)
228 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
229
230
231 extern size_t strspn (__const char *__s, __const char *__accept)
232 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
233
234 extern char *strpbrk (__const char *__s, __const char *__accept)
235 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
236
237 extern char *strstr (__const char *__haystack, __const char *__needle)
238 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
239
240
241
242 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
243 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
244
245
246
247
248 extern char *__strtok_r (char *__restrict __s,
249 __const char *__restrict __delim,
250 char **__restrict __save_ptr)
251 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
252
253 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
254 char **__restrict __save_ptr)
255 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
256 # 240 "/usr/include/string.h" 3 4
257
258
259 extern size_t strlen (__const char *__s)
260 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
261
262 # 254 "/usr/include/string.h" 3 4
263
264
265 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
266
267 # 270 "/usr/include/string.h" 3 4
268 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
269 # 294 "/usr/include/string.h" 3 4
270 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
271
272
273
274 extern void bcopy (__const void *__src, void *__dest, size_t __n)
275 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
276
277
278 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
279
280
281 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
282 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
283
284
285 extern char *index (__const char *__s, int __c)
286 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
287
288
289 extern char *rindex (__const char *__s, int __c)
290 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
291
292
293
294 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
295 # 331 "/usr/include/string.h" 3 4
296 extern int strcasecmp (__const char *__s1, __const char *__s2)
297 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
298
299
300 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
301 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
302 # 354 "/usr/include/string.h" 3 4
303 extern char *strsep (char **__restrict __stringp,
304 __const char *__restrict __delim)
305 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
306 # 432 "/usr/include/string.h" 3 4
307
308 # 33 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 2 3 4
309 # 46 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
310 typedef struct cache_node
311 {
312 struct cache_node *next;
313
314 const void *key;
315
316
317
318 void *value;
319 } *node_ptr;
320 # 67 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
321 typedef unsigned int (*hash_func_type) (void *, const void *);
322 # 76 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
323 typedef int (*compare_func_type) (const void *, const void *);
324 # 85 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
325 typedef struct cache
326 {
327
328 node_ptr *node_table;
329
330
331 unsigned int size;
332
333
334 unsigned int used;
335 unsigned int mask;
336
337
338
339 unsigned int last_bucket;
340
341
342
343 hash_func_type hash_func;
344
345 compare_func_type compare_func;
346 } *cache_ptr;
347
348
349
350 extern cache_ptr module_hash_table, class_hash_table;
351
352
353
354 cache_ptr objc_hash_new (unsigned int size,
355 hash_func_type hash_func,
356 compare_func_type compare_func);
357
358
359
360 void objc_hash_delete (cache_ptr cache);
361
362
363
364
365
366
367 void objc_hash_add (cache_ptr *cachep, const void *key, void *value);
368
369
370
371
372 void objc_hash_remove (cache_ptr cache, const void *key);
373 # 143 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
374 node_ptr objc_hash_next (cache_ptr cache, node_ptr node);
375
376
377
378 void *objc_hash_value_for_key (cache_ptr cache, const void *key);
379
380
381
382 BOOL objc_hash_is_key_in_hash (cache_ptr cache, const void *key);
383 # 165 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/hash.h" 3 4
384 static inline unsigned int
385 objc_hash_ptr (cache_ptr cache, const void *key)
386 {
387 return ((size_t)key / sizeof (void *)) & cache->mask;
388 }
389
390
391
392
393 static inline unsigned int
394 objc_hash_string (cache_ptr cache, const void *key)
395 {
396 unsigned int ret = 0;
397 unsigned int ctr = 0;
398 const char *ckey = (const char *) key;
399
400 while (*ckey) {
401 ret ^= *ckey++ << ctr;
402 ctr = (ctr + 1) % sizeof (void *);
403 }
404
405 return ret & cache->mask;
406 }
407
408
409
410 static inline int
411 objc_compare_ptrs (const void *k1, const void *k2)
412 {
413 return (k1 == k2);
414 }
415
416
417
418 static inline int
419 objc_compare_strings (const void *k1, const void *k2)
420 {
421 if (k1 == k2)
422 return 1;
423 else if (k1 == 0 || k2 == 0)
424 return 0;
425 else
426 return ! strcmp ((const char *) k1, (const char *) k2);
427 }
428 # 32 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 2 3 4
429
430 # 1 "/usr/include/stdio.h" 1 3 4
431 # 30 "/usr/include/stdio.h" 3 4
432
433
434
435
436 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 1 3 4
437 # 35 "/usr/include/stdio.h" 2 3 4
438
439 # 1 "/usr/include/bits/types.h" 1 3 4
440 # 28 "/usr/include/bits/types.h" 3 4
441 # 1 "/usr/include/bits/wordsize.h" 1 3 4
442 # 29 "/usr/include/bits/types.h" 2 3 4
443
444
445 typedef unsigned char __u_char;
446 typedef unsigned short int __u_short;
447 typedef unsigned int __u_int;
448 typedef unsigned long int __u_long;
449
450
451 typedef signed char __int8_t;
452 typedef unsigned char __uint8_t;
453 typedef signed short int __int16_t;
454 typedef unsigned short int __uint16_t;
455 typedef signed int __int32_t;
456 typedef unsigned int __uint32_t;
457
458 typedef signed long int __int64_t;
459 typedef unsigned long int __uint64_t;
460
461
462
463
464
465
466
467 typedef long int __quad_t;
468 typedef unsigned long int __u_quad_t;
469 # 131 "/usr/include/bits/types.h" 3 4
470 # 1 "/usr/include/bits/typesizes.h" 1 3 4
471 # 132 "/usr/include/bits/types.h" 2 3 4
472
473
474 typedef unsigned long int __dev_t;
475 typedef unsigned int __uid_t;
476 typedef unsigned int __gid_t;
477 typedef unsigned long int __ino_t;
478 typedef unsigned long int __ino64_t;
479 typedef unsigned int __mode_t;
480 typedef unsigned long int __nlink_t;
481 typedef long int __off_t;
482 typedef long int __off64_t;
483 typedef int __pid_t;
484 typedef struct { int __val[2]; } __fsid_t;
485 typedef long int __clock_t;
486 typedef unsigned long int __rlim_t;
487 typedef unsigned long int __rlim64_t;
488 typedef unsigned int __id_t;
489 typedef long int __time_t;
490 typedef unsigned int __useconds_t;
491 typedef long int __suseconds_t;
492
493 typedef int __daddr_t;
494 typedef long int __swblk_t;
495 typedef int __key_t;
496
497
498 typedef int __clockid_t;
499
500
501 typedef void * __timer_t;
502
503
504 typedef long int __blksize_t;
505
506
507
508
509 typedef long int __blkcnt_t;
510 typedef long int __blkcnt64_t;
511
512
513 typedef unsigned long int __fsblkcnt_t;
514 typedef unsigned long int __fsblkcnt64_t;
515
516
517 typedef unsigned long int __fsfilcnt_t;
518 typedef unsigned long int __fsfilcnt64_t;
519
520 typedef long int __ssize_t;
521
522
523
524 typedef __off64_t __loff_t;
525 typedef __quad_t *__qaddr_t;
526 typedef char *__caddr_t;
527
528
529 typedef long int __intptr_t;
530
531
532 typedef unsigned int __socklen_t;
533 # 37 "/usr/include/stdio.h" 2 3 4
534 # 45 "/usr/include/stdio.h" 3 4
535 struct _IO_FILE;
536
537
538
539 typedef struct _IO_FILE FILE;
540
541
542
543
544
545 # 65 "/usr/include/stdio.h" 3 4
546 typedef struct _IO_FILE __FILE;
547 # 75 "/usr/include/stdio.h" 3 4
548 # 1 "/usr/include/libio.h" 1 3 4
549 # 32 "/usr/include/libio.h" 3 4
550 # 1 "/usr/include/_G_config.h" 1 3 4
551 # 15 "/usr/include/_G_config.h" 3 4
552 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stddef.h" 1 3 4
553 # 16 "/usr/include/_G_config.h" 2 3 4
554
555
556
557
558 # 1 "/usr/include/wchar.h" 1 3 4
559 # 78 "/usr/include/wchar.h" 3 4
560 typedef struct
561 {
562 int __count;
563 union
564 {
565
566 unsigned int __wch;
567
568
569
570 char __wchb[4];
571 } __value;
572 } __mbstate_t;
573 # 21 "/usr/include/_G_config.h" 2 3 4
574
575 typedef struct
576 {
577 __off_t __pos;
578 __mbstate_t __state;
579 } _G_fpos_t;
580 typedef struct
581 {
582 __off64_t __pos;
583 __mbstate_t __state;
584 } _G_fpos64_t;
585 # 53 "/usr/include/_G_config.h" 3 4
586 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
587 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
588 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
589 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
590 # 33 "/usr/include/libio.h" 2 3 4
591 # 53 "/usr/include/libio.h" 3 4
592 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stdarg.h" 1 3 4
593 # 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/stdarg.h" 3 4
594 typedef __builtin_va_list __gnuc_va_list;
595 # 54 "/usr/include/libio.h" 2 3 4
596 # 170 "/usr/include/libio.h" 3 4
597 struct _IO_jump_t; struct _IO_FILE;
598 # 180 "/usr/include/libio.h" 3 4
599 typedef void _IO_lock_t;
600
601
602
603
604
605 struct _IO_marker {
606 struct _IO_marker *_next;
607 struct _IO_FILE *_sbuf;
608
609
610
611 int _pos;
612 # 203 "/usr/include/libio.h" 3 4
613 };
614
615
616 enum __codecvt_result
617 {
618 __codecvt_ok,
619 __codecvt_partial,
620 __codecvt_error,
621 __codecvt_noconv
622 };
623 # 271 "/usr/include/libio.h" 3 4
624 struct _IO_FILE {
625 int _flags;
626
627
628
629
630 char* _IO_read_ptr;
631 char* _IO_read_end;
632 char* _IO_read_base;
633 char* _IO_write_base;
634 char* _IO_write_ptr;
635 char* _IO_write_end;
636 char* _IO_buf_base;
637 char* _IO_buf_end;
638
639 char *_IO_save_base;
640 char *_IO_backup_base;
641 char *_IO_save_end;
642
643 struct _IO_marker *_markers;
644
645 struct _IO_FILE *_chain;
646
647 int _fileno;
648
649
650
651 int _flags2;
652
653 __off_t _old_offset;
654
655
656
657 unsigned short _cur_column;
658 signed char _vtable_offset;
659 char _shortbuf[1];
660
661
662
663 _IO_lock_t *_lock;
664 # 319 "/usr/include/libio.h" 3 4
665 __off64_t _offset;
666 # 328 "/usr/include/libio.h" 3 4
667 void *__pad1;
668 void *__pad2;
669 void *__pad3;
670 void *__pad4;
671 size_t __pad5;
672
673 int _mode;
674
675 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
676
677 };
678
679
680 typedef struct _IO_FILE _IO_FILE;
681
682
683 struct _IO_FILE_plus;
684
685 extern struct _IO_FILE_plus _IO_2_1_stdin_;
686 extern struct _IO_FILE_plus _IO_2_1_stdout_;
687 extern struct _IO_FILE_plus _IO_2_1_stderr_;
688 # 364 "/usr/include/libio.h" 3 4
689 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
690
691
692
693
694
695
696
697 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
698 size_t __n);
699
700
701
702
703
704
705
706 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
707
708
709 typedef int __io_close_fn (void *__cookie);
710 # 416 "/usr/include/libio.h" 3 4
711 extern int __underflow (_IO_FILE *);
712 extern int __uflow (_IO_FILE *);
713 extern int __overflow (_IO_FILE *, int);
714 # 458 "/usr/include/libio.h" 3 4
715 extern int _IO_getc (_IO_FILE *__fp);
716 extern int _IO_putc (int __c, _IO_FILE *__fp);
717 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
718 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
719
720 extern int _IO_peekc_locked (_IO_FILE *__fp);
721
722
723
724
725
726 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
727 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
728 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
729 # 488 "/usr/include/libio.h" 3 4
730 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
731 __gnuc_va_list, int *__restrict);
732 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
733 __gnuc_va_list);
734 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
735 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
736
737 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
738 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
739
740 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
741 # 76 "/usr/include/stdio.h" 2 3 4
742 # 89 "/usr/include/stdio.h" 3 4
743
744
745 typedef _G_fpos_t fpos_t;
746
747
748
749
750 # 141 "/usr/include/stdio.h" 3 4
751 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
752 # 142 "/usr/include/stdio.h" 2 3 4
753
754
755
756 extern struct _IO_FILE *stdin;
757 extern struct _IO_FILE *stdout;
758 extern struct _IO_FILE *stderr;
759
760
761
762
763
764
765
766 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
767
768 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783 extern FILE *tmpfile (void) ;
784 # 186 "/usr/include/stdio.h" 3 4
785 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
786
787
788
789
790
791 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
792 # 204 "/usr/include/stdio.h" 3 4
793 extern char *tempnam (__const char *__dir, __const char *__pfx)
794 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
795
796
797
798
799
800
801
802
803 extern int fclose (FILE *__stream);
804
805
806
807
808 extern int fflush (FILE *__stream);
809
810 # 229 "/usr/include/stdio.h" 3 4
811 extern int fflush_unlocked (FILE *__stream);
812 # 243 "/usr/include/stdio.h" 3 4
813
814
815
816
817
818
819 extern FILE *fopen (__const char *__restrict __filename,
820 __const char *__restrict __modes) ;
821
822
823
824
825 extern FILE *freopen (__const char *__restrict __filename,
826 __const char *__restrict __modes,
827 FILE *__restrict __stream) ;
828 # 272 "/usr/include/stdio.h" 3 4
829
830 # 283 "/usr/include/stdio.h" 3 4
831 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
832 # 304 "/usr/include/stdio.h" 3 4
833
834
835
836 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
837
838
839
840 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
841 int __modes, size_t __n) __attribute__ ((__nothrow__));
842
843
844
845
846
847 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
848 size_t __size) __attribute__ ((__nothrow__));
849
850
851 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
852
853
854
855
856
857
858
859
860 extern int fprintf (FILE *__restrict __stream,
861 __const char *__restrict __format, ...);
862
863
864
865
866 extern int printf (__const char *__restrict __format, ...);
867
868 extern int sprintf (char *__restrict __s,
869 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
870
871
872
873
874
875 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
876 __gnuc_va_list __arg);
877
878
879
880
881 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
882
883 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
884 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
885
886
887
888
889
890 extern int snprintf (char *__restrict __s, size_t __maxlen,
891 __const char *__restrict __format, ...)
892 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
893
894 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
895 __const char *__restrict __format, __gnuc_va_list __arg)
896 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
897
898 # 398 "/usr/include/stdio.h" 3 4
899
900
901
902
903
904 extern int fscanf (FILE *__restrict __stream,
905 __const char *__restrict __format, ...) ;
906
907
908
909
910 extern int scanf (__const char *__restrict __format, ...) ;
911
912 extern int sscanf (__const char *__restrict __s,
913 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
914 # 441 "/usr/include/stdio.h" 3 4
915
916 # 504 "/usr/include/stdio.h" 3 4
917
918
919
920
921
922 extern int fgetc (FILE *__stream);
923 extern int getc (FILE *__stream);
924
925
926
927
928
929 extern int getchar (void);
930
931 # 528 "/usr/include/stdio.h" 3 4
932 extern int getc_unlocked (FILE *__stream);
933 extern int getchar_unlocked (void);
934 # 539 "/usr/include/stdio.h" 3 4
935 extern int fgetc_unlocked (FILE *__stream);
936
937
938
939
940
941
942
943
944
945
946
947 extern int fputc (int __c, FILE *__stream);
948 extern int putc (int __c, FILE *__stream);
949
950
951
952
953
954 extern int putchar (int __c);
955
956 # 572 "/usr/include/stdio.h" 3 4
957 extern int fputc_unlocked (int __c, FILE *__stream);
958
959
960
961
962
963
964
965 extern int putc_unlocked (int __c, FILE *__stream);
966 extern int putchar_unlocked (int __c);
967
968
969
970
971
972
973 extern int getw (FILE *__stream);
974
975
976 extern int putw (int __w, FILE *__stream);
977
978
979
980
981
982
983
984
985 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
986 ;
987
988
989
990
991
992
993 extern char *gets (char *__s) ;
994
995 # 653 "/usr/include/stdio.h" 3 4
996
997
998
999
1000
1001 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1002
1003
1004
1005
1006
1007 extern int puts (__const char *__s);
1008
1009
1010
1011
1012
1013
1014 extern int ungetc (int __c, FILE *__stream);
1015
1016
1017
1018
1019
1020
1021 extern size_t fread (void *__restrict __ptr, size_t __size,
1022 size_t __n, FILE *__restrict __stream) ;
1023
1024
1025
1026
1027 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
1028 size_t __n, FILE *__restrict __s) ;
1029
1030 # 706 "/usr/include/stdio.h" 3 4
1031 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
1032 size_t __n, FILE *__restrict __stream) ;
1033 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
1034 size_t __n, FILE *__restrict __stream) ;
1035
1036
1037
1038
1039
1040
1041
1042
1043 extern int fseek (FILE *__stream, long int __off, int __whence);
1044
1045
1046
1047
1048 extern long int ftell (FILE *__stream) ;
1049
1050
1051
1052
1053 extern void rewind (FILE *__stream);
1054
1055 # 742 "/usr/include/stdio.h" 3 4
1056 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
1057
1058
1059
1060
1061 extern __off_t ftello (FILE *__stream) ;
1062 # 761 "/usr/include/stdio.h" 3 4
1063
1064
1065
1066
1067
1068
1069 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
1070
1071
1072
1073
1074 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
1075 # 784 "/usr/include/stdio.h" 3 4
1076
1077 # 793 "/usr/include/stdio.h" 3 4
1078
1079
1080 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
1081
1082 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
1083
1084 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
1085
1086
1087
1088
1089 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1090 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1091 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1092
1093
1094
1095
1096
1097
1098
1099
1100 extern void perror (__const char *__s);
1101
1102
1103
1104
1105
1106
1107 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
1108 # 27 "/usr/include/bits/sys_errlist.h" 3 4
1109 extern int sys_nerr;
1110 extern __const char *__const sys_errlist[];
1111 # 823 "/usr/include/stdio.h" 2 3 4
1112
1113
1114
1115
1116 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
1117
1118
1119
1120
1121 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1122 # 842 "/usr/include/stdio.h" 3 4
1123 extern FILE *popen (__const char *__command, __const char *__modes) ;
1124
1125
1126
1127
1128
1129 extern int pclose (FILE *__stream);
1130
1131
1132
1133
1134
1135 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1136 # 882 "/usr/include/stdio.h" 3 4
1137 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1138
1139
1140
1141 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
1142
1143
1144 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1145 # 912 "/usr/include/stdio.h" 3 4
1146
1147 # 34 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 2 3 4
1148
1149
1150
1151
1152
1153 typedef int (*objc_typed_read_func)(void*, char*, int);
1154 typedef int (*objc_typed_write_func)(void*, const char*, int);
1155 typedef int (*objc_typed_flush_func)(void*);
1156 typedef int (*objc_typed_eof_func)(void*);
1157 # 53 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 3 4
1158 typedef struct objc_typed_stream {
1159 void* physical;
1160 cache_ptr object_table;
1161 cache_ptr stream_table;
1162 cache_ptr class_table;
1163 cache_ptr object_refs;
1164 int mode;
1165 int type;
1166 int version;
1167 int writing_root_p;
1168 objc_typed_read_func read;
1169 objc_typed_write_func write;
1170 objc_typed_eof_func eof;
1171 objc_typed_flush_func flush;
1172 } TypedStream;
1173 # 98 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 3 4
1174 int objc_write_type (TypedStream* stream, const char* type, const void* data);
1175 int objc_read_type (TypedStream* stream, const char* type, void* data);
1176
1177 int objc_write_types (TypedStream* stream, const char* type, ...);
1178 int objc_read_types (TypedStream* stream, const char* type, ...);
1179
1180 int objc_write_object_reference (TypedStream* stream, id object);
1181 int objc_write_root_object (TypedStream* stream, id object);
1182
1183 long objc_get_stream_class_version (TypedStream* stream, Class class_type);
1184
1185
1186
1187
1188
1189
1190 int objc_write_array (TypedStream* stream, const char* type,
1191 int count, const void* data);
1192 int objc_read_array (TypedStream* stream, const char* type,
1193 int count, void* data);
1194
1195 int objc_write_object (TypedStream* stream, id object);
1196 int objc_read_object (TypedStream* stream, id* object);
1197 # 129 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/typedstream.h" 3 4
1198 TypedStream* objc_open_typed_stream (FILE* physical, int mode);
1199 TypedStream* objc_open_typed_stream_for_file (const char* file_name, int mode);
1200
1201 void objc_close_typed_stream (TypedStream* stream);
1202
1203 BOOL objc_end_of_typed_stream (TypedStream* stream);
1204 void objc_flush_typed_stream (TypedStream* stream);
1205 # 32 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/Object.h" 2 3 4
1206 # 41 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.0/include/objc/Object.h" 3 4
1207 @interface Object
1208 {
1209 Class isa;
1210 }
1211
1212
1213 + initialize;
1214 - init;
1215
1216
1217 + new;
1218 + alloc;
1219 - free;
1220 - copy;
1221 - shallowCopy;
1222 - deepen;
1223 - deepCopy;
1224
1225
1226 - (Class)class;
1227 - (Class)superClass;
1228 - (MetaClass)metaClass;
1229 - (const char *)name;
1230
1231
1232 - self;
1233 - (unsigned int)hash;
1234 - (BOOL)isEqual:anObject;
1235 - (int)compare:anotherObject;
1236
1237
1238 - (BOOL)isMetaClass;
1239 - (BOOL)isClass;
1240 - (BOOL)isInstance;
1241
1242
1243 - (BOOL)isKindOf:(Class)aClassObject;
1244 - (BOOL)isMemberOf:(Class)aClassObject;
1245 - (BOOL)isKindOfClassNamed:(const char *)aClassName;
1246 - (BOOL)isMemberOfClassNamed:(const char *)aClassName;
1247
1248
1249 + (BOOL)instancesRespondTo:(SEL)aSel;
1250 - (BOOL)respondsTo:(SEL)aSel;
1251
1252
1253 - (BOOL)conformsTo:(Protocol*)aProtocol;
1254
1255
1256 + (IMP)instanceMethodFor:(SEL)aSel;
1257 - (IMP)methodFor:(SEL)aSel;
1258 + (struct objc_method_description *)descriptionForInstanceMethod:(SEL)aSel;
1259 - (struct objc_method_description *)descriptionForMethod:(SEL)aSel;
1260
1261
1262 - perform:(SEL)aSel;
1263 - perform:(SEL)aSel with:anObject;
1264 - perform:(SEL)aSel with:anObject1 with:anObject2;
1265
1266
1267 - (retval_t)forward:(SEL)aSel :(arglist_t)argFrame;
1268 - (retval_t)performv:(SEL)aSel :(arglist_t)argFrame;
1269
1270
1271 + poseAs:(Class)aClassObject;
1272 - (Class)transmuteClassTo:(Class)aClassObject;
1273
1274
1275 - subclassResponsibility:(SEL)aSel;
1276 - notImplemented:(SEL)aSel;
1277 - shouldNotImplement:(SEL)aSel;
1278
1279
1280 - doesNotRecognize:(SEL)aSel;
1281 - error:(const char *)aString, ...;
1282
1283
1284 + (int)version;
1285 + setVersion:(int)aVersion;
1286 + (int)streamVersion: (TypedStream*)aStream;
1287
1288 - read: (TypedStream*)aStream;
1289 - write: (TypedStream*)aStream;
1290 - awake;
1291
1292 @end
1293 # 2 "test.m" 2
1294 @interface Test: Object { int i; }
1295 @end
1296 Test *global_var;
1297 @implementation Test
1298 +initialize {
1299 global_var = [Test new];
1300 return 0;
1301 }
1302 @end