initial import
[ICEs.git] / hppa-O1 / vfprintf.i.0
1 # 1 "vfprintf.c"
2 # 1 "/var/tmp/portage/glibc-2.5/work/glibc-2.5/stdio-common//"
3 # 1 "<built-in>"
4 # 1 "<command line>"
5 # 1 "./../include/libc-symbols.h" 1
6 # 55 "./../include/libc-symbols.h"
7 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/config.h" 1
8 # 56 "./../include/libc-symbols.h" 2
9 # 824 "./../include/libc-symbols.h"
10 # 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1
11 # 26 "../sysdeps/wordsize-32/symbol-hacks.h"
12 asm ("__divdi3 = __divdi3_internal");
13 asm ("__udivdi3 = __udivdi3_internal");
14 asm ("__moddi3 = __moddi3_internal");
15 asm ("__umoddi3 = __umoddi3_internal");
16 # 825 "./../include/libc-symbols.h" 2
17 # 1 "<command line>" 2
18 # 1 "vfprintf.c"
19 # 20 "vfprintf.c"
20 # 1 "../include/ctype.h" 1
21
22
23 extern int __isctype (int __c, int __mask);
24 # 14 "../include/ctype.h"
25 # 1 "../include/../locale/localeinfo.h" 1
26 # 23 "../include/../locale/localeinfo.h"
27 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
28 # 152 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
29 typedef int ptrdiff_t;
30 # 214 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
31 typedef unsigned int size_t;
32 # 326 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
33 typedef long int wchar_t;
34 # 24 "../include/../locale/localeinfo.h" 2
35 # 1 "../include/langinfo.h" 1
36
37
38 # 1 "../locale/langinfo.h" 1
39 # 24 "../locale/langinfo.h"
40 # 1 "../include/nl_types.h" 1
41 # 1 "../catgets/nl_types.h" 1
42 # 22 "../catgets/nl_types.h"
43 # 1 "../include/features.h" 1
44 # 323 "../include/features.h"
45 # 1 "../include/sys/cdefs.h" 1
46
47
48 # 1 "../misc/sys/cdefs.h" 1
49 # 313 "../misc/sys/cdefs.h"
50 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
51 # 314 "../misc/sys/cdefs.h" 2
52 # 4 "../include/sys/cdefs.h" 2
53
54 extern void __chk_fail (void) __attribute__ ((__noreturn__));
55 extern __typeof (__chk_fail) __chk_fail __asm__ ("" "__GI___chk_fail") __attribute__ ((visibility ("hidden")));
56
57 # 324 "../include/features.h" 2
58 # 346 "../include/features.h"
59 # 1 "../include/gnu/stubs.h" 1
60 # 347 "../include/features.h" 2
61 # 23 "../catgets/nl_types.h" 2
62 # 31 "../catgets/nl_types.h"
63
64
65
66 typedef void *nl_catd;
67
68
69 typedef int nl_item;
70
71
72
73
74
75 extern nl_catd catopen (__const char *__cat_name, int __flag) __attribute__ ((__nonnull__ (1)));
76
77
78
79 extern char *catgets (nl_catd __catalog, int __set, int __number,
80 __const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
81
82
83 extern int catclose (nl_catd __catalog) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
84
85
86 # 1 "../include/nl_types.h" 2
87 # 25 "../locale/langinfo.h" 2
88
89 # 1 "../include/bits/locale.h" 1
90 # 1 "../locale/bits/locale.h" 1
91 # 27 "../locale/bits/locale.h"
92 enum
93 {
94 __LC_CTYPE = 0,
95 __LC_NUMERIC = 1,
96 __LC_TIME = 2,
97 __LC_COLLATE = 3,
98 __LC_MONETARY = 4,
99 __LC_MESSAGES = 5,
100 __LC_ALL = 6,
101 __LC_PAPER = 7,
102 __LC_NAME = 8,
103 __LC_ADDRESS = 9,
104 __LC_TELEPHONE = 10,
105 __LC_MEASUREMENT = 11,
106 __LC_IDENTIFICATION = 12
107 };
108 # 1 "../include/bits/locale.h" 2
109 # 27 "../locale/langinfo.h" 2
110
111
112
113 # 42 "../locale/langinfo.h"
114 enum
115 {
116
117
118
119 ABDAY_1 = (((__LC_TIME) << 16) | (0)),
120
121 ABDAY_2,
122
123 ABDAY_3,
124
125 ABDAY_4,
126
127 ABDAY_5,
128
129 ABDAY_6,
130
131 ABDAY_7,
132
133
134
135 DAY_1,
136
137 DAY_2,
138
139 DAY_3,
140
141 DAY_4,
142
143 DAY_5,
144
145 DAY_6,
146
147 DAY_7,
148
149
150
151 ABMON_1,
152
153 ABMON_2,
154
155 ABMON_3,
156
157 ABMON_4,
158
159 ABMON_5,
160
161 ABMON_6,
162
163 ABMON_7,
164
165 ABMON_8,
166
167 ABMON_9,
168
169 ABMON_10,
170
171 ABMON_11,
172
173 ABMON_12,
174
175
176
177 MON_1,
178
179 MON_2,
180
181 MON_3,
182
183 MON_4,
184
185 MON_5,
186
187 MON_6,
188
189 MON_7,
190
191 MON_8,
192
193 MON_9,
194
195 MON_10,
196
197 MON_11,
198
199 MON_12,
200
201
202 AM_STR,
203
204 PM_STR,
205
206
207 D_T_FMT,
208
209 D_FMT,
210
211 T_FMT,
212
213 T_FMT_AMPM,
214
215
216 ERA,
217
218 __ERA_YEAR,
219
220
221
222 ERA_D_FMT,
223
224 ALT_DIGITS,
225
226 ERA_D_T_FMT,
227
228 ERA_T_FMT,
229
230
231 _NL_TIME_ERA_NUM_ENTRIES,
232 _NL_TIME_ERA_ENTRIES,
233
234 _NL_WABDAY_1,
235 _NL_WABDAY_2,
236 _NL_WABDAY_3,
237 _NL_WABDAY_4,
238 _NL_WABDAY_5,
239 _NL_WABDAY_6,
240 _NL_WABDAY_7,
241
242
243 _NL_WDAY_1,
244 _NL_WDAY_2,
245 _NL_WDAY_3,
246 _NL_WDAY_4,
247 _NL_WDAY_5,
248 _NL_WDAY_6,
249 _NL_WDAY_7,
250
251
252 _NL_WABMON_1,
253 _NL_WABMON_2,
254 _NL_WABMON_3,
255 _NL_WABMON_4,
256 _NL_WABMON_5,
257 _NL_WABMON_6,
258 _NL_WABMON_7,
259 _NL_WABMON_8,
260 _NL_WABMON_9,
261 _NL_WABMON_10,
262 _NL_WABMON_11,
263 _NL_WABMON_12,
264
265
266 _NL_WMON_1,
267 _NL_WMON_2,
268 _NL_WMON_3,
269 _NL_WMON_4,
270 _NL_WMON_5,
271 _NL_WMON_6,
272 _NL_WMON_7,
273 _NL_WMON_8,
274 _NL_WMON_9,
275 _NL_WMON_10,
276 _NL_WMON_11,
277 _NL_WMON_12,
278
279 _NL_WAM_STR,
280 _NL_WPM_STR,
281
282 _NL_WD_T_FMT,
283 _NL_WD_FMT,
284 _NL_WT_FMT,
285 _NL_WT_FMT_AMPM,
286
287 _NL_WERA_YEAR,
288 _NL_WERA_D_FMT,
289 _NL_WALT_DIGITS,
290 _NL_WERA_D_T_FMT,
291 _NL_WERA_T_FMT,
292
293 _NL_TIME_WEEK_NDAYS,
294 _NL_TIME_WEEK_1STDAY,
295 _NL_TIME_WEEK_1STWEEK,
296 _NL_TIME_FIRST_WEEKDAY,
297 _NL_TIME_FIRST_WORKDAY,
298 _NL_TIME_CAL_DIRECTION,
299 _NL_TIME_TIMEZONE,
300
301 _DATE_FMT,
302
303 _NL_W_DATE_FMT,
304
305 _NL_TIME_CODESET,
306
307 _NL_NUM_LC_TIME,
308
309
310
311
312 _NL_COLLATE_NRULES = (((__LC_COLLATE) << 16) | (0)),
313 _NL_COLLATE_RULESETS,
314 _NL_COLLATE_TABLEMB,
315 _NL_COLLATE_WEIGHTMB,
316 _NL_COLLATE_EXTRAMB,
317 _NL_COLLATE_INDIRECTMB,
318 _NL_COLLATE_GAP1,
319 _NL_COLLATE_GAP2,
320 _NL_COLLATE_GAP3,
321 _NL_COLLATE_TABLEWC,
322 _NL_COLLATE_WEIGHTWC,
323 _NL_COLLATE_EXTRAWC,
324 _NL_COLLATE_INDIRECTWC,
325 _NL_COLLATE_SYMB_HASH_SIZEMB,
326 _NL_COLLATE_SYMB_TABLEMB,
327 _NL_COLLATE_SYMB_EXTRAMB,
328 _NL_COLLATE_COLLSEQMB,
329 _NL_COLLATE_COLLSEQWC,
330 _NL_COLLATE_CODESET,
331 _NL_NUM_LC_COLLATE,
332
333
334
335
336 _NL_CTYPE_CLASS = (((__LC_CTYPE) << 16) | (0)),
337 _NL_CTYPE_TOUPPER,
338 _NL_CTYPE_GAP1,
339 _NL_CTYPE_TOLOWER,
340 _NL_CTYPE_GAP2,
341 _NL_CTYPE_CLASS32,
342 _NL_CTYPE_GAP3,
343 _NL_CTYPE_GAP4,
344 _NL_CTYPE_GAP5,
345 _NL_CTYPE_GAP6,
346 _NL_CTYPE_CLASS_NAMES,
347 _NL_CTYPE_MAP_NAMES,
348 _NL_CTYPE_WIDTH,
349 _NL_CTYPE_MB_CUR_MAX,
350 _NL_CTYPE_CODESET_NAME,
351 CODESET = _NL_CTYPE_CODESET_NAME,
352
353 _NL_CTYPE_TOUPPER32,
354 _NL_CTYPE_TOLOWER32,
355 _NL_CTYPE_CLASS_OFFSET,
356 _NL_CTYPE_MAP_OFFSET,
357 _NL_CTYPE_INDIGITS_MB_LEN,
358 _NL_CTYPE_INDIGITS0_MB,
359 _NL_CTYPE_INDIGITS1_MB,
360 _NL_CTYPE_INDIGITS2_MB,
361 _NL_CTYPE_INDIGITS3_MB,
362 _NL_CTYPE_INDIGITS4_MB,
363 _NL_CTYPE_INDIGITS5_MB,
364 _NL_CTYPE_INDIGITS6_MB,
365 _NL_CTYPE_INDIGITS7_MB,
366 _NL_CTYPE_INDIGITS8_MB,
367 _NL_CTYPE_INDIGITS9_MB,
368 _NL_CTYPE_INDIGITS_WC_LEN,
369 _NL_CTYPE_INDIGITS0_WC,
370 _NL_CTYPE_INDIGITS1_WC,
371 _NL_CTYPE_INDIGITS2_WC,
372 _NL_CTYPE_INDIGITS3_WC,
373 _NL_CTYPE_INDIGITS4_WC,
374 _NL_CTYPE_INDIGITS5_WC,
375 _NL_CTYPE_INDIGITS6_WC,
376 _NL_CTYPE_INDIGITS7_WC,
377 _NL_CTYPE_INDIGITS8_WC,
378 _NL_CTYPE_INDIGITS9_WC,
379 _NL_CTYPE_OUTDIGIT0_MB,
380 _NL_CTYPE_OUTDIGIT1_MB,
381 _NL_CTYPE_OUTDIGIT2_MB,
382 _NL_CTYPE_OUTDIGIT3_MB,
383 _NL_CTYPE_OUTDIGIT4_MB,
384 _NL_CTYPE_OUTDIGIT5_MB,
385 _NL_CTYPE_OUTDIGIT6_MB,
386 _NL_CTYPE_OUTDIGIT7_MB,
387 _NL_CTYPE_OUTDIGIT8_MB,
388 _NL_CTYPE_OUTDIGIT9_MB,
389 _NL_CTYPE_OUTDIGIT0_WC,
390 _NL_CTYPE_OUTDIGIT1_WC,
391 _NL_CTYPE_OUTDIGIT2_WC,
392 _NL_CTYPE_OUTDIGIT3_WC,
393 _NL_CTYPE_OUTDIGIT4_WC,
394 _NL_CTYPE_OUTDIGIT5_WC,
395 _NL_CTYPE_OUTDIGIT6_WC,
396 _NL_CTYPE_OUTDIGIT7_WC,
397 _NL_CTYPE_OUTDIGIT8_WC,
398 _NL_CTYPE_OUTDIGIT9_WC,
399 _NL_CTYPE_TRANSLIT_TAB_SIZE,
400 _NL_CTYPE_TRANSLIT_FROM_IDX,
401 _NL_CTYPE_TRANSLIT_FROM_TBL,
402 _NL_CTYPE_TRANSLIT_TO_IDX,
403 _NL_CTYPE_TRANSLIT_TO_TBL,
404 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN,
405 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING,
406 _NL_CTYPE_TRANSLIT_IGNORE_LEN,
407 _NL_CTYPE_TRANSLIT_IGNORE,
408 _NL_CTYPE_MAP_TO_NONASCII,
409 _NL_CTYPE_EXTRA_MAP_1,
410 _NL_CTYPE_EXTRA_MAP_2,
411 _NL_CTYPE_EXTRA_MAP_3,
412 _NL_CTYPE_EXTRA_MAP_4,
413 _NL_CTYPE_EXTRA_MAP_5,
414 _NL_CTYPE_EXTRA_MAP_6,
415 _NL_CTYPE_EXTRA_MAP_7,
416 _NL_CTYPE_EXTRA_MAP_8,
417 _NL_CTYPE_EXTRA_MAP_9,
418 _NL_CTYPE_EXTRA_MAP_10,
419 _NL_CTYPE_EXTRA_MAP_11,
420 _NL_CTYPE_EXTRA_MAP_12,
421 _NL_CTYPE_EXTRA_MAP_13,
422 _NL_CTYPE_EXTRA_MAP_14,
423 _NL_NUM_LC_CTYPE,
424
425
426
427
428 __INT_CURR_SYMBOL = (((__LC_MONETARY) << 16) | (0)),
429
430
431
432 __CURRENCY_SYMBOL,
433
434
435
436 __MON_DECIMAL_POINT,
437
438
439
440 __MON_THOUSANDS_SEP,
441
442
443
444 __MON_GROUPING,
445
446
447
448 __POSITIVE_SIGN,
449
450
451
452 __NEGATIVE_SIGN,
453
454
455
456 __INT_FRAC_DIGITS,
457
458
459
460 __FRAC_DIGITS,
461
462
463
464 __P_CS_PRECEDES,
465
466
467
468 __P_SEP_BY_SPACE,
469
470
471
472 __N_CS_PRECEDES,
473
474
475
476 __N_SEP_BY_SPACE,
477
478
479
480 __P_SIGN_POSN,
481
482
483
484 __N_SIGN_POSN,
485
486
487
488 _NL_MONETARY_CRNCYSTR,
489
490 __INT_P_CS_PRECEDES,
491
492
493
494 __INT_P_SEP_BY_SPACE,
495
496
497
498 __INT_N_CS_PRECEDES,
499
500
501
502 __INT_N_SEP_BY_SPACE,
503
504
505
506 __INT_P_SIGN_POSN,
507
508
509
510 __INT_N_SIGN_POSN,
511
512
513
514 _NL_MONETARY_DUO_INT_CURR_SYMBOL,
515 _NL_MONETARY_DUO_CURRENCY_SYMBOL,
516 _NL_MONETARY_DUO_INT_FRAC_DIGITS,
517 _NL_MONETARY_DUO_FRAC_DIGITS,
518 _NL_MONETARY_DUO_P_CS_PRECEDES,
519 _NL_MONETARY_DUO_P_SEP_BY_SPACE,
520 _NL_MONETARY_DUO_N_CS_PRECEDES,
521 _NL_MONETARY_DUO_N_SEP_BY_SPACE,
522 _NL_MONETARY_DUO_INT_P_CS_PRECEDES,
523 _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE,
524 _NL_MONETARY_DUO_INT_N_CS_PRECEDES,
525 _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE,
526 _NL_MONETARY_DUO_P_SIGN_POSN,
527 _NL_MONETARY_DUO_N_SIGN_POSN,
528 _NL_MONETARY_DUO_INT_P_SIGN_POSN,
529 _NL_MONETARY_DUO_INT_N_SIGN_POSN,
530 _NL_MONETARY_UNO_VALID_FROM,
531 _NL_MONETARY_UNO_VALID_TO,
532 _NL_MONETARY_DUO_VALID_FROM,
533 _NL_MONETARY_DUO_VALID_TO,
534 _NL_MONETARY_CONVERSION_RATE,
535 _NL_MONETARY_DECIMAL_POINT_WC,
536 _NL_MONETARY_THOUSANDS_SEP_WC,
537 _NL_MONETARY_CODESET,
538 _NL_NUM_LC_MONETARY,
539
540
541
542 __DECIMAL_POINT = (((__LC_NUMERIC) << 16) | (0)),
543
544
545
546 RADIXCHAR = __DECIMAL_POINT,
547
548 __THOUSANDS_SEP,
549
550
551
552 THOUSEP = __THOUSANDS_SEP,
553
554 __GROUPING,
555
556
557
558 _NL_NUMERIC_DECIMAL_POINT_WC,
559 _NL_NUMERIC_THOUSANDS_SEP_WC,
560 _NL_NUMERIC_CODESET,
561 _NL_NUM_LC_NUMERIC,
562
563 __YESEXPR = (((__LC_MESSAGES) << 16) | (0)),
564
565 __NOEXPR,
566
567 __YESSTR,
568
569
570
571 __NOSTR,
572
573
574
575 _NL_MESSAGES_CODESET,
576 _NL_NUM_LC_MESSAGES,
577
578 _NL_PAPER_HEIGHT = (((__LC_PAPER) << 16) | (0)),
579 _NL_PAPER_WIDTH,
580 _NL_PAPER_CODESET,
581 _NL_NUM_LC_PAPER,
582
583 _NL_NAME_NAME_FMT = (((__LC_NAME) << 16) | (0)),
584 _NL_NAME_NAME_GEN,
585 _NL_NAME_NAME_MR,
586 _NL_NAME_NAME_MRS,
587 _NL_NAME_NAME_MISS,
588 _NL_NAME_NAME_MS,
589 _NL_NAME_CODESET,
590 _NL_NUM_LC_NAME,
591
592 _NL_ADDRESS_POSTAL_FMT = (((__LC_ADDRESS) << 16) | (0)),
593 _NL_ADDRESS_COUNTRY_NAME,
594 _NL_ADDRESS_COUNTRY_POST,
595 _NL_ADDRESS_COUNTRY_AB2,
596 _NL_ADDRESS_COUNTRY_AB3,
597 _NL_ADDRESS_COUNTRY_CAR,
598 _NL_ADDRESS_COUNTRY_NUM,
599 _NL_ADDRESS_COUNTRY_ISBN,
600 _NL_ADDRESS_LANG_NAME,
601 _NL_ADDRESS_LANG_AB,
602 _NL_ADDRESS_LANG_TERM,
603 _NL_ADDRESS_LANG_LIB,
604 _NL_ADDRESS_CODESET,
605 _NL_NUM_LC_ADDRESS,
606
607 _NL_TELEPHONE_TEL_INT_FMT = (((__LC_TELEPHONE) << 16) | (0)),
608 _NL_TELEPHONE_TEL_DOM_FMT,
609 _NL_TELEPHONE_INT_SELECT,
610 _NL_TELEPHONE_INT_PREFIX,
611 _NL_TELEPHONE_CODESET,
612 _NL_NUM_LC_TELEPHONE,
613
614 _NL_MEASUREMENT_MEASUREMENT = (((__LC_MEASUREMENT) << 16) | (0)),
615 _NL_MEASUREMENT_CODESET,
616 _NL_NUM_LC_MEASUREMENT,
617
618 _NL_IDENTIFICATION_TITLE = (((__LC_IDENTIFICATION) << 16) | (0)),
619 _NL_IDENTIFICATION_SOURCE,
620 _NL_IDENTIFICATION_ADDRESS,
621 _NL_IDENTIFICATION_CONTACT,
622 _NL_IDENTIFICATION_EMAIL,
623 _NL_IDENTIFICATION_TEL,
624 _NL_IDENTIFICATION_FAX,
625 _NL_IDENTIFICATION_LANGUAGE,
626 _NL_IDENTIFICATION_TERRITORY,
627 _NL_IDENTIFICATION_AUDIENCE,
628 _NL_IDENTIFICATION_APPLICATION,
629 _NL_IDENTIFICATION_ABBREVIATION,
630 _NL_IDENTIFICATION_REVISION,
631 _NL_IDENTIFICATION_DATE,
632 _NL_IDENTIFICATION_CATEGORY,
633 _NL_IDENTIFICATION_CODESET,
634 _NL_NUM_LC_IDENTIFICATION,
635
636
637 _NL_NUM
638 };
639 # 582 "../locale/langinfo.h"
640 extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__));
641
642
643
644
645
646
647
648 # 1 "../include/xlocale.h" 1
649 # 1 "../locale/xlocale.h" 1
650 # 28 "../locale/xlocale.h"
651 typedef struct __locale_struct
652 {
653
654 struct locale_data *__locales[13];
655
656
657 const unsigned short int *__ctype_b;
658 const int *__ctype_tolower;
659 const int *__ctype_toupper;
660
661
662 const char *__names[13];
663 } *__locale_t;
664 # 1 "../include/xlocale.h" 2
665 # 591 "../locale/langinfo.h" 2
666
667
668 extern char *nl_langinfo_l (nl_item __item, __locale_t l);
669
670
671
672 # 4 "../include/langinfo.h" 2
673
674 extern __typeof (nl_langinfo) nl_langinfo __asm__ ("" "__GI_nl_langinfo") __attribute__ ((visibility ("hidden")));
675
676 extern __typeof (nl_langinfo_l) __nl_langinfo_l;
677 # 25 "../include/../locale/localeinfo.h" 2
678 # 1 "../include/limits.h" 1
679 # 125 "../include/limits.h"
680 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/limits.h" 1 3 4
681 # 126 "../include/limits.h" 2
682 # 145 "../include/limits.h"
683 # 1 "../include/bits/posix1_lim.h" 1
684 # 1 "../posix/bits/posix1_lim.h" 1
685 # 153 "../posix/bits/posix1_lim.h"
686 # 1 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 1
687 # 36 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h"
688 # 1 "/usr/include/linux/limits.h" 1 3 4
689 # 37 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 2
690 # 154 "../posix/bits/posix1_lim.h" 2
691 # 1 "../include/bits/posix1_lim.h" 2
692 # 146 "../include/limits.h" 2
693
694
695
696 # 1 "../include/bits/posix2_lim.h" 1
697 # 1 "../posix/bits/posix2_lim.h" 1
698 # 1 "../include/bits/posix2_lim.h" 2
699 # 150 "../include/limits.h" 2
700
701
702
703 # 1 "../include/bits/xopen_lim.h" 1
704 # 34 "../include/bits/xopen_lim.h"
705 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/bits/stdio_lim.h" 1
706 # 35 "../include/bits/xopen_lim.h" 2
707 # 154 "../include/limits.h" 2
708 # 26 "../include/../locale/localeinfo.h" 2
709 # 1 "../include/locale.h" 1
710
711 # 1 "../locale/locale.h" 1
712 # 29 "../locale/locale.h"
713 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
714 # 30 "../locale/locale.h" 2
715 # 1 "../include/bits/locale.h" 1
716 # 1 "../locale/bits/locale.h" 1
717 # 1 "../include/bits/locale.h" 2
718 # 31 "../locale/locale.h" 2
719
720
721 # 52 "../locale/locale.h"
722 struct lconv
723 {
724
725
726 char *decimal_point;
727 char *thousands_sep;
728
729
730
731
732
733 char *grouping;
734
735
736
737
738
739 char *int_curr_symbol;
740 char *currency_symbol;
741 char *mon_decimal_point;
742 char *mon_thousands_sep;
743 char *mon_grouping;
744 char *positive_sign;
745 char *negative_sign;
746 char int_frac_digits;
747 char frac_digits;
748
749 char p_cs_precedes;
750
751 char p_sep_by_space;
752
753 char n_cs_precedes;
754
755 char n_sep_by_space;
756
757
758
759
760
761
762 char p_sign_posn;
763 char n_sign_posn;
764
765
766 char int_p_cs_precedes;
767
768 char int_p_sep_by_space;
769
770 char int_n_cs_precedes;
771
772 char int_n_sep_by_space;
773
774
775
776
777
778
779 char int_p_sign_posn;
780 char int_n_sign_posn;
781 # 119 "../locale/locale.h"
782 };
783
784
785
786
787
788 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
789
790
791 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
792
793
794 # 146 "../locale/locale.h"
795 # 1 "../include/xlocale.h" 1
796 # 147 "../locale/locale.h" 2
797
798 typedef __locale_t locale_t;
799
800
801
802
803
804 extern __locale_t newlocale (int __category_mask, __const char *__locale,
805 __locale_t __base) __attribute__ ((__nothrow__));
806 # 189 "../locale/locale.h"
807 extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
808
809
810
811 extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
812
813
814
815
816
817
818 extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
819
820
821
822
823
824
825
826
827 # 3 "../include/locale.h" 2
828
829 extern __typeof (uselocale) __uselocale;
830
831 extern __typeof (setlocale) setlocale __asm__ ("" "__GI_setlocale") __attribute__ ((visibility ("hidden")));
832
833
834
835
836 extern struct loaded_l10nfile *_nl_locale_file_list[] __attribute__ ((visibility ("hidden")));
837
838
839 extern const struct __locale_struct _nl_C_locobj __attribute__ ((visibility ("hidden")));
840
841
842
843 extern struct lconv *__localeconv (void);
844
845
846 extern const char *__current_locale_name (int category) __attribute__ ((visibility ("hidden")));
847 # 27 "../include/../locale/localeinfo.h" 2
848 # 1 "../include/time.h" 1
849
850
851
852
853 # 1 "../time/time.h" 1
854 # 31 "../time/time.h"
855
856
857
858
859
860
861
862
863 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
864 # 40 "../time/time.h" 2
865
866
867
868 # 1 "../bits/time.h" 1
869 # 44 "../time/time.h" 2
870 # 57 "../time/time.h"
871 # 1 "../bits/types.h" 1
872 # 28 "../bits/types.h"
873 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
874 # 29 "../bits/types.h" 2
875
876
877 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
878 # 32 "../bits/types.h" 2
879
880
881 typedef unsigned char __u_char;
882 typedef unsigned short int __u_short;
883 typedef unsigned int __u_int;
884 typedef unsigned long int __u_long;
885
886
887 typedef signed char __int8_t;
888 typedef unsigned char __uint8_t;
889 typedef signed short int __int16_t;
890 typedef unsigned short int __uint16_t;
891 typedef signed int __int32_t;
892 typedef unsigned int __uint32_t;
893
894
895
896
897 __extension__ typedef signed long long int __int64_t;
898 __extension__ typedef unsigned long long int __uint64_t;
899
900
901
902
903
904
905
906 __extension__ typedef long long int __quad_t;
907 __extension__ typedef unsigned long long int __u_quad_t;
908 # 134 "../bits/types.h"
909 # 1 "../bits/typesizes.h" 1
910 # 135 "../bits/types.h" 2
911
912
913 __extension__ typedef __u_quad_t __dev_t;
914 __extension__ typedef unsigned int __uid_t;
915 __extension__ typedef unsigned int __gid_t;
916 __extension__ typedef unsigned long int __ino_t;
917 __extension__ typedef __u_quad_t __ino64_t;
918 __extension__ typedef unsigned int __mode_t;
919 __extension__ typedef unsigned int __nlink_t;
920 __extension__ typedef long int __off_t;
921 __extension__ typedef __quad_t __off64_t;
922 __extension__ typedef int __pid_t;
923 __extension__ typedef struct { int __val[2]; } __fsid_t;
924 __extension__ typedef long int __clock_t;
925 __extension__ typedef unsigned long int __rlim_t;
926 __extension__ typedef __u_quad_t __rlim64_t;
927 __extension__ typedef unsigned int __id_t;
928 __extension__ typedef long int __time_t;
929 __extension__ typedef unsigned int __useconds_t;
930 __extension__ typedef long int __suseconds_t;
931
932 __extension__ typedef int __daddr_t;
933 __extension__ typedef long int __swblk_t;
934 __extension__ typedef int __key_t;
935
936
937 __extension__ typedef int __clockid_t;
938
939
940 __extension__ typedef void * __timer_t;
941
942
943 __extension__ typedef long int __blksize_t;
944
945
946
947
948 __extension__ typedef long int __blkcnt_t;
949 __extension__ typedef __quad_t __blkcnt64_t;
950
951
952 __extension__ typedef unsigned long int __fsblkcnt_t;
953 __extension__ typedef __u_quad_t __fsblkcnt64_t;
954
955
956 __extension__ typedef unsigned long int __fsfilcnt_t;
957 __extension__ typedef __u_quad_t __fsfilcnt64_t;
958
959 __extension__ typedef int __ssize_t;
960
961
962
963 typedef __off64_t __loff_t;
964 typedef __quad_t *__qaddr_t;
965 typedef char *__caddr_t;
966
967
968 __extension__ typedef int __intptr_t;
969
970
971 __extension__ typedef unsigned int __socklen_t;
972 # 58 "../time/time.h" 2
973
974
975
976 typedef __clock_t clock_t;
977
978
979
980 # 75 "../time/time.h"
981
982
983 typedef __time_t time_t;
984
985
986
987 # 93 "../time/time.h"
988 typedef __clockid_t clockid_t;
989 # 105 "../time/time.h"
990 typedef __timer_t timer_t;
991 # 121 "../time/time.h"
992 struct timespec
993 {
994 __time_t tv_sec;
995 long int tv_nsec;
996 };
997
998
999
1000
1001
1002
1003
1004
1005 struct tm
1006 {
1007 int tm_sec;
1008 int tm_min;
1009 int tm_hour;
1010 int tm_mday;
1011 int tm_mon;
1012 int tm_year;
1013 int tm_wday;
1014 int tm_yday;
1015 int tm_isdst;
1016
1017
1018 long int tm_gmtoff;
1019 __const char *tm_zone;
1020
1021
1022
1023
1024 };
1025
1026
1027
1028
1029
1030
1031
1032
1033 struct itimerspec
1034 {
1035 struct timespec it_interval;
1036 struct timespec it_value;
1037 };
1038
1039
1040 struct sigevent;
1041
1042
1043
1044
1045
1046 typedef __pid_t pid_t;
1047
1048
1049
1050
1051
1052
1053
1054
1055 extern clock_t clock (void) __attribute__ ((__nothrow__));
1056
1057
1058 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
1059
1060
1061 extern double difftime (time_t __time1, time_t __time0)
1062 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1063
1064
1065 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
1066
1067
1068
1069
1070
1071 extern size_t strftime (char *__restrict __s, size_t __maxsize,
1072 __const char *__restrict __format,
1073 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1074
1075
1076
1077
1078
1079 extern char *strptime (__const char *__restrict __s,
1080 __const char *__restrict __fmt, struct tm *__tp)
1081 __attribute__ ((__nothrow__));
1082
1083
1084
1085
1086
1087 # 1 "../include/xlocale.h" 1
1088 # 217 "../time/time.h" 2
1089
1090 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
1091 __const char *__restrict __format,
1092 __const struct tm *__restrict __tp,
1093 __locale_t __loc) __attribute__ ((__nothrow__));
1094
1095 extern char *strptime_l (__const char *__restrict __s,
1096 __const char *__restrict __fmt, struct tm *__tp,
1097 __locale_t __loc) __attribute__ ((__nothrow__));
1098
1099
1100
1101
1102
1103
1104 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1105
1106
1107
1108 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1109
1110
1111
1112
1113
1114 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
1115 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1116
1117
1118
1119 extern struct tm *localtime_r (__const time_t *__restrict __timer,
1120 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1121
1122
1123
1124
1125
1126 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
1127
1128
1129 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
1130
1131
1132
1133
1134
1135
1136
1137 extern char *asctime_r (__const struct tm *__restrict __tp,
1138 char *__restrict __buf) __attribute__ ((__nothrow__));
1139
1140
1141 extern char *ctime_r (__const time_t *__restrict __timer,
1142 char *__restrict __buf) __attribute__ ((__nothrow__));
1143
1144
1145
1146
1147 extern char *__tzname[2];
1148 extern int __daylight;
1149 extern long int __timezone;
1150
1151
1152
1153
1154 extern char *tzname[2];
1155
1156
1157
1158 extern void tzset (void) __attribute__ ((__nothrow__));
1159
1160
1161
1162 extern int daylight;
1163 extern long int timezone;
1164
1165
1166
1167
1168
1169 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
1170 # 312 "../time/time.h"
1171 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
1172
1173
1174 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
1175
1176
1177 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1178 # 327 "../time/time.h"
1179 extern int nanosleep (__const struct timespec *__requested_time,
1180 struct timespec *__remaining);
1181
1182
1183
1184 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
1185
1186
1187 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
1188
1189
1190 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
1191 __attribute__ ((__nothrow__));
1192
1193
1194
1195
1196
1197
1198 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
1199 __const struct timespec *__req,
1200 struct timespec *__rem);
1201
1202
1203 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
1204
1205
1206
1207
1208 extern int timer_create (clockid_t __clock_id,
1209 struct sigevent *__restrict __evp,
1210 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
1211
1212
1213 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
1214
1215
1216 extern int timer_settime (timer_t __timerid, int __flags,
1217 __const struct itimerspec *__restrict __value,
1218 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
1219
1220
1221 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
1222 __attribute__ ((__nothrow__));
1223
1224
1225 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
1226 # 389 "../time/time.h"
1227 extern int getdate_err;
1228 # 398 "../time/time.h"
1229 extern struct tm *getdate (__const char *__string);
1230 # 412 "../time/time.h"
1231 extern int getdate_r (__const char *__restrict __string,
1232 struct tm *__restrict __resbufp);
1233
1234
1235
1236 # 6 "../include/time.h" 2
1237 # 1 "../include/xlocale.h" 1
1238 # 7 "../include/time.h" 2
1239
1240
1241
1242 extern __typeof (strftime_l) __strftime_l;
1243 extern __typeof (__strftime_l) __strftime_l __asm__ ("" "__GI___strftime_l") __attribute__ ((visibility ("hidden")));
1244 extern __typeof (strptime_l) __strptime_l;
1245
1246 extern __typeof (time) time __asm__ ("" "__GI_time") __attribute__ ((visibility ("hidden")));
1247 extern __typeof (asctime) asctime __asm__ ("" "__GI_asctime") __attribute__ ((visibility ("hidden")));
1248 extern __typeof (mktime) mktime __asm__ ("" "__GI_mktime") __attribute__ ((visibility ("hidden")));
1249 extern __typeof (timelocal) timelocal __asm__ ("" "__GI_timelocal") __attribute__ ((visibility ("hidden")));
1250 extern __typeof (localtime) localtime __asm__ ("" "__GI_localtime") __attribute__ ((visibility ("hidden")));
1251 extern __typeof (strftime) strftime __asm__ ("" "__GI_strftime") __attribute__ ((visibility ("hidden")));
1252 extern __typeof (strptime) strptime __asm__ ("" "__GI_strptime") __attribute__ ((visibility ("hidden")));
1253
1254
1255
1256
1257 struct tm;
1258
1259
1260 extern const unsigned short int __mon_yday[2][13] __attribute__ ((visibility ("hidden")));
1261
1262
1263 extern struct tm _tmbuf __attribute__ ((visibility ("hidden")));
1264
1265
1266 extern char *__tzstring (const char *string);
1267
1268
1269 extern size_t __tzname_cur_max __attribute__ ((visibility ("hidden")));
1270
1271
1272 extern int __use_tzfile __attribute__ ((visibility ("hidden")));
1273
1274 extern void __tzfile_read (const char *file, size_t extra,
1275 char **extrap);
1276 extern void __tzfile_compute (time_t timer, int use_localtime,
1277 long int *leap_correct, int *leap_hit,
1278 struct tm *tp);
1279 extern void __tzfile_default (const char *std, const char *dst,
1280 long int stdoff, long int dstoff);
1281
1282
1283
1284
1285 extern time_t __mktime_internal (struct tm *__tp,
1286 struct tm *(*__func) (const time_t *,
1287 struct tm *),
1288 time_t *__offset);
1289 extern struct tm *__localtime_r (__const time_t *__timer,
1290 struct tm *__tp) __attribute__ ((visibility ("hidden")));
1291
1292 extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
1293 struct tm *__restrict __tp);
1294 extern __typeof (__gmtime_r) __gmtime_r __asm__ ("" "__GI___gmtime_r") __attribute__ ((visibility ("hidden")));
1295
1296
1297
1298
1299
1300 extern int __offtime (__const time_t *__timer,
1301 long int __offset,
1302 struct tm *__tp);
1303
1304 extern char *__asctime_r (__const struct tm *__tp, char *__buf);
1305 extern void __tzset (void);
1306
1307
1308 extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp);
1309
1310
1311
1312 extern long int __tzname_max (void);
1313
1314 extern int __nanosleep (__const struct timespec *__requested_time,
1315 struct timespec *__remaining);
1316 extern __typeof (__nanosleep) __nanosleep __asm__ ("" "__GI___nanosleep") __attribute__ ((visibility ("hidden")));
1317 extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
1318 struct timespec *__remaining)
1319 __attribute__ ((visibility ("hidden")));
1320 extern int __getdate_r (__const char *__string, struct tm *__resbufp);
1321
1322
1323
1324 extern int __getclktck (void);
1325
1326
1327
1328
1329
1330
1331 enum ptime_locale_status { not, loc, raw };
1332
1333 extern char * __strptime_internal (const char *rp, const char *fmt,
1334 struct tm *tm,
1335 enum ptime_locale_status *decided,
1336 int era_cnt, __locale_t locparam)
1337 ;
1338
1339
1340 extern double __difftime (time_t time1, time_t time0);
1341 # 117 "../include/time.h"
1342
1343 # 28 "../include/../locale/localeinfo.h" 2
1344 # 1 "../sysdeps/generic/stdint.h" 1
1345 # 27 "../sysdeps/generic/stdint.h"
1346 # 1 "../bits/wchar.h" 1
1347 # 28 "../sysdeps/generic/stdint.h" 2
1348 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
1349 # 29 "../sysdeps/generic/stdint.h" 2
1350 # 37 "../sysdeps/generic/stdint.h"
1351 typedef signed char int8_t;
1352 typedef short int int16_t;
1353 typedef int int32_t;
1354
1355
1356
1357 __extension__
1358 typedef long long int int64_t;
1359
1360
1361
1362
1363 typedef unsigned char uint8_t;
1364 typedef unsigned short int uint16_t;
1365
1366 typedef unsigned int uint32_t;
1367
1368
1369
1370
1371
1372 __extension__
1373 typedef unsigned long long int uint64_t;
1374
1375
1376
1377
1378
1379
1380 typedef signed char int_least8_t;
1381 typedef short int int_least16_t;
1382 typedef int int_least32_t;
1383
1384
1385
1386 __extension__
1387 typedef long long int int_least64_t;
1388
1389
1390
1391 typedef unsigned char uint_least8_t;
1392 typedef unsigned short int uint_least16_t;
1393 typedef unsigned int uint_least32_t;
1394
1395
1396
1397 __extension__
1398 typedef unsigned long long int uint_least64_t;
1399
1400
1401
1402
1403
1404
1405 typedef signed char int_fast8_t;
1406
1407
1408
1409
1410
1411 typedef int int_fast16_t;
1412 typedef int int_fast32_t;
1413 __extension__
1414 typedef long long int int_fast64_t;
1415
1416
1417
1418 typedef unsigned char uint_fast8_t;
1419
1420
1421
1422
1423
1424 typedef unsigned int uint_fast16_t;
1425 typedef unsigned int uint_fast32_t;
1426 __extension__
1427 typedef unsigned long long int uint_fast64_t;
1428 # 126 "../sysdeps/generic/stdint.h"
1429 typedef int intptr_t;
1430
1431
1432 typedef unsigned int uintptr_t;
1433 # 138 "../sysdeps/generic/stdint.h"
1434 __extension__
1435 typedef long long int intmax_t;
1436 __extension__
1437 typedef unsigned long long int uintmax_t;
1438 # 29 "../include/../locale/localeinfo.h" 2
1439 # 1 "../include/sys/types.h" 1
1440 # 1 "../posix/sys/types.h" 1
1441 # 29 "../posix/sys/types.h"
1442
1443
1444
1445
1446
1447
1448 typedef __u_char u_char;
1449 typedef __u_short u_short;
1450 typedef __u_int u_int;
1451 typedef __u_long u_long;
1452 typedef __quad_t quad_t;
1453 typedef __u_quad_t u_quad_t;
1454 typedef __fsid_t fsid_t;
1455
1456
1457
1458
1459 typedef __loff_t loff_t;
1460
1461
1462
1463 typedef __ino_t ino_t;
1464
1465
1466
1467
1468
1469
1470 typedef __ino64_t ino64_t;
1471
1472
1473
1474
1475 typedef __dev_t dev_t;
1476
1477
1478
1479
1480 typedef __gid_t gid_t;
1481
1482
1483
1484
1485 typedef __mode_t mode_t;
1486
1487
1488
1489
1490 typedef __nlink_t nlink_t;
1491
1492
1493
1494
1495 typedef __uid_t uid_t;
1496
1497
1498
1499
1500
1501 typedef __off_t off_t;
1502
1503
1504
1505
1506
1507
1508 typedef __off64_t off64_t;
1509 # 105 "../posix/sys/types.h"
1510 typedef __id_t id_t;
1511
1512
1513
1514
1515 typedef __ssize_t ssize_t;
1516
1517
1518
1519
1520
1521 typedef __daddr_t daddr_t;
1522 typedef __caddr_t caddr_t;
1523
1524
1525
1526
1527
1528 typedef __key_t key_t;
1529 # 137 "../posix/sys/types.h"
1530 typedef __useconds_t useconds_t;
1531
1532
1533
1534 typedef __suseconds_t suseconds_t;
1535
1536
1537
1538
1539
1540 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1541 # 148 "../posix/sys/types.h" 2
1542
1543
1544
1545 typedef unsigned long int ulong;
1546 typedef unsigned short int ushort;
1547 typedef unsigned int uint;
1548 # 201 "../posix/sys/types.h"
1549 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1550 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1551 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1552 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1553
1554 typedef int register_t __attribute__ ((__mode__ (__word__)));
1555 # 217 "../posix/sys/types.h"
1556 # 1 "../include/endian.h" 1
1557 # 1 "../string/endian.h" 1
1558 # 37 "../string/endian.h"
1559 # 1 "../ports/sysdeps/hppa/bits/endian.h" 1
1560 # 38 "../string/endian.h" 2
1561 # 2 "../include/endian.h" 2
1562 # 218 "../posix/sys/types.h" 2
1563
1564
1565 # 1 "../include/sys/select.h" 1
1566
1567 # 1 "../misc/sys/select.h" 1
1568 # 31 "../misc/sys/select.h"
1569 # 1 "../bits/select.h" 1
1570 # 32 "../misc/sys/select.h" 2
1571
1572
1573 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
1574 # 23 "../sysdeps/unix/sysv/linux/bits/sigset.h"
1575 typedef int __sig_atomic_t;
1576
1577
1578
1579
1580 typedef struct
1581 {
1582 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1583 } __sigset_t;
1584 # 35 "../misc/sys/select.h" 2
1585
1586
1587
1588 typedef __sigset_t sigset_t;
1589
1590
1591
1592
1593
1594
1595
1596 # 1 "../bits/time.h" 1
1597 # 69 "../bits/time.h"
1598 struct timeval
1599 {
1600 __time_t tv_sec;
1601 __suseconds_t tv_usec;
1602 };
1603 # 47 "../misc/sys/select.h" 2
1604 # 55 "../misc/sys/select.h"
1605 typedef long int __fd_mask;
1606 # 67 "../misc/sys/select.h"
1607 typedef struct
1608 {
1609
1610
1611
1612 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1613
1614
1615
1616
1617
1618 } fd_set;
1619
1620
1621
1622
1623
1624
1625 typedef __fd_mask fd_mask;
1626 # 99 "../misc/sys/select.h"
1627
1628 # 109 "../misc/sys/select.h"
1629 extern int select (int __nfds, fd_set *__restrict __readfds,
1630 fd_set *__restrict __writefds,
1631 fd_set *__restrict __exceptfds,
1632 struct timeval *__restrict __timeout);
1633 # 121 "../misc/sys/select.h"
1634 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1635 fd_set *__restrict __writefds,
1636 fd_set *__restrict __exceptfds,
1637 const struct timespec *__restrict __timeout,
1638 const __sigset_t *__restrict __sigmask);
1639
1640
1641
1642 # 3 "../include/sys/select.h" 2
1643
1644
1645 extern int __pselect (int __nfds, fd_set *__readfds,
1646 fd_set *__writefds, fd_set *__exceptfds,
1647 const struct timespec *__timeout,
1648 const __sigset_t *__sigmask);
1649
1650 extern int __select (int __nfds, fd_set *__restrict __readfds,
1651 fd_set *__restrict __writefds,
1652 fd_set *__restrict __exceptfds,
1653 struct timeval *__restrict __timeout);
1654 extern __typeof (__select) __select __asm__ ("" "__GI___select") __attribute__ ((visibility ("hidden")));
1655 # 221 "../posix/sys/types.h" 2
1656
1657
1658 # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1
1659 # 29 "../sysdeps/unix/sysv/linux/sys/sysmacros.h"
1660 __extension__
1661 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1662 __attribute__ ((__nothrow__));
1663 __extension__
1664 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1665 __attribute__ ((__nothrow__));
1666 __extension__
1667 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1668 unsigned int __minor)
1669 __attribute__ ((__nothrow__));
1670
1671
1672 __extension__ extern __inline unsigned int
1673 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1674 {
1675 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1676 }
1677
1678 __extension__ extern __inline unsigned int
1679 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1680 {
1681 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1682 }
1683
1684 __extension__ extern __inline unsigned long long int
1685 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1686 {
1687 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1688 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1689 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1690 }
1691 # 224 "../posix/sys/types.h" 2
1692
1693
1694
1695
1696 typedef __blksize_t blksize_t;
1697
1698
1699
1700
1701
1702
1703 typedef __blkcnt_t blkcnt_t;
1704
1705
1706
1707 typedef __fsblkcnt_t fsblkcnt_t;
1708
1709
1710
1711 typedef __fsfilcnt_t fsfilcnt_t;
1712 # 262 "../posix/sys/types.h"
1713 typedef __blkcnt64_t blkcnt64_t;
1714 typedef __fsblkcnt64_t fsblkcnt64_t;
1715 typedef __fsfilcnt64_t fsfilcnt64_t;
1716
1717
1718
1719
1720
1721 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h" 1
1722 # 48 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h"
1723 typedef unsigned long int pthread_t;
1724 # 60 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h"
1725 typedef union
1726 {
1727 char __size[36];
1728 long int __align;
1729 } pthread_attr_t;
1730
1731
1732 typedef struct __pthread_internal_slist
1733 {
1734 struct __pthread_internal_slist *__next;
1735 } __pthread_slist_t;
1736
1737
1738
1739
1740 typedef union
1741 {
1742 struct __pthread_mutex_s
1743 {
1744 int __lock;
1745 unsigned int __count;
1746 int __owner;
1747
1748
1749 int __kind;
1750 unsigned int __nusers;
1751 __extension__ union
1752 {
1753 int __spins;
1754 __pthread_slist_t __list;
1755 };
1756 } __data;
1757 char __size[48];
1758 long int __align;
1759 } pthread_mutex_t;
1760
1761 typedef union
1762 {
1763 char __size[4];
1764 long int __align;
1765 } pthread_mutexattr_t;
1766
1767
1768
1769
1770 typedef union
1771 {
1772 struct
1773 {
1774 int __lock;
1775 unsigned int __futex;
1776 __extension__ unsigned long long int __total_seq;
1777 __extension__ unsigned long long int __wakeup_seq;
1778 __extension__ unsigned long long int __woken_seq;
1779 void *__mutex;
1780 unsigned int __nwaiters;
1781 unsigned int __broadcast_seq;
1782 } __data;
1783 char __size[64];
1784 __extension__ long long int __align;
1785 } pthread_cond_t;
1786
1787 typedef union
1788 {
1789 char __size[4];
1790 long int __align;
1791 } pthread_condattr_t;
1792
1793
1794
1795 typedef unsigned int pthread_key_t;
1796
1797
1798
1799 typedef int pthread_once_t;
1800
1801
1802
1803
1804
1805 typedef union
1806 {
1807 struct
1808 {
1809 int __lock;
1810 unsigned int __nr_readers;
1811 unsigned int __readers_wakeup;
1812 unsigned int __writer_wakeup;
1813 unsigned int __nr_readers_queued;
1814 unsigned int __nr_writers_queued;
1815
1816
1817 unsigned int __flags;
1818 int __writer;
1819 } __data;
1820 char __size[64];
1821 long int __align;
1822 } pthread_rwlock_t;
1823
1824 typedef union
1825 {
1826 char __size[8];
1827 long int __align;
1828 } pthread_rwlockattr_t;
1829
1830
1831
1832
1833
1834 typedef volatile int pthread_spinlock_t;
1835
1836
1837
1838
1839 typedef union
1840 {
1841 char __size[48];
1842 long int __align;
1843 } pthread_barrier_t;
1844
1845 typedef union
1846 {
1847 char __size[4];
1848 int __align;
1849 } pthread_barrierattr_t;
1850 # 271 "../posix/sys/types.h" 2
1851
1852
1853
1854 # 1 "../include/sys/types.h" 2
1855 # 30 "../include/../locale/localeinfo.h" 2
1856
1857 # 1 "../intl/loadinfo.h" 1
1858 # 60 "../intl/loadinfo.h"
1859 struct loaded_l10nfile
1860 {
1861 const char *filename;
1862 int decided;
1863
1864 const void *data;
1865
1866 struct loaded_l10nfile *next;
1867 struct loaded_l10nfile *successor[1];
1868 };
1869
1870
1871
1872
1873
1874
1875 extern const char *_nl_normalize_codeset (const char *codeset, size_t name_len);
1876
1877
1878 extern struct loaded_l10nfile *
1879 _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *filename, int do_allocate);
1880 # 89 "../intl/loadinfo.h"
1881 extern const char *_nl_expand_alias (const char *name);
1882
1883
1884
1885 extern int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset);
1886 # 32 "../include/../locale/localeinfo.h" 2
1887 # 48 "../include/../locale/localeinfo.h"
1888 struct locale_data
1889 {
1890 const char *name;
1891 const char *filedata;
1892 off_t filesize;
1893 enum
1894 {
1895 ld_malloced,
1896 ld_mapped,
1897 ld_archive
1898 } alloc;
1899
1900
1901
1902
1903 struct
1904 {
1905 void (*cleanup) (struct locale_data *) ;
1906 union
1907 {
1908 void *data;
1909 struct lc_time_data *time;
1910 const struct gconv_fcts *ctype;
1911 };
1912 } private;
1913
1914 unsigned int usage_count;
1915
1916 int use_translit;
1917
1918
1919 unsigned int nstrings;
1920 union locale_data_value
1921 {
1922 const uint32_t *wstr;
1923 const char *string;
1924 unsigned int word;
1925 }
1926 values [];
1927 };
1928
1929
1930 enum coll_sort_rule
1931 {
1932 illegal_0__,
1933 sort_forward,
1934 sort_backward,
1935 illegal_3__,
1936 sort_position,
1937 sort_forward_position,
1938 sort_backward_position,
1939 sort_mask
1940 };
1941
1942
1943 enum value_type
1944 {
1945 none,
1946 string,
1947 stringarray,
1948 byte,
1949 bytearray,
1950 word,
1951 stringlist,
1952 wordarray,
1953 wstring,
1954 wstringarray,
1955 wstringlist
1956 };
1957 # 128 "../include/../locale/localeinfo.h"
1958 struct era_entry
1959 {
1960 uint32_t direction;
1961 int32_t offset;
1962 int32_t start_date[3];
1963 int32_t stop_date[3];
1964 const char *era_name;
1965 const char *era_format;
1966 const wchar_t *era_wname;
1967 const wchar_t *era_wformat;
1968 int absolute_direction;
1969
1970
1971
1972 };
1973
1974
1975
1976 struct lc_time_data
1977 {
1978 struct era_entry *eras;
1979 size_t num_eras;
1980 int era_initialized;
1981
1982 const char **alt_digits;
1983 const wchar_t **walt_digits;
1984 int alt_digits_initialized;
1985 int walt_digits_initialized;
1986 };
1987
1988
1989
1990
1991 enum
1992 {
1993 __TOW_toupper = 0,
1994 __TOW_tolower = 1
1995 };
1996 # 178 "../include/../locale/localeinfo.h"
1997 extern const union catnamestr_t
1998 {
1999 struct
2000 {
2001
2002
2003 # 1 "../include/../locale/categories.def" 1
2004 # 42 "../include/../locale/categories.def"
2005 char str62[sizeof ("LC_COLLATE")];
2006 # 68 "../include/../locale/categories.def"
2007 char str137[sizeof ("LC_CTYPE")];
2008 # 140 "../include/../locale/categories.def"
2009 char str189[sizeof ("LC_MONETARY")];
2010 # 192 "../include/../locale/categories.def"
2011 char str203[sizeof ("LC_NUMERIC")];
2012 # 206 "../include/../locale/categories.def"
2013 char str251[sizeof ("LC_TIME")];
2014 # 254 "../include/../locale/categories.def"
2015 char str263[sizeof ("LC_MESSAGES")];
2016 # 265 "../include/../locale/categories.def"
2017 char str272[sizeof ("LC_PAPER")];
2018 # 274 "../include/../locale/categories.def"
2019 char str285[sizeof ("LC_NAME")];
2020 # 287 "../include/../locale/categories.def"
2021 char str304[sizeof ("LC_ADDRESS")];
2022 # 306 "../include/../locale/categories.def"
2023 char str315[sizeof ("LC_TELEPHONE")];
2024 # 317 "../include/../locale/categories.def"
2025 char str323[sizeof ("LC_MEASUREMENT")];
2026
2027
2028
2029
2030
2031
2032
2033 char str345[sizeof ("LC_IDENTIFICATION")];
2034 # 185 "../include/../locale/localeinfo.h" 2
2035
2036 };
2037 char str[0];
2038 } _nl_category_names __attribute__ ((visibility ("hidden")));
2039 const uint8_t _nl_category_name_idxs[13] __attribute__ ((visibility ("hidden")));
2040 extern const uint8_t _nl_category_name_sizes[13] __attribute__ ((visibility ("hidden")));
2041
2042
2043 extern const char _nl_C_name[] __attribute__ ((visibility ("hidden")));
2044 extern const char _nl_POSIX_name[] __attribute__ ((visibility ("hidden")));
2045
2046
2047 extern const char _nl_C_codeset[] __attribute__ ((visibility ("hidden")));
2048
2049
2050
2051
2052 extern struct __locale_struct _nl_global_locale __attribute__ ((visibility ("hidden")));
2053
2054
2055
2056
2057 # 1 "../bits/libc-tsd.h" 1
2058 # 45 "../bits/libc-tsd.h"
2059 # 1 "../include/tls.h" 1
2060
2061
2062
2063
2064
2065 # 1 "../ports/sysdeps/hppa/nptl/tls.h" 1
2066 # 23 "../ports/sysdeps/hppa/nptl/tls.h"
2067 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
2068 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2069 # 1 "../sysdeps/generic/dl-sysdep.h" 1
2070 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
2071 # 24 "../ports/sysdeps/hppa/nptl/tls.h" 2
2072
2073
2074 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stdbool.h" 1 3 4
2075 # 27 "../ports/sysdeps/hppa/nptl/tls.h" 2
2076 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2077 # 28 "../ports/sysdeps/hppa/nptl/tls.h" 2
2078
2079
2080
2081 typedef union dtv
2082 {
2083 size_t counter;
2084 struct
2085 {
2086 void *val;
2087 _Bool is_static;
2088 } pointer;
2089 } dtv_t;
2090 # 57 "../ports/sysdeps/hppa/nptl/tls.h"
2091 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
2092 # 22 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
2093 # 1 "/usr/include/asm/unistd.h" 1 3 4
2094 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2095 # 1 "../sysdeps/generic/sysdep.h" 1
2096 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2097 # 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1
2098 # 25 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2099 # 58 "../ports/sysdeps/hppa/nptl/tls.h" 2
2100
2101
2102
2103
2104
2105 # 1 "../nptl/descr.h" 1
2106 # 23 "../nptl/descr.h"
2107 # 1 "../include/limits.h" 1
2108 # 145 "../include/limits.h"
2109 # 1 "../include/bits/posix1_lim.h" 1
2110 # 146 "../include/limits.h" 2
2111
2112
2113
2114 # 1 "../include/bits/posix2_lim.h" 1
2115 # 150 "../include/limits.h" 2
2116 # 24 "../nptl/descr.h" 2
2117 # 1 "../include/sched.h" 1
2118
2119 # 1 "../posix/sched.h" 1
2120 # 32 "../posix/sched.h"
2121 # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1
2122 # 65 "../sysdeps/unix/sysv/linux/bits/sched.h"
2123 struct sched_param
2124 {
2125 int __sched_priority;
2126 };
2127
2128
2129
2130
2131
2132 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2133 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
2134
2135
2136 extern int unshare (int __flags) __attribute__ ((__nothrow__));
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147 struct __sched_param
2148 {
2149 int __sched_priority;
2150 };
2151 # 104 "../sysdeps/unix/sysv/linux/bits/sched.h"
2152 typedef unsigned long int __cpu_mask;
2153
2154
2155
2156
2157
2158
2159 typedef struct
2160 {
2161 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2162 } cpu_set_t;
2163 # 33 "../posix/sched.h" 2
2164
2165
2166
2167
2168
2169
2170
2171 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
2172 __attribute__ ((__nothrow__));
2173
2174
2175 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
2176
2177
2178 extern int sched_setscheduler (__pid_t __pid, int __policy,
2179 __const struct sched_param *__param) __attribute__ ((__nothrow__));
2180
2181
2182 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
2183
2184
2185 extern int sched_yield (void) __attribute__ ((__nothrow__));
2186
2187
2188 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
2189
2190
2191 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
2192
2193
2194 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
2195 # 76 "../posix/sched.h"
2196 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2197 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2198
2199
2200 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2201 cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2202
2203
2204
2205 # 3 "../include/sched.h" 2
2206
2207
2208 extern int __sched_setparam (__pid_t __pid,
2209 __const struct sched_param *__param);
2210 extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
2211 extern int __sched_setscheduler (__pid_t __pid, int __policy,
2212 __const struct sched_param *__param);
2213 extern __typeof (__sched_setscheduler) __sched_setscheduler __asm__ ("" "__GI___sched_setscheduler") __attribute__ ((visibility ("hidden")));
2214 extern int __sched_getscheduler (__pid_t __pid);
2215 extern int __sched_yield (void);
2216 extern __typeof (__sched_yield) __sched_yield __asm__ ("" "__GI___sched_yield") __attribute__ ((visibility ("hidden")));
2217 extern int __sched_get_priority_max (int __algorithm);
2218 extern int __sched_get_priority_min (int __algorithm);
2219 extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
2220
2221
2222 extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
2223 int __flags, void *__arg, ...);
2224 extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
2225 size_t __child_stack_size, int __flags, void *__arg, ...);
2226 # 25 "../nptl/descr.h" 2
2227 # 1 "../include/setjmp.h" 1
2228
2229 # 1 "../setjmp/setjmp.h" 1
2230 # 28 "../setjmp/setjmp.h"
2231
2232
2233 # 1 "../ports/sysdeps/hppa/bits/setjmp.h" 1
2234 # 33 "../ports/sysdeps/hppa/bits/setjmp.h"
2235 typedef double __jmp_buf[21];
2236 # 31 "../setjmp/setjmp.h" 2
2237 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
2238 # 32 "../setjmp/setjmp.h" 2
2239
2240
2241
2242
2243 typedef struct __jmp_buf_tag
2244 {
2245
2246
2247
2248
2249 __jmp_buf __jmpbuf;
2250 int __mask_was_saved;
2251 __sigset_t __saved_mask;
2252 } jmp_buf[1];
2253
2254
2255
2256
2257 extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
2258
2259
2260
2261
2262
2263
2264
2265 extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
2266
2267
2268
2269
2270 extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
2271 # 76 "../setjmp/setjmp.h"
2272
2273
2274
2275
2276 extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
2277 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2278
2279
2280
2281
2282
2283
2284
2285 extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
2286 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2287
2288
2289
2290
2291
2292
2293
2294 typedef struct __jmp_buf_tag sigjmp_buf[1];
2295 # 108 "../setjmp/setjmp.h"
2296 extern void siglongjmp (sigjmp_buf __env, int __val)
2297 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2298
2299
2300
2301 # 3 "../include/setjmp.h" 2
2302
2303
2304
2305
2306 extern void __longjmp (__jmp_buf __env, int __val)
2307 __attribute__ ((__noreturn__));
2308
2309
2310
2311
2312
2313 extern int __sigjmp_save (jmp_buf __env, int __savemask);
2314
2315 extern void _longjmp_unwind (jmp_buf env, int val);
2316
2317 extern void __libc_siglongjmp (sigjmp_buf env, int val)
2318 __attribute__ ((noreturn));
2319 extern void __libc_longjmp (sigjmp_buf env, int val)
2320 __attribute__ ((noreturn));
2321 extern __typeof (__libc_longjmp) __libc_longjmp __asm__ ("" "__GI___libc_longjmp") __attribute__ ((visibility ("hidden")));
2322
2323 extern __typeof (_setjmp) _setjmp __asm__ ("" "__GI__setjmp") __attribute__ ((visibility ("hidden")));
2324 extern __typeof (__sigsetjmp) __sigsetjmp __asm__ ("" "__GI___sigsetjmp") __attribute__ ((visibility ("hidden")));
2325 # 26 "../nptl/descr.h" 2
2326
2327 # 1 "../include/sys/types.h" 1
2328 # 28 "../nptl/descr.h" 2
2329 # 1 "../sysdeps/generic/hp-timing.h" 1
2330 # 71 "../sysdeps/generic/hp-timing.h"
2331 typedef int hp_timing_t;
2332 # 29 "../nptl/descr.h" 2
2333 # 1 "../nptl/sysdeps/pthread/list.h" 1
2334 # 29 "../nptl/sysdeps/pthread/list.h"
2335 typedef struct list_head
2336 {
2337 struct list_head *next;
2338 struct list_head *prev;
2339 } list_t;
2340 # 46 "../nptl/sysdeps/pthread/list.h"
2341 static inline void
2342 list_add (list_t *newp, list_t *head)
2343 {
2344 head->next->prev = newp;
2345 newp->next = head->next;
2346 newp->prev = head;
2347 head->next = newp;
2348 }
2349
2350
2351
2352 static inline void
2353 list_add_tail (list_t *newp, list_t *head)
2354 {
2355 head->prev->next = newp;
2356 newp->next = head;
2357 newp->prev = head->prev;
2358 head->prev = newp;
2359 }
2360
2361
2362
2363 static inline void
2364 list_del (list_t *elem)
2365 {
2366 elem->next->prev = elem->prev;
2367 elem->prev->next = elem->next;
2368 }
2369
2370
2371
2372 static inline void
2373 list_splice (list_t *add, list_t *head)
2374 {
2375
2376 if (add != add->next)
2377 {
2378 add->next->prev = head;
2379 add->prev->next = head->next;
2380 head->next->prev = add->prev;
2381 head->next = add->next;
2382 }
2383 }
2384 # 30 "../nptl/descr.h" 2
2385 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 1
2386 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
2387 # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1
2388 # 22 "../sysdeps/unix/sysv/linux/sys/param.h"
2389 # 1 "../include/limits.h" 1
2390 # 145 "../include/limits.h"
2391 # 1 "../include/bits/posix1_lim.h" 1
2392 # 146 "../include/limits.h" 2
2393
2394
2395
2396 # 1 "../include/bits/posix2_lim.h" 1
2397 # 150 "../include/limits.h" 2
2398 # 23 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2399
2400 # 1 "/usr/include/linux/param.h" 1 3 4
2401
2402
2403
2404 # 1 "/usr/include/asm/param.h" 1 3 4
2405 # 5 "/usr/include/linux/param.h" 2 3 4
2406 # 25 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2407 # 42 "../sysdeps/unix/sysv/linux/sys/param.h"
2408 # 1 "../include/sys/types.h" 1
2409 # 43 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2410 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
2411
2412 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
2413 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
2414 # 1 "../sysdeps/generic/sysdep.h" 1
2415 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2416 # 26 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
2417 # 1 "../include/atomic.h" 1
2418 # 49 "../include/atomic.h"
2419 # 1 "../include/stdlib.h" 1
2420
2421
2422
2423
2424
2425
2426 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2427 # 8 "../include/stdlib.h" 2
2428 # 1 "../stdlib/stdlib.h" 1
2429 # 33 "../stdlib/stdlib.h"
2430 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2431 # 34 "../stdlib/stdlib.h" 2
2432
2433
2434
2435
2436
2437
2438
2439
2440 # 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1
2441 # 43 "../stdlib/stdlib.h" 2
2442 # 1 "../bits/waitstatus.h" 1
2443 # 65 "../bits/waitstatus.h"
2444 # 1 "../include/endian.h" 1
2445 # 66 "../bits/waitstatus.h" 2
2446
2447 union wait
2448 {
2449 int w_status;
2450 struct
2451 {
2452
2453
2454
2455
2456
2457
2458
2459 unsigned int:16;
2460 unsigned int __w_retcode:8;
2461 unsigned int __w_coredump:1;
2462 unsigned int __w_termsig:7;
2463
2464 } __wait_terminated;
2465 struct
2466 {
2467
2468
2469
2470
2471
2472
2473 unsigned int:16;
2474 unsigned int __w_stopsig:8;
2475 unsigned int __w_stopval:8;
2476
2477 } __wait_stopped;
2478 };
2479 # 44 "../stdlib/stdlib.h" 2
2480 # 68 "../stdlib/stdlib.h"
2481 typedef union
2482 {
2483 union wait *__uptr;
2484 int *__iptr;
2485 } __WAIT_STATUS __attribute__ ((__transparent_union__));
2486 # 96 "../stdlib/stdlib.h"
2487
2488
2489 typedef struct
2490 {
2491 int quot;
2492 int rem;
2493 } div_t;
2494
2495
2496
2497 typedef struct
2498 {
2499 long int quot;
2500 long int rem;
2501 } ldiv_t;
2502
2503
2504
2505
2506
2507
2508
2509 __extension__ typedef struct
2510 {
2511 long long int quot;
2512 long long int rem;
2513 } lldiv_t;
2514
2515
2516 # 140 "../stdlib/stdlib.h"
2517 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
2518
2519
2520
2521
2522 extern double atof (__const char *__nptr)
2523 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2524
2525 extern int atoi (__const char *__nptr)
2526 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2527
2528 extern long int atol (__const char *__nptr)
2529 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2530
2531
2532
2533
2534
2535 __extension__ extern long long int atoll (__const char *__nptr)
2536 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2537
2538
2539
2540
2541
2542 extern double strtod (__const char *__restrict __nptr,
2543 char **__restrict __endptr)
2544 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2545
2546
2547
2548
2549
2550 extern float strtof (__const char *__restrict __nptr,
2551 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2552
2553 extern long double strtold (__const char *__restrict __nptr,
2554 char **__restrict __endptr)
2555 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2556
2557
2558
2559
2560
2561 extern long int strtol (__const char *__restrict __nptr,
2562 char **__restrict __endptr, int __base)
2563 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2564
2565 extern unsigned long int strtoul (__const char *__restrict __nptr,
2566 char **__restrict __endptr, int __base)
2567 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2568
2569
2570
2571
2572 __extension__
2573 extern long long int strtoq (__const char *__restrict __nptr,
2574 char **__restrict __endptr, int __base)
2575 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2576
2577 __extension__
2578 extern unsigned long long int strtouq (__const char *__restrict __nptr,
2579 char **__restrict __endptr, int __base)
2580 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2581
2582
2583
2584
2585
2586 __extension__
2587 extern long long int strtoll (__const char *__restrict __nptr,
2588 char **__restrict __endptr, int __base)
2589 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2590
2591 __extension__
2592 extern unsigned long long int strtoull (__const char *__restrict __nptr,
2593 char **__restrict __endptr, int __base)
2594 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2595
2596 # 236 "../stdlib/stdlib.h"
2597 # 1 "../include/xlocale.h" 1
2598 # 237 "../stdlib/stdlib.h" 2
2599
2600
2601
2602 extern long int strtol_l (__const char *__restrict __nptr,
2603 char **__restrict __endptr, int __base,
2604 __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2605
2606 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
2607 char **__restrict __endptr,
2608 int __base, __locale_t __loc)
2609 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2610
2611 __extension__
2612 extern long long int strtoll_l (__const char *__restrict __nptr,
2613 char **__restrict __endptr, int __base,
2614 __locale_t __loc)
2615 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2616
2617 __extension__
2618 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
2619 char **__restrict __endptr,
2620 int __base, __locale_t __loc)
2621 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2622
2623 extern double strtod_l (__const char *__restrict __nptr,
2624 char **__restrict __endptr, __locale_t __loc)
2625 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2626
2627 extern float strtof_l (__const char *__restrict __nptr,
2628 char **__restrict __endptr, __locale_t __loc)
2629 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2630
2631 extern long double strtold_l (__const char *__restrict __nptr,
2632 char **__restrict __endptr,
2633 __locale_t __loc)
2634 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2635
2636
2637
2638
2639
2640
2641 extern double __strtod_internal (__const char *__restrict __nptr,
2642 char **__restrict __endptr, int __group)
2643 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2644 extern float __strtof_internal (__const char *__restrict __nptr,
2645 char **__restrict __endptr, int __group)
2646 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2647 extern long double __strtold_internal (__const char *__restrict __nptr,
2648 char **__restrict __endptr,
2649 int __group)
2650 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2651
2652 extern long int __strtol_internal (__const char *__restrict __nptr,
2653 char **__restrict __endptr,
2654 int __base, int __group)
2655 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2656
2657
2658
2659 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
2660 char **__restrict __endptr,
2661 int __base, int __group)
2662 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2663
2664
2665
2666
2667 __extension__
2668 extern long long int __strtoll_internal (__const char *__restrict __nptr,
2669 char **__restrict __endptr,
2670 int __base, int __group)
2671 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2672
2673
2674
2675 __extension__
2676 extern unsigned long long int __strtoull_internal (__const char *
2677 __restrict __nptr,
2678 char **__restrict __endptr,
2679 int __base, int __group)
2680 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2681
2682
2683
2684
2685
2686
2687
2688
2689 extern __inline double
2690 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
2691 {
2692 return __strtod_internal (__nptr, __endptr, 0);
2693 }
2694 extern __inline long int
2695 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2696
2697 {
2698 return __strtol_internal (__nptr, __endptr, __base, 0);
2699 }
2700 extern __inline unsigned long int
2701 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2702
2703 {
2704 return __strtoul_internal (__nptr, __endptr, __base, 0);
2705 }
2706
2707
2708
2709
2710 extern __inline float
2711 __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr)
2712 {
2713 return __strtof_internal (__nptr, __endptr, 0);
2714 }
2715
2716 extern __inline long double
2717 __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr)
2718 {
2719 return __strtold_internal (__nptr, __endptr, 0);
2720 }
2721
2722
2723
2724
2725
2726 __extension__ extern __inline long long int
2727 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2728
2729 {
2730 return __strtoll_internal (__nptr, __endptr, __base, 0);
2731 }
2732 __extension__ extern __inline unsigned long long int
2733 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2734
2735 {
2736 return __strtoull_internal (__nptr, __endptr, __base, 0);
2737 }
2738
2739
2740
2741
2742 __extension__ extern __inline long long int
2743 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2744
2745 {
2746 return __strtoll_internal (__nptr, __endptr, __base, 0);
2747 }
2748 __extension__ extern __inline unsigned long long int
2749 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
2750
2751 {
2752 return __strtoull_internal (__nptr, __endptr, __base, 0);
2753 }
2754
2755
2756
2757
2758 extern __inline double
2759 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
2760 {
2761 return strtod (__nptr, (char **) ((void *)0));
2762 }
2763 extern __inline int
2764 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
2765 {
2766 return (int) strtol (__nptr, (char **) ((void *)0), 10);
2767 }
2768 extern __inline long int
2769 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
2770 {
2771 return strtol (__nptr, (char **) ((void *)0), 10);
2772 }
2773
2774
2775
2776
2777 __extension__ extern __inline long long int
2778 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
2779 {
2780 return strtoll (__nptr, (char **) ((void *)0), 10);
2781 }
2782
2783 # 429 "../stdlib/stdlib.h"
2784 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
2785
2786
2787 extern long int a64l (__const char *__s)
2788 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2789
2790
2791
2792
2793 # 1 "../include/sys/types.h" 1
2794 # 439 "../stdlib/stdlib.h" 2
2795
2796
2797
2798
2799
2800
2801 extern long int random (void) __attribute__ ((__nothrow__));
2802
2803
2804 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
2805
2806
2807
2808
2809
2810 extern char *initstate (unsigned int __seed, char *__statebuf,
2811 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2812
2813
2814
2815 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2816
2817
2818
2819
2820
2821
2822
2823 struct random_data
2824 {
2825 int32_t *fptr;
2826 int32_t *rptr;
2827 int32_t *state;
2828 int rand_type;
2829 int rand_deg;
2830 int rand_sep;
2831 int32_t *end_ptr;
2832 };
2833
2834 extern int random_r (struct random_data *__restrict __buf,
2835 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2836
2837 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2838 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2839
2840 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2841 size_t __statelen,
2842 struct random_data *__restrict __buf)
2843 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2844
2845 extern int setstate_r (char *__restrict __statebuf,
2846 struct random_data *__restrict __buf)
2847 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2848
2849
2850
2851
2852
2853
2854 extern int rand (void) __attribute__ ((__nothrow__));
2855
2856 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2857
2858
2859
2860
2861 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2862
2863
2864
2865
2866
2867
2868
2869 extern double drand48 (void) __attribute__ ((__nothrow__));
2870 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2871
2872
2873 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2874 extern long int nrand48 (unsigned short int __xsubi[3])
2875 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2876
2877
2878 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2879 extern long int jrand48 (unsigned short int __xsubi[3])
2880 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2881
2882
2883 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
2884 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2885 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2886 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2887
2888
2889
2890
2891
2892 struct drand48_data
2893 {
2894 unsigned short int __x[3];
2895 unsigned short int __old_x[3];
2896 unsigned short int __c;
2897 unsigned short int __init;
2898 unsigned long long int __a;
2899 };
2900
2901
2902 extern int drand48_r (struct drand48_data *__restrict __buffer,
2903 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2904 extern int erand48_r (unsigned short int __xsubi[3],
2905 struct drand48_data *__restrict __buffer,
2906 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2907
2908
2909 extern int lrand48_r (struct drand48_data *__restrict __buffer,
2910 long int *__restrict __result)
2911 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2912 extern int nrand48_r (unsigned short int __xsubi[3],
2913 struct drand48_data *__restrict __buffer,
2914 long int *__restrict __result)
2915 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2916
2917
2918 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2919 long int *__restrict __result)
2920 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2921 extern int jrand48_r (unsigned short int __xsubi[3],
2922 struct drand48_data *__restrict __buffer,
2923 long int *__restrict __result)
2924 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2925
2926
2927 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2928 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2929
2930 extern int seed48_r (unsigned short int __seed16v[3],
2931 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2932
2933 extern int lcong48_r (unsigned short int __param[7],
2934 struct drand48_data *__buffer)
2935 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2946
2947 extern void *calloc (size_t __nmemb, size_t __size)
2948 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2949
2950
2951
2952
2953
2954
2955
2956 extern void *realloc (void *__ptr, size_t __size)
2957 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
2958
2959 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2960
2961
2962
2963
2964 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2965
2966
2967
2968 # 1 "../include/alloca.h" 1
2969
2970
2971 # 1 "../stdlib/alloca.h" 1
2972 # 25 "../stdlib/alloca.h"
2973 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2974 # 26 "../stdlib/alloca.h" 2
2975
2976
2977
2978
2979
2980
2981
2982 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2983
2984
2985
2986
2987
2988
2989 # 4 "../include/alloca.h" 2
2990 # 1 "../ports/sysdeps/hppa/stackinfo.h" 1
2991 # 5 "../include/alloca.h" 2
2992
2993
2994
2995
2996 extern void *__alloca (size_t __size);
2997
2998
2999
3000
3001
3002 extern int __libc_use_alloca (size_t size) __attribute__ ((const));
3003 extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const));
3004
3005
3006
3007 # 1 "../nptl/sysdeps/pthread/allocalim.h" 1
3008 # 20 "../nptl/sysdeps/pthread/allocalim.h"
3009 # 1 "../include/alloca.h" 1
3010 # 21 "../nptl/sysdeps/pthread/allocalim.h" 2
3011 # 1 "../include/limits.h" 1
3012 # 145 "../include/limits.h"
3013 # 1 "../include/bits/posix1_lim.h" 1
3014 # 146 "../include/limits.h" 2
3015
3016
3017
3018 # 1 "../include/bits/posix2_lim.h" 1
3019 # 150 "../include/limits.h" 2
3020 # 22 "../nptl/sysdeps/pthread/allocalim.h" 2
3021
3022
3023 extern int
3024 __inline __attribute__ ((__always_inline__))
3025 __libc_use_alloca (size_t size)
3026 {
3027 return (__builtin_expect (size <= 16384 / 4, 1)
3028 || __libc_alloca_cutoff (size));
3029 }
3030 # 21 "../include/alloca.h" 2
3031 # 613 "../stdlib/stdlib.h" 2
3032
3033
3034
3035
3036 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
3037
3038
3039
3040
3041 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
3042 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3043
3044
3045
3046
3047 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3048
3049
3050
3051 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3052
3053
3054
3055
3056
3057 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
3058 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3059
3060
3061
3062
3063
3064
3065 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3066
3067
3068
3069
3070
3071
3072 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3073
3074
3075
3076
3077
3078
3079 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3080
3081
3082
3083
3084 extern char *__secure_getenv (__const char *__name)
3085 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3086
3087
3088
3089
3090
3091 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3092
3093
3094
3095
3096
3097 extern int setenv (__const char *__name, __const char *__value, int __replace)
3098 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3099
3100
3101 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
3102
3103
3104
3105
3106
3107
3108 extern int clearenv (void) __attribute__ ((__nothrow__));
3109 # 698 "../stdlib/stdlib.h"
3110 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3111 # 709 "../stdlib/stdlib.h"
3112 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
3113 # 719 "../stdlib/stdlib.h"
3114 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
3115 # 729 "../stdlib/stdlib.h"
3116 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3117
3118
3119
3120
3121
3122
3123
3124
3125 extern int system (__const char *__command) ;
3126
3127
3128
3129
3130
3131
3132 extern char *canonicalize_file_name (__const char *__name)
3133 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3134 # 756 "../stdlib/stdlib.h"
3135 extern char *realpath (__const char *__restrict __name,
3136 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
3137
3138
3139
3140
3141
3142
3143 typedef int (*__compar_fn_t) (__const void *, __const void *);
3144
3145
3146 typedef __compar_fn_t comparison_fn_t;
3147
3148
3149
3150
3151
3152
3153 extern void *bsearch (__const void *__key, __const void *__base,
3154 size_t __nmemb, size_t __size, __compar_fn_t __compar)
3155 __attribute__ ((__nonnull__ (1, 2, 5))) ;
3156
3157
3158
3159 extern void qsort (void *__base, size_t __nmemb, size_t __size,
3160 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
3161
3162
3163
3164 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3165 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3166
3167
3168
3169 __extension__ extern long long int llabs (long long int __x)
3170 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3171
3172
3173
3174
3175
3176
3177
3178 extern div_t div (int __numer, int __denom)
3179 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3180 extern ldiv_t ldiv (long int __numer, long int __denom)
3181 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3182
3183
3184
3185
3186 __extension__ extern lldiv_t lldiv (long long int __numer,
3187 long long int __denom)
3188 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3189
3190 # 821 "../stdlib/stdlib.h"
3191 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
3192 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3193
3194
3195
3196
3197 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
3198 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3199
3200
3201
3202
3203 extern char *gcvt (double __value, int __ndigit, char *__buf)
3204 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3205
3206
3207
3208
3209 extern char *qecvt (long double __value, int __ndigit,
3210 int *__restrict __decpt, int *__restrict __sign)
3211 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3212 extern char *qfcvt (long double __value, int __ndigit,
3213 int *__restrict __decpt, int *__restrict __sign)
3214 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3215 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
3216 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3217
3218
3219
3220
3221 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3222 int *__restrict __sign, char *__restrict __buf,
3223 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3224 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3225 int *__restrict __sign, char *__restrict __buf,
3226 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3227
3228 extern int qecvt_r (long double __value, int __ndigit,
3229 int *__restrict __decpt, int *__restrict __sign,
3230 char *__restrict __buf, size_t __len)
3231 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3232 extern int qfcvt_r (long double __value, int __ndigit,
3233 int *__restrict __decpt, int *__restrict __sign,
3234 char *__restrict __buf, size_t __len)
3235 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3236
3237
3238
3239
3240
3241
3242
3243 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
3244
3245
3246 extern int mbtowc (wchar_t *__restrict __pwc,
3247 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
3248
3249
3250 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
3251
3252
3253
3254 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
3255 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
3256
3257 extern size_t wcstombs (char *__restrict __s,
3258 __const wchar_t *__restrict __pwcs, size_t __n)
3259 __attribute__ ((__nothrow__));
3260
3261
3262
3263
3264
3265
3266
3267
3268 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3269 # 909 "../stdlib/stdlib.h"
3270 extern int getsubopt (char **__restrict __optionp,
3271 char *__const *__restrict __tokens,
3272 char **__restrict __valuep)
3273 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
3274
3275
3276
3277
3278
3279 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3280
3281
3282
3283
3284
3285
3286
3287 extern int posix_openpt (int __oflag) ;
3288
3289
3290
3291
3292
3293
3294
3295 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
3296
3297
3298
3299 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
3300
3301
3302
3303
3304 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
3305
3306
3307
3308
3309
3310
3311 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
3312 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3313
3314
3315 extern int getpt (void);
3316
3317
3318
3319
3320
3321
3322 extern int getloadavg (double __loadavg[], int __nelem)
3323 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3324 # 977 "../stdlib/stdlib.h"
3325
3326 # 9 "../include/stdlib.h" 2
3327
3328
3329
3330
3331
3332
3333 extern __typeof (strtol_l) __strtol_l;
3334 extern __typeof (strtoul_l) __strtoul_l;
3335 extern __typeof (strtoll_l) __strtoll_l;
3336 extern __typeof (strtoull_l) __strtoull_l;
3337 extern __typeof (strtod_l) __strtod_l;
3338 extern __typeof (strtof_l) __strtof_l;
3339 extern __typeof (strtold_l) __strtold_l;
3340
3341 extern __typeof (exit) exit __asm__ ("" "__GI_exit") __attribute__ ((visibility ("hidden")));
3342 extern __typeof (abort) abort __asm__ ("" "__GI_abort") __attribute__ ((visibility ("hidden")));
3343 extern __typeof (getenv) getenv __asm__ ("" "__GI_getenv") __attribute__ ((visibility ("hidden")));
3344 extern __typeof (bsearch) bsearch __asm__ ("" "__GI_bsearch") __attribute__ ((visibility ("hidden")));
3345 extern __typeof (qsort) qsort __asm__ ("" "__GI_qsort") __attribute__ ((visibility ("hidden")));
3346 extern __typeof (lrand48_r) lrand48_r __asm__ ("" "__GI_lrand48_r") __attribute__ ((visibility ("hidden")));
3347 extern __typeof (wctomb) wctomb __asm__ ("" "__GI_wctomb") __attribute__ ((visibility ("hidden")));
3348 extern __typeof (__secure_getenv) __secure_getenv __asm__ ("" "__GI___secure_getenv") __attribute__ ((visibility ("hidden")));
3349 extern __typeof (__strtof_internal) __strtof_internal __asm__ ("" "__GI___strtof_internal") __attribute__ ((visibility ("hidden")));
3350 extern __typeof (__strtod_internal) __strtod_internal __asm__ ("" "__GI___strtod_internal") __attribute__ ((visibility ("hidden")));
3351 extern __typeof (__strtold_internal) __strtold_internal __asm__ ("" "__GI___strtold_internal") __attribute__ ((visibility ("hidden")));
3352 extern __typeof (__strtol_internal) __strtol_internal __asm__ ("" "__GI___strtol_internal") __attribute__ ((visibility ("hidden")));
3353 extern __typeof (__strtoll_internal) __strtoll_internal __asm__ ("" "__GI___strtoll_internal") __attribute__ ((visibility ("hidden")));
3354 extern __typeof (__strtoul_internal) __strtoul_internal __asm__ ("" "__GI___strtoul_internal") __attribute__ ((visibility ("hidden")));
3355 extern __typeof (__strtoull_internal) __strtoull_internal __asm__ ("" "__GI___strtoull_internal") __attribute__ ((visibility ("hidden")));
3356
3357 extern long int __random (void);
3358 extern void __srandom (unsigned int __seed);
3359 extern char *__initstate (unsigned int __seed, char *__statebuf,
3360 size_t __statelen);
3361 extern char *__setstate (char *__statebuf);
3362 extern int __random_r (struct random_data *__buf, int32_t *__result);
3363 extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
3364 extern int __initstate_r (unsigned int __seed, char *__statebuf,
3365 size_t __statelen, struct random_data *__buf);
3366 extern int __setstate_r (char *__statebuf, struct random_data *__buf);
3367 extern int __rand_r (unsigned int *__seed);
3368 extern int __erand48_r (unsigned short int __xsubi[3],
3369 struct drand48_data *__buffer, double *__result);
3370 extern int __nrand48_r (unsigned short int __xsubi[3],
3371 struct drand48_data *__buffer,
3372 long int *__result);
3373 extern int __jrand48_r (unsigned short int __xsubi[3],
3374 struct drand48_data *__buffer,
3375 long int *__result);
3376 extern int __srand48_r (long int __seedval,
3377 struct drand48_data *__buffer);
3378 extern int __seed48_r (unsigned short int __seed16v[3],
3379 struct drand48_data *__buffer);
3380 extern int __lcong48_r (unsigned short int __param[7],
3381 struct drand48_data *__buffer);
3382
3383
3384 extern int __drand48_iterate (unsigned short int __xsubi[3],
3385 struct drand48_data *__buffer);
3386
3387
3388 extern struct drand48_data __libc_drand48_data __attribute__ ((visibility ("hidden")));
3389
3390 extern int __setenv (__const char *__name, __const char *__value,
3391 int __replace);
3392 extern int __unsetenv (__const char *__name);
3393 extern int __clearenv (void);
3394 extern char *__canonicalize_file_name (__const char *__name);
3395 extern char *__realpath (__const char *__name, char *__resolved);
3396 extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
3397 extern int __getpt (void);
3398 extern int __posix_openpt (int __oflag);
3399
3400 extern int __add_to_environ (const char *name, const char *value,
3401 const char *combines, int replace);
3402
3403 extern void _quicksort (void *const pbase, size_t total_elems,
3404 size_t size, __compar_fn_t cmp);
3405
3406 extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
3407
3408 extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
3409 extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
3410 __attribute__ ((visibility ("hidden")));
3411
3412 extern void __cxa_finalize (void *d);
3413
3414 extern int __posix_memalign (void **memptr, size_t alignment, size_t size);
3415
3416 extern void *__libc_memalign (size_t alignment, size_t size)
3417 __attribute__ ((__malloc__));
3418
3419 extern int __libc_system (const char *line);
3420
3421 extern double ____strtod_l_internal (__const char *__restrict __nptr,
3422 char **__restrict __endptr, int __group,
3423 __locale_t __loc);
3424 extern float ____strtof_l_internal (__const char *__restrict __nptr,
3425 char **__restrict __endptr, int __group,
3426 __locale_t __loc);
3427 extern long double ____strtold_l_internal (__const char *__restrict __nptr,
3428 char **__restrict __endptr,
3429 int __group, __locale_t __loc);
3430 extern long int ____strtol_l_internal (__const char *__restrict __nptr,
3431 char **__restrict __endptr,
3432 int __base, int __group,
3433 __locale_t __loc);
3434 extern unsigned long int ____strtoul_l_internal (__const char *
3435 __restrict __nptr,
3436 char **__restrict __endptr,
3437 int __base, int __group,
3438 __locale_t __loc);
3439 __extension__
3440 extern long long int ____strtoll_l_internal (__const char *__restrict __nptr,
3441 char **__restrict __endptr,
3442 int __base, int __group,
3443 __locale_t __loc);
3444 __extension__
3445 extern unsigned long long int ____strtoull_l_internal (__const char *
3446 __restrict __nptr,
3447 char **
3448 __restrict __endptr,
3449 int __base, int __group,
3450 __locale_t __loc);
3451
3452 extern __typeof (____strtof_l_internal) ____strtof_l_internal __asm__ ("" "__GI_____strtof_l_internal") __attribute__ ((visibility ("hidden")));
3453 extern __typeof (____strtod_l_internal) ____strtod_l_internal __asm__ ("" "__GI_____strtod_l_internal") __attribute__ ((visibility ("hidden")));
3454 extern __typeof (____strtold_l_internal) ____strtold_l_internal __asm__ ("" "__GI_____strtold_l_internal") __attribute__ ((visibility ("hidden")));
3455 extern __typeof (____strtol_l_internal) ____strtol_l_internal __asm__ ("" "__GI_____strtol_l_internal") __attribute__ ((visibility ("hidden")));
3456 extern __typeof (____strtoll_l_internal) ____strtoll_l_internal __asm__ ("" "__GI_____strtoll_l_internal") __attribute__ ((visibility ("hidden")));
3457 extern __typeof (____strtoul_l_internal) ____strtoul_l_internal __asm__ ("" "__GI_____strtoul_l_internal") __attribute__ ((visibility ("hidden")));
3458 extern __typeof (____strtoull_l_internal) ____strtoull_l_internal __asm__ ("" "__GI_____strtoull_l_internal") __attribute__ ((visibility ("hidden")));
3459
3460 extern __inline double
3461 __attribute__ ((__nothrow__)) __strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3462
3463 {
3464 return ____strtod_l_internal (__nptr, __endptr, 0, __loc);
3465 }
3466 extern __inline long int
3467 __attribute__ ((__nothrow__)) __strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3468
3469 {
3470 return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc);
3471 }
3472 extern __inline unsigned long int
3473 __attribute__ ((__nothrow__)) __strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3474
3475 {
3476 return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc);
3477 }
3478 extern __inline float
3479 __attribute__ ((__nothrow__)) __strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3480
3481 {
3482 return ____strtof_l_internal (__nptr, __endptr, 0, __loc);
3483 }
3484 extern __inline long double
3485 __attribute__ ((__nothrow__)) __strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3486
3487 {
3488 return ____strtold_l_internal (__nptr, __endptr, 0, __loc);
3489 }
3490 __extension__ extern __inline long long int
3491 __attribute__ ((__nothrow__)) __strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3492
3493 {
3494 return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc);
3495 }
3496 __extension__ extern __inline unsigned long long int
3497 __attribute__ ((__nothrow__)) __strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3498
3499 {
3500 return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc);
3501 }
3502
3503 extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt,
3504 int *__restrict __sign);
3505 extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt,
3506 int *__restrict __sign);
3507 extern char *__gcvt (double __value, int __ndigit, char *__buf);
3508 extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3509 int *__restrict __sign, char *__restrict __buf,
3510 size_t __len);
3511 extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3512 int *__restrict __sign, char *__restrict __buf,
3513 size_t __len);
3514 extern char *__qecvt (long double __value, int __ndigit,
3515 int *__restrict __decpt, int *__restrict __sign);
3516 extern char *__qfcvt (long double __value, int __ndigit,
3517 int *__restrict __decpt, int *__restrict __sign);
3518 extern char *__qgcvt (long double __value, int __ndigit, char *__buf);
3519 extern int __qecvt_r (long double __value, int __ndigit,
3520 int *__restrict __decpt, int *__restrict __sign,
3521 char *__restrict __buf, size_t __len);
3522 extern int __qfcvt_r (long double __value, int __ndigit,
3523 int *__restrict __decpt, int *__restrict __sign,
3524 char *__restrict __buf, size_t __len);
3525 # 217 "../include/stdlib.h"
3526 extern void *__default_morecore (ptrdiff_t) __attribute__ ((__nothrow__));
3527 extern __typeof (__default_morecore) __default_morecore __asm__ ("" "__GI___default_morecore") __attribute__ ((visibility ("hidden")));
3528
3529
3530 # 50 "../include/atomic.h" 2
3531
3532 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 1
3533 # 21 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h"
3534 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
3535 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
3536 # 1 "../sysdeps/generic/sysdep.h" 1
3537 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
3538 # 22 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3539 # 1 "../ports/sysdeps/hppa/abort-instr.h" 1
3540 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3541 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h" 1
3542 # 39 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h"
3543 # 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1
3544 # 39 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h" 2
3545 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3546 # 34 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h"
3547 typedef int8_t atomic8_t;
3548 typedef uint8_t uatomic8_t;
3549 typedef int_fast8_t atomic_fast8_t;
3550 typedef uint_fast8_t uatomic_fast8_t;
3551
3552 typedef int32_t atomic32_t;
3553 typedef uint32_t uatomic32_t;
3554 typedef int_fast32_t atomic_fast32_t;
3555 typedef uint_fast32_t uatomic_fast32_t;
3556
3557 typedef intptr_t atomicptr_t;
3558 typedef uintptr_t uatomicptr_t;
3559 typedef intmax_t atomic_max_t;
3560 typedef uintmax_t uatomic_max_t;
3561 # 52 "../include/atomic.h" 2
3562 # 27 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
3563 # 48 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3564 typedef int lll_lock_t;
3565 # 110 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3566 static inline int __attribute__((always_inline))
3567 __lll_mutex_trylock(lll_lock_t *futex)
3568 {
3569 return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3570 }
3571
3572
3573 static inline int __attribute__((always_inline))
3574 __lll_robust_mutex_trylock(int *futex, int id)
3575 {
3576 return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3577 }
3578
3579
3580
3581
3582 static inline int __attribute__((always_inline))
3583 __lll_mutex_cond_trylock(lll_lock_t *futex)
3584 {
3585 return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (2) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3586 }
3587
3588
3589
3590 extern void __lll_lock_wait (lll_lock_t *futex) __attribute__ ((visibility ("hidden")));
3591
3592 static inline void __attribute__((always_inline))
3593 __lll_mutex_lock(lll_lock_t *futex)
3594 {
3595 if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3596 __lll_lock_wait (futex);
3597 }
3598
3599
3600 extern int __lll_robust_lock_wait (int *futex) __attribute__ ((visibility ("hidden")));
3601
3602 static inline int __attribute__ ((always_inline))
3603 __lll_robust_mutex_lock (int *futex, int id)
3604 {
3605 int result = 0;
3606 if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3607 result = __lll_robust_lock_wait (futex);
3608 return result;
3609 }
3610
3611
3612
3613 static inline void __attribute__ ((always_inline))
3614 __lll_mutex_cond_lock (lll_lock_t *futex)
3615 {
3616 if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (2) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3617 __lll_lock_wait (futex);
3618 }
3619
3620
3621
3622
3623
3624
3625
3626 extern int __lll_timedlock_wait (lll_lock_t *futex, const struct timespec *)
3627 __attribute__ ((visibility ("hidden")));
3628 extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *)
3629 __attribute__ ((visibility ("hidden")));
3630
3631 static inline int __attribute__ ((always_inline))
3632 __lll_mutex_timedlock (lll_lock_t *futex, const struct timespec *abstime)
3633 {
3634 int result = 0;
3635 if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3636 result = __lll_timedlock_wait (futex, abstime);
3637 return result;
3638 }
3639
3640
3641
3642 static inline int __attribute__ ((always_inline))
3643 __lll_robust_mutex_timedlock (int *futex, const struct timespec *abstime,
3644 int id)
3645 {
3646 int result = 0;
3647 if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3648 result = __lll_robust_timedlock_wait (futex, abstime);
3649 return result;
3650 }
3651
3652
3653
3654
3655 static inline void __attribute__ ((always_inline))
3656 __lll_mutex_unlock (lll_lock_t *futex)
3657 {
3658 int val = ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3659 if (__builtin_expect (val > 1, 0))
3660 ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( " copy %%r19, %" "%r4" "\n" " ble 0x100(%%sr2, %%r0)\n" " ldi %1, %%r20\n" " copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3661 }
3662
3663
3664
3665 static inline void __attribute__ ((always_inline))
3666 __lll_robust_mutex_unlock (int *futex, int mask)
3667 {
3668 int val = ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3669 if (__builtin_expect (val & mask, 0))
3670 ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( " copy %%r19, %" "%r4" "\n" " ble 0x100(%%sr2, %%r0)\n" " ldi %1, %%r20\n" " copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3671 }
3672
3673
3674
3675
3676 static inline void __attribute__ ((always_inline))
3677 __lll_mutex_unlock_force (lll_lock_t *futex)
3678 {
3679 (void) ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0: \n\t" "copy %3, %%r26 \n\t" "copy %4, %%r25 \n\t" "copy %5, %%r24 \n\t" "ble " "0xb0" "(%%sr2, %%r0) \n\t" "ldi " "0" ", %%r20 \n\t" "cmpib,=,n " "11" ",%%r21,0b \n\t" "nop \n\t" "stw %%r28, %0 \n\t" "sub %%r0, %%r21, %%r21 \n\t" "stw %%r21, %1 \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3680 ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( " copy %%r19, %" "%r4" "\n" " ble 0x100(%%sr2, %%r0)\n" " ldi %1, %%r20\n" " copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3681 }
3682 # 242 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3683 extern int lll_unlock_wake_cb (lll_lock_t *__futex) __attribute__ ((visibility ("hidden")));
3684 # 265 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3685 extern int __lll_timedwait_tid (int *, const struct timespec *)
3686 __attribute__ ((visibility ("hidden")));
3687 # 279 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3688 extern void __lll_cond_wait (pthread_cond_t *cond)
3689 __attribute__ ((visibility ("hidden")));
3690 extern int __lll_cond_timedwait (pthread_cond_t *cond,
3691 const struct timespec *abstime)
3692 __attribute__ ((visibility ("hidden")));
3693 extern void __lll_cond_wake (pthread_cond_t *cond)
3694 __attribute__ ((visibility ("hidden")));
3695 extern void __lll_cond_broadcast (pthread_cond_t *cond)
3696 __attribute__ ((visibility ("hidden")));
3697 # 31 "../nptl/descr.h" 2
3698 # 1 "../ports/sysdeps/hppa/nptl/pthreaddef.h" 1
3699 # 34 "../ports/sysdeps/hppa/nptl/pthreaddef.h"
3700 register char * stack_pointer __asm__ ("%r30");
3701 # 32 "../nptl/descr.h" 2
3702 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
3703 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
3704 # 1 "../sysdeps/generic/dl-sysdep.h" 1
3705 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
3706 # 33 "../nptl/descr.h" 2
3707 # 1 "../nptl/../nptl_db/thread_db.h" 1
3708 # 26 "../nptl/../nptl_db/thread_db.h"
3709 # 1 "../include/pthread.h" 1
3710 # 1 "../nptl/sysdeps/pthread/pthread.h" 1
3711 # 27 "../nptl/sysdeps/pthread/pthread.h"
3712 # 1 "../include/signal.h" 1
3713
3714
3715 # 1 "../signal/signal.h" 1
3716 # 31 "../signal/signal.h"
3717
3718
3719 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
3720 # 34 "../signal/signal.h" 2
3721 # 400 "../signal/signal.h"
3722
3723 # 4 "../include/signal.h" 2
3724 # 28 "../nptl/sysdeps/pthread/pthread.h" 2
3725
3726
3727 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
3728 # 31 "../nptl/sysdeps/pthread/pthread.h" 2
3729
3730
3731
3732 enum
3733 {
3734 PTHREAD_CREATE_JOINABLE,
3735
3736 PTHREAD_CREATE_DETACHED
3737
3738 };
3739
3740
3741
3742 enum
3743 {
3744 PTHREAD_MUTEX_TIMED_NP,
3745 PTHREAD_MUTEX_RECURSIVE_NP,
3746 PTHREAD_MUTEX_ERRORCHECK_NP,
3747 PTHREAD_MUTEX_ADAPTIVE_NP
3748
3749 ,
3750 PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
3751 PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
3752 PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
3753 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
3754
3755
3756
3757 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
3758
3759 };
3760
3761
3762
3763
3764 enum
3765 {
3766 PTHREAD_MUTEX_STALLED_NP,
3767 PTHREAD_MUTEX_ROBUST_NP
3768 };
3769
3770
3771
3772
3773
3774 enum
3775 {
3776 PTHREAD_PRIO_NONE,
3777 PTHREAD_PRIO_INHERIT,
3778 PTHREAD_PRIO_PROTECT
3779 };
3780 # 113 "../nptl/sysdeps/pthread/pthread.h"
3781 enum
3782 {
3783 PTHREAD_RWLOCK_PREFER_READER_NP,
3784 PTHREAD_RWLOCK_PREFER_WRITER_NP,
3785 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
3786 PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
3787 };
3788 # 143 "../nptl/sysdeps/pthread/pthread.h"
3789 enum
3790 {
3791 PTHREAD_INHERIT_SCHED,
3792
3793 PTHREAD_EXPLICIT_SCHED
3794
3795 };
3796
3797
3798
3799 enum
3800 {
3801 PTHREAD_SCOPE_SYSTEM,
3802
3803 PTHREAD_SCOPE_PROCESS
3804
3805 };
3806
3807
3808
3809 enum
3810 {
3811 PTHREAD_PROCESS_PRIVATE,
3812
3813 PTHREAD_PROCESS_SHARED
3814
3815 };
3816 # 178 "../nptl/sysdeps/pthread/pthread.h"
3817 struct _pthread_cleanup_buffer
3818 {
3819 void (*__routine) (void *);
3820 void *__arg;
3821 int __canceltype;
3822 struct _pthread_cleanup_buffer *__prev;
3823 };
3824
3825
3826 enum
3827 {
3828 PTHREAD_CANCEL_ENABLE,
3829
3830 PTHREAD_CANCEL_DISABLE
3831
3832 };
3833 enum
3834 {
3835 PTHREAD_CANCEL_DEFERRED,
3836
3837 PTHREAD_CANCEL_ASYNCHRONOUS
3838
3839 };
3840 # 216 "../nptl/sysdeps/pthread/pthread.h"
3841
3842
3843
3844
3845
3846 extern int pthread_create (pthread_t *__restrict __newthread,
3847 __const pthread_attr_t *__restrict __attr,
3848 void *(*__start_routine) (void *),
3849 void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
3850
3851
3852
3853
3854
3855 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
3856
3857
3858
3859
3860
3861
3862
3863 extern int pthread_join (pthread_t __th, void **__thread_return);
3864
3865
3866
3867
3868 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__));
3869
3870
3871
3872
3873
3874
3875
3876 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
3877 __const struct timespec *__abstime);
3878
3879
3880
3881
3882
3883
3884 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
3885
3886
3887
3888 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3889
3890
3891 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
3892
3893
3894
3895
3896
3897
3898
3899 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3900
3901
3902 extern int pthread_attr_destroy (pthread_attr_t *__attr)
3903 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3904
3905
3906 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
3907 int *__detachstate)
3908 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3909
3910
3911 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
3912 int __detachstate)
3913 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3914
3915
3916
3917 extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
3918 size_t *__guardsize)
3919 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3920
3921
3922 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
3923 size_t __guardsize)
3924 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3925
3926
3927
3928 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
3929 __attr,
3930 struct sched_param *__restrict __param)
3931 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3932
3933
3934 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
3935 __const struct sched_param *__restrict
3936 __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3937
3938
3939 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
3940 __attr, int *__restrict __policy)
3941 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3942
3943
3944 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
3945 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3946
3947
3948 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
3949 __attr, int *__restrict __inherit)
3950 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3951
3952
3953 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
3954 int __inherit)
3955 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3956
3957
3958
3959 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
3960 int *__restrict __scope)
3961 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3962
3963
3964 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
3965 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3966
3967
3968 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
3969 __attr, void **__restrict __stackaddr)
3970 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
3971
3972
3973
3974
3975
3976 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
3977 void *__stackaddr)
3978 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
3979
3980
3981 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
3982 __attr, size_t *__restrict __stacksize)
3983 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3984
3985
3986
3987
3988 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
3989 size_t __stacksize)
3990 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3991
3992
3993
3994 extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
3995 void **__restrict __stackaddr,
3996 size_t *__restrict __stacksize)
3997 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
3998
3999
4000
4001
4002 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
4003 size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4004
4005
4006
4007
4008
4009 extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
4010 size_t __cpusetsize,
4011 __const cpu_set_t *__cpuset)
4012 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4013
4014
4015
4016 extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
4017 size_t __cpusetsize,
4018 cpu_set_t *__cpuset)
4019 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4020
4021
4022
4023
4024
4025 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
4026 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4027
4028
4029
4030
4031
4032
4033
4034 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
4035 __const struct sched_param *__param)
4036 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4037
4038
4039 extern int pthread_getschedparam (pthread_t __target_thread,
4040 int *__restrict __policy,
4041 struct sched_param *__restrict __param)
4042 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
4043
4044
4045 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
4046 __attribute__ ((__nothrow__));
4047
4048
4049
4050
4051 extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__));
4052
4053
4054 extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__));
4055
4056
4057
4058
4059
4060
4061
4062 extern int pthread_yield (void) __attribute__ ((__nothrow__));
4063
4064
4065
4066
4067 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
4068 __const cpu_set_t *__cpuset)
4069 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4070
4071
4072 extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
4073 cpu_set_t *__cpuset)
4074 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4075 # 462 "../nptl/sysdeps/pthread/pthread.h"
4076 extern int pthread_once (pthread_once_t *__once_control,
4077 void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
4078 # 474 "../nptl/sysdeps/pthread/pthread.h"
4079 extern int pthread_setcancelstate (int __state, int *__oldstate);
4080
4081
4082
4083 extern int pthread_setcanceltype (int __type, int *__oldtype);
4084
4085
4086 extern int pthread_cancel (pthread_t __th);
4087
4088
4089
4090
4091 extern void pthread_testcancel (void);
4092
4093
4094
4095
4096 typedef struct
4097 {
4098 struct
4099 {
4100 __jmp_buf __cancel_jmp_buf;
4101 int __mask_was_saved;
4102 } __cancel_jmp_buf[1];
4103 void *__pad[4];
4104 } __pthread_unwind_buf_t __attribute__ ((__aligned__));
4105 # 508 "../nptl/sysdeps/pthread/pthread.h"
4106 struct __pthread_cleanup_frame
4107 {
4108 void (*__cancel_routine) (void *);
4109 void *__cancel_arg;
4110 int __do_it;
4111 int __cancel_type;
4112 };
4113 # 648 "../nptl/sysdeps/pthread/pthread.h"
4114 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
4115 ;
4116 # 659 "../nptl/sysdeps/pthread/pthread.h"
4117 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
4118 ;
4119 # 682 "../nptl/sysdeps/pthread/pthread.h"
4120 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
4121 ;
4122 # 694 "../nptl/sysdeps/pthread/pthread.h"
4123 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
4124 ;
4125
4126
4127
4128 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
4129 __attribute__ ((__noreturn__))
4130
4131
4132
4133 ;
4134
4135
4136
4137 struct __jmp_buf_tag;
4138 extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__));
4139
4140
4141
4142
4143
4144 extern int pthread_mutex_init (pthread_mutex_t *__mutex,
4145 __const pthread_mutexattr_t *__mutexattr)
4146 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4147
4148
4149 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
4150 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4151
4152
4153 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
4154 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4155
4156
4157 extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
4158 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4159
4160
4161
4162 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
4163 __const struct timespec *__restrict
4164 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4165
4166
4167
4168 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
4169 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4170
4171
4172
4173
4174 extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
4175 __restrict __mutex,
4176 int *__restrict __prioceiling)
4177 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4178
4179
4180
4181 extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
4182 int __prioceiling,
4183 int *__restrict __old_ceiling)
4184 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4185
4186
4187
4188
4189
4190 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
4191 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4192
4193
4194
4195
4196
4197
4198
4199 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
4200 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4201
4202
4203 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
4204 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4205
4206
4207 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
4208 __restrict __attr,
4209 int *__restrict __pshared)
4210 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4211
4212
4213 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
4214 int __pshared)
4215 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4216
4217
4218
4219 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
4220 __attr, int *__restrict __kind)
4221 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4222
4223
4224
4225
4226 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
4227 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4228
4229
4230 extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
4231 __restrict __attr,
4232 int *__restrict __protocol)
4233 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4234
4235
4236
4237 extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
4238 int __protocol)
4239 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4240
4241
4242 extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
4243 __restrict __attr,
4244 int *__restrict __prioceiling)
4245 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4246
4247
4248 extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
4249 int __prioceiling)
4250 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4251
4252
4253
4254
4255 extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
4256 int *__robustness)
4257 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4258
4259
4260 extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
4261 int __robustness)
4262 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4263 # 842 "../nptl/sysdeps/pthread/pthread.h"
4264 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
4265 __const pthread_rwlockattr_t *__restrict
4266 __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4267
4268
4269 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
4270 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4271
4272
4273 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
4274 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4275
4276
4277 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
4278 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4279
4280
4281
4282 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
4283 __const struct timespec *__restrict
4284 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4285
4286
4287
4288 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
4289 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4290
4291
4292 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
4293 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4294
4295
4296
4297 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
4298 __const struct timespec *__restrict
4299 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4300
4301
4302
4303 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
4304 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4305
4306
4307
4308
4309
4310 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
4311 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4312
4313
4314 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
4315 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4316
4317
4318 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
4319 __restrict __attr,
4320 int *__restrict __pshared)
4321 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4322
4323
4324 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
4325 int __pshared)
4326 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4327
4328
4329 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
4330 __restrict __attr,
4331 int *__restrict __pref)
4332 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4333
4334
4335 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
4336 int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4337
4338
4339
4340
4341
4342
4343
4344 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
4345 __const pthread_condattr_t *__restrict
4346 __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4347
4348
4349 extern int pthread_cond_destroy (pthread_cond_t *__cond)
4350 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4351
4352
4353 extern int pthread_cond_signal (pthread_cond_t *__cond)
4354 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4355
4356
4357 extern int pthread_cond_broadcast (pthread_cond_t *__cond)
4358 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4359
4360
4361
4362
4363
4364
4365 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
4366 pthread_mutex_t *__restrict __mutex)
4367 __attribute__ ((__nonnull__ (1, 2)));
4368 # 954 "../nptl/sysdeps/pthread/pthread.h"
4369 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
4370 pthread_mutex_t *__restrict __mutex,
4371 __const struct timespec *__restrict
4372 __abstime) __attribute__ ((__nonnull__ (1, 2, 3)));
4373
4374
4375
4376
4377 extern int pthread_condattr_init (pthread_condattr_t *__attr)
4378 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4379
4380
4381 extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
4382 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4383
4384
4385 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
4386 __restrict __attr,
4387 int *__restrict __pshared)
4388 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4389
4390
4391 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
4392 int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4393
4394
4395
4396 extern int pthread_condattr_getclock (__const pthread_condattr_t *
4397 __restrict __attr,
4398 __clockid_t *__restrict __clock_id)
4399 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4400
4401
4402 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
4403 __clockid_t __clock_id)
4404 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4405 # 998 "../nptl/sysdeps/pthread/pthread.h"
4406 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
4407 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4408
4409
4410 extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
4411 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4412
4413
4414 extern int pthread_spin_lock (pthread_spinlock_t *__lock)
4415 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4416
4417
4418 extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
4419 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4420
4421
4422 extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
4423 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4424
4425
4426
4427
4428
4429
4430 extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
4431 __const pthread_barrierattr_t *__restrict
4432 __attr, unsigned int __count)
4433 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4434
4435
4436 extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
4437 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4438
4439
4440 extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
4441 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4442
4443
4444
4445 extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
4446 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4447
4448
4449 extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
4450 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4451
4452
4453 extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
4454 __restrict __attr,
4455 int *__restrict __pshared)
4456 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4457
4458
4459 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
4460 int __pshared)
4461 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4462 # 1065 "../nptl/sysdeps/pthread/pthread.h"
4463 extern int pthread_key_create (pthread_key_t *__key,
4464 void (*__destr_function) (void *))
4465 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4466
4467
4468 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
4469
4470
4471 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
4472
4473
4474 extern int pthread_setspecific (pthread_key_t __key,
4475 __const void *__pointer) __attribute__ ((__nothrow__)) ;
4476
4477
4478
4479
4480 extern int pthread_getcpuclockid (pthread_t __thread_id,
4481 __clockid_t *__clock_id)
4482 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4483 # 1099 "../nptl/sysdeps/pthread/pthread.h"
4484 extern int pthread_atfork (void (*__prepare) (void),
4485 void (*__parent) (void),
4486 void (*__child) (void)) __attribute__ ((__nothrow__));
4487
4488
4489
4490
4491 extern __inline int
4492 __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
4493 {
4494 return __thread1 == __thread2;
4495 }
4496
4497
4498
4499 # 2 "../include/pthread.h" 2
4500
4501
4502 extern void __pthread_initialize (void) __att