]> git.wh0rd.org - ICEs.git/blob - 287391/svolume_mmx.i.0
more
[ICEs.git] / 287391 / svolume_mmx.i.0
1 # 1 "pulsecore/svolume_mmx.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "pulsecore/svolume_mmx.c"
5 # 24 "pulsecore/svolume_mmx.c"
6 # 1 "../config.h" 1
7 # 25 "pulsecore/svolume_mmx.c" 2
8
9
10 # 1 "./pulse/timeval.h" 1
11 # 26 "./pulse/timeval.h"
12 # 1 "./pulse/cdecl.h" 1
13 # 27 "./pulse/timeval.h" 2
14 # 1 "./pulse/gccmacro.h" 1
15 # 28 "./pulse/timeval.h" 2
16 # 1 "./pulse/sample.h" 1
17 # 26 "./pulse/sample.h"
18 # 1 "/usr/include/inttypes.h" 1 3 4
19 # 26 "/usr/include/inttypes.h" 3 4
20 # 1 "/usr/include/features.h" 1 3 4
21 # 347 "/usr/include/features.h" 3 4
22 # 1 "/usr/include/sys/cdefs.h" 1 3 4
23 # 353 "/usr/include/sys/cdefs.h" 3 4
24 # 1 "/usr/include/bits/wordsize.h" 1 3 4
25 # 354 "/usr/include/sys/cdefs.h" 2 3 4
26 # 348 "/usr/include/features.h" 2 3 4
27 # 371 "/usr/include/features.h" 3 4
28 # 1 "/usr/include/gnu/stubs.h" 1 3 4
29
30
31
32 # 1 "/usr/include/bits/wordsize.h" 1 3 4
33 # 5 "/usr/include/gnu/stubs.h" 2 3 4
34
35
36
37
38 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
39 # 10 "/usr/include/gnu/stubs.h" 2 3 4
40 # 372 "/usr/include/features.h" 2 3 4
41 # 27 "/usr/include/inttypes.h" 2 3 4
42
43 # 1 "/usr/include/stdint.h" 1 3 4
44 # 27 "/usr/include/stdint.h" 3 4
45 # 1 "/usr/include/bits/wchar.h" 1 3 4
46 # 28 "/usr/include/stdint.h" 2 3 4
47 # 1 "/usr/include/bits/wordsize.h" 1 3 4
48 # 29 "/usr/include/stdint.h" 2 3 4
49 # 37 "/usr/include/stdint.h" 3 4
50 typedef signed char int8_t;
51 typedef short int int16_t;
52 typedef int int32_t;
53
54 typedef long int int64_t;
55
56
57
58
59
60
61
62 typedef unsigned char uint8_t;
63 typedef unsigned short int uint16_t;
64
65 typedef unsigned int uint32_t;
66
67
68
69 typedef unsigned long int uint64_t;
70 # 66 "/usr/include/stdint.h" 3 4
71 typedef signed char int_least8_t;
72 typedef short int int_least16_t;
73 typedef int int_least32_t;
74
75 typedef long int int_least64_t;
76
77
78
79
80
81
82 typedef unsigned char uint_least8_t;
83 typedef unsigned short int uint_least16_t;
84 typedef unsigned int uint_least32_t;
85
86 typedef unsigned long int uint_least64_t;
87 # 91 "/usr/include/stdint.h" 3 4
88 typedef signed char int_fast8_t;
89
90 typedef long int int_fast16_t;
91 typedef long int int_fast32_t;
92 typedef long int int_fast64_t;
93 # 104 "/usr/include/stdint.h" 3 4
94 typedef unsigned char uint_fast8_t;
95
96 typedef unsigned long int uint_fast16_t;
97 typedef unsigned long int uint_fast32_t;
98 typedef unsigned long int uint_fast64_t;
99 # 120 "/usr/include/stdint.h" 3 4
100 typedef long int intptr_t;
101
102
103 typedef unsigned long int uintptr_t;
104 # 135 "/usr/include/stdint.h" 3 4
105 typedef long int intmax_t;
106 typedef unsigned long int uintmax_t;
107 # 29 "/usr/include/inttypes.h" 2 3 4
108
109
110
111
112
113
114 typedef int __gwchar_t;
115 # 274 "/usr/include/inttypes.h" 3 4
116
117
118
119
120
121 typedef struct
122 {
123 long int quot;
124 long int rem;
125 } imaxdiv_t;
126 # 298 "/usr/include/inttypes.h" 3 4
127 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
128
129
130 extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
131 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
132
133
134 extern intmax_t strtoimax (__const char *__restrict __nptr,
135 char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
136
137
138 extern uintmax_t strtoumax (__const char *__restrict __nptr,
139 char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
140
141
142 extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
143 __gwchar_t **__restrict __endptr, int __base)
144 __attribute__ ((__nothrow__));
145
146
147 extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
148 __gwchar_t ** __restrict __endptr, int __base)
149 __attribute__ ((__nothrow__));
150
151
152
153
154
155 extern long int __strtol_internal (__const char *__restrict __nptr,
156 char **__restrict __endptr,
157 int __base, int __group)
158 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
159
160 extern __inline __attribute__ ((__gnu_inline__)) intmax_t
161 __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
162
163 {
164 return __strtol_internal (nptr, endptr, base, 0);
165 }
166
167 extern unsigned long int __strtoul_internal (__const char *
168 __restrict __nptr,
169 char ** __restrict __endptr,
170 int __base, int __group)
171 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
172
173 extern __inline __attribute__ ((__gnu_inline__)) uintmax_t
174 __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
175
176 {
177 return __strtoul_internal (nptr, endptr, base, 0);
178 }
179
180 extern long int __wcstol_internal (__const __gwchar_t * __restrict __nptr,
181 __gwchar_t **__restrict __endptr,
182 int __base, int __group)
183 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
184
185 extern __inline __attribute__ ((__gnu_inline__)) intmax_t
186 __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
187
188 {
189 return __wcstol_internal (nptr, endptr, base, 0);
190 }
191
192 extern unsigned long int __wcstoul_internal (__const __gwchar_t *
193 __restrict __nptr,
194 __gwchar_t **
195 __restrict __endptr,
196 int __base, int __group)
197 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
198
199 extern __inline __attribute__ ((__gnu_inline__)) uintmax_t
200 __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
201
202 {
203 return __wcstoul_internal (nptr, endptr, base, 0);
204 }
205 # 442 "/usr/include/inttypes.h" 3 4
206
207 # 27 "./pulse/sample.h" 2
208 # 1 "/usr/include/sys/types.h" 1 3 4
209 # 29 "/usr/include/sys/types.h" 3 4
210
211
212 # 1 "/usr/include/bits/types.h" 1 3 4
213 # 28 "/usr/include/bits/types.h" 3 4
214 # 1 "/usr/include/bits/wordsize.h" 1 3 4
215 # 29 "/usr/include/bits/types.h" 2 3 4
216
217
218 typedef unsigned char __u_char;
219 typedef unsigned short int __u_short;
220 typedef unsigned int __u_int;
221 typedef unsigned long int __u_long;
222
223
224 typedef signed char __int8_t;
225 typedef unsigned char __uint8_t;
226 typedef signed short int __int16_t;
227 typedef unsigned short int __uint16_t;
228 typedef signed int __int32_t;
229 typedef unsigned int __uint32_t;
230
231 typedef signed long int __int64_t;
232 typedef unsigned long int __uint64_t;
233
234
235
236
237
238
239
240 typedef long int __quad_t;
241 typedef unsigned long int __u_quad_t;
242 # 131 "/usr/include/bits/types.h" 3 4
243 # 1 "/usr/include/bits/typesizes.h" 1 3 4
244 # 132 "/usr/include/bits/types.h" 2 3 4
245
246
247 typedef unsigned long int __dev_t;
248 typedef unsigned int __uid_t;
249 typedef unsigned int __gid_t;
250 typedef unsigned long int __ino_t;
251 typedef unsigned long int __ino64_t;
252 typedef unsigned int __mode_t;
253 typedef unsigned long int __nlink_t;
254 typedef long int __off_t;
255 typedef long int __off64_t;
256 typedef int __pid_t;
257 typedef struct { int __val[2]; } __fsid_t;
258 typedef long int __clock_t;
259 typedef unsigned long int __rlim_t;
260 typedef unsigned long int __rlim64_t;
261 typedef unsigned int __id_t;
262 typedef long int __time_t;
263 typedef unsigned int __useconds_t;
264 typedef long int __suseconds_t;
265
266 typedef int __daddr_t;
267 typedef long int __swblk_t;
268 typedef int __key_t;
269
270
271 typedef int __clockid_t;
272
273
274 typedef void * __timer_t;
275
276
277 typedef long int __blksize_t;
278
279
280
281
282 typedef long int __blkcnt_t;
283 typedef long int __blkcnt64_t;
284
285
286 typedef unsigned long int __fsblkcnt_t;
287 typedef unsigned long int __fsblkcnt64_t;
288
289
290 typedef unsigned long int __fsfilcnt_t;
291 typedef unsigned long int __fsfilcnt64_t;
292
293 typedef long int __ssize_t;
294
295
296
297 typedef __off64_t __loff_t;
298 typedef __quad_t *__qaddr_t;
299 typedef char *__caddr_t;
300
301
302 typedef long int __intptr_t;
303
304
305 typedef unsigned int __socklen_t;
306 # 32 "/usr/include/sys/types.h" 2 3 4
307
308
309
310 typedef __u_char u_char;
311 typedef __u_short u_short;
312 typedef __u_int u_int;
313 typedef __u_long u_long;
314 typedef __quad_t quad_t;
315 typedef __u_quad_t u_quad_t;
316 typedef __fsid_t fsid_t;
317
318
319
320
321 typedef __loff_t loff_t;
322
323
324
325 typedef __ino_t ino_t;
326
327
328
329
330
331
332 typedef __ino64_t ino64_t;
333
334
335
336
337 typedef __dev_t dev_t;
338
339
340
341
342 typedef __gid_t gid_t;
343
344
345
346
347 typedef __mode_t mode_t;
348
349
350
351
352 typedef __nlink_t nlink_t;
353
354
355
356
357 typedef __uid_t uid_t;
358
359
360
361
362
363 typedef __off_t off_t;
364
365
366
367
368
369
370 typedef __off64_t off64_t;
371
372
373
374
375 typedef __pid_t pid_t;
376
377
378
379
380 typedef __id_t id_t;
381
382
383
384
385 typedef __ssize_t ssize_t;
386
387
388
389
390
391 typedef __daddr_t daddr_t;
392 typedef __caddr_t caddr_t;
393
394
395
396
397
398 typedef __key_t key_t;
399 # 133 "/usr/include/sys/types.h" 3 4
400 # 1 "/usr/include/time.h" 1 3 4
401 # 58 "/usr/include/time.h" 3 4
402
403
404 typedef __clock_t clock_t;
405
406
407
408 # 74 "/usr/include/time.h" 3 4
409
410
411 typedef __time_t time_t;
412
413
414
415 # 92 "/usr/include/time.h" 3 4
416 typedef __clockid_t clockid_t;
417 # 104 "/usr/include/time.h" 3 4
418 typedef __timer_t timer_t;
419 # 134 "/usr/include/sys/types.h" 2 3 4
420
421
422
423 typedef __useconds_t useconds_t;
424
425
426
427 typedef __suseconds_t suseconds_t;
428
429
430
431
432
433 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
434 # 211 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 3 4
435 typedef long unsigned int size_t;
436 # 148 "/usr/include/sys/types.h" 2 3 4
437
438
439
440 typedef unsigned long int ulong;
441 typedef unsigned short int ushort;
442 typedef unsigned int uint;
443 # 201 "/usr/include/sys/types.h" 3 4
444 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
445 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
446 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
447 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
448
449 typedef int register_t __attribute__ ((__mode__ (__word__)));
450 # 217 "/usr/include/sys/types.h" 3 4
451 # 1 "/usr/include/endian.h" 1 3 4
452 # 37 "/usr/include/endian.h" 3 4
453 # 1 "/usr/include/bits/endian.h" 1 3 4
454 # 38 "/usr/include/endian.h" 2 3 4
455 # 61 "/usr/include/endian.h" 3 4
456 # 1 "/usr/include/bits/byteswap.h" 1 3 4
457 # 28 "/usr/include/bits/byteswap.h" 3 4
458 # 1 "/usr/include/bits/wordsize.h" 1 3 4
459 # 29 "/usr/include/bits/byteswap.h" 2 3 4
460 # 62 "/usr/include/endian.h" 2 3 4
461 # 218 "/usr/include/sys/types.h" 2 3 4
462
463
464 # 1 "/usr/include/sys/select.h" 1 3 4
465 # 31 "/usr/include/sys/select.h" 3 4
466 # 1 "/usr/include/bits/select.h" 1 3 4
467 # 23 "/usr/include/bits/select.h" 3 4
468 # 1 "/usr/include/bits/wordsize.h" 1 3 4
469 # 24 "/usr/include/bits/select.h" 2 3 4
470 # 32 "/usr/include/sys/select.h" 2 3 4
471
472
473 # 1 "/usr/include/bits/sigset.h" 1 3 4
474 # 24 "/usr/include/bits/sigset.h" 3 4
475 typedef int __sig_atomic_t;
476
477
478
479
480 typedef struct
481 {
482 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
483 } __sigset_t;
484 # 35 "/usr/include/sys/select.h" 2 3 4
485
486
487
488 typedef __sigset_t sigset_t;
489
490
491
492
493
494 # 1 "/usr/include/time.h" 1 3 4
495 # 120 "/usr/include/time.h" 3 4
496 struct timespec
497 {
498 __time_t tv_sec;
499 long int tv_nsec;
500 };
501 # 45 "/usr/include/sys/select.h" 2 3 4
502
503 # 1 "/usr/include/bits/time.h" 1 3 4
504 # 69 "/usr/include/bits/time.h" 3 4
505 struct timeval
506 {
507 __time_t tv_sec;
508 __suseconds_t tv_usec;
509 };
510 # 47 "/usr/include/sys/select.h" 2 3 4
511 # 55 "/usr/include/sys/select.h" 3 4
512 typedef long int __fd_mask;
513 # 67 "/usr/include/sys/select.h" 3 4
514 typedef struct
515 {
516
517
518
519 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
520
521
522
523
524
525 } fd_set;
526
527
528
529
530
531
532 typedef __fd_mask fd_mask;
533 # 99 "/usr/include/sys/select.h" 3 4
534
535 # 109 "/usr/include/sys/select.h" 3 4
536 extern int select (int __nfds, fd_set *__restrict __readfds,
537 fd_set *__restrict __writefds,
538 fd_set *__restrict __exceptfds,
539 struct timeval *__restrict __timeout);
540 # 121 "/usr/include/sys/select.h" 3 4
541 extern int pselect (int __nfds, fd_set *__restrict __readfds,
542 fd_set *__restrict __writefds,
543 fd_set *__restrict __exceptfds,
544 const struct timespec *__restrict __timeout,
545 const __sigset_t *__restrict __sigmask);
546
547
548
549 # 221 "/usr/include/sys/types.h" 2 3 4
550
551
552 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
553 # 30 "/usr/include/sys/sysmacros.h" 3 4
554 __extension__
555 extern unsigned int gnu_dev_major (unsigned long long int __dev)
556 __attribute__ ((__nothrow__));
557 __extension__
558 extern unsigned int gnu_dev_minor (unsigned long long int __dev)
559 __attribute__ ((__nothrow__));
560 __extension__
561 extern unsigned long long int gnu_dev_makedev (unsigned int __major,
562 unsigned int __minor)
563 __attribute__ ((__nothrow__));
564
565
566 __extension__ extern __inline __attribute__ ((__gnu_inline__)) unsigned int
567 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
568 {
569 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
570 }
571
572 __extension__ extern __inline __attribute__ ((__gnu_inline__)) unsigned int
573 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
574 {
575 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
576 }
577
578 __extension__ extern __inline __attribute__ ((__gnu_inline__)) unsigned long long int
579 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
580 {
581 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
582 | (((unsigned long long int) (__minor & ~0xff)) << 12)
583 | (((unsigned long long int) (__major & ~0xfff)) << 32));
584 }
585 # 224 "/usr/include/sys/types.h" 2 3 4
586
587
588
589
590 typedef __blksize_t blksize_t;
591
592
593
594
595
596
597 typedef __blkcnt_t blkcnt_t;
598
599
600
601 typedef __fsblkcnt_t fsblkcnt_t;
602
603
604
605 typedef __fsfilcnt_t fsfilcnt_t;
606 # 262 "/usr/include/sys/types.h" 3 4
607 typedef __blkcnt64_t blkcnt64_t;
608 typedef __fsblkcnt64_t fsblkcnt64_t;
609 typedef __fsfilcnt64_t fsfilcnt64_t;
610
611
612
613
614
615 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
616 # 23 "/usr/include/bits/pthreadtypes.h" 3 4
617 # 1 "/usr/include/bits/wordsize.h" 1 3 4
618 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
619 # 50 "/usr/include/bits/pthreadtypes.h" 3 4
620 typedef unsigned long int pthread_t;
621
622
623 typedef union
624 {
625 char __size[56];
626 long int __align;
627 } pthread_attr_t;
628
629
630
631 typedef struct __pthread_internal_list
632 {
633 struct __pthread_internal_list *__prev;
634 struct __pthread_internal_list *__next;
635 } __pthread_list_t;
636 # 76 "/usr/include/bits/pthreadtypes.h" 3 4
637 typedef union
638 {
639 struct __pthread_mutex_s
640 {
641 int __lock;
642 unsigned int __count;
643 int __owner;
644
645 unsigned int __nusers;
646
647
648
649 int __kind;
650
651 int __spins;
652 __pthread_list_t __list;
653 # 101 "/usr/include/bits/pthreadtypes.h" 3 4
654 } __data;
655 char __size[40];
656 long int __align;
657 } pthread_mutex_t;
658
659 typedef union
660 {
661 char __size[4];
662 int __align;
663 } pthread_mutexattr_t;
664
665
666
667
668 typedef union
669 {
670 struct
671 {
672 int __lock;
673 unsigned int __futex;
674 __extension__ unsigned long long int __total_seq;
675 __extension__ unsigned long long int __wakeup_seq;
676 __extension__ unsigned long long int __woken_seq;
677 void *__mutex;
678 unsigned int __nwaiters;
679 unsigned int __broadcast_seq;
680 } __data;
681 char __size[48];
682 __extension__ long long int __align;
683 } pthread_cond_t;
684
685 typedef union
686 {
687 char __size[4];
688 int __align;
689 } pthread_condattr_t;
690
691
692
693 typedef unsigned int pthread_key_t;
694
695
696
697 typedef int pthread_once_t;
698
699
700
701
702
703 typedef union
704 {
705
706 struct
707 {
708 int __lock;
709 unsigned int __nr_readers;
710 unsigned int __readers_wakeup;
711 unsigned int __writer_wakeup;
712 unsigned int __nr_readers_queued;
713 unsigned int __nr_writers_queued;
714 int __writer;
715 int __shared;
716 unsigned long int __pad1;
717 unsigned long int __pad2;
718
719
720 unsigned int __flags;
721 } __data;
722 # 187 "/usr/include/bits/pthreadtypes.h" 3 4
723 char __size[56];
724 long int __align;
725 } pthread_rwlock_t;
726
727 typedef union
728 {
729 char __size[8];
730 long int __align;
731 } pthread_rwlockattr_t;
732
733
734
735
736
737 typedef volatile int pthread_spinlock_t;
738
739
740
741
742 typedef union
743 {
744 char __size[32];
745 long int __align;
746 } pthread_barrier_t;
747
748 typedef union
749 {
750 char __size[4];
751 int __align;
752 } pthread_barrierattr_t;
753 # 271 "/usr/include/sys/types.h" 2 3 4
754
755
756
757 # 28 "./pulse/sample.h" 2
758 # 1 "/usr/include/sys/param.h" 1 3 4
759 # 26 "/usr/include/sys/param.h" 3 4
760 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4
761 # 11 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 3 4
762 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/syslimits.h" 1 3 4
763
764
765
766
767
768
769 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4
770 # 122 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 3 4
771 # 1 "/usr/include/limits.h" 1 3 4
772 # 145 "/usr/include/limits.h" 3 4
773 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
774 # 157 "/usr/include/bits/posix1_lim.h" 3 4
775 # 1 "/usr/include/bits/local_lim.h" 1 3 4
776 # 39 "/usr/include/bits/local_lim.h" 3 4
777 # 1 "/usr/include/linux/limits.h" 1 3 4
778 # 40 "/usr/include/bits/local_lim.h" 2 3 4
779 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4
780 # 146 "/usr/include/limits.h" 2 3 4
781
782
783
784 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
785 # 150 "/usr/include/limits.h" 2 3 4
786
787
788
789 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
790 # 34 "/usr/include/bits/xopen_lim.h" 3 4
791 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
792 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
793 # 154 "/usr/include/limits.h" 2 3 4
794 # 123 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 2 3 4
795 # 8 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/syslimits.h" 2 3 4
796 # 12 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 2 3 4
797 # 27 "/usr/include/sys/param.h" 2 3 4
798
799 # 1 "/usr/include/linux/param.h" 1 3 4
800
801
802
803 # 1 "/usr/include/asm/param.h" 1 3 4
804 # 5 "/usr/include/linux/param.h" 2 3 4
805 # 29 "/usr/include/sys/param.h" 2 3 4
806 # 29 "./pulse/sample.h" 2
807 # 1 "/usr/include/math.h" 1 3 4
808 # 30 "/usr/include/math.h" 3 4
809
810
811
812
813 # 1 "/usr/include/bits/huge_val.h" 1 3 4
814 # 35 "/usr/include/math.h" 2 3 4
815
816 # 1 "/usr/include/bits/huge_valf.h" 1 3 4
817 # 37 "/usr/include/math.h" 2 3 4
818 # 1 "/usr/include/bits/huge_vall.h" 1 3 4
819 # 38 "/usr/include/math.h" 2 3 4
820
821
822 # 1 "/usr/include/bits/inf.h" 1 3 4
823 # 41 "/usr/include/math.h" 2 3 4
824
825
826 # 1 "/usr/include/bits/nan.h" 1 3 4
827 # 44 "/usr/include/math.h" 2 3 4
828
829
830
831 # 1 "/usr/include/bits/mathdef.h" 1 3 4
832 # 26 "/usr/include/bits/mathdef.h" 3 4
833 # 1 "/usr/include/bits/wordsize.h" 1 3 4
834 # 27 "/usr/include/bits/mathdef.h" 2 3 4
835
836
837
838
839 typedef float float_t;
840 typedef double double_t;
841 # 48 "/usr/include/math.h" 2 3 4
842 # 71 "/usr/include/math.h" 3 4
843 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
844 # 53 "/usr/include/bits/mathcalls.h" 3 4
845
846
847 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
848
849 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
850
851 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
852
853 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
854
855
856 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
857
858 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
859
860 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
861
862
863
864
865 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
866
867 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
868
869 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
870
871
872
873
874 extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__));
875
876
877
878
879
880
881 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
882
883 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
884
885 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
886
887
888
889
890
891
892
893 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
894
895
896 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
897
898
899 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
900
901
902 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
903
904
905 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
906
907
908 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
909
910
911
912
913 extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__));
914
915 extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__));
916
917
918
919
920
921 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
922
923
924 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
925
926
927 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
928
929
930
931
932
933
934 extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__));
935
936
937 extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__));
938
939
940
941
942
943
944
945
946 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
947
948
949 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
950
951
952
953
954
955 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
956
957
958
959
960
961
962 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
963
964
965
966
967
968
969
970
971 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
972
973
974 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
975
976
977 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
978
979
980 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
981
982
983
984
985 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
986
987
988 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
989
990
991
992
993
994 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
995
996
997 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
998
999
1000 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
1001
1002
1003
1004 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
1005
1006
1007
1008
1009
1010 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1011
1012
1013
1014
1015
1016
1017 extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1018
1019
1020
1021
1022
1023 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1024
1025
1026
1027 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1028
1029
1030 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
1031 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
1032 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
1033 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
1034 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
1035 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
1036
1037
1038
1039
1040
1041
1042 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
1043 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
1044 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
1045
1046
1047
1048
1049
1050
1051 extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__));
1052
1053
1054
1055
1056
1057 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
1058
1059
1060
1061
1062
1063
1064 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
1065
1066
1067
1068
1069
1070
1071
1072 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
1073
1074
1075 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1076
1077 extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1078
1079
1080
1081 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
1082
1083
1084
1085 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
1086
1087
1088
1089 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
1090
1091
1092
1093
1094 extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__));
1095
1096
1097
1098 extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__));
1099
1100
1101
1102 extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1103
1104
1105
1106 extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1107
1108
1109
1110
1111 extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__));
1112
1113
1114
1115
1116
1117
1118 extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__));
1119 extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__));
1120
1121
1122
1123 extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__));
1124 extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__));
1125
1126
1127
1128 extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__));
1129
1130
1131 extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__));
1132
1133
1134 extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__));
1135
1136
1137
1138 extern int __fpclassify (double __value) __attribute__ ((__nothrow__))
1139 __attribute__ ((__const__));
1140
1141
1142 extern int __signbit (double __value) __attribute__ ((__nothrow__))
1143 __attribute__ ((__const__));
1144
1145
1146
1147 extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__));
1148
1149
1150
1151
1152
1153
1154
1155
1156 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__));
1157 # 72 "/usr/include/math.h" 2 3 4
1158 # 94 "/usr/include/math.h" 3 4
1159 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
1160 # 53 "/usr/include/bits/mathcalls.h" 3 4
1161
1162
1163 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
1164
1165 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
1166
1167 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
1168
1169 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
1170
1171
1172 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
1173
1174 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
1175
1176 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
1177
1178
1179
1180
1181 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
1182
1183 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
1184
1185 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
1186
1187
1188
1189
1190 extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__));
1191
1192
1193
1194
1195
1196
1197 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
1198
1199 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
1200
1201 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
1202
1203
1204
1205
1206
1207
1208
1209 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
1210
1211
1212 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
1213
1214
1215 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
1216
1217
1218 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
1219
1220
1221 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
1222
1223
1224 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
1225
1226
1227
1228
1229 extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__));
1230
1231 extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__));
1232
1233
1234
1235
1236
1237 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
1238
1239
1240 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
1241
1242
1243 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
1244
1245
1246
1247
1248
1249
1250 extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__));
1251
1252
1253 extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__));
1254
1255
1256
1257
1258
1259
1260
1261
1262 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
1263
1264
1265 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
1266
1267
1268
1269
1270
1271 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
1272
1273
1274
1275
1276
1277
1278 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
1279
1280
1281
1282
1283
1284
1285
1286
1287 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1288
1289
1290 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1291
1292
1293 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1294
1295
1296 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
1297
1298
1299
1300
1301 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1302
1303
1304 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1305
1306
1307
1308
1309
1310 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1311
1312
1313 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1314
1315
1316 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
1317
1318
1319
1320 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
1321
1322
1323
1324
1325
1326 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1327
1328
1329
1330
1331
1332
1333 extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1334
1335
1336
1337
1338
1339 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1340
1341
1342
1343 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1344
1345
1346 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
1347 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
1348 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
1349 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
1350 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
1351 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
1352
1353
1354
1355
1356
1357
1358 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
1359 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
1360 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
1361
1362
1363
1364
1365
1366
1367 extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__));
1368
1369
1370
1371
1372
1373 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
1374
1375
1376
1377
1378
1379
1380 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
1381
1382
1383
1384
1385
1386
1387
1388 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
1389
1390
1391 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1392
1393 extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1394
1395
1396
1397 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
1398
1399
1400
1401 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
1402
1403
1404
1405 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
1406
1407
1408
1409
1410 extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__));
1411
1412
1413
1414 extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__));
1415
1416
1417
1418 extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1419
1420
1421
1422 extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1423
1424
1425
1426
1427 extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__));
1428
1429
1430
1431
1432
1433
1434 extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__));
1435 extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__));
1436
1437
1438
1439 extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__));
1440 extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__));
1441
1442
1443
1444 extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__));
1445
1446
1447 extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__));
1448
1449
1450 extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__));
1451
1452
1453
1454 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__))
1455 __attribute__ ((__const__));
1456
1457
1458 extern int __signbitf (float __value) __attribute__ ((__nothrow__))
1459 __attribute__ ((__const__));
1460
1461
1462
1463 extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__));
1464
1465
1466
1467
1468
1469
1470
1471
1472 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__));
1473 # 95 "/usr/include/math.h" 2 3 4
1474 # 141 "/usr/include/math.h" 3 4
1475 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
1476 # 53 "/usr/include/bits/mathcalls.h" 3 4
1477
1478
1479 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
1480
1481 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
1482
1483 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
1484
1485 extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
1486
1487
1488 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
1489
1490 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
1491
1492 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
1493
1494
1495
1496
1497 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
1498
1499 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
1500
1501 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
1502
1503
1504
1505
1506 extern void sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__)); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__));
1507
1508
1509
1510
1511
1512
1513 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
1514
1515 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
1516
1517 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
1518
1519
1520
1521
1522
1523
1524
1525 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
1526
1527
1528 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
1529
1530
1531 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
1532
1533
1534 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
1535
1536
1537 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
1538
1539
1540 extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
1541
1542
1543
1544
1545 extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__));
1546
1547 extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__));
1548
1549
1550
1551
1552
1553 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
1554
1555
1556 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
1557
1558
1559 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
1560
1561
1562
1563
1564
1565
1566 extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__));
1567
1568
1569 extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__));
1570
1571
1572
1573
1574
1575
1576
1577
1578 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
1579
1580
1581 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
1582
1583
1584
1585
1586
1587 extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
1588
1589
1590
1591
1592
1593
1594 extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
1595
1596
1597
1598
1599
1600
1601
1602
1603 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1604
1605
1606 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1607
1608
1609 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1610
1611
1612 extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
1613
1614
1615
1616
1617 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1618
1619
1620 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1621
1622
1623
1624
1625
1626 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1627
1628
1629 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1630
1631
1632 extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
1633
1634
1635
1636 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
1637
1638
1639
1640
1641
1642 extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1643
1644
1645
1646
1647
1648
1649 extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1650
1651
1652
1653
1654
1655 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1656
1657
1658
1659 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1660
1661
1662 extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
1663 extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
1664 extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
1665 extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
1666 extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
1667 extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
1668
1669
1670
1671
1672
1673
1674 extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
1675 extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
1676 extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
1677
1678
1679
1680
1681
1682
1683 extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__));
1684
1685
1686
1687
1688
1689 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
1690
1691
1692
1693
1694
1695
1696 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
1697
1698
1699
1700
1701
1702
1703
1704 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
1705
1706
1707 extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1708
1709 extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1710
1711
1712
1713 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
1714
1715
1716
1717 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
1718
1719
1720
1721 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
1722
1723
1724
1725
1726 extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__));
1727
1728
1729
1730 extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__));
1731
1732
1733
1734 extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1735
1736
1737
1738 extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1739
1740
1741
1742
1743 extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__));
1744
1745
1746
1747
1748
1749
1750 extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__));
1751 extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__));
1752
1753
1754
1755 extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__));
1756 extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__));
1757
1758
1759
1760 extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__));
1761
1762
1763 extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__));
1764
1765
1766 extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__));
1767
1768
1769
1770 extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__))
1771 __attribute__ ((__const__));
1772
1773
1774 extern int __signbitl (long double __value) __attribute__ ((__nothrow__))
1775 __attribute__ ((__const__));
1776
1777
1778
1779 extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__));
1780
1781
1782
1783
1784
1785
1786
1787
1788 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__));
1789 # 142 "/usr/include/math.h" 2 3 4
1790 # 157 "/usr/include/math.h" 3 4
1791 extern int signgam;
1792 # 198 "/usr/include/math.h" 3 4
1793 enum
1794 {
1795 FP_NAN,
1796
1797 FP_INFINITE,
1798
1799 FP_ZERO,
1800
1801 FP_SUBNORMAL,
1802
1803 FP_NORMAL
1804
1805 };
1806 # 284 "/usr/include/math.h" 3 4
1807 typedef enum
1808 {
1809 _IEEE_ = -1,
1810 _SVID_,
1811 _XOPEN_,
1812 _POSIX_,
1813 _ISOC_
1814 } _LIB_VERSION_TYPE;
1815
1816
1817
1818
1819 extern _LIB_VERSION_TYPE _LIB_VERSION;
1820 # 309 "/usr/include/math.h" 3 4
1821 struct exception
1822
1823 {
1824 int type;
1825 char *name;
1826 double arg1;
1827 double arg2;
1828 double retval;
1829 };
1830
1831
1832
1833
1834 extern int matherr (struct exception *__exc);
1835 # 409 "/usr/include/math.h" 3 4
1836 # 1 "/usr/include/bits/mathinline.h" 1 3 4
1837 # 35 "/usr/include/bits/mathinline.h" 3 4
1838 extern __inline __attribute__ ((__gnu_inline__)) int
1839 __attribute__ ((__nothrow__)) __signbitf (float __x)
1840 {
1841 __extension__ union { float __f; int __i; } __u = { __f: __x };
1842 return __u.__i < 0;
1843 }
1844 extern __inline __attribute__ ((__gnu_inline__)) int
1845 __attribute__ ((__nothrow__)) __signbit (double __x)
1846 {
1847 __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
1848 return __u.__i[1] < 0;
1849 }
1850 extern __inline __attribute__ ((__gnu_inline__)) int
1851 __attribute__ ((__nothrow__)) __signbitl (long double __x)
1852 {
1853 __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
1854 return (__u.__i[2] & 0x8000) != 0;
1855 }
1856 # 410 "/usr/include/math.h" 2 3 4
1857 # 465 "/usr/include/math.h" 3 4
1858
1859 # 30 "./pulse/sample.h" 2
1860
1861
1862
1863 # 1 "./pulse/version.h" 1
1864 # 33 "./pulse/version.h"
1865
1866 # 42 "./pulse/version.h"
1867 const char* pa_get_library_version(void);
1868 # 70 "./pulse/version.h"
1869
1870 # 34 "./pulse/sample.h" 2
1871 # 110 "./pulse/sample.h"
1872
1873 # 127 "./pulse/sample.h"
1874 typedef enum pa_sample_format {
1875 PA_SAMPLE_U8,
1876
1877
1878 PA_SAMPLE_ALAW,
1879
1880
1881 PA_SAMPLE_ULAW,
1882
1883
1884 PA_SAMPLE_S16LE,
1885
1886
1887 PA_SAMPLE_S16BE,
1888
1889
1890 PA_SAMPLE_FLOAT32LE,
1891
1892
1893 PA_SAMPLE_FLOAT32BE,
1894
1895
1896 PA_SAMPLE_S32LE,
1897
1898
1899 PA_SAMPLE_S32BE,
1900
1901
1902 PA_SAMPLE_S24LE,
1903
1904
1905 PA_SAMPLE_S24BE,
1906
1907
1908 PA_SAMPLE_S24_32LE,
1909
1910
1911 PA_SAMPLE_S24_32BE,
1912
1913
1914 PA_SAMPLE_MAX,
1915
1916
1917 PA_SAMPLE_INVALID = -1
1918
1919 } pa_sample_format_t;
1920 # 241 "./pulse/sample.h"
1921 typedef struct pa_sample_spec {
1922 pa_sample_format_t format;
1923
1924
1925 uint32_t rate;
1926
1927
1928 uint8_t channels;
1929
1930 } pa_sample_spec;
1931
1932
1933 typedef uint64_t pa_usec_t;
1934
1935
1936 size_t pa_bytes_per_second(const pa_sample_spec *spec) __attribute__ ((pure));
1937
1938
1939 size_t pa_frame_size(const pa_sample_spec *spec) __attribute__ ((pure));
1940
1941
1942 size_t pa_sample_size(const pa_sample_spec *spec) __attribute__ ((pure));
1943
1944
1945
1946 size_t pa_sample_size_of_format(pa_sample_format_t f) __attribute__ ((pure));
1947
1948
1949
1950
1951 pa_usec_t pa_bytes_to_usec(uint64_t length, const pa_sample_spec *spec) __attribute__ ((pure));
1952
1953
1954
1955
1956 size_t pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec) __attribute__ ((pure));
1957
1958
1959
1960
1961 pa_sample_spec* pa_sample_spec_init(pa_sample_spec *spec);
1962
1963
1964 int pa_sample_spec_valid(const pa_sample_spec *spec) __attribute__ ((pure));
1965
1966
1967 int pa_sample_spec_equal(const pa_sample_spec*a, const pa_sample_spec*b) __attribute__ ((pure));
1968
1969
1970 const char *pa_sample_format_to_string(pa_sample_format_t f) __attribute__ ((pure));
1971
1972
1973 pa_sample_format_t pa_parse_sample_format(const char *format) __attribute__ ((pure));
1974 # 303 "./pulse/sample.h"
1975 char* pa_sample_spec_snprint(char *s, size_t l, const pa_sample_spec *spec);
1976 # 313 "./pulse/sample.h"
1977 char* pa_bytes_snprint(char *s, size_t l, unsigned v);
1978
1979
1980
1981 int pa_sample_format_is_le(pa_sample_format_t f) __attribute__ ((pure));
1982
1983
1984
1985 int pa_sample_format_is_be(pa_sample_format_t f) __attribute__ ((pure));
1986 # 335 "./pulse/sample.h"
1987
1988 # 29 "./pulse/timeval.h" 2
1989
1990
1991
1992
1993
1994
1995 # 60 "./pulse/timeval.h"
1996 struct timeval;
1997
1998
1999 struct timeval *pa_gettimeofday(struct timeval *tv);
2000
2001
2002
2003 pa_usec_t pa_timeval_diff(const struct timeval *a, const struct timeval *b) __attribute__ ((pure));
2004
2005
2006 int pa_timeval_cmp(const struct timeval *a, const struct timeval *b) __attribute__ ((pure));
2007
2008
2009 pa_usec_t pa_timeval_age(const struct timeval *tv);
2010
2011
2012 struct timeval* pa_timeval_add(struct timeval *tv, pa_usec_t v);
2013
2014
2015 struct timeval* pa_timeval_sub(struct timeval *tv, pa_usec_t v);
2016
2017
2018 struct timeval* pa_timeval_store(struct timeval *tv, pa_usec_t v);
2019
2020
2021 pa_usec_t pa_timeval_load(const struct timeval *tv);
2022
2023
2024 # 28 "pulsecore/svolume_mmx.c" 2
2025 # 1 "./pulsecore/random.h" 1
2026 # 28 "./pulsecore/random.h"
2027 void pa_random_seed(void);
2028 void pa_random(void *ret_data, size_t length);
2029 # 29 "pulsecore/svolume_mmx.c" 2
2030 # 1 "./pulsecore/macro.h" 1
2031 # 26 "./pulsecore/macro.h"
2032 # 1 "/usr/include/unistd.h" 1 3 4
2033 # 28 "/usr/include/unistd.h" 3 4
2034
2035 # 175 "/usr/include/unistd.h" 3 4
2036 # 1 "/usr/include/bits/posix_opt.h" 1 3 4
2037 # 176 "/usr/include/unistd.h" 2 3 4
2038
2039
2040
2041 # 1 "/usr/include/bits/environments.h" 1 3 4
2042 # 23 "/usr/include/bits/environments.h" 3 4
2043 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2044 # 24 "/usr/include/bits/environments.h" 2 3 4
2045 # 180 "/usr/include/unistd.h" 2 3 4
2046 # 199 "/usr/include/unistd.h" 3 4
2047 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
2048 # 200 "/usr/include/unistd.h" 2 3 4
2049 # 247 "/usr/include/unistd.h" 3 4
2050 typedef __socklen_t socklen_t;
2051 # 260 "/usr/include/unistd.h" 3 4
2052 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2053
2054
2055
2056
2057 extern int euidaccess (__const char *__name, int __type)
2058 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2059
2060
2061 extern int eaccess (__const char *__name, int __type)
2062 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2063
2064
2065
2066
2067
2068
2069 extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
2070 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2071 # 303 "/usr/include/unistd.h" 3 4
2072 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
2073 # 314 "/usr/include/unistd.h" 3 4
2074 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
2075 __attribute__ ((__nothrow__));
2076
2077
2078
2079
2080
2081
2082 extern int close (int __fd);
2083
2084
2085
2086
2087
2088
2089 extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__));
2090
2091
2092
2093
2094
2095 extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__));
2096 # 345 "/usr/include/unistd.h" 3 4
2097 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
2098 __off_t __offset) __attribute__ ((__warn_unused_result__));
2099
2100
2101
2102
2103
2104
2105 extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
2106 __off_t __offset) __attribute__ ((__warn_unused_result__));
2107 # 373 "/usr/include/unistd.h" 3 4
2108 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
2109 __off64_t __offset) __attribute__ ((__warn_unused_result__));
2110
2111
2112 extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
2113 __off64_t __offset) __attribute__ ((__warn_unused_result__));
2114
2115
2116
2117
2118
2119
2120
2121 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2122
2123
2124
2125
2126 extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2127 # 401 "/usr/include/unistd.h" 3 4
2128 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
2129 # 413 "/usr/include/unistd.h" 3 4
2130 extern unsigned int sleep (unsigned int __seconds);
2131
2132
2133
2134
2135
2136
2137 extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
2138 __attribute__ ((__nothrow__));
2139
2140
2141
2142
2143
2144
2145 extern int usleep (__useconds_t __useconds);
2146 # 437 "/usr/include/unistd.h" 3 4
2147 extern int pause (void);
2148
2149
2150
2151 extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
2152 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2153
2154
2155
2156 extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2157
2158
2159
2160
2161 extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
2162 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2163
2164
2165
2166
2167
2168
2169 extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
2170 __gid_t __group, int __flag)
2171 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
2172
2173
2174
2175 extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2176
2177
2178
2179 extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2180 # 479 "/usr/include/unistd.h" 3 4
2181 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2182
2183
2184
2185
2186
2187 extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
2188
2189
2190
2191
2192
2193
2194 extern char *getwd (char *__buf)
2195 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__));
2196
2197
2198
2199
2200 extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2201
2202
2203 extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
2204
2205
2206
2207
2208 extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__));
2209
2210
2211
2212 extern char **__environ;
2213
2214 extern char **environ;
2215
2216
2217
2218
2219
2220 extern int execve (__const char *__path, char *__const __argv[],
2221 char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2222
2223
2224
2225
2226 extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
2227 __attribute__ ((__nothrow__));
2228
2229
2230
2231
2232 extern int execv (__const char *__path, char *__const __argv[])
2233 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2234
2235
2236
2237 extern int execle (__const char *__path, __const char *__arg, ...)
2238 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2239
2240
2241
2242 extern int execl (__const char *__path, __const char *__arg, ...)
2243 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2244
2245
2246
2247 extern int execvp (__const char *__file, char *__const __argv[])
2248 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2249
2250
2251
2252
2253 extern int execlp (__const char *__file, __const char *__arg, ...)
2254 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2255
2256
2257
2258
2259 extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2260
2261
2262
2263
2264 extern void _exit (int __status) __attribute__ ((__noreturn__));
2265
2266
2267
2268
2269
2270 # 1 "/usr/include/bits/confname.h" 1 3 4
2271 # 26 "/usr/include/bits/confname.h" 3 4
2272 enum
2273 {
2274 _PC_LINK_MAX,
2275
2276 _PC_MAX_CANON,
2277
2278 _PC_MAX_INPUT,
2279
2280 _PC_NAME_MAX,
2281
2282 _PC_PATH_MAX,
2283
2284 _PC_PIPE_BUF,
2285
2286 _PC_CHOWN_RESTRICTED,
2287
2288 _PC_NO_TRUNC,
2289
2290 _PC_VDISABLE,
2291
2292 _PC_SYNC_IO,
2293
2294 _PC_ASYNC_IO,
2295
2296 _PC_PRIO_IO,
2297
2298 _PC_SOCK_MAXBUF,
2299
2300 _PC_FILESIZEBITS,
2301
2302 _PC_REC_INCR_XFER_SIZE,
2303
2304 _PC_REC_MAX_XFER_SIZE,
2305
2306 _PC_REC_MIN_XFER_SIZE,
2307
2308 _PC_REC_XFER_ALIGN,
2309
2310 _PC_ALLOC_SIZE_MIN,
2311
2312 _PC_SYMLINK_MAX,
2313
2314 _PC_2_SYMLINKS
2315
2316 };
2317
2318
2319 enum
2320 {
2321 _SC_ARG_MAX,
2322
2323 _SC_CHILD_MAX,
2324
2325 _SC_CLK_TCK,
2326
2327 _SC_NGROUPS_MAX,
2328
2329 _SC_OPEN_MAX,
2330
2331 _SC_STREAM_MAX,
2332
2333 _SC_TZNAME_MAX,
2334
2335 _SC_JOB_CONTROL,
2336
2337 _SC_SAVED_IDS,
2338
2339 _SC_REALTIME_SIGNALS,
2340
2341 _SC_PRIORITY_SCHEDULING,
2342
2343 _SC_TIMERS,
2344
2345 _SC_ASYNCHRONOUS_IO,
2346
2347 _SC_PRIORITIZED_IO,
2348
2349 _SC_SYNCHRONIZED_IO,
2350
2351 _SC_FSYNC,
2352
2353 _SC_MAPPED_FILES,
2354
2355 _SC_MEMLOCK,
2356
2357 _SC_MEMLOCK_RANGE,
2358
2359 _SC_MEMORY_PROTECTION,
2360
2361 _SC_MESSAGE_PASSING,
2362
2363 _SC_SEMAPHORES,
2364
2365 _SC_SHARED_MEMORY_OBJECTS,
2366
2367 _SC_AIO_LISTIO_MAX,
2368
2369 _SC_AIO_MAX,
2370
2371 _SC_AIO_PRIO_DELTA_MAX,
2372
2373 _SC_DELAYTIMER_MAX,
2374
2375 _SC_MQ_OPEN_MAX,
2376
2377 _SC_MQ_PRIO_MAX,
2378
2379 _SC_VERSION,
2380
2381 _SC_PAGESIZE,
2382
2383
2384 _SC_RTSIG_MAX,
2385
2386 _SC_SEM_NSEMS_MAX,
2387
2388 _SC_SEM_VALUE_MAX,
2389
2390 _SC_SIGQUEUE_MAX,
2391
2392 _SC_TIMER_MAX,
2393
2394
2395
2396
2397 _SC_BC_BASE_MAX,
2398
2399 _SC_BC_DIM_MAX,
2400
2401 _SC_BC_SCALE_MAX,
2402
2403 _SC_BC_STRING_MAX,
2404
2405 _SC_COLL_WEIGHTS_MAX,
2406
2407 _SC_EQUIV_CLASS_MAX,
2408
2409 _SC_EXPR_NEST_MAX,
2410
2411 _SC_LINE_MAX,
2412
2413 _SC_RE_DUP_MAX,
2414
2415 _SC_CHARCLASS_NAME_MAX,
2416
2417
2418 _SC_2_VERSION,
2419
2420 _SC_2_C_BIND,
2421
2422 _SC_2_C_DEV,
2423
2424 _SC_2_FORT_DEV,
2425
2426 _SC_2_FORT_RUN,
2427
2428 _SC_2_SW_DEV,
2429
2430 _SC_2_LOCALEDEF,
2431
2432
2433 _SC_PII,
2434
2435 _SC_PII_XTI,
2436
2437 _SC_PII_SOCKET,
2438
2439 _SC_PII_INTERNET,
2440
2441 _SC_PII_OSI,
2442
2443 _SC_POLL,
2444
2445 _SC_SELECT,
2446
2447 _SC_UIO_MAXIOV,
2448
2449 _SC_IOV_MAX = _SC_UIO_MAXIOV,
2450
2451 _SC_PII_INTERNET_STREAM,
2452
2453 _SC_PII_INTERNET_DGRAM,
2454
2455 _SC_PII_OSI_COTS,
2456
2457 _SC_PII_OSI_CLTS,
2458
2459 _SC_PII_OSI_M,
2460
2461 _SC_T_IOV_MAX,
2462
2463
2464
2465 _SC_THREADS,
2466
2467 _SC_THREAD_SAFE_FUNCTIONS,
2468
2469 _SC_GETGR_R_SIZE_MAX,
2470
2471 _SC_GETPW_R_SIZE_MAX,
2472
2473 _SC_LOGIN_NAME_MAX,
2474
2475 _SC_TTY_NAME_MAX,
2476
2477 _SC_THREAD_DESTRUCTOR_ITERATIONS,
2478
2479 _SC_THREAD_KEYS_MAX,
2480
2481 _SC_THREAD_STACK_MIN,
2482
2483 _SC_THREAD_THREADS_MAX,
2484
2485 _SC_THREAD_ATTR_STACKADDR,
2486
2487 _SC_THREAD_ATTR_STACKSIZE,
2488
2489 _SC_THREAD_PRIORITY_SCHEDULING,
2490
2491 _SC_THREAD_PRIO_INHERIT,
2492
2493 _SC_THREAD_PRIO_PROTECT,
2494
2495 _SC_THREAD_PROCESS_SHARED,
2496
2497
2498 _SC_NPROCESSORS_CONF,
2499
2500 _SC_NPROCESSORS_ONLN,
2501
2502 _SC_PHYS_PAGES,
2503
2504 _SC_AVPHYS_PAGES,
2505
2506 _SC_ATEXIT_MAX,
2507
2508 _SC_PASS_MAX,
2509
2510
2511 _SC_XOPEN_VERSION,
2512
2513 _SC_XOPEN_XCU_VERSION,
2514
2515 _SC_XOPEN_UNIX,
2516
2517 _SC_XOPEN_CRYPT,
2518
2519 _SC_XOPEN_ENH_I18N,
2520
2521 _SC_XOPEN_SHM,
2522
2523
2524 _SC_2_CHAR_TERM,
2525
2526 _SC_2_C_VERSION,
2527
2528 _SC_2_UPE,
2529
2530
2531 _SC_XOPEN_XPG2,
2532
2533 _SC_XOPEN_XPG3,
2534
2535 _SC_XOPEN_XPG4,
2536
2537
2538 _SC_CHAR_BIT,
2539
2540 _SC_CHAR_MAX,
2541
2542 _SC_CHAR_MIN,
2543
2544 _SC_INT_MAX,
2545
2546 _SC_INT_MIN,
2547
2548 _SC_LONG_BIT,
2549
2550 _SC_WORD_BIT,
2551
2552 _SC_MB_LEN_MAX,
2553
2554 _SC_NZERO,
2555
2556 _SC_SSIZE_MAX,
2557
2558 _SC_SCHAR_MAX,
2559
2560 _SC_SCHAR_MIN,
2561
2562 _SC_SHRT_MAX,
2563
2564 _SC_SHRT_MIN,
2565
2566 _SC_UCHAR_MAX,
2567
2568 _SC_UINT_MAX,
2569
2570 _SC_ULONG_MAX,
2571
2572 _SC_USHRT_MAX,
2573
2574
2575 _SC_NL_ARGMAX,
2576
2577 _SC_NL_LANGMAX,
2578
2579 _SC_NL_MSGMAX,
2580
2581 _SC_NL_NMAX,
2582
2583 _SC_NL_SETMAX,
2584
2585 _SC_NL_TEXTMAX,
2586
2587
2588 _SC_XBS5_ILP32_OFF32,
2589
2590 _SC_XBS5_ILP32_OFFBIG,
2591
2592 _SC_XBS5_LP64_OFF64,
2593
2594 _SC_XBS5_LPBIG_OFFBIG,
2595
2596
2597 _SC_XOPEN_LEGACY,
2598
2599 _SC_XOPEN_REALTIME,
2600
2601 _SC_XOPEN_REALTIME_THREADS,
2602
2603
2604 _SC_ADVISORY_INFO,
2605
2606 _SC_BARRIERS,
2607
2608 _SC_BASE,
2609
2610 _SC_C_LANG_SUPPORT,
2611
2612 _SC_C_LANG_SUPPORT_R,
2613
2614 _SC_CLOCK_SELECTION,
2615
2616 _SC_CPUTIME,
2617
2618 _SC_THREAD_CPUTIME,
2619
2620 _SC_DEVICE_IO,
2621
2622 _SC_DEVICE_SPECIFIC,
2623
2624 _SC_DEVICE_SPECIFIC_R,
2625
2626 _SC_FD_MGMT,
2627
2628 _SC_FIFO,
2629
2630 _SC_PIPE,
2631
2632 _SC_FILE_ATTRIBUTES,
2633
2634 _SC_FILE_LOCKING,
2635
2636 _SC_FILE_SYSTEM,
2637
2638 _SC_MONOTONIC_CLOCK,
2639
2640 _SC_MULTI_PROCESS,
2641
2642 _SC_SINGLE_PROCESS,
2643
2644 _SC_NETWORKING,
2645
2646 _SC_READER_WRITER_LOCKS,
2647
2648 _SC_SPIN_LOCKS,
2649
2650 _SC_REGEXP,
2651
2652 _SC_REGEX_VERSION,
2653
2654 _SC_SHELL,
2655
2656 _SC_SIGNALS,
2657
2658 _SC_SPAWN,
2659
2660 _SC_SPORADIC_SERVER,
2661
2662 _SC_THREAD_SPORADIC_SERVER,
2663
2664 _SC_SYSTEM_DATABASE,
2665
2666 _SC_SYSTEM_DATABASE_R,
2667
2668 _SC_TIMEOUTS,
2669
2670 _SC_TYPED_MEMORY_OBJECTS,
2671
2672 _SC_USER_GROUPS,
2673
2674 _SC_USER_GROUPS_R,
2675
2676 _SC_2_PBS,
2677
2678 _SC_2_PBS_ACCOUNTING,
2679
2680 _SC_2_PBS_LOCATE,
2681
2682 _SC_2_PBS_MESSAGE,
2683
2684 _SC_2_PBS_TRACK,
2685
2686 _SC_SYMLOOP_MAX,
2687
2688 _SC_STREAMS,
2689
2690 _SC_2_PBS_CHECKPOINT,
2691
2692
2693 _SC_V6_ILP32_OFF32,
2694
2695 _SC_V6_ILP32_OFFBIG,
2696
2697 _SC_V6_LP64_OFF64,
2698
2699 _SC_V6_LPBIG_OFFBIG,
2700
2701
2702 _SC_HOST_NAME_MAX,
2703
2704 _SC_TRACE,
2705
2706 _SC_TRACE_EVENT_FILTER,
2707
2708 _SC_TRACE_INHERIT,
2709
2710 _SC_TRACE_LOG,
2711
2712
2713 _SC_LEVEL1_ICACHE_SIZE,
2714
2715 _SC_LEVEL1_ICACHE_ASSOC,
2716
2717 _SC_LEVEL1_ICACHE_LINESIZE,
2718
2719 _SC_LEVEL1_DCACHE_SIZE,
2720
2721 _SC_LEVEL1_DCACHE_ASSOC,
2722
2723 _SC_LEVEL1_DCACHE_LINESIZE,
2724
2725 _SC_LEVEL2_CACHE_SIZE,
2726
2727 _SC_LEVEL2_CACHE_ASSOC,
2728
2729 _SC_LEVEL2_CACHE_LINESIZE,
2730
2731 _SC_LEVEL3_CACHE_SIZE,
2732
2733 _SC_LEVEL3_CACHE_ASSOC,
2734
2735 _SC_LEVEL3_CACHE_LINESIZE,
2736
2737 _SC_LEVEL4_CACHE_SIZE,
2738
2739 _SC_LEVEL4_CACHE_ASSOC,
2740
2741 _SC_LEVEL4_CACHE_LINESIZE,
2742
2743
2744
2745 _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
2746
2747 _SC_RAW_SOCKETS,
2748
2749
2750 _SC_V7_ILP32_OFF32,
2751
2752 _SC_V7_ILP32_OFFBIG,
2753
2754 _SC_V7_LP64_OFF64,
2755
2756 _SC_V7_LPBIG_OFFBIG,
2757
2758
2759 _SC_SS_REPL_MAX,
2760
2761
2762 _SC_TRACE_EVENT_NAME_MAX,
2763
2764 _SC_TRACE_NAME_MAX,
2765
2766 _SC_TRACE_SYS_MAX,
2767
2768 _SC_TRACE_USER_EVENT_MAX,
2769
2770
2771 _SC_XOPEN_STREAMS,
2772
2773
2774 _SC_THREAD_ROBUST_PRIO_INHERIT,
2775
2776 _SC_THREAD_ROBUST_PRIO_PROTECT,
2777
2778 };
2779
2780
2781 enum
2782 {
2783 _CS_PATH,
2784
2785
2786 _CS_V6_WIDTH_RESTRICTED_ENVS,
2787
2788
2789
2790 _CS_GNU_LIBC_VERSION,
2791
2792 _CS_GNU_LIBPTHREAD_VERSION,
2793
2794
2795 _CS_V5_WIDTH_RESTRICTED_ENVS,
2796
2797
2798
2799 _CS_V7_WIDTH_RESTRICTED_ENVS,
2800
2801
2802
2803 _CS_LFS_CFLAGS = 1000,
2804
2805 _CS_LFS_LDFLAGS,
2806
2807 _CS_LFS_LIBS,
2808
2809 _CS_LFS_LINTFLAGS,
2810
2811 _CS_LFS64_CFLAGS,
2812
2813 _CS_LFS64_LDFLAGS,
2814
2815 _CS_LFS64_LIBS,
2816
2817 _CS_LFS64_LINTFLAGS,
2818
2819
2820 _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
2821
2822 _CS_XBS5_ILP32_OFF32_LDFLAGS,
2823
2824 _CS_XBS5_ILP32_OFF32_LIBS,
2825
2826 _CS_XBS5_ILP32_OFF32_LINTFLAGS,
2827
2828 _CS_XBS5_ILP32_OFFBIG_CFLAGS,
2829
2830 _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
2831
2832 _CS_XBS5_ILP32_OFFBIG_LIBS,
2833
2834 _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
2835
2836 _CS_XBS5_LP64_OFF64_CFLAGS,
2837
2838 _CS_XBS5_LP64_OFF64_LDFLAGS,
2839
2840 _CS_XBS5_LP64_OFF64_LIBS,
2841
2842 _CS_XBS5_LP64_OFF64_LINTFLAGS,
2843
2844 _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
2845
2846 _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
2847
2848 _CS_XBS5_LPBIG_OFFBIG_LIBS,
2849
2850 _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
2851
2852
2853 _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
2854
2855 _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
2856
2857 _CS_POSIX_V6_ILP32_OFF32_LIBS,
2858
2859 _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
2860
2861 _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
2862
2863 _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
2864
2865 _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
2866
2867 _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
2868
2869 _CS_POSIX_V6_LP64_OFF64_CFLAGS,
2870
2871 _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
2872
2873 _CS_POSIX_V6_LP64_OFF64_LIBS,
2874
2875 _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
2876
2877 _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
2878
2879 _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
2880
2881 _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
2882
2883 _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
2884
2885
2886 _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
2887
2888 _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
2889
2890 _CS_POSIX_V7_ILP32_OFF32_LIBS,
2891
2892 _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
2893
2894 _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
2895
2896 _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
2897
2898 _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
2899
2900 _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
2901
2902 _CS_POSIX_V7_LP64_OFF64_CFLAGS,
2903
2904 _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
2905
2906 _CS_POSIX_V7_LP64_OFF64_LIBS,
2907
2908 _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
2909
2910 _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
2911
2912 _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
2913
2914 _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
2915
2916 _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
2917
2918 };
2919 # 569 "/usr/include/unistd.h" 2 3 4
2920
2921
2922 extern long int pathconf (__const char *__path, int __name)
2923 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2924
2925
2926 extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
2927
2928
2929 extern long int sysconf (int __name) __attribute__ ((__nothrow__));
2930
2931
2932
2933 extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
2934
2935
2936
2937
2938 extern __pid_t getpid (void) __attribute__ ((__nothrow__));
2939
2940
2941 extern __pid_t getppid (void) __attribute__ ((__nothrow__));
2942
2943
2944
2945
2946 extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
2947 # 605 "/usr/include/unistd.h" 3 4
2948 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
2949
2950 extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
2951
2952
2953
2954
2955
2956
2957 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
2958 # 631 "/usr/include/unistd.h" 3 4
2959 extern int setpgrp (void) __attribute__ ((__nothrow__));
2960 # 648 "/usr/include/unistd.h" 3 4
2961 extern __pid_t setsid (void) __attribute__ ((__nothrow__));
2962
2963
2964
2965 extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
2966
2967
2968
2969 extern __uid_t getuid (void) __attribute__ ((__nothrow__));
2970
2971
2972 extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
2973
2974
2975 extern __gid_t getgid (void) __attribute__ ((__nothrow__));
2976
2977
2978 extern __gid_t getegid (void) __attribute__ ((__nothrow__));
2979
2980
2981
2982
2983 extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2984
2985
2986
2987 extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
2988
2989
2990
2991
2992
2993
2994 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
2995
2996
2997
2998
2999 extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
3000
3001
3002
3003
3004 extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
3005
3006
3007
3008
3009
3010
3011 extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
3012
3013
3014
3015
3016 extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
3017
3018
3019
3020
3021 extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
3022
3023
3024
3025
3026
3027 extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
3028 __attribute__ ((__nothrow__));
3029
3030
3031
3032 extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
3033 __attribute__ ((__nothrow__));
3034
3035
3036
3037 extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
3038 __attribute__ ((__nothrow__));
3039
3040
3041
3042 extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
3043 __attribute__ ((__nothrow__));
3044
3045
3046
3047
3048
3049
3050 extern __pid_t fork (void) __attribute__ ((__nothrow__));
3051
3052
3053
3054
3055
3056
3057 extern __pid_t vfork (void) __attribute__ ((__nothrow__));
3058
3059
3060
3061
3062
3063 extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
3064
3065
3066
3067 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
3068 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
3069
3070
3071
3072 extern int isatty (int __fd) __attribute__ ((__nothrow__));
3073
3074
3075
3076
3077
3078 extern int ttyslot (void) __attribute__ ((__nothrow__));
3079
3080
3081
3082
3083 extern int link (__const char *__from, __const char *__to)
3084 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
3085
3086
3087
3088
3089 extern int linkat (int __fromfd, __const char *__from, int __tofd,
3090 __const char *__to, int __flags)
3091 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
3092
3093
3094
3095
3096 extern int symlink (__const char *__from, __const char *__to)
3097 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
3098
3099
3100
3101
3102 extern ssize_t readlink (__const char *__restrict __path,
3103 char *__restrict __buf, size_t __len)
3104 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
3105
3106
3107
3108
3109 extern int symlinkat (__const char *__from, int __tofd,
3110 __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
3111
3112
3113 extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
3114 char *__restrict __buf, size_t __len)
3115 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
3116
3117
3118
3119 extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3120
3121
3122
3123 extern int unlinkat (int __fd, __const char *__name, int __flag)
3124 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3125
3126
3127
3128 extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3129
3130
3131
3132 extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
3133
3134
3135 extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
3136
3137
3138
3139
3140
3141
3142 extern char *getlogin (void);
3143
3144
3145
3146
3147
3148
3149
3150 extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
3151
3152
3153
3154
3155 extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3156 # 851 "/usr/include/unistd.h" 3 4
3157 # 1 "/usr/include/getopt.h" 1 3 4
3158 # 59 "/usr/include/getopt.h" 3 4
3159 extern char *optarg;
3160 # 73 "/usr/include/getopt.h" 3 4
3161 extern int optind;
3162
3163
3164
3165
3166 extern int opterr;
3167
3168
3169
3170 extern int optopt;
3171 # 152 "/usr/include/getopt.h" 3 4
3172 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
3173 __attribute__ ((__nothrow__));
3174 # 852 "/usr/include/unistd.h" 2 3 4
3175
3176
3177
3178
3179
3180
3181
3182 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3183
3184
3185
3186
3187
3188
3189 extern int sethostname (__const char *__name, size_t __len)
3190 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3191
3192
3193
3194 extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3195
3196
3197
3198
3199
3200 extern int getdomainname (char *__name, size_t __len)
3201 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3202 extern int setdomainname (__const char *__name, size_t __len)
3203 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3204
3205
3206
3207
3208
3209 extern int vhangup (void) __attribute__ ((__nothrow__));
3210
3211
3212 extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3213
3214
3215
3216
3217
3218
3219
3220 extern int profil (unsigned short int *__sample_buffer, size_t __size,
3221 size_t __offset, unsigned int __scale)
3222 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3223
3224
3225
3226
3227
3228 extern int acct (__const char *__name) __attribute__ ((__nothrow__));
3229
3230
3231
3232 extern char *getusershell (void) __attribute__ ((__nothrow__));
3233 extern void endusershell (void) __attribute__ ((__nothrow__));
3234 extern void setusershell (void) __attribute__ ((__nothrow__));
3235
3236
3237
3238
3239
3240 extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3241
3242
3243
3244
3245
3246
3247 extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3248
3249
3250
3251 extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
3252 # 937 "/usr/include/unistd.h" 3 4
3253 extern int fsync (int __fd);
3254
3255
3256
3257
3258
3259
3260 extern long int gethostid (void);
3261
3262
3263 extern void sync (void) __attribute__ ((__nothrow__));
3264
3265
3266
3267
3268 extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3269
3270
3271
3272
3273 extern int getdtablesize (void) __attribute__ ((__nothrow__));
3274
3275
3276
3277
3278 extern int truncate (__const char *__file, __off_t __length)
3279 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3280 # 974 "/usr/include/unistd.h" 3 4
3281 extern int truncate64 (__const char *__file, __off64_t __length)
3282 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3283 # 984 "/usr/include/unistd.h" 3 4
3284 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3285 # 994 "/usr/include/unistd.h" 3 4
3286 extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3287 # 1004 "/usr/include/unistd.h" 3 4
3288 extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3289
3290
3291
3292
3293
3294 extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
3295 # 1025 "/usr/include/unistd.h" 3 4
3296 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
3297 # 1048 "/usr/include/unistd.h" 3 4
3298 extern int lockf (int __fd, int __cmd, __off_t __len) __attribute__ ((__warn_unused_result__));
3299 # 1058 "/usr/include/unistd.h" 3 4
3300 extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
3301 # 1079 "/usr/include/unistd.h" 3 4
3302 extern int fdatasync (int __fildes);
3303
3304
3305
3306
3307
3308
3309
3310 extern char *crypt (__const char *__key, __const char *__salt)
3311 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3312
3313
3314
3315 extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3316
3317
3318
3319
3320
3321
3322 extern void swab (__const void *__restrict __from, void *__restrict __to,
3323 ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3324
3325
3326
3327
3328
3329
3330
3331 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
3332
3333
3334
3335
3336
3337 # 1 "/usr/include/bits/unistd.h" 1 3 4
3338 # 24 "/usr/include/bits/unistd.h" 3 4
3339 extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
3340 size_t __buflen) __attribute__ ((__warn_unused_result__));
3341 extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__));
3342
3343 extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
3344
3345
3346 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")));
3347
3348
3349 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
3350 read (int __fd, void *__buf, size_t __nbytes)
3351 {
3352 if (__builtin_object_size (__buf, 0) != (size_t) -1)
3353 {
3354 if (!__builtin_constant_p (__nbytes))
3355 return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
3356
3357 if (__nbytes > __builtin_object_size (__buf, 0))
3358 return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
3359 }
3360 return __read_alias (__fd, __buf, __nbytes);
3361 }
3362
3363
3364 extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
3365 __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
3366 extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
3367 __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
3368 extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") __attribute__ ((__warn_unused_result__));
3369
3370
3371 extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__));
3372
3373
3374 extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
3375
3376
3377 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")));
3378
3379 extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
3380
3381
3382
3383 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")));
3384
3385
3386
3387 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
3388 pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
3389 {
3390 if (__builtin_object_size (__buf, 0) != (size_t) -1)
3391 {
3392 if (!__builtin_constant_p (__nbytes))
3393 return __pread_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
3394
3395 if ( __nbytes > __builtin_object_size (__buf, 0))
3396 return __pread_chk_warn (__fd, __buf, __nbytes, __offset,
3397 __builtin_object_size (__buf, 0));
3398 }
3399 return __pread_alias (__fd, __buf, __nbytes, __offset);
3400 }
3401 # 105 "/usr/include/bits/unistd.h" 3 4
3402 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
3403 pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
3404 {
3405 if (__builtin_object_size (__buf, 0) != (size_t) -1)
3406 {
3407 if (!__builtin_constant_p (__nbytes))
3408 return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
3409
3410 if ( __nbytes > __builtin_object_size (__buf, 0))
3411 return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
3412 __builtin_object_size (__buf, 0));
3413 }
3414
3415 return __pread64_alias (__fd, __buf, __nbytes, __offset);
3416 }
3417
3418
3419
3420
3421 extern ssize_t __readlink_chk (__const char *__restrict __path,
3422 char *__restrict __buf, size_t __len,
3423 size_t __buflen)
3424 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
3425 extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__))
3426
3427
3428 __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
3429 extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__))
3430
3431
3432
3433 __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")));
3434
3435
3436 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
3437 __attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len)
3438
3439 {
3440 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3441 {
3442 if (!__builtin_constant_p (__len))
3443 return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
3444
3445 if ( __len > __builtin_object_size (__buf, 2 > 1))
3446 return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
3447 }
3448 return __readlink_alias (__path, __buf, __len);
3449 }
3450
3451
3452
3453 extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path,
3454 char *__restrict __buf, size_t __len,
3455 size_t __buflen)
3456 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
3457 extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__))
3458
3459
3460
3461 __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
3462 extern ssize_t __readlinkat_chk_warn (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__))
3463
3464
3465
3466 __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")));
3467
3468
3469
3470 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
3471 __attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len)
3472
3473 {
3474 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3475 {
3476 if (!__builtin_constant_p (__len))
3477 return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
3478
3479 if (__len > __builtin_object_size (__buf, 2 > 1))
3480 return __readlinkat_chk_warn (__fd, __path, __buf, __len,
3481 __builtin_object_size (__buf, 2 > 1));
3482 }
3483 return __readlinkat_alias (__fd, __path, __buf, __len);
3484 }
3485
3486
3487 extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
3488 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3489 extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3490
3491 extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__))
3492
3493
3494 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")));
3495
3496
3497 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) char *
3498 __attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size)
3499 {
3500 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3501 {
3502 if (!__builtin_constant_p (__size))
3503 return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1));
3504
3505 if (__size > __builtin_object_size (__buf, 2 > 1))
3506 return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1));
3507 }
3508 return __getcwd_alias (__buf, __size);
3509 }
3510
3511
3512 extern char *__getwd_chk (char *__buf, size_t buflen)
3513 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3514 extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__))
3515 __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")));
3516
3517
3518 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
3519 __attribute__ ((__nothrow__)) getwd (char *__buf)
3520 {
3521 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3522 return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
3523 return __getwd_warn (__buf);
3524 }
3525
3526
3527 extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
3528 size_t __buflen) __attribute__ ((__nothrow__));
3529 extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__));
3530
3531 extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__))
3532
3533
3534 __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")));
3535
3536
3537 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) size_t
3538 __attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len)
3539 {
3540 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3541 {
3542 if (!__builtin_constant_p (__len))
3543 return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
3544
3545 if (__builtin_object_size (__buf, 2 > 1) < __len)
3546 return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
3547 }
3548 return __confstr_alias (__name, __buf, __len);
3549 }
3550
3551
3552 extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
3553 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3554 extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3555
3556 extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__))
3557
3558
3559 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")));
3560
3561
3562 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
3563 __attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[])
3564 {
3565 if (__builtin_object_size (__list, 2 > 1) != (size_t) -1)
3566 {
3567 if (!__builtin_constant_p (__size) || __size < 0)
3568 return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1));
3569
3570 if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1))
3571 return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1));
3572 }
3573 return __getgroups_alias (__size, __list);
3574 }
3575
3576
3577 extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
3578 size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3579 extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__))
3580
3581 __attribute__ ((__nonnull__ (2)));
3582 extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__))
3583
3584
3585 __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")));
3586
3587
3588 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
3589 __attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
3590 {
3591 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3592 {
3593 if (!__builtin_constant_p (__buflen))
3594 return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3595
3596 if (__buflen > __builtin_object_size (__buf, 2 > 1))
3597 return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3598 }
3599 return __ttyname_r_alias (__fd, __buf, __buflen);
3600 }
3601
3602
3603
3604 extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
3605 __attribute__ ((__nonnull__ (1)));
3606 extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") __attribute__ ((__nonnull__ (1)));
3607
3608 extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
3609
3610
3611 __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")));
3612
3613
3614 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
3615 getlogin_r (char *__buf, size_t __buflen)
3616 {
3617 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3618 {
3619 if (!__builtin_constant_p (__buflen))
3620 return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3621
3622 if (__buflen > __builtin_object_size (__buf, 2 > 1))
3623 return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3624 }
3625 return __getlogin_r_alias (__buf, __buflen);
3626 }
3627
3628
3629
3630
3631 extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
3632 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3633 extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3634
3635 extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__))
3636
3637
3638 __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")));
3639
3640
3641 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
3642 __attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen)
3643 {
3644 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3645 {
3646 if (!__builtin_constant_p (__buflen))
3647 return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3648
3649 if (__buflen > __builtin_object_size (__buf, 2 > 1))
3650 return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3651 }
3652 return __gethostname_alias (__buf, __buflen);
3653 }
3654
3655
3656
3657
3658 extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
3659 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3660 extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3661
3662
3663 extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__))
3664
3665
3666 __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")));
3667
3668
3669
3670 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
3671 __attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen)
3672 {
3673 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3674 {
3675 if (!__builtin_constant_p (__buflen))
3676 return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3677
3678 if (__buflen > __builtin_object_size (__buf, 2 > 1))
3679 return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3680 }
3681 return __getdomainname_alias (__buf, __buflen);
3682 }
3683 # 1115 "/usr/include/unistd.h" 2 3 4
3684
3685
3686
3687 # 27 "./pulsecore/macro.h" 2
3688 # 1 "/usr/include/assert.h" 1 3 4
3689 # 66 "/usr/include/assert.h" 3 4
3690
3691
3692
3693 extern void __assert_fail (__const char *__assertion, __const char *__file,
3694 unsigned int __line, __const char *__function)
3695 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3696
3697
3698 extern void __assert_perror_fail (int __errnum, __const char *__file,
3699 unsigned int __line,
3700 __const char *__function)
3701 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3702
3703
3704
3705
3706 extern void __assert (const char *__assertion, const char *__file, int __line)
3707 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3708
3709
3710
3711 # 28 "./pulsecore/macro.h" 2
3712 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4
3713 # 29 "./pulsecore/macro.h" 2
3714
3715 # 1 "/usr/include/stdio.h" 1 3 4
3716 # 30 "/usr/include/stdio.h" 3 4
3717
3718
3719
3720
3721 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
3722 # 35 "/usr/include/stdio.h" 2 3 4
3723 # 45 "/usr/include/stdio.h" 3 4
3724 struct _IO_FILE;
3725
3726
3727
3728 typedef struct _IO_FILE FILE;
3729
3730
3731
3732
3733
3734 # 65 "/usr/include/stdio.h" 3 4
3735 typedef struct _IO_FILE __FILE;
3736 # 75 "/usr/include/stdio.h" 3 4
3737 # 1 "/usr/include/libio.h" 1 3 4
3738 # 32 "/usr/include/libio.h" 3 4
3739 # 1 "/usr/include/_G_config.h" 1 3 4
3740 # 15 "/usr/include/_G_config.h" 3 4
3741 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
3742 # 16 "/usr/include/_G_config.h" 2 3 4
3743
3744
3745
3746
3747 # 1 "/usr/include/wchar.h" 1 3 4
3748 # 83 "/usr/include/wchar.h" 3 4
3749 typedef struct
3750 {
3751 int __count;
3752 union
3753 {
3754
3755 unsigned int __wch;
3756
3757
3758
3759 char __wchb[4];
3760 } __value;
3761 } __mbstate_t;
3762 # 21 "/usr/include/_G_config.h" 2 3 4
3763
3764 typedef struct
3765 {
3766 __off_t __pos;
3767 __mbstate_t __state;
3768 } _G_fpos_t;
3769 typedef struct
3770 {
3771 __off64_t __pos;
3772 __mbstate_t __state;
3773 } _G_fpos64_t;
3774 # 53 "/usr/include/_G_config.h" 3 4
3775 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
3776 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
3777 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
3778 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
3779 # 33 "/usr/include/libio.h" 2 3 4
3780 # 53 "/usr/include/libio.h" 3 4
3781 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 1 3 4
3782 # 40 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 3 4
3783 typedef __builtin_va_list __gnuc_va_list;
3784 # 54 "/usr/include/libio.h" 2 3 4
3785 # 170 "/usr/include/libio.h" 3 4
3786 struct _IO_jump_t; struct _IO_FILE;
3787 # 180 "/usr/include/libio.h" 3 4
3788 typedef void _IO_lock_t;
3789
3790
3791
3792
3793
3794 struct _IO_marker {
3795 struct _IO_marker *_next;
3796 struct _IO_FILE *_sbuf;
3797
3798
3799
3800 int _pos;
3801 # 203 "/usr/include/libio.h" 3 4
3802 };
3803
3804
3805 enum __codecvt_result
3806 {
3807 __codecvt_ok,
3808 __codecvt_partial,
3809 __codecvt_error,
3810 __codecvt_noconv
3811 };
3812 # 271 "/usr/include/libio.h" 3 4
3813 struct _IO_FILE {
3814 int _flags;
3815
3816
3817
3818
3819 char* _IO_read_ptr;
3820 char* _IO_read_end;
3821 char* _IO_read_base;
3822 char* _IO_write_base;
3823 char* _IO_write_ptr;
3824 char* _IO_write_end;
3825 char* _IO_buf_base;
3826 char* _IO_buf_end;
3827
3828 char *_IO_save_base;
3829 char *_IO_backup_base;
3830 char *_IO_save_end;
3831
3832 struct _IO_marker *_markers;
3833
3834 struct _IO_FILE *_chain;
3835
3836 int _fileno;
3837
3838
3839
3840 int _flags2;
3841
3842 __off_t _old_offset;
3843
3844
3845
3846 unsigned short _cur_column;
3847 signed char _vtable_offset;
3848 char _shortbuf[1];
3849
3850
3851
3852 _IO_lock_t *_lock;
3853 # 319 "/usr/include/libio.h" 3 4
3854 __off64_t _offset;
3855 # 328 "/usr/include/libio.h" 3 4
3856 void *__pad1;
3857 void *__pad2;
3858 void *__pad3;
3859 void *__pad4;
3860 size_t __pad5;
3861
3862 int _mode;
3863
3864 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
3865
3866 };
3867
3868
3869 typedef struct _IO_FILE _IO_FILE;
3870
3871
3872 struct _IO_FILE_plus;
3873
3874 extern struct _IO_FILE_plus _IO_2_1_stdin_;
3875 extern struct _IO_FILE_plus _IO_2_1_stdout_;
3876 extern struct _IO_FILE_plus _IO_2_1_stderr_;
3877 # 364 "/usr/include/libio.h" 3 4
3878 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
3879
3880
3881
3882
3883
3884
3885
3886 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
3887 size_t __n);
3888
3889
3890
3891
3892
3893
3894
3895 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
3896
3897
3898 typedef int __io_close_fn (void *__cookie);
3899
3900
3901
3902
3903 typedef __io_read_fn cookie_read_function_t;
3904 typedef __io_write_fn cookie_write_function_t;
3905 typedef __io_seek_fn cookie_seek_function_t;
3906 typedef __io_close_fn cookie_close_function_t;
3907
3908
3909 typedef struct
3910 {
3911 __io_read_fn *read;
3912 __io_write_fn *write;
3913 __io_seek_fn *seek;
3914 __io_close_fn *close;
3915 } _IO_cookie_io_functions_t;
3916 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
3917
3918 struct _IO_cookie_file;
3919
3920
3921 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
3922 void *__cookie, _IO_cookie_io_functions_t __fns);
3923
3924
3925
3926
3927
3928
3929
3930 extern int __underflow (_IO_FILE *);
3931 extern int __uflow (_IO_FILE *);
3932 extern int __overflow (_IO_FILE *, int);
3933 # 458 "/usr/include/libio.h" 3 4
3934 extern int _IO_getc (_IO_FILE *__fp);
3935 extern int _IO_putc (int __c, _IO_FILE *__fp);
3936 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
3937 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
3938
3939 extern int _IO_peekc_locked (_IO_FILE *__fp);
3940
3941
3942
3943
3944
3945 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
3946 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
3947 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
3948 # 488 "/usr/include/libio.h" 3 4
3949 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
3950 __gnuc_va_list, int *__restrict);
3951 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
3952 __gnuc_va_list);
3953 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
3954 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
3955
3956 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
3957 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
3958
3959 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
3960 # 76 "/usr/include/stdio.h" 2 3 4
3961
3962
3963
3964
3965 typedef __gnuc_va_list va_list;
3966 # 89 "/usr/include/stdio.h" 3 4
3967
3968
3969 typedef _G_fpos_t fpos_t;
3970
3971
3972
3973
3974
3975 typedef _G_fpos64_t fpos64_t;
3976 # 141 "/usr/include/stdio.h" 3 4
3977 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
3978 # 142 "/usr/include/stdio.h" 2 3 4
3979
3980
3981
3982 extern struct _IO_FILE *stdin;
3983 extern struct _IO_FILE *stdout;
3984 extern struct _IO_FILE *stderr;
3985
3986
3987
3988
3989
3990
3991
3992 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
3993
3994 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
3995
3996
3997
3998
3999 extern int renameat (int __oldfd, __const char *__old, int __newfd,
4000 __const char *__new) __attribute__ ((__nothrow__));
4001
4002
4003
4004
4005
4006
4007
4008
4009 extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__));
4010 # 182 "/usr/include/stdio.h" 3 4
4011 extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__));
4012
4013
4014
4015 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4016
4017
4018
4019
4020
4021 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4022 # 204 "/usr/include/stdio.h" 3 4
4023 extern char *tempnam (__const char *__dir, __const char *__pfx)
4024 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
4025
4026
4027
4028
4029
4030
4031
4032
4033 extern int fclose (FILE *__stream);
4034
4035
4036
4037
4038 extern int fflush (FILE *__stream);
4039
4040 # 229 "/usr/include/stdio.h" 3 4
4041 extern int fflush_unlocked (FILE *__stream);
4042 # 239 "/usr/include/stdio.h" 3 4
4043 extern int fcloseall (void);
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053 extern FILE *fopen (__const char *__restrict __filename,
4054 __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
4055
4056
4057
4058
4059 extern FILE *freopen (__const char *__restrict __filename,
4060 __const char *__restrict __modes,
4061 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4062 # 272 "/usr/include/stdio.h" 3 4
4063
4064
4065 extern FILE *fopen64 (__const char *__restrict __filename,
4066 __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
4067 extern FILE *freopen64 (__const char *__restrict __filename,
4068 __const char *__restrict __modes,
4069 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4070
4071
4072
4073
4074 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4075
4076
4077
4078
4079
4080 extern FILE *fopencookie (void *__restrict __magic_cookie,
4081 __const char *__restrict __modes,
4082 _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4083
4084
4085
4086
4087 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
4088 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4089
4090
4091
4092
4093 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4094
4095
4096
4097
4098
4099
4100 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
4101
4102
4103
4104 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
4105 int __modes, size_t __n) __attribute__ ((__nothrow__));
4106
4107
4108
4109
4110
4111 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
4112 size_t __size) __attribute__ ((__nothrow__));
4113
4114
4115 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
4116
4117
4118
4119
4120
4121
4122
4123
4124 extern int fprintf (FILE *__restrict __stream,
4125 __const char *__restrict __format, ...);
4126
4127
4128
4129
4130 extern int printf (__const char *__restrict __format, ...);
4131
4132 extern int sprintf (char *__restrict __s,
4133 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
4134
4135
4136
4137
4138
4139 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
4140 __gnuc_va_list __arg);
4141
4142
4143
4144
4145 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
4146
4147 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
4148 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
4149
4150
4151
4152
4153
4154 extern int snprintf (char *__restrict __s, size_t __maxlen,
4155 __const char *__restrict __format, ...)
4156 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
4157
4158 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
4159 __const char *__restrict __format, __gnuc_va_list __arg)
4160 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
4161
4162
4163
4164
4165
4166
4167 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
4168 __gnuc_va_list __arg)
4169 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
4170 extern int __asprintf (char **__restrict __ptr,
4171 __const char *__restrict __fmt, ...)
4172 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
4173 extern int asprintf (char **__restrict __ptr,
4174 __const char *__restrict __fmt, ...)
4175 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
4176 # 394 "/usr/include/stdio.h" 3 4
4177 extern int vdprintf (int __fd, __const char *__restrict __fmt,
4178 __gnuc_va_list __arg)
4179 __attribute__ ((__format__ (__printf__, 2, 0)));
4180 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
4181 __attribute__ ((__format__ (__printf__, 2, 3)));
4182
4183
4184
4185
4186
4187
4188
4189
4190 extern int fscanf (FILE *__restrict __stream,
4191 __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
4192
4193
4194
4195
4196 extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
4197
4198 extern int sscanf (__const char *__restrict __s,
4199 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
4200 # 445 "/usr/include/stdio.h" 3 4
4201
4202
4203
4204
4205
4206
4207
4208
4209 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
4210 __gnuc_va_list __arg)
4211 __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
4212
4213
4214
4215
4216
4217 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
4218 __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
4219
4220
4221 extern int vsscanf (__const char *__restrict __s,
4222 __const char *__restrict __format, __gnuc_va_list __arg)
4223 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
4224 # 504 "/usr/include/stdio.h" 3 4
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234 extern int fgetc (FILE *__stream);
4235 extern int getc (FILE *__stream);
4236
4237
4238
4239
4240
4241 extern int getchar (void);
4242
4243 # 532 "/usr/include/stdio.h" 3 4
4244 extern int getc_unlocked (FILE *__stream);
4245 extern int getchar_unlocked (void);
4246 # 543 "/usr/include/stdio.h" 3 4
4247 extern int fgetc_unlocked (FILE *__stream);
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259 extern int fputc (int __c, FILE *__stream);
4260 extern int putc (int __c, FILE *__stream);
4261
4262
4263
4264
4265
4266 extern int putchar (int __c);
4267
4268 # 576 "/usr/include/stdio.h" 3 4
4269 extern int fputc_unlocked (int __c, FILE *__stream);
4270
4271
4272
4273
4274
4275
4276
4277 extern int putc_unlocked (int __c, FILE *__stream);
4278 extern int putchar_unlocked (int __c);
4279
4280
4281
4282
4283
4284
4285 extern int getw (FILE *__stream);
4286
4287
4288 extern int putw (int __w, FILE *__stream);
4289
4290
4291
4292
4293
4294
4295
4296
4297 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
4298 __attribute__ ((__warn_unused_result__));
4299
4300
4301
4302
4303
4304
4305 extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
4306
4307 # 622 "/usr/include/stdio.h" 3 4
4308 extern char *fgets_unlocked (char *__restrict __s, int __n,
4309 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4310 # 638 "/usr/include/stdio.h" 3 4
4311 extern __ssize_t __getdelim (char **__restrict __lineptr,
4312 size_t *__restrict __n, int __delimiter,
4313 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4314 extern __ssize_t getdelim (char **__restrict __lineptr,
4315 size_t *__restrict __n, int __delimiter,
4316 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4317
4318
4319
4320
4321
4322
4323
4324 extern __ssize_t getline (char **__restrict __lineptr,
4325 size_t *__restrict __n,
4326 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4327
4328
4329
4330
4331
4332
4333
4334
4335 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
4336
4337
4338
4339
4340
4341 extern int puts (__const char *__s);
4342
4343
4344
4345
4346
4347
4348 extern int ungetc (int __c, FILE *__stream);
4349
4350
4351
4352
4353
4354
4355 extern size_t fread (void *__restrict __ptr, size_t __size,
4356 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4357
4358
4359
4360
4361 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
4362 size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__));
4363
4364 # 699 "/usr/include/stdio.h" 3 4
4365 extern int fputs_unlocked (__const char *__restrict __s,
4366 FILE *__restrict __stream);
4367 # 710 "/usr/include/stdio.h" 3 4
4368 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
4369 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4370 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
4371 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4372
4373
4374
4375
4376
4377
4378
4379
4380 extern int fseek (FILE *__stream, long int __off, int __whence);
4381
4382
4383
4384
4385 extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
4386
4387
4388
4389
4390 extern void rewind (FILE *__stream);
4391
4392 # 746 "/usr/include/stdio.h" 3 4
4393 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
4394
4395
4396
4397
4398 extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__));
4399 # 765 "/usr/include/stdio.h" 3 4
4400
4401
4402
4403
4404
4405
4406 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
4407
4408
4409
4410
4411 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
4412 # 788 "/usr/include/stdio.h" 3 4
4413
4414
4415
4416 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
4417 extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
4418 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
4419 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
4420
4421
4422
4423
4424 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
4425
4426 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4427
4428 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4429
4430
4431
4432
4433 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
4434 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4435 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4436
4437
4438
4439
4440
4441
4442
4443
4444 extern void perror (__const char *__s);
4445
4446
4447
4448
4449
4450
4451 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
4452 # 27 "/usr/include/bits/sys_errlist.h" 3 4
4453 extern int sys_nerr;
4454 extern __const char *__const sys_errlist[];
4455
4456
4457 extern int _sys_nerr;
4458 extern __const char *__const _sys_errlist[];
4459 # 827 "/usr/include/stdio.h" 2 3 4
4460
4461
4462
4463
4464 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4465
4466
4467
4468
4469 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4470 # 846 "/usr/include/stdio.h" 3 4
4471 extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__));
4472
4473
4474
4475
4476
4477 extern int pclose (FILE *__stream);
4478
4479
4480
4481
4482
4483 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
4484
4485
4486
4487
4488
4489 extern char *cuserid (char *__s);
4490
4491
4492
4493
4494 struct obstack;
4495
4496
4497 extern int obstack_printf (struct obstack *__restrict __obstack,
4498 __const char *__restrict __format, ...)
4499 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
4500 extern int obstack_vprintf (struct obstack *__restrict __obstack,
4501 __const char *__restrict __format,
4502 __gnuc_va_list __args)
4503 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
4504
4505
4506
4507
4508
4509
4510
4511 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
4512
4513
4514
4515 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
4516
4517
4518 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
4519 # 907 "/usr/include/stdio.h" 3 4
4520 # 1 "/usr/include/bits/stdio.h" 1 3 4
4521 # 44 "/usr/include/bits/stdio.h" 3 4
4522 extern __inline __attribute__ ((__gnu_inline__)) int
4523 getchar (void)
4524 {
4525 return _IO_getc (stdin);
4526 }
4527
4528
4529
4530
4531 extern __inline __attribute__ ((__gnu_inline__)) int
4532 fgetc_unlocked (FILE *__fp)
4533 {
4534 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
4535 }
4536
4537
4538
4539
4540
4541 extern __inline __attribute__ ((__gnu_inline__)) int
4542 getc_unlocked (FILE *__fp)
4543 {
4544 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
4545 }
4546
4547
4548 extern __inline __attribute__ ((__gnu_inline__)) int
4549 getchar_unlocked (void)
4550 {
4551 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
4552 }
4553
4554
4555
4556
4557 extern __inline __attribute__ ((__gnu_inline__)) int
4558 putchar (int __c)
4559 {
4560 return _IO_putc (__c, stdout);
4561 }
4562
4563
4564
4565
4566 extern __inline __attribute__ ((__gnu_inline__)) int
4567 fputc_unlocked (int __c, FILE *__stream)
4568 {
4569 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
4570 }
4571
4572
4573
4574
4575
4576 extern __inline __attribute__ ((__gnu_inline__)) int
4577 putc_unlocked (int __c, FILE *__stream)
4578 {
4579 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
4580 }
4581
4582
4583 extern __inline __attribute__ ((__gnu_inline__)) int
4584 putchar_unlocked (int __c)
4585 {
4586 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
4587 }
4588
4589
4590
4591
4592
4593 extern __inline __attribute__ ((__gnu_inline__)) __ssize_t
4594 getline (char **__lineptr, size_t *__n, FILE *__stream)
4595 {
4596 return __getdelim (__lineptr, __n, '\n', __stream);
4597 }
4598
4599
4600
4601
4602
4603 extern __inline __attribute__ ((__gnu_inline__)) int
4604 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
4605 {
4606 return (((__stream)->_flags & 0x10) != 0);
4607 }
4608
4609
4610 extern __inline __attribute__ ((__gnu_inline__)) int
4611 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
4612 {
4613 return (((__stream)->_flags & 0x20) != 0);
4614 }
4615 # 908 "/usr/include/stdio.h" 2 3 4
4616
4617
4618 # 1 "/usr/include/bits/stdio2.h" 1 3 4
4619 # 24 "/usr/include/bits/stdio2.h" 3 4
4620 extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
4621 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
4622 extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
4623 __const char *__restrict __format,
4624 __gnuc_va_list __ap) __attribute__ ((__nothrow__));
4625
4626
4627 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4628 __attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
4629 {
4630 return __builtin___sprintf_chk (__s, 2 - 1,
4631 __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
4632 }
4633
4634
4635
4636
4637
4638
4639 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4640 __attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
4641
4642 {
4643 return __builtin___vsprintf_chk (__s, 2 - 1,
4644 __builtin_object_size (__s, 2 > 1), __fmt, __ap);
4645 }
4646
4647
4648
4649 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
4650 size_t __slen, __const char *__restrict __format,
4651 ...) __attribute__ ((__nothrow__));
4652 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
4653 size_t __slen, __const char *__restrict __format,
4654 __gnuc_va_list __ap) __attribute__ ((__nothrow__));
4655
4656
4657 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4658 __attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
4659
4660 {
4661 return __builtin___snprintf_chk (__s, __n, 2 - 1,
4662 __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
4663 }
4664
4665
4666
4667
4668
4669
4670 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4671 __attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap)
4672
4673 {
4674 return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
4675 __builtin_object_size (__s, 2 > 1), __fmt, __ap);
4676 }
4677
4678
4679
4680
4681
4682 extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
4683 __const char *__restrict __format, ...);
4684 extern int __printf_chk (int __flag, __const char *__restrict __format, ...);
4685 extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
4686 __const char *__restrict __format, __gnuc_va_list __ap);
4687 extern int __vprintf_chk (int __flag, __const char *__restrict __format,
4688 __gnuc_va_list __ap);
4689
4690
4691 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4692 fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
4693 {
4694 return __fprintf_chk (__stream, 2 - 1, __fmt,
4695 __builtin_va_arg_pack ());
4696 }
4697
4698 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4699 printf (__const char *__restrict __fmt, ...)
4700 {
4701 return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
4702 }
4703
4704
4705
4706
4707
4708
4709
4710 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4711 vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
4712 {
4713
4714 return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
4715
4716
4717
4718 }
4719
4720 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4721 vfprintf (FILE *__restrict __stream,
4722 __const char *__restrict __fmt, __gnuc_va_list __ap)
4723 {
4724 return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
4725 }
4726
4727
4728
4729 extern int __asprintf_chk (char **__restrict __ptr, int __flag,
4730 __const char *__restrict __fmt, ...)
4731 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
4732 extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
4733 __const char *__restrict __fmt, __gnuc_va_list __arg)
4734 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
4735 extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt,
4736 ...) __attribute__ ((__format__ (__printf__, 3, 4)));
4737 extern int __vdprintf_chk (int __fd, int __flag,
4738 __const char *__restrict __fmt, __gnuc_va_list __arg)
4739 __attribute__ ((__format__ (__printf__, 3, 0)));
4740 extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
4741 int __flag, __const char *__restrict __format,
4742 ...)
4743 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
4744 extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
4745 int __flag,
4746 __const char *__restrict __format,
4747 __gnuc_va_list __args)
4748 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
4749
4750
4751 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4752 __attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
4753 {
4754 return __asprintf_chk (__ptr, 2 - 1, __fmt,
4755 __builtin_va_arg_pack ());
4756 }
4757
4758 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4759 __attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
4760
4761 {
4762 return __asprintf_chk (__ptr, 2 - 1, __fmt,
4763 __builtin_va_arg_pack ());
4764 }
4765
4766 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4767 dprintf (int __fd, __const char *__restrict __fmt, ...)
4768 {
4769 return __dprintf_chk (__fd, 2 - 1, __fmt,
4770 __builtin_va_arg_pack ());
4771 }
4772
4773 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4774 __attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
4775
4776 {
4777 return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
4778 __builtin_va_arg_pack ());
4779 }
4780 # 195 "/usr/include/bits/stdio2.h" 3 4
4781 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4782 __attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap)
4783
4784 {
4785 return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
4786 }
4787
4788 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4789 vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
4790 {
4791 return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
4792 }
4793
4794 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
4795 __attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap)
4796
4797 {
4798 return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
4799 __ap);
4800 }
4801
4802
4803
4804
4805
4806 extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__));
4807 extern char *__gets_warn (char *__str) __asm__ ("" "gets")
4808 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size")));
4809
4810
4811 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) char *
4812 gets (char *__str)
4813 {
4814 if (__builtin_object_size (__str, 2 > 1) != (size_t) -1)
4815 return __gets_chk (__str, __builtin_object_size (__str, 2 > 1));
4816 return __gets_warn (__str);
4817 }
4818
4819 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
4820 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4821 extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__));
4822
4823
4824 extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
4825
4826
4827 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")));
4828
4829
4830 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) char *
4831 fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
4832 {
4833 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
4834 {
4835 if (!__builtin_constant_p (__n) || __n <= 0)
4836 return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
4837
4838 if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
4839 return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
4840 }
4841 return __fgets_alias (__s, __n, __stream);
4842 }
4843
4844 extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
4845 size_t __size, size_t __n,
4846 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4847 extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__));
4848
4849
4850
4851 extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
4852
4853
4854
4855
4856 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")));
4857
4858
4859 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) size_t
4860 fread (void *__restrict __ptr, size_t __size, size_t __n,
4861 FILE *__restrict __stream)
4862 {
4863 if (__builtin_object_size (__ptr, 0) != (size_t) -1)
4864 {
4865 if (!__builtin_constant_p (__size)
4866 || !__builtin_constant_p (__n)
4867 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
4868 return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
4869
4870 if (__size * __n > __builtin_object_size (__ptr, 0))
4871 return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
4872 }
4873 return __fread_alias (__ptr, __size, __n, __stream);
4874 }
4875
4876
4877 extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
4878 int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4879 extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__));
4880
4881
4882 extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
4883
4884
4885 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")));
4886
4887
4888 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) char *
4889 fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
4890 {
4891 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
4892 {
4893 if (!__builtin_constant_p (__n) || __n <= 0)
4894 return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
4895
4896 if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
4897 return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
4898 }
4899 return __fgets_unlocked_alias (__s, __n, __stream);
4900 }
4901
4902
4903
4904
4905 extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
4906 size_t __size, size_t __n,
4907 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
4908 extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__));
4909
4910
4911
4912 extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
4913
4914
4915
4916
4917 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")));
4918
4919
4920 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) size_t
4921 fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
4922 FILE *__restrict __stream)
4923 {
4924 if (__builtin_object_size (__ptr, 0) != (size_t) -1)
4925 {
4926 if (!__builtin_constant_p (__size)
4927 || !__builtin_constant_p (__n)
4928 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
4929 return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
4930 __stream);
4931
4932 if (__size * __n > __builtin_object_size (__ptr, 0))
4933 return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
4934 __stream);
4935 }
4936
4937
4938 if (__builtin_constant_p (__size)
4939 && __builtin_constant_p (__n)
4940 && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
4941 && __size * __n <= 8)
4942 {
4943 size_t __cnt = __size * __n;
4944 char *__cptr = (char *) __ptr;
4945 if (__cnt == 0)
4946 return 0;
4947
4948 for (; __cnt > 0; --__cnt)
4949 {
4950 int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
4951 if (__c == (-1))
4952 break;
4953 *__cptr++ = __c;
4954 }
4955 return (__cptr - (char *) __ptr) / __size;
4956 }
4957
4958 return __fread_unlocked_alias (__ptr, __size, __n, __stream);
4959 }
4960 # 911 "/usr/include/stdio.h" 2 3 4
4961
4962
4963
4964
4965
4966
4967 # 31 "./pulsecore/macro.h" 2
4968 # 1 "/usr/include/stdlib.h" 1 3 4
4969 # 33 "/usr/include/stdlib.h" 3 4
4970 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
4971 # 323 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 3 4
4972 typedef int wchar_t;
4973 # 34 "/usr/include/stdlib.h" 2 3 4
4974
4975
4976
4977
4978
4979
4980
4981
4982 # 1 "/usr/include/bits/waitflags.h" 1 3 4
4983 # 43 "/usr/include/stdlib.h" 2 3 4
4984 # 1 "/usr/include/bits/waitstatus.h" 1 3 4
4985 # 67 "/usr/include/bits/waitstatus.h" 3 4
4986 union wait
4987 {
4988 int w_status;
4989 struct
4990 {
4991
4992 unsigned int __w_termsig:7;
4993 unsigned int __w_coredump:1;
4994 unsigned int __w_retcode:8;
4995 unsigned int:16;
4996
4997
4998
4999
5000
5001
5002
5003 } __wait_terminated;
5004 struct
5005 {
5006
5007 unsigned int __w_stopval:8;
5008 unsigned int __w_stopsig:8;
5009 unsigned int:16;
5010
5011
5012
5013
5014
5015
5016 } __wait_stopped;
5017 };
5018 # 44 "/usr/include/stdlib.h" 2 3 4
5019 # 68 "/usr/include/stdlib.h" 3 4
5020 typedef union
5021 {
5022 union wait *__uptr;
5023 int *__iptr;
5024 } __WAIT_STATUS __attribute__ ((__transparent_union__));
5025 # 96 "/usr/include/stdlib.h" 3 4
5026
5027
5028 typedef struct
5029 {
5030 int quot;
5031 int rem;
5032 } div_t;
5033
5034
5035
5036 typedef struct
5037 {
5038 long int quot;
5039 long int rem;
5040 } ldiv_t;
5041
5042
5043
5044
5045
5046
5047
5048 __extension__ typedef struct
5049 {
5050 long long int quot;
5051 long long int rem;
5052 } lldiv_t;
5053
5054
5055 # 140 "/usr/include/stdlib.h" 3 4
5056 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5057
5058
5059
5060
5061 extern double atof (__const char *__nptr)
5062 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5063
5064 extern int atoi (__const char *__nptr)
5065 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5066
5067 extern long int atol (__const char *__nptr)
5068 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5069
5070
5071
5072
5073
5074 __extension__ extern long long int atoll (__const char *__nptr)
5075 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5076
5077
5078
5079
5080
5081 extern double strtod (__const char *__restrict __nptr,
5082 char **__restrict __endptr)
5083 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5084
5085
5086
5087
5088
5089 extern float strtof (__const char *__restrict __nptr,
5090 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5091
5092 extern long double strtold (__const char *__restrict __nptr,
5093 char **__restrict __endptr)
5094 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5095
5096
5097
5098
5099
5100 extern long int strtol (__const char *__restrict __nptr,
5101 char **__restrict __endptr, int __base)
5102 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5103
5104 extern unsigned long int strtoul (__const char *__restrict __nptr,
5105 char **__restrict __endptr, int __base)
5106 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5107
5108
5109
5110
5111 __extension__
5112 extern long long int strtoq (__const char *__restrict __nptr,
5113 char **__restrict __endptr, int __base)
5114 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5115
5116 __extension__
5117 extern unsigned long long int strtouq (__const char *__restrict __nptr,
5118 char **__restrict __endptr, int __base)
5119 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5120
5121
5122
5123
5124
5125 __extension__
5126 extern long long int strtoll (__const char *__restrict __nptr,
5127 char **__restrict __endptr, int __base)
5128 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5129
5130 __extension__
5131 extern unsigned long long int strtoull (__const char *__restrict __nptr,
5132 char **__restrict __endptr, int __base)
5133 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5134
5135 # 236 "/usr/include/stdlib.h" 3 4
5136 # 1 "/usr/include/xlocale.h" 1 3 4
5137 # 28 "/usr/include/xlocale.h" 3 4
5138 typedef struct __locale_struct
5139 {
5140
5141 struct locale_data *__locales[13];
5142
5143
5144 const unsigned short int *__ctype_b;
5145 const int *__ctype_tolower;
5146 const int *__ctype_toupper;
5147
5148
5149 const char *__names[13];
5150 } *__locale_t;
5151
5152
5153 typedef __locale_t locale_t;
5154 # 237 "/usr/include/stdlib.h" 2 3 4
5155
5156
5157
5158 extern long int strtol_l (__const char *__restrict __nptr,
5159 char **__restrict __endptr, int __base,
5160 __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
5161
5162 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
5163 char **__restrict __endptr,
5164 int __base, __locale_t __loc)
5165 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
5166
5167 __extension__
5168 extern long long int strtoll_l (__const char *__restrict __nptr,
5169 char **__restrict __endptr, int __base,
5170 __locale_t __loc)
5171 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
5172
5173 __extension__
5174 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
5175 char **__restrict __endptr,
5176 int __base, __locale_t __loc)
5177 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
5178
5179 extern double strtod_l (__const char *__restrict __nptr,
5180 char **__restrict __endptr, __locale_t __loc)
5181 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
5182
5183 extern float strtof_l (__const char *__restrict __nptr,
5184 char **__restrict __endptr, __locale_t __loc)
5185 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
5186
5187 extern long double strtold_l (__const char *__restrict __nptr,
5188 char **__restrict __endptr,
5189 __locale_t __loc)
5190 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
5191
5192
5193
5194
5195
5196 extern __inline __attribute__ ((__gnu_inline__)) double
5197 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
5198 {
5199 return strtod (__nptr, (char **) ((void *)0));
5200 }
5201 extern __inline __attribute__ ((__gnu_inline__)) int
5202 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
5203 {
5204 return (int) strtol (__nptr, (char **) ((void *)0), 10);
5205 }
5206 extern __inline __attribute__ ((__gnu_inline__)) long int
5207 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
5208 {
5209 return strtol (__nptr, (char **) ((void *)0), 10);
5210 }
5211
5212
5213
5214
5215 __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int
5216 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
5217 {
5218 return strtoll (__nptr, (char **) ((void *)0), 10);
5219 }
5220
5221 # 311 "/usr/include/stdlib.h" 3 4
5222 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5223
5224
5225 extern long int a64l (__const char *__s)
5226 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5227 # 327 "/usr/include/stdlib.h" 3 4
5228 extern long int random (void) __attribute__ ((__nothrow__));
5229
5230
5231 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
5232
5233
5234
5235
5236
5237 extern char *initstate (unsigned int __seed, char *__statebuf,
5238 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5239
5240
5241
5242 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5243
5244
5245
5246
5247
5248
5249
5250 struct random_data
5251 {
5252 int32_t *fptr;
5253 int32_t *rptr;
5254 int32_t *state;
5255 int rand_type;
5256 int rand_deg;
5257 int rand_sep;
5258 int32_t *end_ptr;
5259 };
5260
5261 extern int random_r (struct random_data *__restrict __buf,
5262 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5263
5264 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
5265 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5266
5267 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
5268 size_t __statelen,
5269 struct random_data *__restrict __buf)
5270 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
5271
5272 extern int setstate_r (char *__restrict __statebuf,
5273 struct random_data *__restrict __buf)
5274 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5275
5276
5277
5278
5279
5280
5281 extern int rand (void) __attribute__ ((__nothrow__));
5282
5283 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
5284
5285
5286
5287
5288 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
5289
5290
5291
5292
5293
5294
5295
5296 extern double drand48 (void) __attribute__ ((__nothrow__));
5297 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5298
5299
5300 extern long int lrand48 (void) __attribute__ ((__nothrow__));
5301 extern long int nrand48 (unsigned short int __xsubi[3])
5302 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5303
5304
5305 extern long int mrand48 (void) __attribute__ ((__nothrow__));
5306 extern long int jrand48 (unsigned short int __xsubi[3])
5307 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5308
5309
5310 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
5311 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
5312 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5313 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5314
5315
5316
5317
5318
5319 struct drand48_data
5320 {
5321 unsigned short int __x[3];
5322 unsigned short int __old_x[3];
5323 unsigned short int __c;
5324 unsigned short int __init;
5325 unsigned long long int __a;
5326 };
5327
5328
5329 extern int drand48_r (struct drand48_data *__restrict __buffer,
5330 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5331 extern int erand48_r (unsigned short int __xsubi[3],
5332 struct drand48_data *__restrict __buffer,
5333 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5334
5335
5336 extern int lrand48_r (struct drand48_data *__restrict __buffer,
5337 long int *__restrict __result)
5338 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5339 extern int nrand48_r (unsigned short int __xsubi[3],
5340 struct drand48_data *__restrict __buffer,
5341 long int *__restrict __result)
5342 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5343
5344
5345 extern int mrand48_r (struct drand48_data *__restrict __buffer,
5346 long int *__restrict __result)
5347 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5348 extern int jrand48_r (unsigned short int __xsubi[3],
5349 struct drand48_data *__restrict __buffer,
5350 long int *__restrict __result)
5351 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5352
5353
5354 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
5355 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5356
5357 extern int seed48_r (unsigned short int __seed16v[3],
5358 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5359
5360 extern int lcong48_r (unsigned short int __param[7],
5361 struct drand48_data *__buffer)
5362 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
5373
5374 extern void *calloc (size_t __nmemb, size_t __size)
5375 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386 extern void *realloc (void *__ptr, size_t __size)
5387 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5388
5389 extern void free (void *__ptr) __attribute__ ((__nothrow__));
5390
5391
5392
5393
5394 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
5395
5396
5397
5398 # 1 "/usr/include/alloca.h" 1 3 4
5399 # 25 "/usr/include/alloca.h" 3 4
5400 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
5401 # 26 "/usr/include/alloca.h" 2 3 4
5402
5403
5404
5405
5406
5407
5408
5409 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
5410
5411
5412
5413
5414
5415
5416 # 498 "/usr/include/stdlib.h" 2 3 4
5417
5418
5419
5420
5421 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
5422
5423
5424
5425
5426 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
5427 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5428
5429
5430
5431
5432 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
5433
5434
5435
5436 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5437 # 527 "/usr/include/stdlib.h" 3 4
5438 extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5439
5440
5441
5442
5443
5444
5445
5446 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
5447 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5448
5449
5450
5451
5452
5453
5454 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
5455
5456
5457
5458
5459
5460
5461
5462 extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
5463
5464
5465
5466
5467
5468
5469
5470 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
5471
5472
5473
5474
5475
5476
5477 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5478
5479
5480
5481
5482 extern char *__secure_getenv (__const char *__name)
5483 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5484
5485
5486
5487
5488
5489 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5490
5491
5492
5493
5494
5495 extern int setenv (__const char *__name, __const char *__value, int __replace)
5496 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5497
5498
5499 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
5500
5501
5502
5503
5504
5505
5506 extern int clearenv (void) __attribute__ ((__nothrow__));
5507 # 604 "/usr/include/stdlib.h" 3 4
5508 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5509 # 615 "/usr/include/stdlib.h" 3 4
5510 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5511 # 625 "/usr/include/stdlib.h" 3 4
5512 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5513 # 635 "/usr/include/stdlib.h" 3 4
5514 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5515 # 646 "/usr/include/stdlib.h" 3 4
5516 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5517 # 656 "/usr/include/stdlib.h" 3 4
5518 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528 extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
5529
5530
5531
5532
5533
5534
5535 extern char *canonicalize_file_name (__const char *__name)
5536 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5537 # 683 "/usr/include/stdlib.h" 3 4
5538 extern char *realpath (__const char *__restrict __name,
5539 char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5540
5541
5542
5543
5544
5545
5546 typedef int (*__compar_fn_t) (__const void *, __const void *);
5547
5548
5549 typedef __compar_fn_t comparison_fn_t;
5550
5551
5552
5553 typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
5554
5555
5556
5557
5558
5559 extern void *bsearch (__const void *__key, __const void *__base,
5560 size_t __nmemb, size_t __size, __compar_fn_t __compar)
5561 __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
5562
5563
5564
5565 extern void qsort (void *__base, size_t __nmemb, size_t __size,
5566 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
5567
5568 extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
5569 __compar_d_fn_t __compar, void *__arg)
5570 __attribute__ ((__nonnull__ (1, 4)));
5571
5572
5573
5574
5575 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5576 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5577
5578
5579
5580 __extension__ extern long long int llabs (long long int __x)
5581 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5582
5583
5584
5585
5586
5587
5588
5589 extern div_t div (int __numer, int __denom)
5590 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5591 extern ldiv_t ldiv (long int __numer, long int __denom)
5592 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5593
5594
5595
5596
5597 __extension__ extern lldiv_t lldiv (long long int __numer,
5598 long long int __denom)
5599 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
5600
5601 # 756 "/usr/include/stdlib.h" 3 4
5602 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
5603 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
5604
5605
5606
5607
5608 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
5609 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
5610
5611
5612
5613
5614 extern char *gcvt (double __value, int __ndigit, char *__buf)
5615 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
5616
5617
5618
5619
5620 extern char *qecvt (long double __value, int __ndigit,
5621 int *__restrict __decpt, int *__restrict __sign)
5622 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
5623 extern char *qfcvt (long double __value, int __ndigit,
5624 int *__restrict __decpt, int *__restrict __sign)
5625 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
5626 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
5627 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
5628
5629
5630
5631
5632 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
5633 int *__restrict __sign, char *__restrict __buf,
5634 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
5635 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
5636 int *__restrict __sign, char *__restrict __buf,
5637 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
5638
5639 extern int qecvt_r (long double __value, int __ndigit,
5640 int *__restrict __decpt, int *__restrict __sign,
5641 char *__restrict __buf, size_t __len)
5642 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
5643 extern int qfcvt_r (long double __value, int __ndigit,
5644 int *__restrict __decpt, int *__restrict __sign,
5645 char *__restrict __buf, size_t __len)
5646 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
5647
5648
5649
5650
5651
5652
5653
5654 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5655
5656
5657 extern int mbtowc (wchar_t *__restrict __pwc,
5658 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5659
5660
5661 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5662
5663
5664
5665 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
5666 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
5667
5668 extern size_t wcstombs (char *__restrict __s,
5669 __const wchar_t *__restrict __pwcs, size_t __n)
5670 __attribute__ ((__nothrow__));
5671
5672
5673
5674
5675
5676
5677
5678
5679 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
5680 # 844 "/usr/include/stdlib.h" 3 4
5681 extern int getsubopt (char **__restrict __optionp,
5682 char *__const *__restrict __tokens,
5683 char **__restrict __valuep)
5684 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
5685
5686
5687
5688
5689
5690 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5691
5692
5693
5694
5695
5696
5697
5698 extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
5699
5700
5701
5702
5703
5704
5705
5706 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
5707
5708
5709
5710 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
5711
5712
5713
5714
5715 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5716
5717
5718
5719
5720
5721
5722 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
5723 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5724
5725
5726 extern int getpt (void);
5727
5728
5729
5730
5731
5732
5733 extern int getloadavg (double __loadavg[], int __nelem)
5734 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5735
5736
5737
5738
5739
5740 # 1 "/usr/include/bits/stdlib.h" 1 3 4
5741 # 24 "/usr/include/bits/stdlib.h" 3 4
5742 extern char *__realpath_chk (__const char *__restrict __name,
5743 char *__restrict __resolved,
5744 size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5745 extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5746
5747
5748 extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__))
5749
5750
5751
5752 __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")));
5753
5754
5755 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) char *
5756 __attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
5757 {
5758 if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
5759 {
5760
5761 if (__builtin_object_size (__resolved, 2 > 1) < 4096)
5762 return __realpath_chk_warn (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
5763
5764 return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
5765 }
5766
5767 return __realpath_alias (__name, __resolved);
5768 }
5769
5770
5771 extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
5772 size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5773 extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__))
5774
5775 __attribute__ ((__nonnull__ (2)));
5776 extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__))
5777
5778
5779 __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")));
5780
5781
5782 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) int
5783 __attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
5784 {
5785 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
5786 {
5787 if (!__builtin_constant_p (__buflen))
5788 return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
5789 if (__buflen > __builtin_object_size (__buf, 2 > 1))
5790 return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
5791 }
5792 return __ptsname_r_alias (__fd, __buf, __buflen);
5793 }
5794
5795
5796 extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
5797 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5798 extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
5799
5800
5801 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) __attribute__ ((__warn_unused_result__)) int
5802 __attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
5803 {
5804
5805
5806
5807
5808
5809
5810
5811 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
5812 return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
5813 return __wctomb_alias (__s, __wchar);
5814 }
5815
5816
5817 extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
5818 __const char *__restrict __src,
5819 size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
5820 extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__));
5821
5822
5823
5824 extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__))
5825
5826
5827
5828 __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")));
5829
5830
5831 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) size_t
5832 __attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len)
5833
5834 {
5835 if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
5836 {
5837 if (!__builtin_constant_p (__len))
5838 return __mbstowcs_chk (__dst, __src, __len,
5839 __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
5840
5841 if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
5842 return __mbstowcs_chk_warn (__dst, __src, __len,
5843 __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
5844 }
5845 return __mbstowcs_alias (__dst, __src, __len);
5846 }
5847
5848
5849 extern size_t __wcstombs_chk (char *__restrict __dst,
5850 __const wchar_t *__restrict __src,
5851 size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
5852 extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__));
5853
5854
5855
5856 extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__))
5857
5858
5859
5860 __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
5861
5862 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) size_t
5863 __attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len)
5864
5865 {
5866 if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
5867 {
5868 if (!__builtin_constant_p (__len))
5869 return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
5870 if (__len > __builtin_object_size (__dst, 2 > 1))
5871 return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
5872 }
5873 return __wcstombs_alias (__dst, __src, __len);
5874 }
5875 # 904 "/usr/include/stdlib.h" 2 3 4
5876 # 912 "/usr/include/stdlib.h" 3 4
5877
5878 # 32 "./pulsecore/macro.h" 2
5879 # 1 "/usr/include/string.h" 1 3 4
5880 # 28 "/usr/include/string.h" 3 4
5881
5882
5883
5884
5885
5886 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
5887 # 34 "/usr/include/string.h" 2 3 4
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897 extern void *memcpy (void *__restrict __dest,
5898 __const void *__restrict __src, size_t __n)
5899 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5900
5901
5902 extern void *memmove (void *__dest, __const void *__src, size_t __n)
5903 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5904
5905
5906
5907
5908
5909
5910 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
5911 int __c, size_t __n)
5912 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5913
5914
5915
5916
5917
5918 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5919
5920
5921 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
5922 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
5923 # 94 "/usr/include/string.h" 3 4
5924 extern void *memchr (__const void *__s, int __c, size_t __n)
5925 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
5926
5927
5928 # 108 "/usr/include/string.h" 3 4
5929 extern void *rawmemchr (__const void *__s, int __c)
5930 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
5931 # 119 "/usr/include/string.h" 3 4
5932 extern void *memrchr (__const void *__s, int __c, size_t __n)
5933 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
5934
5935
5936
5937
5938
5939
5940 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
5941 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5942
5943 extern char *strncpy (char *__restrict __dest,
5944 __const char *__restrict __src, size_t __n)
5945 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5946
5947
5948 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
5949 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5950
5951 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
5952 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
5953
5954
5955 extern int strcmp (__const char *__s1, __const char *__s2)
5956 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
5957
5958 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
5959 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
5960
5961
5962 extern int strcoll (__const char *__s1, __const char *__s2)
5963 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
5964
5965 extern size_t strxfrm (char *__restrict __dest,
5966 __const char *__restrict __src, size_t __n)
5967 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
5968
5969 # 164 "/usr/include/string.h" 3 4
5970 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
5971 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
5972
5973 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
5974 __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
5975
5976
5977
5978
5979 extern char *strdup (__const char *__s)
5980 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
5981
5982
5983
5984
5985
5986
5987 extern char *strndup (__const char *__string, size_t __n)
5988 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
5989 # 208 "/usr/include/string.h" 3 4
5990
5991 # 233 "/usr/include/string.h" 3 4
5992 extern char *strchr (__const char *__s, int __c)
5993 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
5994 # 260 "/usr/include/string.h" 3 4
5995 extern char *strrchr (__const char *__s, int __c)
5996 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
5997
5998
5999 # 274 "/usr/include/string.h" 3 4
6000 extern char *strchrnul (__const char *__s, int __c)
6001 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
6002
6003
6004
6005
6006
6007
6008 extern size_t strcspn (__const char *__s, __const char *__reject)
6009 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6010
6011
6012 extern size_t strspn (__const char *__s, __const char *__accept)
6013 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6014 # 312 "/usr/include/string.h" 3 4
6015 extern char *strpbrk (__const char *__s, __const char *__accept)
6016 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6017 # 340 "/usr/include/string.h" 3 4
6018 extern char *strstr (__const char *__haystack, __const char *__needle)
6019 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6020
6021
6022
6023
6024 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
6025 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
6026
6027
6028
6029
6030 extern char *__strtok_r (char *__restrict __s,
6031 __const char *__restrict __delim,
6032 char **__restrict __save_ptr)
6033 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
6034
6035 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
6036 char **__restrict __save_ptr)
6037 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
6038 # 371 "/usr/include/string.h" 3 4
6039 extern char *strcasestr (__const char *__haystack, __const char *__needle)
6040 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6041
6042
6043
6044
6045
6046
6047
6048 extern void *memmem (__const void *__haystack, size_t __haystacklen,
6049 __const void *__needle, size_t __needlelen)
6050 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
6051
6052
6053
6054 extern void *__mempcpy (void *__restrict __dest,
6055 __const void *__restrict __src, size_t __n)
6056 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6057 extern void *mempcpy (void *__restrict __dest,
6058 __const void *__restrict __src, size_t __n)
6059 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6060
6061
6062
6063
6064
6065 extern size_t strlen (__const char *__s)
6066 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
6067
6068
6069
6070
6071
6072 extern size_t strnlen (__const char *__string, size_t __maxlen)
6073 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
6074
6075
6076
6077
6078
6079 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
6080
6081 # 436 "/usr/include/string.h" 3 4
6082 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
6083 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
6084
6085
6086
6087
6088
6089 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
6090
6091
6092
6093
6094
6095 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
6096
6097
6098
6099 extern void bcopy (__const void *__src, void *__dest, size_t __n)
6100 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6101
6102
6103 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
6104
6105
6106 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
6107 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6108 # 487 "/usr/include/string.h" 3 4
6109 extern char *index (__const char *__s, int __c)
6110 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
6111 # 515 "/usr/include/string.h" 3 4
6112 extern char *rindex (__const char *__s, int __c)
6113 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
6114
6115
6116
6117
6118 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
6119
6120
6121
6122
6123 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
6124
6125 __extension__ extern int ffsll (long long int __ll)
6126 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
6127
6128
6129
6130
6131 extern int strcasecmp (__const char *__s1, __const char *__s2)
6132 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6133
6134
6135 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
6136 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6137
6138
6139
6140
6141
6142 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
6143 __locale_t __loc)
6144 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
6145
6146 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
6147 size_t __n, __locale_t __loc)
6148 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
6149
6150
6151
6152
6153
6154 extern char *strsep (char **__restrict __stringp,
6155 __const char *__restrict __delim)
6156 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6157
6158
6159
6160
6161 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
6162
6163
6164 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
6165 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6166 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
6167 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6168
6169
6170
6171 extern char *__stpncpy (char *__restrict __dest,
6172 __const char *__restrict __src, size_t __n)
6173 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6174 extern char *stpncpy (char *__restrict __dest,
6175 __const char *__restrict __src, size_t __n)
6176 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
6177
6178
6179
6180
6181 extern int strverscmp (__const char *__s1, __const char *__s2)
6182 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
6183
6184
6185 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
6186
6187
6188 extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
6189 # 604 "/usr/include/string.h" 3 4
6190 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
6191 # 632 "/usr/include/string.h" 3 4
6192 # 1 "/usr/include/bits/string.h" 1 3 4
6193 # 633 "/usr/include/string.h" 2 3 4
6194
6195
6196 # 1 "/usr/include/bits/string2.h" 1 3 4
6197 # 394 "/usr/include/bits/string2.h" 3 4
6198 extern void *__rawmemchr (const void *__s, int __c);
6199 # 969 "/usr/include/bits/string2.h" 3 4
6200 extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c1 (__const char *__s, int __reject);
6201 extern __inline __attribute__ ((__gnu_inline__)) size_t
6202 __strcspn_c1 (__const char *__s, int __reject)
6203 {
6204 register size_t __result = 0;
6205 while (__s[__result] != '\0' && __s[__result] != __reject)
6206 ++__result;
6207 return __result;
6208 }
6209
6210 extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c2 (__const char *__s, int __reject1,
6211 int __reject2);
6212 extern __inline __attribute__ ((__gnu_inline__)) size_t
6213 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
6214 {
6215 register size_t __result = 0;
6216 while (__s[__result] != '\0' && __s[__result] != __reject1
6217 && __s[__result] != __reject2)
6218 ++__result;
6219 return __result;
6220 }
6221
6222 extern __inline __attribute__ ((__gnu_inline__)) size_t __strcspn_c3 (__const char *__s, int __reject1,
6223 int __reject2, int __reject3);
6224 extern __inline __attribute__ ((__gnu_inline__)) size_t
6225 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
6226 int __reject3)
6227 {
6228 register size_t __result = 0;
6229 while (__s[__result] != '\0' && __s[__result] != __reject1
6230 && __s[__result] != __reject2 && __s[__result] != __reject3)
6231 ++__result;
6232 return __result;
6233 }
6234 # 1045 "/usr/include/bits/string2.h" 3 4
6235 extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c1 (__const char *__s, int __accept);
6236 extern __inline __attribute__ ((__gnu_inline__)) size_t
6237 __strspn_c1 (__const char *__s, int __accept)
6238 {
6239 register size_t __result = 0;
6240
6241 while (__s[__result] == __accept)
6242 ++__result;
6243 return __result;
6244 }
6245
6246 extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c2 (__const char *__s, int __accept1,
6247 int __accept2);
6248 extern __inline __attribute__ ((__gnu_inline__)) size_t
6249 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
6250 {
6251 register size_t __result = 0;
6252
6253 while (__s[__result] == __accept1 || __s[__result] == __accept2)
6254 ++__result;
6255 return __result;
6256 }
6257
6258 extern __inline __attribute__ ((__gnu_inline__)) size_t __strspn_c3 (__const char *__s, int __accept1,
6259 int __accept2, int __accept3);
6260 extern __inline __attribute__ ((__gnu_inline__)) size_t
6261 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
6262 {
6263 register size_t __result = 0;
6264
6265 while (__s[__result] == __accept1 || __s[__result] == __accept2
6266 || __s[__result] == __accept3)
6267 ++__result;
6268 return __result;
6269 }
6270 # 1121 "/usr/include/bits/string2.h" 3 4
6271 extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c2 (__const char *__s, int __accept1,
6272 int __accept2);
6273 extern __inline __attribute__ ((__gnu_inline__)) char *
6274 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
6275 {
6276
6277 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
6278 ++__s;
6279 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
6280 }
6281
6282 extern __inline __attribute__ ((__gnu_inline__)) char *__strpbrk_c3 (__const char *__s, int __accept1,
6283 int __accept2, int __accept3);
6284 extern __inline __attribute__ ((__gnu_inline__)) char *
6285 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
6286 int __accept3)
6287 {
6288
6289 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
6290 && *__s != __accept3)
6291 ++__s;
6292 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
6293 }
6294 # 1172 "/usr/include/bits/string2.h" 3 4
6295 extern __inline __attribute__ ((__gnu_inline__)) char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
6296 extern __inline __attribute__ ((__gnu_inline__)) char *
6297 __strtok_r_1c (char *__s, char __sep, char **__nextp)
6298 {
6299 char *__result;
6300 if (__s == ((void *)0))
6301 __s = *__nextp;
6302 while (*__s == __sep)
6303 ++__s;
6304 __result = ((void *)0);
6305 if (*__s != '\0')
6306 {
6307 __result = __s++;
6308 while (*__s != '\0')
6309 if (*__s++ == __sep)
6310 {
6311 __s[-1] = '\0';
6312 break;
6313 }
6314 }
6315 *__nextp = __s;
6316 return __result;
6317 }
6318 # 1204 "/usr/include/bits/string2.h" 3 4
6319 extern char *__strsep_g (char **__stringp, __const char *__delim);
6320 # 1222 "/usr/include/bits/string2.h" 3 4
6321 extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_1c (char **__s, char __reject);
6322 extern __inline __attribute__ ((__gnu_inline__)) char *
6323 __strsep_1c (char **__s, char __reject)
6324 {
6325 register char *__retval = *__s;
6326 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
6327 *(*__s)++ = '\0';
6328 return __retval;
6329 }
6330
6331 extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_2c (char **__s, char __reject1, char __reject2);
6332 extern __inline __attribute__ ((__gnu_inline__)) char *
6333 __strsep_2c (char **__s, char __reject1, char __reject2)
6334 {
6335 register char *__retval = *__s;
6336 if (__retval != ((void *)0))
6337 {
6338 register char *__cp = __retval;
6339 while (1)
6340 {
6341 if (*__cp == '\0')
6342 {
6343 __cp = ((void *)0);
6344 break;
6345 }
6346 if (*__cp == __reject1 || *__cp == __reject2)
6347 {
6348 *__cp++ = '\0';
6349 break;
6350 }
6351 ++__cp;
6352 }
6353 *__s = __cp;
6354 }
6355 return __retval;
6356 }
6357
6358 extern __inline __attribute__ ((__gnu_inline__)) char *__strsep_3c (char **__s, char __reject1, char __reject2,
6359 char __reject3);
6360 extern __inline __attribute__ ((__gnu_inline__)) char *
6361 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
6362 {
6363 register char *__retval = *__s;
6364 if (__retval != ((void *)0))
6365 {
6366 register char *__cp = __retval;
6367 while (1)
6368 {
6369 if (*__cp == '\0')
6370 {
6371 __cp = ((void *)0);
6372 break;
6373 }
6374 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
6375 {
6376 *__cp++ = '\0';
6377 break;
6378 }
6379 ++__cp;
6380 }
6381 *__s = __cp;
6382 }
6383 return __retval;
6384 }
6385 # 1303 "/usr/include/bits/string2.h" 3 4
6386 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
6387 # 1322 "/usr/include/bits/string2.h" 3 4
6388 extern char *__strndup (__const char *__string, size_t __n)
6389 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
6390 # 636 "/usr/include/string.h" 2 3 4
6391
6392
6393
6394
6395 # 1 "/usr/include/bits/string3.h" 1 3 4
6396 # 23 "/usr/include/bits/string3.h" 3 4
6397 extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters")));
6398 # 48 "/usr/include/bits/string3.h" 3 4
6399 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void *
6400 __attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
6401
6402 {
6403 return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
6404 }
6405
6406 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void *
6407 __attribute__ ((__nothrow__)) memmove (void *__restrict __dest, __const void *__restrict __src, size_t __len)
6408
6409 {
6410 return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
6411 }
6412
6413
6414 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void *
6415 __attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
6416
6417 {
6418 return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
6419 }
6420 # 77 "/usr/include/bits/string3.h" 3 4
6421 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void *
6422 __attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len)
6423 {
6424 if (__builtin_constant_p (__len) && __len == 0)
6425 {
6426 __warn_memset_zero_len ();
6427 return __dest;
6428 }
6429 return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0));
6430 }
6431
6432
6433 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void
6434 __attribute__ ((__nothrow__)) bcopy (__const void *__restrict __src, void *__restrict __dest, size_t __len)
6435
6436 {
6437 (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
6438 }
6439
6440 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) void
6441 __attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len)
6442 {
6443 (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0));
6444 }
6445
6446
6447 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6448 __attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
6449 {
6450 return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
6451 }
6452
6453
6454 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6455 __attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src)
6456 {
6457 return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
6458 }
6459
6460
6461
6462 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6463 __attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len)
6464
6465 {
6466 return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
6467 }
6468
6469
6470 extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n,
6471 size_t __destlen) __attribute__ ((__nothrow__));
6472 extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__));
6473
6474
6475
6476 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6477 __attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n)
6478 {
6479 if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
6480 && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1)))
6481 return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
6482 return __stpncpy_alias (__dest, __src, __n);
6483 }
6484
6485
6486 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6487 __attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src)
6488 {
6489 return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
6490 }
6491
6492
6493 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__, __artificial__)) char *
6494 __attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len)
6495
6496 {
6497 return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
6498 }
6499 # 641 "/usr/include/string.h" 2 3 4
6500
6501
6502
6503
6504 # 33 "./pulsecore/macro.h" 2
6505 # 62 "./pulsecore/macro.h"
6506 static inline void* PA_ALIGN_PTR(const void *p) {
6507 return (void*) (((size_t) p) & ~(sizeof(void*) - 1));
6508 }
6509
6510
6511 static inline size_t PA_ALIGN(size_t l) {
6512 return ((l + sizeof(void*) - 1) & ~(sizeof(void*) - 1));
6513 }
6514
6515
6516 static inline void* PA_PAGE_ALIGN_PTR(const void *p) {
6517 return (void*) (((size_t) p) & ~(((size_t) (sysconf(_SC_PAGESIZE))) - 1));
6518 }
6519
6520
6521 static inline size_t PA_PAGE_ALIGN(size_t l) {
6522 return (l + ((size_t) (sysconf(_SC_PAGESIZE))) - 1) & ~(((size_t) (sysconf(_SC_PAGESIZE))) - 1);
6523 }
6524 # 179 "./pulsecore/macro.h"
6525 typedef _Bool pa_bool_t;
6526 # 320 "./pulsecore/macro.h"
6527 # 1 "./pulsecore/log.h" 1
6528 # 26 "./pulsecore/log.h"
6529 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 1 3 4
6530 # 27 "./pulsecore/log.h" 2
6531
6532
6533 # 1 "./pulsecore/macro.h" 1
6534 # 30 "./pulsecore/log.h" 2
6535
6536
6537
6538
6539
6540 typedef enum pa_log_target {
6541 PA_LOG_STDERR,
6542 PA_LOG_SYSLOG,
6543 PA_LOG_NULL,
6544 PA_LOG_TARGET_MAX
6545 } pa_log_target_t;
6546
6547 typedef enum pa_log_level {
6548 PA_LOG_ERROR = 0,
6549 PA_LOG_WARN = 1,
6550 PA_LOG_NOTICE = 2,
6551 PA_LOG_INFO = 3,
6552 PA_LOG_DEBUG = 4,
6553 PA_LOG_LEVEL_MAX
6554 } pa_log_level_t;
6555
6556 typedef enum pa_log_flags {
6557 PA_LOG_COLORS = 0x01,
6558 PA_LOG_PRINT_TIME = 0x02,
6559 PA_LOG_PRINT_FILE = 0x04,
6560 PA_LOG_PRINT_META = 0x08,
6561 PA_LOG_PRINT_LEVEL = 0x10,
6562 } pa_log_flags_t;
6563
6564 typedef enum pa_log_merge {
6565 PA_LOG_SET,
6566 PA_LOG_UNSET,
6567 PA_LOG_RESET
6568 } pa_log_merge_t;
6569
6570
6571 void pa_log_set_ident(const char *p);
6572
6573
6574 void pa_log_set_target(pa_log_target_t t);
6575
6576
6577 void pa_log_set_level(pa_log_level_t l);
6578
6579
6580 void pa_log_set_flags(pa_log_flags_t flags, pa_log_merge_t merge);
6581
6582
6583 void pa_log_set_show_backtrace(unsigned nlevels);
6584
6585
6586 void pa_log_set_skip_backtrace(unsigned nlevels);
6587
6588 void pa_log_level_meta(
6589 pa_log_level_t level,
6590 const char*file,
6591 int line,
6592 const char *func,
6593 const char *format, ...) __attribute__ ((format (printf, 5, 6)));
6594
6595 void pa_log_levelv_meta(
6596 pa_log_level_t level,
6597 const char*file,
6598 int line,
6599 const char *func,
6600 const char *format,
6601 va_list ap);
6602
6603 void pa_log_level(
6604 pa_log_level_t level,
6605 const char *format, ...) __attribute__ ((format (printf, 2, 3)));
6606
6607 void pa_log_levelv(
6608 pa_log_level_t level,
6609 const char *format,
6610 va_list ap);
6611 # 138 "./pulsecore/log.h"
6612 pa_bool_t pa_log_ratelimit(void);
6613 # 321 "./pulsecore/macro.h" 2
6614 # 30 "pulsecore/svolume_mmx.c" 2
6615 # 1 "./pulsecore/g711.h" 1
6616 # 26 "./pulsecore/g711.h"
6617 unsigned char st_13linear2alaw(int16_t pcm_val);
6618 int16_t st_alaw2linear16(unsigned char);
6619 # 36 "./pulsecore/g711.h"
6620 unsigned char st_14linear2ulaw(int16_t pcm_val);
6621 int16_t st_ulaw2linear16(unsigned char);
6622 # 31 "pulsecore/svolume_mmx.c" 2
6623 # 1 "./pulsecore/core-util.h" 1
6624 # 33 "./pulsecore/core-util.h"
6625 # 1 "/usr/include/sys/resource.h" 1 3 4
6626 # 25 "/usr/include/sys/resource.h" 3 4
6627 # 1 "/usr/include/bits/resource.h" 1 3 4
6628 # 33 "/usr/include/bits/resource.h" 3 4
6629 enum __rlimit_resource
6630 {
6631
6632 RLIMIT_CPU = 0,
6633
6634
6635
6636 RLIMIT_FSIZE = 1,
6637
6638
6639
6640 RLIMIT_DATA = 2,
6641
6642
6643
6644 RLIMIT_STACK = 3,
6645
6646
6647
6648 RLIMIT_CORE = 4,
6649
6650
6651
6652
6653
6654
6655 __RLIMIT_RSS = 5,
6656
6657
6658
6659 RLIMIT_NOFILE = 7,
6660 __RLIMIT_OFILE = RLIMIT_NOFILE,
6661
6662
6663
6664
6665 RLIMIT_AS = 9,
6666
6667
6668
6669 __RLIMIT_NPROC = 6,
6670
6671
6672
6673 __RLIMIT_MEMLOCK = 8,
6674
6675
6676
6677 __RLIMIT_LOCKS = 10,
6678
6679
6680
6681 __RLIMIT_SIGPENDING = 11,
6682
6683
6684
6685 __RLIMIT_MSGQUEUE = 12,
6686
6687
6688
6689
6690
6691 __RLIMIT_NICE = 13,
6692
6693
6694
6695
6696 __RLIMIT_RTPRIO = 14,
6697
6698
6699 __RLIMIT_NLIMITS = 15,
6700 __RLIM_NLIMITS = __RLIMIT_NLIMITS
6701
6702
6703 };
6704 # 127 "/usr/include/bits/resource.h" 3 4
6705 typedef __rlim_t rlim_t;
6706
6707
6708
6709
6710 typedef __rlim64_t rlim64_t;
6711
6712
6713 struct rlimit
6714 {
6715
6716 rlim_t rlim_cur;
6717
6718 rlim_t rlim_max;
6719 };
6720
6721
6722 struct rlimit64
6723 {
6724
6725 rlim64_t rlim_cur;
6726
6727 rlim64_t rlim_max;
6728 };
6729
6730
6731
6732 enum __rusage_who
6733 {
6734
6735 RUSAGE_SELF = 0,
6736
6737
6738
6739 RUSAGE_CHILDREN = -1
6740
6741
6742
6743 ,
6744
6745 RUSAGE_THREAD = 1
6746
6747
6748
6749
6750 };
6751
6752
6753 # 1 "/usr/include/bits/time.h" 1 3 4
6754 # 176 "/usr/include/bits/resource.h" 2 3 4
6755
6756
6757 struct rusage
6758 {
6759
6760 struct timeval ru_utime;
6761
6762 struct timeval ru_stime;
6763
6764 long int ru_maxrss;
6765
6766
6767 long int ru_ixrss;
6768
6769 long int ru_idrss;
6770
6771 long int ru_isrss;
6772
6773
6774 long int ru_minflt;
6775
6776 long int ru_majflt;
6777
6778 long int ru_nswap;
6779
6780
6781 long int ru_inblock;
6782
6783 long int ru_oublock;
6784
6785 long int ru_msgsnd;
6786
6787 long int ru_msgrcv;
6788
6789 long int ru_nsignals;
6790
6791
6792
6793 long int ru_nvcsw;
6794
6795
6796 long int ru_nivcsw;
6797 };
6798
6799
6800
6801
6802
6803
6804
6805 enum __priority_which
6806 {
6807 PRIO_PROCESS = 0,
6808
6809 PRIO_PGRP = 1,
6810
6811 PRIO_USER = 2
6812
6813 };
6814 # 26 "/usr/include/sys/resource.h" 2 3 4
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828 typedef enum __rlimit_resource __rlimit_resource_t;
6829 typedef enum __rusage_who __rusage_who_t;
6830 typedef enum __priority_which __priority_which_t;
6831 # 51 "/usr/include/sys/resource.h" 3 4
6832 extern int getrlimit (__rlimit_resource_t __resource,
6833 struct rlimit *__rlimits) __attribute__ ((__nothrow__));
6834 # 62 "/usr/include/sys/resource.h" 3 4
6835 extern int getrlimit64 (__rlimit_resource_t __resource,
6836 struct rlimit64 *__rlimits) __attribute__ ((__nothrow__));
6837
6838
6839
6840
6841
6842
6843 extern int setrlimit (__rlimit_resource_t __resource,
6844 __const struct rlimit *__rlimits) __attribute__ ((__nothrow__));
6845 # 82 "/usr/include/sys/resource.h" 3 4
6846 extern int setrlimit64 (__rlimit_resource_t __resource,
6847 __const struct rlimit64 *__rlimits) __attribute__ ((__nothrow__));
6848
6849
6850
6851
6852 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__));
6853
6854
6855
6856
6857
6858 extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__));
6859
6860
6861
6862 extern int setpriority (__priority_which_t __which, id_t __who, int __prio)
6863 __attribute__ ((__nothrow__));
6864
6865
6866 # 34 "./pulsecore/core-util.h" 2
6867 # 43 "./pulsecore/core-util.h"
6868 struct timeval;
6869 # 57 "./pulsecore/core-util.h"
6870 void pa_make_fd_nonblock(int fd);
6871 void pa_make_fd_cloexec(int fd);
6872
6873 int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid);
6874 int pa_make_secure_parent_dir(const char *fn, mode_t, uid_t uid, gid_t gid);
6875
6876 ssize_t pa_read(int fd, void *buf, size_t count, int *type);
6877 ssize_t pa_write(int fd, const void *buf, size_t count, int *type);
6878 ssize_t pa_loop_read(int fd, void*data, size_t size, int *type);
6879 ssize_t pa_loop_write(int fd, const void*data, size_t size, int *type);
6880
6881 int pa_close(int fd);
6882
6883 void pa_check_signal_is_blocked(int sig);
6884
6885 char *pa_sprintf_malloc(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
6886 char *pa_vsprintf_malloc(const char *format, va_list ap);
6887
6888 char *pa_strlcpy(char *b, const char *s, size_t l);
6889
6890 char *pa_parent_dir(const char *fn);
6891
6892 int pa_make_realtime(int rtprio);
6893 int pa_raise_priority(int nice_level);
6894 void pa_reset_priority(void);
6895
6896 int pa_parse_boolean(const char *s) __attribute__ ((pure));
6897
6898 static inline const char *pa_yes_no(pa_bool_t b) {
6899 return b ? "yes" : "no";
6900 }
6901
6902 static inline const char *pa_strnull(const char *x) {
6903 return x ? x : "(null)";
6904 }
6905
6906 static inline const char *pa_strempty(const char *x) {
6907 return x ? x : "";
6908 }
6909
6910 static inline const char *pa_strna(const char *x) {
6911 return x ? x : "n/a";
6912 }
6913
6914 char *pa_split(const char *c, const char*delimiters, const char **state);
6915 char *pa_split_spaces(const char *c, const char **state);
6916
6917 char *pa_strip_nl(char *s);
6918
6919 const char *pa_sig2str(int sig) __attribute__ ((pure));
6920
6921 int pa_own_uid_in_group(const char *name, gid_t *gid);
6922 int pa_uid_in_group(uid_t uid, const char *name);
6923 gid_t pa_get_gid_of_group(const char *name);
6924 int pa_check_in_group(gid_t g);
6925
6926 int pa_lock_fd(int fd, int b);
6927
6928 int pa_lock_lockfile(const char *fn);
6929 int pa_unlock_lockfile(const char *fn, int fd);
6930
6931 char *pa_hexstr(const uint8_t* d, size_t dlength, char *s, size_t slength);
6932 size_t pa_parsehex(const char *p, uint8_t *d, size_t dlength);
6933
6934 pa_bool_t pa_startswith(const char *s, const char *pfx) __attribute__ ((pure));
6935 pa_bool_t pa_endswith(const char *s, const char *sfx) __attribute__ ((pure));
6936
6937 FILE *pa_open_config_file(const char *global, const char *local, const char *env, char **result);
6938 char* pa_find_config_file(const char *global, const char *local, const char *env);
6939
6940 char *pa_get_runtime_dir(void);
6941 char *pa_get_state_dir(void);
6942 char *pa_get_home_dir_malloc(void);
6943 char *pa_get_binary_name_malloc(void);
6944 char *pa_runtime_path(const char *fn);
6945 char *pa_state_path(const char *fn, pa_bool_t prepend_machine_id);
6946
6947 int pa_atoi(const char *s, int32_t *ret_i);
6948 int pa_atou(const char *s, uint32_t *ret_u);
6949 int pa_atod(const char *s, double *ret_d);
6950
6951 size_t pa_snprintf(char *str, size_t size, const char *format, ...);
6952 size_t pa_vsnprintf(char *str, size_t size, const char *format, va_list ap);
6953
6954 char *pa_truncate_utf8(char *c, size_t l);
6955
6956 int pa_match(const char *expr, const char *v);
6957
6958 char *pa_getcwd(void);
6959 char *pa_make_path_absolute(const char *p);
6960 pa_bool_t pa_is_path_absolute(const char *p);
6961
6962 void *pa_will_need(const void *p, size_t l);
6963
6964 static inline int pa_is_power_of_two(unsigned n) {
6965 return !(n & (n - 1));
6966 }
6967
6968 static inline unsigned pa_ulog2(unsigned n) {
6969
6970 if (n <= 1)
6971 return 0;
6972
6973
6974 return 8U * (unsigned) sizeof(unsigned) - (unsigned) __builtin_clz(n) - 1;
6975 # 176 "./pulsecore/core-util.h"
6976 }
6977
6978 static inline unsigned pa_make_power_of_two(unsigned n) {
6979
6980 if (pa_is_power_of_two(n))
6981 return n;
6982
6983 return 1U << (pa_ulog2(n) + 1);
6984 }
6985
6986 void pa_close_pipe(int fds[2]);
6987
6988 char *pa_readlink(const char *p);
6989
6990 int pa_close_all(int except_fd, ...);
6991 int pa_close_allv(const int except_fds[]);
6992 int pa_unblock_sigs(int except, ...);
6993 int pa_unblock_sigsv(const int except[]);
6994 int pa_reset_sigs(int except, ...);
6995 int pa_reset_sigsv(const int except[]);
6996
6997 void pa_set_env(const char *key, const char *value);
6998 void pa_set_env_and_record(const char *key, const char *value);
6999 void pa_unset_env_recorded(void);
7000
7001 pa_bool_t pa_in_system_mode(void);
7002
7003
7004
7005 char *pa_get_host_name_malloc(void);
7006 char *pa_get_user_name_malloc(void);
7007
7008 char *pa_machine_id(void);
7009 char *pa_session_id(void);
7010 char *pa_uname_string(void);
7011
7012
7013 pa_bool_t pa_in_valgrind(void);
7014
7015
7016
7017
7018
7019
7020 unsigned pa_gcd(unsigned a, unsigned b);
7021 void pa_reduce(unsigned *num, unsigned *den);
7022
7023 unsigned pa_ncpus(void);
7024
7025 char *pa_replace(const char*s, const char*a, const char *b);
7026
7027 char *pa_unescape(char *p);
7028
7029 char *pa_realpath(const char *path);
7030
7031 void pa_disable_sigpipe(void);
7032
7033 void pa_xfreev(void**a);
7034
7035 static inline void pa_xstrfreev(char **a) {
7036 pa_xfreev((void**) a);
7037 }
7038
7039 char **pa_split_spaces_strv(const char *s);
7040
7041 char* pa_maybe_prefix_path(const char *path, const char *prefix);
7042
7043
7044 size_t pa_pipe_buf(int fd);
7045
7046 void pa_reset_personality(void);
7047
7048
7049
7050
7051
7052 const char *pa_get_temp_dir(void);
7053 # 32 "pulsecore/svolume_mmx.c" 2
7054
7055 # 1 "pulsecore/cpu-x86.h" 1
7056 # 28 "pulsecore/cpu-x86.h"
7057 typedef enum pa_cpu_x86_flag {
7058 PA_CPU_X86_MMX = (1 << 0),
7059 PA_CPU_X86_MMXEXT = (1 << 1),
7060 PA_CPU_X86_SSE = (1 << 2),
7061 PA_CPU_X86_SSE2 = (1 << 3),
7062 PA_CPU_X86_SSE3 = (1 << 4),
7063 PA_CPU_X86_SSSE3 = (1 << 5),
7064 PA_CPU_X86_SSE4_1 = (1 << 6),
7065 PA_CPU_X86_SSE4_2 = (1 << 7),
7066 PA_CPU_X86_3DNOW = (1 << 8),
7067 PA_CPU_X86_3DNOWEXT = (1 << 9)
7068 } pa_cpu_x86_flag_t;
7069
7070 void pa_cpu_init_x86 (void);
7071 # 53 "pulsecore/cpu-x86.h"
7072 typedef int64_t pa_reg_x86;
7073 # 63 "pulsecore/cpu-x86.h"
7074 void pa_volume_func_init_mmx(pa_cpu_x86_flag_t flags);
7075 void pa_volume_func_init_sse(pa_cpu_x86_flag_t flags);
7076
7077 void pa_remap_func_init_mmx(pa_cpu_x86_flag_t flags);
7078 void pa_remap_func_init_sse(pa_cpu_x86_flag_t flags);
7079
7080 void pa_convert_func_init_sse (pa_cpu_x86_flag_t flags);
7081 # 34 "pulsecore/svolume_mmx.c" 2
7082
7083 # 1 "pulsecore/sample-util.h" 1
7084 # 27 "pulsecore/sample-util.h"
7085 # 1 "./pulse/volume.h" 1
7086 # 27 "./pulse/volume.h"
7087 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4
7088 # 28 "./pulse/volume.h" 2
7089
7090
7091
7092
7093 # 1 "./pulse/channelmap.h" 1
7094 # 70 "./pulse/channelmap.h"
7095
7096
7097
7098 typedef enum pa_channel_position {
7099 PA_CHANNEL_POSITION_INVALID = -1,
7100 PA_CHANNEL_POSITION_MONO = 0,
7101
7102 PA_CHANNEL_POSITION_FRONT_LEFT,
7103 PA_CHANNEL_POSITION_FRONT_RIGHT,
7104 PA_CHANNEL_POSITION_FRONT_CENTER,
7105
7106
7107 PA_CHANNEL_POSITION_LEFT = PA_CHANNEL_POSITION_FRONT_LEFT,
7108 PA_CHANNEL_POSITION_RIGHT = PA_CHANNEL_POSITION_FRONT_RIGHT,
7109 PA_CHANNEL_POSITION_CENTER = PA_CHANNEL_POSITION_FRONT_CENTER,
7110
7111
7112 PA_CHANNEL_POSITION_REAR_CENTER,
7113 PA_CHANNEL_POSITION_REAR_LEFT,
7114 PA_CHANNEL_POSITION_REAR_RIGHT,
7115
7116 PA_CHANNEL_POSITION_LFE,
7117
7118 PA_CHANNEL_POSITION_SUBWOOFER = PA_CHANNEL_POSITION_LFE,
7119
7120
7121 PA_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER,
7122 PA_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER,
7123
7124 PA_CHANNEL_POSITION_SIDE_LEFT,
7125 PA_CHANNEL_POSITION_SIDE_RIGHT,
7126
7127 PA_CHANNEL_POSITION_AUX0,
7128 PA_CHANNEL_POSITION_AUX1,
7129 PA_CHANNEL_POSITION_AUX2,
7130 PA_CHANNEL_POSITION_AUX3,
7131 PA_CHANNEL_POSITION_AUX4,
7132 PA_CHANNEL_POSITION_AUX5,
7133 PA_CHANNEL_POSITION_AUX6,
7134 PA_CHANNEL_POSITION_AUX7,
7135 PA_CHANNEL_POSITION_AUX8,
7136 PA_CHANNEL_POSITION_AUX9,
7137 PA_CHANNEL_POSITION_AUX10,
7138 PA_CHANNEL_POSITION_AUX11,
7139 PA_CHANNEL_POSITION_AUX12,
7140 PA_CHANNEL_POSITION_AUX13,
7141 PA_CHANNEL_POSITION_AUX14,
7142 PA_CHANNEL_POSITION_AUX15,
7143 PA_CHANNEL_POSITION_AUX16,
7144 PA_CHANNEL_POSITION_AUX17,
7145 PA_CHANNEL_POSITION_AUX18,
7146 PA_CHANNEL_POSITION_AUX19,
7147 PA_CHANNEL_POSITION_AUX20,
7148 PA_CHANNEL_POSITION_AUX21,
7149 PA_CHANNEL_POSITION_AUX22,
7150 PA_CHANNEL_POSITION_AUX23,
7151 PA_CHANNEL_POSITION_AUX24,
7152 PA_CHANNEL_POSITION_AUX25,
7153 PA_CHANNEL_POSITION_AUX26,
7154 PA_CHANNEL_POSITION_AUX27,
7155 PA_CHANNEL_POSITION_AUX28,
7156 PA_CHANNEL_POSITION_AUX29,
7157 PA_CHANNEL_POSITION_AUX30,
7158 PA_CHANNEL_POSITION_AUX31,
7159
7160 PA_CHANNEL_POSITION_TOP_CENTER,
7161
7162 PA_CHANNEL_POSITION_TOP_FRONT_LEFT,
7163 PA_CHANNEL_POSITION_TOP_FRONT_RIGHT,
7164 PA_CHANNEL_POSITION_TOP_FRONT_CENTER,
7165
7166 PA_CHANNEL_POSITION_TOP_REAR_LEFT,
7167 PA_CHANNEL_POSITION_TOP_REAR_RIGHT,
7168 PA_CHANNEL_POSITION_TOP_REAR_CENTER,
7169
7170 PA_CHANNEL_POSITION_MAX
7171 } pa_channel_position_t;
7172 # 209 "./pulse/channelmap.h"
7173 typedef uint64_t pa_channel_position_mask_t;
7174
7175
7176
7177
7178
7179 typedef enum pa_channel_map_def {
7180 PA_CHANNEL_MAP_AIFF,
7181
7182
7183
7184 PA_CHANNEL_MAP_ALSA,
7185
7186
7187
7188
7189
7190 PA_CHANNEL_MAP_AUX,
7191
7192
7193 PA_CHANNEL_MAP_WAVEEX,
7194
7195
7196
7197
7198 PA_CHANNEL_MAP_OSS,
7199
7200
7201
7202
7203
7204
7205
7206 PA_CHANNEL_MAP_DEF_MAX,
7207
7208 PA_CHANNEL_MAP_DEFAULT = PA_CHANNEL_MAP_AIFF
7209
7210 } pa_channel_map_def_t;
7211 # 261 "./pulse/channelmap.h"
7212 typedef struct pa_channel_map {
7213 uint8_t channels;
7214
7215
7216 pa_channel_position_t map[32U];
7217
7218 } pa_channel_map;
7219
7220
7221
7222
7223 pa_channel_map* pa_channel_map_init(pa_channel_map *m);
7224
7225
7226 pa_channel_map* pa_channel_map_init_mono(pa_channel_map *m);
7227
7228
7229 pa_channel_map* pa_channel_map_init_stereo(pa_channel_map *m);
7230
7231
7232
7233
7234
7235 pa_channel_map* pa_channel_map_init_auto(pa_channel_map *m, unsigned channels, pa_channel_map_def_t def);
7236
7237
7238
7239
7240
7241 pa_channel_map* pa_channel_map_init_extend(pa_channel_map *m, unsigned channels, pa_channel_map_def_t def);
7242
7243
7244 const char* pa_channel_position_to_string(pa_channel_position_t pos) __attribute__ ((pure));
7245
7246
7247 pa_channel_position_t pa_channel_position_from_string(const char *s) __attribute__ ((pure));
7248
7249
7250 const char* pa_channel_position_to_pretty_string(pa_channel_position_t pos);
7251 # 309 "./pulse/channelmap.h"
7252 char* pa_channel_map_snprint(char *s, size_t l, const pa_channel_map *map);
7253
7254
7255
7256
7257
7258 pa_channel_map *pa_channel_map_parse(pa_channel_map *map, const char *s);
7259
7260
7261 int pa_channel_map_equal(const pa_channel_map *a, const pa_channel_map *b) __attribute__ ((pure));
7262
7263
7264 int pa_channel_map_valid(const pa_channel_map *map) __attribute__ ((pure));
7265
7266
7267
7268 int pa_channel_map_compatible(const pa_channel_map *map, const pa_sample_spec *ss) __attribute__ ((pure));
7269
7270
7271 int pa_channel_map_superset(const pa_channel_map *a, const pa_channel_map *b) __attribute__ ((pure));
7272
7273
7274
7275
7276 int pa_channel_map_can_balance(const pa_channel_map *map) __attribute__ ((pure));
7277
7278
7279
7280
7281 int pa_channel_map_can_fade(const pa_channel_map *map) __attribute__ ((pure));
7282
7283
7284
7285
7286
7287 const char* pa_channel_map_to_name(const pa_channel_map *map) __attribute__ ((pure));
7288
7289
7290
7291
7292 const char* pa_channel_map_to_pretty_name(const pa_channel_map *map) __attribute__ ((pure));
7293
7294
7295
7296 int pa_channel_map_has_position(const pa_channel_map *map, pa_channel_position_t p) __attribute__ ((pure));
7297
7298
7299 pa_channel_position_mask_t pa_channel_map_mask(const pa_channel_map *map) __attribute__ ((pure));
7300
7301
7302 # 33 "./pulse/volume.h" 2
7303 # 97 "./pulse/volume.h"
7304
7305
7306
7307
7308
7309
7310
7311 typedef uint32_t pa_volume_t;
7312 # 119 "./pulse/volume.h"
7313 typedef struct pa_cvolume {
7314 uint8_t channels;
7315 pa_volume_t values[32U];
7316 } pa_cvolume;
7317
7318
7319 int pa_cvolume_equal(const pa_cvolume *a, const pa_cvolume *b) __attribute__ ((pure));
7320
7321
7322
7323
7324 pa_cvolume* pa_cvolume_init(pa_cvolume *a);
7325 # 139 "./pulse/volume.h"
7326 pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v);
7327 # 149 "./pulse/volume.h"
7328 char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c);
7329 # 159 "./pulse/volume.h"
7330 char *pa_sw_cvolume_snprint_dB(char *s, size_t l, const pa_cvolume *c);
7331 # 169 "./pulse/volume.h"
7332 char *pa_volume_snprint(char *s, size_t l, pa_volume_t v);
7333 # 179 "./pulse/volume.h"
7334 char *pa_sw_volume_snprint_dB(char *s, size_t l, pa_volume_t v);
7335
7336
7337 pa_volume_t pa_cvolume_avg(const pa_cvolume *a) __attribute__ ((pure));
7338
7339
7340
7341
7342
7343
7344 pa_volume_t pa_cvolume_avg_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_mask_t mask) __attribute__ ((pure));
7345
7346
7347 pa_volume_t pa_cvolume_max(const pa_cvolume *a) __attribute__ ((pure));
7348
7349
7350
7351
7352
7353
7354 pa_volume_t pa_cvolume_max_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_mask_t mask) __attribute__ ((pure));
7355
7356
7357 pa_volume_t pa_cvolume_min(const pa_cvolume *a) __attribute__ ((pure));
7358
7359
7360
7361
7362
7363
7364 pa_volume_t pa_cvolume_min_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_mask_t mask) __attribute__ ((pure));
7365
7366
7367 int pa_cvolume_valid(const pa_cvolume *v) __attribute__ ((pure));
7368
7369
7370 int pa_cvolume_channels_equal_to(const pa_cvolume *a, pa_volume_t v) __attribute__ ((pure));
7371 # 226 "./pulse/volume.h"
7372 pa_volume_t pa_sw_volume_multiply(pa_volume_t a, pa_volume_t b) __attribute__ ((const));
7373
7374
7375
7376
7377 pa_cvolume *pa_sw_cvolume_multiply(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
7378
7379
7380
7381
7382
7383 pa_cvolume *pa_sw_cvolume_multiply_scalar(pa_cvolume *dest, const pa_cvolume *a, pa_volume_t b);
7384
7385
7386
7387
7388
7389 pa_volume_t pa_sw_volume_divide(pa_volume_t a, pa_volume_t b) __attribute__ ((const));
7390
7391
7392
7393
7394 pa_cvolume *pa_sw_cvolume_divide(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
7395
7396
7397
7398
7399
7400 pa_cvolume *pa_sw_cvolume_divide_scalar(pa_cvolume *dest, const pa_cvolume *a, pa_volume_t b);
7401
7402
7403 pa_volume_t pa_sw_volume_from_dB(double f) __attribute__ ((const));
7404
7405
7406 double pa_sw_volume_to_dB(pa_volume_t v) __attribute__ ((const));
7407
7408
7409 pa_volume_t pa_sw_volume_from_linear(double v) __attribute__ ((const));
7410
7411
7412 double pa_sw_volume_to_linear(pa_volume_t v) __attribute__ ((const));
7413 # 276 "./pulse/volume.h"
7414 pa_cvolume *pa_cvolume_remap(pa_cvolume *v, const pa_channel_map *from, const pa_channel_map *to);
7415
7416
7417
7418 int pa_cvolume_compatible(const pa_cvolume *v, const pa_sample_spec *ss) __attribute__ ((pure));
7419
7420
7421
7422 int pa_cvolume_compatible_with_channel_map(const pa_cvolume *v, const pa_channel_map *cm) __attribute__ ((pure));
7423
7424
7425
7426
7427
7428
7429 float pa_cvolume_get_balance(const pa_cvolume *v, const pa_channel_map *map) __attribute__ ((pure));
7430 # 302 "./pulse/volume.h"
7431 pa_cvolume* pa_cvolume_set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance);
7432
7433
7434
7435
7436
7437
7438 float pa_cvolume_get_fade(const pa_cvolume *v, const pa_channel_map *map) __attribute__ ((pure));
7439 # 320 "./pulse/volume.h"
7440 pa_cvolume* pa_cvolume_set_fade(pa_cvolume *v, const pa_channel_map *map, float new_fade);
7441
7442
7443
7444
7445 pa_cvolume* pa_cvolume_scale(pa_cvolume *v, pa_volume_t max);
7446
7447
7448
7449
7450
7451 pa_cvolume* pa_cvolume_scale_mask(pa_cvolume *v, pa_volume_t max, pa_channel_map *cm, pa_channel_position_mask_t mask);
7452
7453
7454
7455
7456
7457
7458 pa_cvolume* pa_cvolume_set_position(pa_cvolume *cv, const pa_channel_map *map, pa_channel_position_t t, pa_volume_t v);
7459
7460
7461
7462
7463
7464 pa_volume_t pa_cvolume_get_position(pa_cvolume *cv, const pa_channel_map *map, pa_channel_position_t t) __attribute__ ((pure));
7465
7466
7467
7468
7469 pa_cvolume* pa_cvolume_merge(pa_cvolume *dest, const pa_cvolume *a, const pa_cvolume *b);
7470
7471
7472
7473 pa_cvolume* pa_cvolume_inc(pa_cvolume *v, pa_volume_t inc);
7474
7475
7476
7477 pa_cvolume* pa_cvolume_dec(pa_cvolume *v, pa_volume_t dec);
7478
7479
7480 # 28 "pulsecore/sample-util.h" 2
7481
7482 # 1 "./pulsecore/memblock.h" 1
7483 # 29 "./pulsecore/memblock.h"
7484 # 1 "./pulse/def.h" 1
7485 # 27 "./pulse/def.h"
7486 # 1 "/usr/include/sys/time.h" 1 3 4
7487 # 27 "/usr/include/sys/time.h" 3 4
7488 # 1 "/usr/include/time.h" 1 3 4
7489 # 28 "/usr/include/sys/time.h" 2 3 4
7490
7491 # 1 "/usr/include/bits/time.h" 1 3 4
7492 # 30 "/usr/include/sys/time.h" 2 3 4
7493 # 39 "/usr/include/sys/time.h" 3 4
7494
7495 # 57 "/usr/include/sys/time.h" 3 4
7496 struct timezone
7497 {
7498 int tz_minuteswest;
7499 int tz_dsttime;
7500 };
7501
7502 typedef struct timezone *__restrict __timezone_ptr_t;
7503 # 73 "/usr/include/sys/time.h" 3 4
7504 extern int gettimeofday (struct timeval *__restrict __tv,
7505 __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7506
7507
7508
7509
7510 extern int settimeofday (__const struct timeval *__tv,
7511 __const struct timezone *__tz)
7512 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7513
7514
7515
7516
7517
7518 extern int adjtime (__const struct timeval *__delta,
7519 struct timeval *__olddelta) __attribute__ ((__nothrow__));
7520
7521
7522
7523
7524 enum __itimer_which
7525 {
7526
7527 ITIMER_REAL = 0,
7528
7529
7530 ITIMER_VIRTUAL = 1,
7531
7532
7533
7534 ITIMER_PROF = 2
7535
7536 };
7537
7538
7539
7540 struct itimerval
7541 {
7542
7543 struct timeval it_interval;
7544
7545 struct timeval it_value;
7546 };
7547
7548
7549
7550
7551 typedef enum __itimer_which __itimer_which_t;
7552
7553
7554
7555
7556
7557
7558 extern int getitimer (__itimer_which_t __which,
7559 struct itimerval *__value) __attribute__ ((__nothrow__));
7560
7561
7562
7563
7564 extern int setitimer (__itimer_which_t __which,
7565 __const struct itimerval *__restrict __new,
7566 struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
7567
7568
7569
7570
7571 extern int utimes (__const char *__file, __const struct timeval __tvp[2])
7572 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7573
7574
7575
7576 extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
7577 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7578
7579
7580 extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
7581
7582
7583
7584
7585
7586
7587 extern int futimesat (int __fd, __const char *__file,
7588 __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
7589 # 191 "/usr/include/sys/time.h" 3 4
7590
7591 # 28 "./pulse/def.h" 2
7592 # 1 "/usr/include/time.h" 1 3 4
7593 # 30 "/usr/include/time.h" 3 4
7594
7595
7596
7597
7598
7599
7600
7601
7602 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4
7603 # 39 "/usr/include/time.h" 2 3 4
7604
7605
7606
7607 # 1 "/usr/include/bits/time.h" 1 3 4
7608 # 43 "/usr/include/time.h" 2 3 4
7609 # 131 "/usr/include/time.h" 3 4
7610
7611
7612 struct tm
7613 {
7614 int tm_sec;
7615 int tm_min;
7616 int tm_hour;
7617 int tm_mday;
7618 int tm_mon;
7619 int tm_year;
7620 int tm_wday;
7621 int tm_yday;
7622 int tm_isdst;
7623
7624
7625 long int tm_gmtoff;
7626 __const char *tm_zone;
7627
7628
7629
7630
7631 };
7632
7633
7634
7635
7636
7637
7638
7639
7640 struct itimerspec
7641 {
7642 struct timespec it_interval;
7643 struct timespec it_value;
7644 };
7645
7646
7647 struct sigevent;
7648 # 180 "/usr/include/time.h" 3 4
7649
7650
7651
7652 extern clock_t clock (void) __attribute__ ((__nothrow__));
7653
7654
7655 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
7656
7657
7658 extern double difftime (time_t __time1, time_t __time0)
7659 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7660
7661
7662 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
7663
7664
7665
7666
7667
7668 extern size_t strftime (char *__restrict __s, size_t __maxsize,
7669 __const char *__restrict __format,
7670 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
7671
7672
7673
7674
7675
7676 extern char *strptime (__const char *__restrict __s,
7677 __const char *__restrict __fmt, struct tm *__tp)
7678 __attribute__ ((__nothrow__));
7679
7680
7681
7682
7683
7684
7685
7686 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
7687 __const char *__restrict __format,
7688 __const struct tm *__restrict __tp,
7689 __locale_t __loc) __attribute__ ((__nothrow__));
7690
7691
7692
7693 extern char *strptime_l (__const char *__restrict __s,
7694 __const char *__restrict __fmt, struct tm *__tp,
7695 __locale_t __loc) __attribute__ ((__nothrow__));
7696
7697
7698
7699
7700
7701
7702 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
7703
7704
7705
7706 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
7707
7708
7709
7710
7711
7712 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
7713 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
7714
7715
7716
7717 extern struct tm *localtime_r (__const time_t *__restrict __timer,
7718 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
7719
7720
7721
7722
7723
7724 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
7725
7726
7727 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
7728
7729
7730
7731
7732
7733
7734
7735 extern char *asctime_r (__const struct tm *__restrict __tp,
7736 char *__restrict __buf) __attribute__ ((__nothrow__));
7737
7738
7739 extern char *ctime_r (__const time_t *__restrict __timer,
7740 char *__restrict __buf) __attribute__ ((__nothrow__));
7741
7742
7743
7744
7745 extern char *__tzname[2];
7746 extern int __daylight;
7747 extern long int __timezone;
7748
7749
7750
7751
7752 extern char *tzname[2];
7753
7754
7755
7756 extern void tzset (void) __attribute__ ((__nothrow__));
7757
7758
7759
7760 extern int daylight;
7761 extern long int timezone;
7762
7763
7764
7765
7766
7767 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
7768 # 313 "/usr/include/time.h" 3 4
7769 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
7770
7771
7772 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
7773
7774
7775 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7776 # 328 "/usr/include/time.h" 3 4
7777 extern int nanosleep (__const struct timespec *__requested_time,
7778 struct timespec *__remaining);
7779
7780
7781
7782 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
7783
7784
7785 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
7786
7787
7788 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
7789 __attribute__ ((__nothrow__));
7790
7791
7792
7793
7794
7795
7796 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
7797 __const struct timespec *__req,
7798 struct timespec *__rem);
7799
7800
7801 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
7802
7803
7804
7805
7806 extern int timer_create (clockid_t __clock_id,
7807 struct sigevent *__restrict __evp,
7808 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
7809
7810
7811 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
7812
7813
7814 extern int timer_settime (timer_t __timerid, int __flags,
7815 __const struct itimerspec *__restrict __value,
7816 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
7817
7818
7819 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
7820 __attribute__ ((__nothrow__));
7821
7822
7823 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
7824 # 390 "/usr/include/time.h" 3 4
7825 extern int getdate_err;
7826 # 399 "/usr/include/time.h" 3 4
7827 extern struct tm *getdate (__const char *__string);
7828 # 413 "/usr/include/time.h" 3 4
7829 extern int getdate_r (__const char *__restrict __string,
7830 struct tm *__restrict __resbufp);
7831
7832
7833
7834 # 29 "./pulse/def.h" 2
7835 # 37 "./pulse/def.h"
7836
7837
7838
7839 typedef enum pa_context_state {
7840 PA_CONTEXT_UNCONNECTED,
7841 PA_CONTEXT_CONNECTING,
7842 PA_CONTEXT_AUTHORIZING,
7843 PA_CONTEXT_SETTING_NAME,
7844 PA_CONTEXT_READY,
7845 PA_CONTEXT_FAILED,
7846 PA_CONTEXT_TERMINATED
7847 } pa_context_state_t;
7848
7849
7850 static inline int PA_CONTEXT_IS_GOOD(pa_context_state_t x) {
7851 return
7852 x == PA_CONTEXT_CONNECTING ||
7853 x == PA_CONTEXT_AUTHORIZING ||
7854 x == PA_CONTEXT_SETTING_NAME ||
7855 x == PA_CONTEXT_READY;
7856 }
7857 # 70 "./pulse/def.h"
7858 typedef enum pa_stream_state {
7859 PA_STREAM_UNCONNECTED,
7860 PA_STREAM_CREATING,
7861 PA_STREAM_READY,
7862 PA_STREAM_FAILED,
7863 PA_STREAM_TERMINATED
7864 } pa_stream_state_t;
7865
7866
7867 static inline int PA_STREAM_IS_GOOD(pa_stream_state_t x) {
7868 return
7869 x == PA_STREAM_CREATING ||
7870 x == PA_STREAM_READY;
7871 }
7872 # 95 "./pulse/def.h"
7873 typedef enum pa_operation_state {
7874 PA_OPERATION_RUNNING,
7875 PA_OPERATION_DONE,
7876 PA_OPERATION_CANCELLED
7877 } pa_operation_state_t;
7878 # 112 "./pulse/def.h"
7879 typedef enum pa_context_flags {
7880 PA_CONTEXT_NOFLAGS = 0x0000U,
7881
7882 PA_CONTEXT_NOAUTOSPAWN = 0x0001U,
7883
7884 PA_CONTEXT_NOFAIL = 0x0002U
7885
7886 } pa_context_flags_t;
7887 # 128 "./pulse/def.h"
7888 typedef enum pa_stream_direction {
7889 PA_STREAM_NODIRECTION,
7890 PA_STREAM_PLAYBACK,
7891 PA_STREAM_RECORD,
7892 PA_STREAM_UPLOAD
7893 } pa_stream_direction_t;
7894 # 143 "./pulse/def.h"
7895 typedef enum pa_stream_flags {
7896
7897 PA_STREAM_NOFLAGS = 0x0000U,
7898
7899
7900 PA_STREAM_START_CORKED = 0x0001U,
7901
7902
7903
7904 PA_STREAM_INTERPOLATE_TIMING = 0x0002U,
7905 # 164 "./pulse/def.h"
7906 PA_STREAM_NOT_MONOTONIC = 0x0004U,
7907 # 176 "./pulse/def.h"
7908 PA_STREAM_AUTO_TIMING_UPDATE = 0x0008U,
7909
7910
7911
7912
7913
7914
7915 PA_STREAM_NO_REMAP_CHANNELS = 0x0010U,
7916
7917
7918
7919
7920
7921 PA_STREAM_NO_REMIX_CHANNELS = 0x0020U,
7922
7923
7924
7925
7926
7927 PA_STREAM_FIX_FORMAT = 0x0040U,
7928 # 207 "./pulse/def.h"
7929 PA_STREAM_FIX_RATE = 0x0080U,
7930
7931
7932
7933
7934
7935 PA_STREAM_FIX_CHANNELS = 0x0100,
7936
7937
7938
7939
7940
7941
7942 PA_STREAM_DONT_MOVE = 0x0200U,
7943 # 229 "./pulse/def.h"
7944 PA_STREAM_VARIABLE_RATE = 0x0400U,
7945
7946
7947
7948
7949
7950 PA_STREAM_PEAK_DETECT = 0x0800U,
7951
7952
7953 PA_STREAM_START_MUTED = 0x1000U,
7954
7955
7956
7957
7958
7959 PA_STREAM_ADJUST_LATENCY = 0x2000U,
7960
7961
7962
7963
7964
7965
7966 PA_STREAM_EARLY_REQUESTS = 0x4000U,
7967 # 268 "./pulse/def.h"
7968 PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND = 0x8000U,
7969
7970
7971
7972
7973 PA_STREAM_START_UNMUTED = 0x10000U,
7974
7975
7976
7977
7978
7979 PA_STREAM_FAIL_ON_SUSPEND = 0x20000U
7980
7981
7982
7983
7984 } pa_stream_flags_t;
7985 # 314 "./pulse/def.h"
7986 typedef struct pa_buffer_attr {
7987 uint32_t maxlength;
7988
7989
7990
7991
7992 uint32_t tlength;
7993 # 338 "./pulse/def.h"
7994 uint32_t prebuf;
7995 # 349 "./pulse/def.h"
7996 uint32_t minreq;
7997 # 359 "./pulse/def.h"
7998 uint32_t fragsize;
7999 # 373 "./pulse/def.h"
8000 } pa_buffer_attr;
8001
8002
8003 enum {
8004 PA_OK = 0,
8005 PA_ERR_ACCESS,
8006 PA_ERR_COMMAND,
8007 PA_ERR_INVALID,
8008 PA_ERR_EXIST,
8009 PA_ERR_NOENTITY,
8010 PA_ERR_CONNECTIONREFUSED,
8011 PA_ERR_PROTOCOL,
8012 PA_ERR_TIMEOUT,
8013 PA_ERR_AUTHKEY,
8014 PA_ERR_INTERNAL,
8015 PA_ERR_CONNECTIONTERMINATED,
8016 PA_ERR_KILLED,
8017 PA_ERR_INVALIDSERVER,
8018 PA_ERR_MODINITFAILED,
8019 PA_ERR_BADSTATE,
8020 PA_ERR_NODATA,
8021 PA_ERR_VERSION,
8022 PA_ERR_TOOLARGE,
8023 PA_ERR_NOTSUPPORTED,
8024 PA_ERR_UNKNOWN,
8025 PA_ERR_NOEXTENSION,
8026 PA_ERR_OBSOLETE,
8027 PA_ERR_NOTIMPLEMENTED,
8028 PA_ERR_FORKED,
8029 PA_ERR_IO,
8030 PA_ERR_BUSY,
8031 PA_ERR_MAX
8032 };
8033 # 437 "./pulse/def.h"
8034 typedef enum pa_subscription_mask {
8035 PA_SUBSCRIPTION_MASK_NULL = 0x0000U,
8036
8037
8038 PA_SUBSCRIPTION_MASK_SINK = 0x0001U,
8039
8040
8041 PA_SUBSCRIPTION_MASK_SOURCE = 0x0002U,
8042
8043
8044 PA_SUBSCRIPTION_MASK_SINK_INPUT = 0x0004U,
8045
8046
8047 PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT = 0x0008U,
8048
8049
8050 PA_SUBSCRIPTION_MASK_MODULE = 0x0010U,
8051
8052
8053 PA_SUBSCRIPTION_MASK_CLIENT = 0x0020U,
8054
8055
8056 PA_SUBSCRIPTION_MASK_SAMPLE_CACHE = 0x0040U,
8057
8058
8059 PA_SUBSCRIPTION_MASK_SERVER = 0x0080U,
8060
8061
8062
8063 PA_SUBSCRIPTION_MASK_AUTOLOAD = 0x0100U,
8064
8065
8066
8067 PA_SUBSCRIPTION_MASK_CARD = 0x0200U,
8068
8069
8070 PA_SUBSCRIPTION_MASK_ALL = 0x02ffU
8071
8072 } pa_subscription_mask_t;
8073
8074
8075 typedef enum pa_subscription_event_type {
8076 PA_SUBSCRIPTION_EVENT_SINK = 0x0000U,
8077
8078
8079 PA_SUBSCRIPTION_EVENT_SOURCE = 0x0001U,
8080
8081
8082 PA_SUBSCRIPTION_EVENT_SINK_INPUT = 0x0002U,
8083
8084
8085 PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT = 0x0003U,
8086
8087
8088 PA_SUBSCRIPTION_EVENT_MODULE = 0x0004U,
8089
8090
8091 PA_SUBSCRIPTION_EVENT_CLIENT = 0x0005U,
8092
8093
8094 PA_SUBSCRIPTION_EVENT_SAMPLE_CACHE = 0x0006U,
8095
8096
8097 PA_SUBSCRIPTION_EVENT_SERVER = 0x0007U,
8098
8099
8100
8101 PA_SUBSCRIPTION_EVENT_AUTOLOAD = 0x0008U,
8102
8103
8104
8105 PA_SUBSCRIPTION_EVENT_CARD = 0x0009U,
8106
8107
8108 PA_SUBSCRIPTION_EVENT_FACILITY_MASK = 0x000FU,
8109
8110
8111 PA_SUBSCRIPTION_EVENT_NEW = 0x0000U,
8112
8113
8114 PA_SUBSCRIPTION_EVENT_CHANGE = 0x0010U,
8115
8116
8117 PA_SUBSCRIPTION_EVENT_REMOVE = 0x0020U,
8118
8119
8120 PA_SUBSCRIPTION_EVENT_TYPE_MASK = 0x0030U
8121
8122
8123 } pa_subscription_event_type_t;
8124 # 579 "./pulse/def.h"
8125 typedef struct pa_timing_info {
8126 struct timeval timestamp;
8127
8128
8129 int synchronized_clocks;
8130
8131
8132
8133
8134
8135
8136 pa_usec_t sink_usec;
8137
8138
8139
8140
8141 pa_usec_t source_usec;
8142
8143
8144
8145 pa_usec_t transport_usec;
8146
8147
8148
8149 int playing;
8150
8151
8152
8153
8154
8155
8156 int write_index_corrupt;
8157
8158
8159
8160
8161
8162
8163 int64_t write_index;
8164
8165
8166
8167
8168
8169 int read_index_corrupt;
8170
8171
8172
8173
8174 int64_t read_index;
8175
8176
8177
8178
8179
8180 pa_usec_t configured_sink_usec;
8181
8182
8183 pa_usec_t configured_source_usec;
8184
8185
8186 int64_t since_underrun;
8187
8188
8189
8190
8191
8192 } pa_timing_info;
8193 # 655 "./pulse/def.h"
8194 typedef struct pa_spawn_api {
8195 void (*prefork)(void);
8196
8197
8198
8199 void (*postfork)(void);
8200
8201
8202
8203 void (*atfork)(void);
8204
8205
8206
8207
8208
8209 } pa_spawn_api;
8210
8211
8212 typedef enum pa_seek_mode {
8213 PA_SEEK_RELATIVE = 0,
8214
8215
8216 PA_SEEK_ABSOLUTE = 1,
8217
8218
8219 PA_SEEK_RELATIVE_ON_READ = 2,
8220
8221
8222 PA_SEEK_RELATIVE_END = 3
8223
8224 } pa_seek_mode_t;
8225 # 695 "./pulse/def.h"
8226 typedef enum pa_sink_flags {
8227 PA_SINK_NOFLAGS = 0x0000U,
8228
8229
8230 PA_SINK_HW_VOLUME_CTRL = 0x0001U,
8231
8232
8233 PA_SINK_LATENCY = 0x0002U,
8234
8235
8236 PA_SINK_HARDWARE = 0x0004U,
8237
8238
8239
8240 PA_SINK_NETWORK = 0x0008U,
8241
8242
8243 PA_SINK_HW_MUTE_CTRL = 0x0010U,
8244
8245
8246 PA_SINK_DECIBEL_VOLUME = 0x0020U,
8247
8248
8249
8250 PA_SINK_FLAT_VOLUME = 0x0040U,
8251
8252
8253
8254 PA_SINK_DYNAMIC_LATENCY = 0x0080U
8255
8256
8257 } pa_sink_flags_t;
8258 # 740 "./pulse/def.h"
8259 typedef enum pa_sink_state {
8260 PA_SINK_INVALID_STATE = -1,
8261
8262
8263 PA_SINK_RUNNING = 0,
8264
8265
8266 PA_SINK_IDLE = 1,
8267
8268
8269 PA_SINK_SUSPENDED = 2,
8270 # 760 "./pulse/def.h"
8271 PA_SINK_INIT = -2,
8272
8273
8274 PA_SINK_UNLINKED = -3
8275
8276
8277
8278 } pa_sink_state_t;
8279
8280
8281 static inline int PA_SINK_IS_OPENED(pa_sink_state_t x) {
8282 return x == PA_SINK_RUNNING || x == PA_SINK_IDLE;
8283 }
8284 # 785 "./pulse/def.h"
8285 typedef enum pa_source_flags {
8286 PA_SOURCE_NOFLAGS = 0x0000U,
8287
8288
8289 PA_SOURCE_HW_VOLUME_CTRL = 0x0001U,
8290
8291
8292 PA_SOURCE_LATENCY = 0x0002U,
8293
8294
8295 PA_SOURCE_HARDWARE = 0x0004U,
8296
8297
8298
8299 PA_SOURCE_NETWORK = 0x0008U,
8300
8301
8302 PA_SOURCE_HW_MUTE_CTRL = 0x0010U,
8303
8304
8305 PA_SOURCE_DECIBEL_VOLUME = 0x0020U,
8306
8307
8308
8309 PA_SOURCE_DYNAMIC_LATENCY = 0x0040U
8310
8311
8312 } pa_source_flags_t;
8313 # 825 "./pulse/def.h"
8314 typedef enum pa_source_state {
8315 PA_SOURCE_INVALID_STATE = -1,
8316
8317
8318 PA_SOURCE_RUNNING = 0,
8319
8320
8321 PA_SOURCE_IDLE = 1,
8322
8323
8324 PA_SOURCE_SUSPENDED = 2,
8325 # 845 "./pulse/def.h"
8326 PA_SOURCE_INIT = -2,
8327
8328
8329 PA_SOURCE_UNLINKED = -3
8330
8331
8332
8333 } pa_source_state_t;
8334
8335
8336 static inline int PA_SOURCE_IS_OPENED(pa_source_state_t x) {
8337 return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE;
8338 }
8339 # 870 "./pulse/def.h"
8340 typedef void (*pa_free_cb_t)(void *p);
8341 # 882 "./pulse/def.h"
8342
8343 # 30 "./pulsecore/memblock.h" 2
8344 # 1 "./pulsecore/llist.h" 1
8345 # 31 "./pulsecore/memblock.h" 2
8346 # 1 "./pulsecore/refcnt.h" 1
8347 # 25 "./pulsecore/refcnt.h"
8348 # 1 "./pulsecore/atomic.h" 1
8349 # 49 "./pulsecore/atomic.h"
8350 typedef struct pa_atomic {
8351 volatile int value;
8352 } pa_atomic_t;
8353
8354
8355
8356 static inline int pa_atomic_load(const pa_atomic_t *a) {
8357 __sync_synchronize();
8358 return a->value;
8359 }
8360
8361 static inline void pa_atomic_store(pa_atomic_t *a, int i) {
8362 a->value = i;
8363 __sync_synchronize();
8364 }
8365
8366
8367 static inline int pa_atomic_add(pa_atomic_t *a, int i) {
8368 return __sync_fetch_and_add(&a->value, i);
8369 }
8370
8371
8372 static inline int pa_atomic_sub(pa_atomic_t *a, int i) {
8373 return __sync_fetch_and_sub(&a->value, i);
8374 }
8375
8376
8377 static inline int pa_atomic_inc(pa_atomic_t *a) {
8378 return pa_atomic_add(a, 1);
8379 }
8380
8381
8382 static inline int pa_atomic_dec(pa_atomic_t *a) {
8383 return pa_atomic_sub(a, 1);
8384 }
8385
8386
8387 static inline pa_bool_t pa_atomic_cmpxchg(pa_atomic_t *a, int old_i, int new_i) {
8388 return __sync_bool_compare_and_swap(&a->value, old_i, new_i);
8389 }
8390
8391 typedef struct pa_atomic_ptr {
8392 volatile unsigned long value;
8393 } pa_atomic_ptr_t;
8394
8395
8396
8397 static inline void* pa_atomic_ptr_load(const pa_atomic_ptr_t *a) {
8398 __sync_synchronize();
8399 return (void*) a->value;
8400 }
8401
8402 static inline void pa_atomic_ptr_store(pa_atomic_ptr_t *a, void *p) {
8403 a->value = (unsigned long) p;
8404 __sync_synchronize();
8405 }
8406
8407 static inline pa_bool_t pa_atomic_ptr_cmpxchg(pa_atomic_ptr_t *a, void *old_p, void* new_p) {
8408 return __sync_bool_compare_and_swap(&a->value, (long) old_p, (long) new_p);
8409 }
8410 # 26 "./pulsecore/refcnt.h" 2
8411 # 32 "./pulsecore/memblock.h" 2
8412 # 40 "./pulsecore/memblock.h"
8413 typedef enum pa_memblock_type {
8414 PA_MEMBLOCK_POOL,
8415 PA_MEMBLOCK_POOL_EXTERNAL,
8416 PA_MEMBLOCK_APPENDED,
8417 PA_MEMBLOCK_USER,
8418 PA_MEMBLOCK_FIXED,
8419 PA_MEMBLOCK_IMPORTED,
8420 PA_MEMBLOCK_TYPE_MAX
8421 } pa_memblock_type_t;
8422
8423 typedef struct pa_memblock pa_memblock;
8424 typedef struct pa_mempool pa_mempool;
8425 typedef struct pa_mempool_stat pa_mempool_stat;
8426 typedef struct pa_memimport_segment pa_memimport_segment;
8427 typedef struct pa_memimport pa_memimport;
8428 typedef struct pa_memexport pa_memexport;
8429
8430 typedef void (*pa_memimport_release_cb_t)(pa_memimport *i, uint32_t block_id, void *userdata);
8431 typedef void (*pa_memexport_revoke_cb_t)(pa_memexport *e, uint32_t block_id, void *userdata);
8432
8433
8434
8435
8436
8437 struct pa_mempool_stat {
8438 pa_atomic_t n_allocated;
8439 pa_atomic_t n_accumulated;
8440 pa_atomic_t n_imported;
8441 pa_atomic_t n_exported;
8442 pa_atomic_t allocated_size;
8443 pa_atomic_t accumulated_size;
8444 pa_atomic_t imported_size;
8445 pa_atomic_t exported_size;
8446
8447 pa_atomic_t n_too_large_for_pool;
8448 pa_atomic_t n_pool_full;
8449
8450 pa_atomic_t n_allocated_by_type[PA_MEMBLOCK_TYPE_MAX];
8451 pa_atomic_t n_accumulated_by_type[PA_MEMBLOCK_TYPE_MAX];
8452 };
8453
8454
8455 pa_memblock *pa_memblock_new(pa_mempool *, size_t length);
8456
8457
8458 pa_memblock *pa_memblock_new_pool(pa_mempool *, size_t length);
8459
8460
8461 pa_memblock *pa_memblock_new_user(pa_mempool *, void *data, size_t length, pa_free_cb_t free_cb, pa_bool_t read_only);
8462
8463
8464
8465
8466
8467 pa_memblock *pa_memblock_new_fixed(pa_mempool *, void *data, size_t length, pa_bool_t read_only);
8468
8469 void pa_memblock_unref(pa_memblock*b);
8470 pa_memblock* pa_memblock_ref(pa_memblock*b);
8471
8472
8473
8474
8475
8476
8477
8478 void pa_memblock_unref_fixed(pa_memblock*b);
8479
8480 pa_bool_t pa_memblock_is_read_only(pa_memblock *b);
8481 pa_bool_t pa_memblock_is_silence(pa_memblock *b);
8482 pa_bool_t pa_memblock_ref_is_one(pa_memblock *b);
8483 void pa_memblock_set_is_silence(pa_memblock *b, pa_bool_t v);
8484
8485 void* pa_memblock_acquire(pa_memblock *b);
8486 void pa_memblock_release(pa_memblock *b);
8487 size_t pa_memblock_get_length(pa_memblock *b);
8488 pa_mempool * pa_memblock_get_pool(pa_memblock *b);
8489
8490 pa_memblock *pa_memblock_will_need(pa_memblock *b);
8491
8492
8493 pa_mempool* pa_mempool_new(pa_bool_t shared, size_t size);
8494 void pa_mempool_free(pa_mempool *p);
8495 const pa_mempool_stat* pa_mempool_get_stat(pa_mempool *p);
8496 void pa_mempool_vacuum(pa_mempool *p);
8497 int pa_mempool_get_shm_id(pa_mempool *p, uint32_t *id);
8498 pa_bool_t pa_mempool_is_shared(pa_mempool *p);
8499 size_t pa_mempool_block_size_max(pa_mempool *p);
8500
8501
8502 pa_memimport* pa_memimport_new(pa_mempool *p, pa_memimport_release_cb_t cb, void *userdata);
8503 void pa_memimport_free(pa_memimport *i);
8504 pa_memblock* pa_memimport_get(pa_memimport *i, uint32_t block_id, uint32_t shm_id, size_t offset, size_t size);
8505 int pa_memimport_process_revoke(pa_memimport *i, uint32_t block_id);
8506
8507
8508 pa_memexport* pa_memexport_new(pa_mempool *p, pa_memexport_revoke_cb_t cb, void *userdata);
8509 void pa_memexport_free(pa_memexport *e);
8510 int pa_memexport_put(pa_memexport *e, pa_memblock *b, uint32_t *block_id, uint32_t *shm_id, size_t *offset, size_t *size);
8511 int pa_memexport_process_release(pa_memexport *e, uint32_t id);
8512 # 30 "pulsecore/sample-util.h" 2
8513 # 1 "./pulsecore/memchunk.h" 1
8514 # 31 "./pulsecore/memchunk.h"
8515 typedef struct pa_memchunk {
8516 pa_memblock *memblock;
8517 size_t index, length;
8518 } pa_memchunk;
8519
8520
8521
8522
8523
8524
8525 pa_memchunk* pa_memchunk_make_writable(pa_memchunk *c, size_t min);
8526
8527
8528
8529 pa_memchunk* pa_memchunk_reset(pa_memchunk *c);
8530
8531
8532 pa_memchunk *pa_memchunk_will_need(const pa_memchunk *c);
8533
8534
8535 pa_memchunk* pa_memchunk_memcpy(pa_memchunk *dst, pa_memchunk *src);
8536 # 31 "pulsecore/sample-util.h" 2
8537
8538 typedef struct pa_silence_cache {
8539 pa_memblock* blocks[PA_SAMPLE_MAX];
8540 } pa_silence_cache;
8541
8542 void pa_silence_cache_init(pa_silence_cache *cache);
8543 void pa_silence_cache_done(pa_silence_cache *cache);
8544
8545 void *pa_silence_memory(void *p, size_t length, const pa_sample_spec *spec);
8546 pa_memchunk* pa_silence_memchunk(pa_memchunk *c, const pa_sample_spec *spec);
8547 pa_memblock* pa_silence_memblock(pa_memblock *b, const pa_sample_spec *spec);
8548
8549 pa_memchunk* pa_silence_memchunk_get(pa_silence_cache *cache, pa_mempool *pool, pa_memchunk* ret, const pa_sample_spec *spec, size_t length);
8550
8551 typedef struct pa_mix_info {
8552 pa_memchunk chunk;
8553 pa_cvolume volume;
8554 void *userdata;
8555
8556
8557
8558 void *ptr;
8559 union {
8560 int32_t i;
8561 float f;
8562 } linear[32U];
8563 } pa_mix_info;
8564
8565 size_t pa_mix(
8566 pa_mix_info channels[],
8567 unsigned nchannels,
8568 void *data,
8569 size_t length,
8570 const pa_sample_spec *spec,
8571 const pa_cvolume *volume,
8572 pa_bool_t mute);
8573
8574 void pa_volume_memchunk(
8575 pa_memchunk*c,
8576 const pa_sample_spec *spec,
8577 const pa_cvolume *volume);
8578
8579 size_t pa_frame_align(size_t l, const pa_sample_spec *ss) __attribute__ ((pure));
8580
8581 pa_bool_t pa_frame_aligned(size_t l, const pa_sample_spec *ss) __attribute__ ((pure));
8582
8583 void pa_interleave(const void *src[], unsigned channels, void *dst, size_t ss, unsigned n);
8584 void pa_deinterleave(const void *src, void *dst[], unsigned channels, size_t ss, unsigned n);
8585
8586 void pa_sample_clamp(pa_sample_format_t format, void *dst, size_t dstr, const void *src, size_t sstr, unsigned n);
8587
8588 pa_usec_t pa_bytes_to_usec_round_up(uint64_t length, const pa_sample_spec *spec);
8589 size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec);
8590
8591 void pa_memchunk_dump_to_file(pa_memchunk *c, const char *fn);
8592
8593 void pa_memchunk_sine(pa_memchunk *c, pa_mempool *pool, unsigned rate, unsigned freq);
8594
8595 typedef void (*pa_do_volume_func_t) (void *samples, void *volumes, unsigned channels, unsigned length);
8596
8597 pa_do_volume_func_t pa_get_volume_func(pa_sample_format_t f);
8598 void pa_set_volume_func(pa_sample_format_t f, pa_do_volume_func_t func);
8599
8600 size_t pa_convert_size(size_t size, const pa_sample_spec *from, const pa_sample_spec *to);
8601 # 36 "pulsecore/svolume_mmx.c" 2
8602 # 1 "pulsecore/endianmacros.h" 1
8603 # 33 "pulsecore/endianmacros.h"
8604 # 1 "/usr/include/byteswap.h" 1 3 4
8605 # 23 "/usr/include/byteswap.h" 3 4
8606 # 1 "/usr/include/bits/byteswap.h" 1 3 4
8607 # 24 "/usr/include/byteswap.h" 2 3 4
8608 # 34 "pulsecore/endianmacros.h" 2
8609 # 48 "pulsecore/endianmacros.h"
8610 static inline uint32_t PA_READ24BE(const uint8_t *p) {
8611 return
8612 ((uint32_t) p[0] << 16) |
8613 ((uint32_t) p[1] << 8) |
8614 ((uint32_t) p[2]);
8615 }
8616
8617 static inline uint32_t PA_READ24LE(const uint8_t *p) {
8618 return
8619 ((uint32_t) p[2] << 16) |
8620 ((uint32_t) p[1] << 8) |
8621 ((uint32_t) p[0]);
8622 }
8623
8624 static inline void PA_WRITE24BE(uint8_t *p, uint32_t u) {
8625 p[0] = (uint8_t) (u >> 16);
8626 p[1] = (uint8_t) (u >> 8);
8627 p[2] = (uint8_t) u;
8628 }
8629
8630 static inline void PA_WRITE24LE(uint8_t *p, uint32_t u) {
8631 p[2] = (uint8_t) (u >> 16);
8632 p[1] = (uint8_t) (u >> 8);
8633 p[0] = (uint8_t) u;
8634 }
8635
8636 static inline float PA_FLOAT32_SWAP(float x) {
8637 union {
8638 float f;
8639 uint32_t u;
8640 } t;
8641
8642 t.f = x;
8643 t.u = ((uint32_t) (__extension__ ({ register unsigned int __v, __x = ((uint32_t) t.u); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; })));
8644 return t.f;
8645 }
8646 # 37 "pulsecore/svolume_mmx.c" 2
8647 # 94 "pulsecore/svolume_mmx.c"
8648 static void
8649 pa_volume_s16ne_mmx (int16_t *samples, int32_t *volumes, unsigned channels, unsigned length)
8650 {
8651 pa_reg_x86 channel, temp;
8652
8653
8654
8655 channels = __extension__ ({ typeof(4U) _a = (4U); typeof(channels) _b = (channels); _a > _b ? _a : _b; });
8656
8657 __asm__ __volatile__ (
8658 " xor %3, %3 \n\t"
8659 " sar $1, %2 \n\t"
8660
8661 " test $1, %2 \n\t"
8662 " je 2f \n\t"
8663
8664 " movd (%1, %3, 4), %%mm0 \n\t"
8665 " movw (%0), %w4 \n\t"
8666 " movd %4, %%mm1 \n\t"
8667 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8668 " movd %%mm0, %4 \n\t"
8669 " movw %w4, (%0) \n\t"
8670 " add $2, %0 \n\t"
8671 " add ""$1"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8672
8673 "2: \n\t"
8674 " sar $1, %2 \n\t"
8675 " test $1, %2 \n\t"
8676 " je 4f \n\t"
8677
8678 "3: \n\t"
8679 " movq (%1, %3, 4), %%mm0 \n\t"
8680 " movd (%0), %%mm1 \n\t"
8681 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8682 " movd %%mm0, (%0) \n\t"
8683 " add $4, %0 \n\t"
8684 " add ""$2"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8685
8686 "4: \n\t"
8687 " sar $1, %2 \n\t"
8688 " cmp $0, %2 \n\t"
8689 " je 6f \n\t"
8690
8691 "5: \n\t"
8692 " movq (%1, %3, 4), %%mm0 \n\t"
8693 " movq 8(%1, %3, 4), %%mm2 \n\t"
8694 " movd (%0), %%mm1 \n\t"
8695 " movd 4(%0), %%mm3 \n\t"
8696 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8697 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm3"" \n\t" " pcmpgtw ""%%mm2"", %%mm4 \n\t" " pand ""%%mm3"", %%mm4 \n\t" " movq ""%%mm3"", %%mm5 \n\t" " pmulhw ""%%mm2"", ""%%mm3"" \n\t" " paddw %%mm4, ""%%mm3"" \n\t" " psrld $16, ""%%mm2"" \n\t" " pmaddwd %%mm5, ""%%mm2"" \n\t" " paddd ""%%mm3"", ""%%mm2"" \n\t" " packssdw ""%%mm2"", ""%%mm2"" \n\t"
8698 " movd %%mm0, (%0) \n\t"
8699 " movd %%mm2, 4(%0) \n\t"
8700 " add $8, %0 \n\t"
8701 " add ""$4"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8702 " dec %2 \n\t"
8703 " jne 5b \n\t"
8704
8705 "6: \n\t"
8706 " emms \n\t"
8707
8708 : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp)
8709 : "X" ((pa_reg_x86)channels)
8710 : "cc"
8711 );
8712 }
8713
8714 static void
8715 pa_volume_s16re_mmx (int16_t *samples, int32_t *volumes, unsigned channels, unsigned length)
8716 {
8717 pa_reg_x86 channel, temp;
8718
8719
8720
8721 channels = __extension__ ({ typeof(4U) _a = (4U); typeof(channels) _b = (channels); _a > _b ? _a : _b; });
8722
8723 __asm__ __volatile__ (
8724 " xor %3, %3 \n\t"
8725 " sar $1, %2 \n\t"
8726 " pcmpeqw %%mm6, %%mm6 \n\t"
8727 " pcmpeqw %%mm7, %%mm7 \n\t"
8728 " pslld $16, %%mm6 \n\t"
8729 " psrld $31, %%mm7 \n\t"
8730
8731 " test $1, %2 \n\t"
8732 " je 2f \n\t"
8733
8734 " movd (%1, %3, 4), %%mm0 \n\t"
8735 " movw (%0), %w4 \n\t"
8736 " rorw $8, %w4 \n\t"
8737 " movd %4, %%mm1 \n\t"
8738 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8739 " movd %%mm0, %4 \n\t"
8740 " rorw $8, %w4 \n\t"
8741 " movw %w4, (%0) \n\t"
8742 " add $2, %0 \n\t"
8743 " add ""$1"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8744
8745 "2: \n\t"
8746 " sar $1, %2 \n\t"
8747 " test $1, %2 \n\t"
8748 " je 4f \n\t"
8749
8750 "3: \n\t"
8751 " movq (%1, %3, 4), %%mm0 \n\t"
8752 " movd (%0), %%mm1 \n\t"
8753 " movq ""%%mm1"", %%mm4 \n\t" " psrlw $8, %%mm4 \n\t" " psllw $8, ""%%mm1"" \n\t" " por %%mm4, ""%%mm1"" \n\t"
8754 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8755 " movq ""%%mm0"", %%mm4 \n\t" " psrlw $8, %%mm4 \n\t" " psllw $8, ""%%mm0"" \n\t" " por %%mm4, ""%%mm0"" \n\t"
8756 " movd %%mm0, (%0) \n\t"
8757 " add $4, %0 \n\t"
8758 " add ""$2"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8759
8760 "4: \n\t"
8761 " sar $1, %2 \n\t"
8762 " cmp $0, %2 \n\t"
8763 " je 6f \n\t"
8764
8765 "5: \n\t"
8766 " movq (%1, %3, 4), %%mm0 \n\t"
8767 " movq 8(%1, %3, 4), %%mm2 \n\t"
8768 " movd (%0), %%mm1 \n\t"
8769 " movd 4(%0), %%mm3 \n\t"
8770 " movq ""%%mm1"", %%mm4 \n\t" " movq ""%%mm3"", %%mm5 \n\t" " psrlw $8, %%mm4 \n\t" " psrlw $8, %%mm5 \n\t" " psllw $8, ""%%mm1"" \n\t" " psllw $8, ""%%mm3"" \n\t" " por %%mm4, ""%%mm1"" \n\t" " por %%mm5, ""%%mm3"" \n\t"
8771 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm1"" \n\t" " pcmpgtw ""%%mm0"", %%mm4 \n\t" " pand ""%%mm1"", %%mm4 \n\t" " movq ""%%mm1"", %%mm5 \n\t" " pmulhw ""%%mm0"", ""%%mm1"" \n\t" " paddw %%mm4, ""%%mm1"" \n\t" " psrld $16, ""%%mm0"" \n\t" " pmaddwd %%mm5, ""%%mm0"" \n\t" " paddd ""%%mm1"", ""%%mm0"" \n\t" " packssdw ""%%mm0"", ""%%mm0"" \n\t"
8772 " pxor %%mm4, %%mm4 \n\t" " punpcklwd %%mm4, ""%%mm3"" \n\t" " pcmpgtw ""%%mm2"", %%mm4 \n\t" " pand ""%%mm3"", %%mm4 \n\t" " movq ""%%mm3"", %%mm5 \n\t" " pmulhw ""%%mm2"", ""%%mm3"" \n\t" " paddw %%mm4, ""%%mm3"" \n\t" " psrld $16, ""%%mm2"" \n\t" " pmaddwd %%mm5, ""%%mm2"" \n\t" " paddd ""%%mm3"", ""%%mm2"" \n\t" " packssdw ""%%mm2"", ""%%mm2"" \n\t"
8773 " movq ""%%mm0"", %%mm4 \n\t" " movq ""%%mm2"", %%mm5 \n\t" " psrlw $8, %%mm4 \n\t" " psrlw $8, %%mm5 \n\t" " psllw $8, ""%%mm0"" \n\t" " psllw $8, ""%%mm2"" \n\t" " por %%mm4, ""%%mm0"" \n\t" " por %%mm5, ""%%mm2"" \n\t"
8774 " movd %%mm0, (%0) \n\t"
8775 " movd %%mm2, 4(%0) \n\t"
8776 " add $8, %0 \n\t"
8777 " add ""$4"", %3 \n\t" " mov %3, %4 \n\t" " sub ""%5"", %4 \n\t" " cmovae %4, %3 \n\t"
8778 " dec %2 \n\t"
8779 " jne 5b \n\t"
8780
8781 "6: \n\t"
8782 " emms \n\t"
8783
8784 : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp)
8785 : "X" ((pa_reg_x86)channels)
8786 : "cc"
8787 );
8788 }
8789 # 296 "pulsecore/svolume_mmx.c"
8790 void pa_volume_func_init_mmx (pa_cpu_x86_flag_t flags) {
8791
8792
8793
8794
8795
8796
8797 if (flags & PA_CPU_X86_MMX) {
8798 pa_log_level_meta(PA_LOG_INFO, "pulsecore/svolume_mmx.c", 304, __func__, "Initialising MMX optimized functions.");
8799
8800 pa_set_volume_func (PA_SAMPLE_S16LE, (pa_do_volume_func_t) pa_volume_s16ne_mmx);
8801 pa_set_volume_func (PA_SAMPLE_S16BE, (pa_do_volume_func_t) pa_volume_s16re_mmx);
8802 }
8803
8804 }