Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 584114 Details for
Bug 821223
internal compiler error building faad2 with -mtune=pentium4
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
the preprocessed source file requested
cc8u6Pr1.out (text/plain), 207.79 KB, created by
Edward Sheldrake
on 2012-05-13 09:21:24 UTC
(
hide
)
Description:
the preprocessed source file requested
Filename:
MIME Type:
Creator:
Edward Sheldrake
Created:
2012-05-13 09:21:24 UTC
Size:
207.79 KB
patch
obsolete
>// /usr/libexec/gcc/i686-redhat-linux/4.7.0/cc1 -quiet -I . -I .. -D HAVE_CONFIG_H -D PIC -iquote ../include -D_FORTIFY_SOURCE=2 syntax.c -quiet -dumpbase syntax.c -m32 -march=i686 -mtune=pentium4 -auxbase-strip .libs/syntax.o -g -O2 -Wall -fexceptions -fstack-protector -fasynchronous-unwind-tables -fPIC --param ssp-buffer-size=4 -o - -frandom-seed=0 ># 1 "syntax.c" ># 1 "/home/ejs/rpmbuild/BUILD/faad2-2.7/libfaad//" ># 1 "<command-line>" ># 1 "syntax.c" ># 35 "syntax.c" ># 1 "common.h" 1 ># 39 "common.h" ># 1 "../config.h" 1 ># 40 "common.h" 2 > > ># 1 "../include/neaacdec.h" 1 ># 138 "../include/neaacdec.h" >typedef void *NeAACDecHandle; > >typedef struct mp4AudioSpecificConfig >{ > > unsigned char objectTypeIndex; > unsigned char samplingFrequencyIndex; > unsigned long samplingFrequency; > unsigned char channelsConfiguration; > > > unsigned char frameLengthFlag; > unsigned char dependsOnCoreCoder; > unsigned short coreCoderDelay; > unsigned char extensionFlag; > unsigned char aacSectionDataResilienceFlag; > unsigned char aacScalefactorDataResilienceFlag; > unsigned char aacSpectralDataResilienceFlag; > unsigned char epConfig; > > char sbr_present_flag; > char forceUpSampling; > char downSampledSBR; >} mp4AudioSpecificConfig; > >typedef struct NeAACDecConfiguration >{ > unsigned char defObjectType; > unsigned long defSampleRate; > unsigned char outputFormat; > unsigned char downMatrix; > unsigned char useOldADTSFormat; > unsigned char dontUpSampleImplicitSBR; >} NeAACDecConfiguration, *NeAACDecConfigurationPtr; > >typedef struct NeAACDecFrameInfo >{ > unsigned long bytesconsumed; > unsigned long samples; > unsigned char channels; > unsigned char error; > unsigned long samplerate; > > > unsigned char sbr; > > > unsigned char object_type; > > > unsigned char header_type; > > > unsigned char num_front_channels; > unsigned char num_side_channels; > unsigned char num_back_channels; > unsigned char num_lfe_channels; > unsigned char channel_position[64]; > > > unsigned char ps; >} NeAACDecFrameInfo; > >char* NeAACDecGetErrorMessage(unsigned char errcode); > >unsigned long NeAACDecGetCapabilities(void); > >NeAACDecHandle NeAACDecOpen(void); > >NeAACDecConfigurationPtr NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); > >unsigned char NeAACDecSetConfiguration(NeAACDecHandle hDecoder, > NeAACDecConfigurationPtr config); > > >long NeAACDecInit(NeAACDecHandle hDecoder, > unsigned char *buffer, > unsigned long buffer_size, > unsigned long *samplerate, > unsigned char *channels); > > >char NeAACDecInit2(NeAACDecHandle hDecoder, > unsigned char *pBuffer, > unsigned long SizeOfDecoderSpecificInfo, > unsigned long *samplerate, > unsigned char *channels); > > >char NeAACDecInitDRM(NeAACDecHandle *hDecoder, unsigned long samplerate, > unsigned char channels); > >void NeAACDecPostSeekReset(NeAACDecHandle hDecoder, long frame); > >void NeAACDecClose(NeAACDecHandle hDecoder); > >void* NeAACDecDecode(NeAACDecHandle hDecoder, > NeAACDecFrameInfo *hInfo, > unsigned char *buffer, > unsigned long buffer_size); > >void* NeAACDecDecode2(NeAACDecHandle hDecoder, > NeAACDecFrameInfo *hInfo, > unsigned char *buffer, > unsigned long buffer_size, > void **sample_buffer, > unsigned long sample_buffer_size); > >char NeAACDecAudioSpecificConfig(unsigned char *pBuffer, > unsigned long buffer_size, > mp4AudioSpecificConfig *mp4ASC); ># 43 "common.h" 2 ># 186 "common.h" ># 1 "/usr/include/stdio.h" 1 3 4 ># 28 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 362 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 390 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 391 "/usr/include/sys/cdefs.h" 2 3 4 ># 363 "/usr/include/features.h" 2 3 4 ># 386 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > ># 1 "/usr/include/gnu/stubs-32.h" 1 3 4 ># 8 "/usr/include/gnu/stubs.h" 2 3 4 ># 387 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/stdio.h" 2 3 4 > > > > > ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 35 "/usr/include/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 83 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 53 "/usr/include/_G_config.h" 3 4 >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 172 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 182 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 205 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 273 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 321 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 330 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 366 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 418 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 462 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 492 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__)); ># 76 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 91 "/usr/include/stdio.h" 3 4 >typedef __off_t off_t; ># 103 "/usr/include/stdio.h" 3 4 >typedef __ssize_t ssize_t; > > > > > > > >typedef _G_fpos_t fpos_t; > > > > ># 165 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 166 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); ># 212 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 230 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 255 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 269 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); ># 298 "/usr/include/stdio.h" 3 4 > ># 309 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 322 "/usr/include/stdio.h" 3 4 >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 420 "/usr/include/stdio.h" 3 4 >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); ># 451 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") > > __attribute__ ((__warn_unused_result__)); >extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") > __attribute__ ((__warn_unused_result__)); >extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) > > ; ># 471 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 502 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") > > > > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") > > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); >extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) > > > > __attribute__ ((__format__ (__scanf__, 2, 0))); ># 530 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 558 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 569 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 602 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)); > ># 664 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__)); > ># 736 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > ># 772 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__)); ># 791 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 814 "/usr/include/stdio.h" 3 4 > ># 823 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 853 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); ># 872 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)); ># 912 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)); ># 933 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 44 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 125 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 934 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/stdio2.h" 1 3 4 ># 24 "/usr/include/bits/stdio2.h" 3 4 >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > ...) __attribute__ ((__nothrow__ , __leaf__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, ...); >extern int __printf_chk (int __flag, __const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, __const char *__restrict __format, > __gnuc_va_list __ap); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >printf (__const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vfprintf (FILE *__restrict __stream, > __const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} ># 220 "/usr/include/bits/stdio2.h" 3 4 >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_warn (char *__str) __asm__ ("" "gets") > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >gets (char *__str) >{ > if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) > return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); > return __gets_warn (__str); >} > >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") > > __attribute__ ((__warn_unused_result__)); >extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") > > > __attribute__ ((__warn_unused_result__)); >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} ># 319 "/usr/include/bits/stdio2.h" 3 4 >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >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__)); >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") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} ># 937 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 187 "common.h" 2 > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 28 "/usr/include/sys/types.h" 3 4 > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; ># 61 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; ># 99 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > > >typedef __id_t id_t; ># 116 "/usr/include/sys/types.h" 3 4 >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 217 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 61 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 62 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 24 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 120 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 31 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; ># 65 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 97 "/usr/include/sys/select.h" 3 4 > ># 107 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 119 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > > > ># 1 "/usr/include/bits/select2.h" 1 3 4 ># 25 "/usr/include/bits/select2.h" 3 4 >extern unsigned long int __fdelt_chk (unsigned long int __d); >extern unsigned long int __fdelt_warn (unsigned long int __d) > __attribute__((__warning__ ("bit outside of fd_set selected"))); ># 130 "/usr/include/sys/select.h" 2 3 4 > > > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 > > >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline __attribute__ ((__const__)) unsigned long long int >__attribute__ ((__nothrow__ , __leaf__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} > > ># 224 "/usr/include/sys/types.h" 2 3 4 > > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 271 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 36 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[36]; > long int __align; >} pthread_attr_t; > > >typedef struct __pthread_internal_slist >{ > struct __pthread_internal_slist *__next; >} __pthread_slist_t; > > > > >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > > int __kind; > unsigned int __nusers; > __extension__ union > { > int __spins; > __pthread_slist_t __list; > }; > } __data; > char __size[24]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > > > unsigned char __flags; > unsigned char __shared; > unsigned char __pad1; > unsigned char __pad2; > int __writer; > } __data; > char __size[32]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[20]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 272 "/usr/include/sys/types.h" 2 3 4 > > > ># 189 "common.h" 2 > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 39 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 40 "/usr/include/sys/stat.h" 2 3 4 ># 105 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 39 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > unsigned short int __pad1; > > __ino_t st_ino; > > > > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned short int __pad2; > > __off_t st_size; > > > > __blksize_t st_blksize; > > > __blkcnt_t st_blocks; ># 73 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 88 "/usr/include/bits/stat.h" 3 4 > unsigned long int __unused4; > unsigned long int __unused5; > > > > }; ># 108 "/usr/include/sys/stat.h" 2 3 4 ># 211 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); ># 240 "/usr/include/sys/stat.h" 3 4 >extern int fstatat (int __fd, __const char *__restrict __file, > struct stat *__restrict __buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 265 "/usr/include/sys/stat.h" 3 4 >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 286 "/usr/include/sys/stat.h" 3 4 >extern int chmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern int fchmodat (int __fd, __const char *__file, __mode_t __mode, > int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ , __leaf__)); ># 323 "/usr/include/sys/stat.h" 3 4 >extern int mkdir (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknodat (int __fd, __const char *__path, __mode_t __mode, > __dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > >extern int utimensat (int __fd, __const char *__path, > __const struct timespec __times[2], > int __flags) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__ , __leaf__)); ># 401 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, __const char *__filename, > struct stat *__stat_buf, int __flag) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))); ># 444 "/usr/include/sys/stat.h" 3 4 >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, __const char *__path, > __mode_t __mode, __dev_t *__dev) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) stat (__const char *__path, struct stat *__statbuf) >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) lstat (__const char *__path, struct stat *__statbuf) >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (3, __fd, __statbuf); >} > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag) > >{ > return __fxstatat (3, __fd, __filename, __statbuf, __flag); >} > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (1, __path, __mode, &__dev); >} > > > >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) > >{ > return __xmknodat (1, __fd, __path, __mode, &__dev); >} ># 536 "/usr/include/sys/stat.h" 3 4 > ># 192 "common.h" 2 > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef long int wchar_t; ># 34 "/usr/include/stdlib.h" 2 3 4 > > > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 67 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 68 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 277 "/usr/include/stdlib.h" 3 4 > >extern __inline double >__attribute__ ((__nothrow__ , __leaf__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 311 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 327 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > ># 498 "/usr/include/stdlib.h" 2 3 4 > > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); ># 531 "/usr/include/stdlib.h" 3 4 > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); ># 554 "/usr/include/stdlib.h" 3 4 > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); ># 606 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 620 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 642 "/usr/include/stdlib.h" 3 4 >extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 712 "/usr/include/stdlib.h" 3 4 > > > > > >extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); > ># 734 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); ># 752 "/usr/include/stdlib.h" 3 4 > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); ># 771 "/usr/include/stdlib.h" 3 4 >extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 808 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 896 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); ># 948 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > > > ># 1 "/usr/include/bits/stdlib.h" 1 3 4 ># 24 "/usr/include/bits/stdlib.h" 3 4 >extern char *__realpath_chk (__const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__warn_unused_result__)); >extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__warn_unused_result__)) > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__ , __leaf__)) realpath (__const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > { > > > > > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > } > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__warn_unused_result__)); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > __const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >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__ , __leaf__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > } > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > __const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)); >extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__)) > > > ; >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__ , __leaf__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} ># 956 "/usr/include/stdlib.h" 2 3 4 ># 964 "/usr/include/stdlib.h" 3 4 > ># 195 "common.h" 2 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 150 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 196 "common.h" 2 ># 205 "common.h" ># 1 "/usr/include/string.h" 1 3 4 ># 29 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stddef.h" 1 3 4 ># 35 "/usr/include/string.h" 2 3 4 > > > > > > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 95 "/usr/include/string.h" 3 4 >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 126 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct __locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; ># 163 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); > > > > > >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 210 "/usr/include/string.h" 3 4 > ># 235 "/usr/include/string.h" 3 4 >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 262 "/usr/include/string.h" 3 4 >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 281 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 314 "/usr/include/string.h" 3 4 >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 342 "/usr/include/string.h" 3 4 >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); ># 397 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); > ># 427 "/usr/include/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) > > __attribute__ ((__nonnull__ (2))); ># 445 "/usr/include/string.h" 3 4 >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 489 "/usr/include/string.h" 3 4 >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 517 "/usr/include/string.h" 3 4 >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); ># 536 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 559 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); ># 634 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 635 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1172 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > } > *__nextp = __s; > return __result; >} ># 1204 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1222 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > 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)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1303 "/usr/include/bits/string2.h" 3 4 >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 1322 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)); ># 638 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 23 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))) > ; ># 48 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, __const void *__src, size_t __len) >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 76 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0 > && (!__builtin_constant_p (__ch) || __ch != 0)) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bcopy (__const void *__src, void *__dest, size_t __len) >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} ># 117 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > >extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); >extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__ , __leaf__)) > > ; > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, __const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 643 "/usr/include/string.h" 2 3 4 > > > > ># 206 "common.h" 2 > > ># 1 "/usr/include/strings.h" 1 3 4 ># 209 "common.h" 2 > > ># 1 "/usr/include/inttypes.h" 1 3 4 ># 28 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stdint.h" 1 3 4 > > ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 4 "/usr/lib/gcc/i686-redhat-linux/4.7.0/include/stdint.h" 2 3 4 ># 29 "/usr/include/inttypes.h" 2 3 4 > > > > > > >typedef long int __gwchar_t; ># 274 "/usr/include/inttypes.h" 3 4 > ># 288 "/usr/include/inttypes.h" 3 4 >typedef struct > { > long long int quot; > long long int rem; > } imaxdiv_t; > > > > > >extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); > > >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)); > > >extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, > __gwchar_t **__restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)); > > >extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, > __gwchar_t ** __restrict __endptr, int __base) > __attribute__ ((__nothrow__ , __leaf__)); ># 379 "/usr/include/inttypes.h" 3 4 >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern __inline intmax_t >__attribute__ ((__nothrow__ , __leaf__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) > >{ > return __strtoll_internal (nptr, endptr, base, 0); >} > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char ** > __restrict __endptr, > int __base, > int __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern __inline uintmax_t >__attribute__ ((__nothrow__ , __leaf__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) > >{ > return __strtoull_internal (nptr, endptr, base, 0); >} > >__extension__ >extern long long int __wcstoll_internal (__const __gwchar_t * > __restrict __nptr, > __gwchar_t **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern __inline intmax_t >__attribute__ ((__nothrow__ , __leaf__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) > >{ > return __wcstoll_internal (nptr, endptr, base, 0); >} > > >__extension__ >extern unsigned long long int __wcstoull_internal (__const __gwchar_t * > __restrict __nptr, > __gwchar_t ** > __restrict __endptr, > int __base, > int __group) > __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern __inline uintmax_t >__attribute__ ((__nothrow__ , __leaf__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) > >{ > return __wcstoull_internal (nptr, endptr, base, 0); >} > > > > > ># 212 "common.h" 2 ># 237 "common.h" >typedef float float32_t; ># 296 "common.h" > typedef float real_t; ># 308 "common.h" > static __inline void ComplexMult(real_t *y1, real_t *y2, > real_t x1, real_t x2, real_t c1, real_t c2) > { > *y1 = ((x1)*(c1)) + ((x2)*(c2)); > *y2 = ((x2)*(c1)) - ((x1)*(c2)); > } ># 368 "common.h" ># 1 "/usr/include/math.h" 1 3 4 ># 30 "/usr/include/math.h" 3 4 > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 > ># 1 "/usr/include/bits/huge_valf.h" 1 3 4 ># 37 "/usr/include/math.h" 2 3 4 ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 41 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 44 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 36 "/usr/include/bits/mathdef.h" 3 4 >typedef long double float_t; > >typedef long double double_t; ># 48 "/usr/include/math.h" 2 3 4 ># 71 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); >extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); >extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); ># 72 "/usr/include/math.h" 2 3 4 ># 94 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); >extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); >extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); ># 95 "/usr/include/math.h" 2 3 4 ># 143 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > >extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__nonnull__ (2))); > ># 128 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > >extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); >extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > >extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > >extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > > >extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > >extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); >extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > >extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); > > > >extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); > > > > > > > > >extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); ># 144 "/usr/include/math.h" 2 3 4 ># 159 "/usr/include/math.h" 3 4 >extern int signgam; ># 200 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 293 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 318 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 418 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 127 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) __signbitf (float __x) >{ > __extension__ union { float __f; int __i; } __u = { __f: __x }; > return __u.__i < 0; >} >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) __signbit (double __x) >{ > __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; > return __u.__i[1] < 0; >} >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) __signbitl (long double __x) >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 295 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __sgn (double) __attribute__ ((__nothrow__ , __leaf__)); extern __inline double __attribute__ ((__nothrow__ , __leaf__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__ , __leaf__)); extern __inline float __attribute__ ((__nothrow__ , __leaf__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } ># 437 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } ># 477 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__ , __leaf__)) fabs (double __x) { return __builtin_fabs (__x); } > >extern __inline float __attribute__ ((__nothrow__ , __leaf__)) fabsf (float __x) { return __builtin_fabsf (__x); } >extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) fabsl (long double __x) { return __builtin_fabsl (__x); } > >extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } ># 510 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } ># 534 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__ , __leaf__)) floor (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__ , __leaf__)) floorf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) floorl (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0400, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } ># 552 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __attribute__ ((__nothrow__ , __leaf__)) ceil (double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline float __attribute__ ((__nothrow__ , __leaf__)) ceilf (float __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } extern __inline long double __attribute__ ((__nothrow__ , __leaf__)) ceill (long double __x) { register long double __value; register int __ignore; unsigned short int __cw; unsigned short int __cwtmp; __asm __volatile ("fnstcw %3\n\t" "movzwl %3, %1\n\t" "andl $0xf3ff, %1\n\t" "orl $0x0800, %1\n\t" "movw %w1, %2\n\t" "fldcw %2\n\t" "frndint\n\t" "fldcw %3" : "=t" (__value), "=&q" (__ignore), "=m" (__cwtmp), "=m" (__cw) : "0" (__x)); return __value; } ># 669 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) lrintf (float __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) lrint (double __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >extern __inline long int >__attribute__ ((__nothrow__ , __leaf__)) lrintl (long double __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} ># 692 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) llrintf (float __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) llrint (double __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >extern __inline long long int >__attribute__ ((__nothrow__ , __leaf__)) llrintl (long double __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} ># 729 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__ , __leaf__)) __finite (double __x) >{ > return (__extension__ > (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] > | 0x800fffffu) + 1) >> 31)); >} ># 419 "/usr/include/math.h" 2 3 4 ># 480 "/usr/include/math.h" 3 4 > ># 369 "common.h" 2 ># 402 "common.h" >typedef real_t complex_t[2]; > > > > > >uint8_t cpu_has_sse(void); >uint32_t ne_rng(uint32_t *__r1, uint32_t *__r2); >uint32_t wl_min_lzc(uint32_t x); > > > > > > > >uint8_t get_sr_index(const uint32_t samplerate); >uint8_t max_pred_sfb(const uint8_t sr_index); >uint8_t max_tns_sfb(const uint8_t sr_index, const uint8_t object_type, > const uint8_t is_short); >uint32_t get_sample_rate(const uint8_t sr_index); >int8_t can_decode_ot(const uint8_t object_type); > >void *faad_malloc(size_t size); >void faad_free(void *b); ># 36 "syntax.c" 2 ># 1 "structs.h" 1 ># 38 "structs.h" ># 1 "cfft.h" 1 ># 38 "cfft.h" >typedef struct >{ > uint16_t n; > uint16_t ifac[15]; > complex_t *work; > complex_t *tab; >} cfft_info; > > >void cfftf(cfft_info *cfft, complex_t *c); >void cfftb(cfft_info *cfft, complex_t *c); >cfft_info *cffti(uint16_t n); >void cfftu(cfft_info *cfft); ># 39 "structs.h" 2 > ># 1 "sbr_dec.h" 1 ># 39 "sbr_dec.h" ># 1 "ps_dec.h" 1 ># 38 "ps_dec.h" ># 1 "bits.h" 1 ># 38 "bits.h" ># 1 "analysis.h" 1 ># 39 "bits.h" 2 ># 48 "bits.h" >typedef struct _bitfile >{ > > uint32_t bufa; > uint32_t bufb; > uint32_t bits_left; > uint32_t buffer_size; > uint32_t bytes_left; > uint8_t error; > uint32_t *tail; > uint32_t *start; > const void *buffer; >} bitfile; ># 75 "bits.h" >void faad_initbits(bitfile *ld, const void *buffer, const uint32_t buffer_size); >void faad_endbits(bitfile *ld); >void faad_initbits_rev(bitfile *ld, void *buffer, > uint32_t bits_in_buffer); >uint8_t faad_byte_align(bitfile *ld); >uint32_t faad_get_processed_bits(bitfile *ld); >void faad_flushbits_ex(bitfile *ld, uint32_t bits); >void faad_rewindbits(bitfile *ld); >void faad_resetbits(bitfile *ld, int bits); >uint8_t *faad_getbitbuffer(bitfile *ld, uint32_t bits > ); > > > > > > >static __inline uint32_t getdword(void *mem) >{ > uint32_t tmp; > > ((uint8_t*)&tmp)[0] = ((uint8_t*)mem)[3]; > ((uint8_t*)&tmp)[1] = ((uint8_t*)mem)[2]; > ((uint8_t*)&tmp)[2] = ((uint8_t*)mem)[1]; > ((uint8_t*)&tmp)[3] = ((uint8_t*)mem)[0]; > > > > > > > > return tmp; >} > > >static uint32_t getdword_n(void *mem, int n) >{ > uint32_t tmp = 0; > > switch (n) > { > case 3: > ((uint8_t*)&tmp)[1] = ((uint8_t*)mem)[2]; > case 2: > ((uint8_t*)&tmp)[2] = ((uint8_t*)mem)[1]; > case 1: > ((uint8_t*)&tmp)[3] = ((uint8_t*)mem)[0]; > default: > break; > } ># 140 "bits.h" > return tmp; >} > >static __inline uint32_t faad_showbits(bitfile *ld, uint32_t bits) >{ > if (bits <= ld->bits_left) > { > > return (ld->bufa << (32 - ld->bits_left)) >> (32 - bits); > } > > bits -= ld->bits_left; > > return ((ld->bufa & ((1<<ld->bits_left)-1)) << bits) | (ld->bufb >> (32 - bits)); >} > >static __inline void faad_flushbits(bitfile *ld, uint32_t bits) >{ > > if (ld->error != 0) > return; > > if (bits < ld->bits_left) > { > ld->bits_left -= bits; > } else { > faad_flushbits_ex(ld, bits); > } >} > > >static uint32_t faad_getbits(bitfile *ld, uint32_t n ) >{ > uint32_t ret; > > if (n == 0) > return 0; > > ret = faad_showbits(ld, n); > faad_flushbits(ld, n); > > > > > > > return ret; >} > >static __inline uint8_t faad_get1bit(bitfile *ld ) >{ > uint8_t r; > > if (ld->bits_left > 0) > { > ld->bits_left--; > r = (uint8_t)((ld->bufa >> ld->bits_left) & 1); > return r; > } > > > > > > > r = (uint8_t)faad_getbits(ld, 1); > > return r; >} > > >static __inline uint32_t faad_showbits_rev(bitfile *ld, uint32_t bits) >{ > uint8_t i; > uint32_t B = 0; > > if (bits <= ld->bits_left) > { > for (i = 0; i < bits; i++) > { > if (ld->bufa & (1 << (i + (32 - ld->bits_left)))) > B |= (1 << (bits - i - 1)); > } > return B; > } else { > for (i = 0; i < ld->bits_left; i++) > { > if (ld->bufa & (1 << (i + (32 - ld->bits_left)))) > B |= (1 << (bits - i - 1)); > } > for (i = 0; i < bits - ld->bits_left; i++) > { > if (ld->bufb & (1 << (i + (32-ld->bits_left)))) > B |= (1 << (bits - ld->bits_left - i - 1)); > } > return B; > } >} > >static __inline void faad_flushbits_rev(bitfile *ld, uint32_t bits) >{ > > if (ld->error != 0) > return; > > if (bits < ld->bits_left) > { > ld->bits_left -= bits; > } else { > uint32_t tmp; > > ld->bufa = ld->bufb; > tmp = getdword(ld->start); > ld->bufb = tmp; > ld->start--; > ld->bits_left += (32 - bits); > > if (ld->bytes_left < 4) > { > ld->error = 1; > ld->bytes_left = 0; > } else { > ld->bytes_left -= 4; > } > > > } >} > >static uint32_t faad_getbits_rev(bitfile *ld, uint32_t n > ) >{ > uint32_t ret; > > if (n == 0) > return 0; > > ret = faad_showbits_rev(ld, n); > faad_flushbits_rev(ld, n); > > > > > > > return ret; >} ># 385 "bits.h" >typedef struct >{ > > uint32_t bufa; > uint32_t bufb; > int8_t len; >} bits_t; > > >static __inline uint32_t showbits_hcr(bits_t *ld, uint8_t bits) >{ > if (bits == 0) return 0; > if (ld->len <= 32) > { > > > if (ld->len >= bits) > return ((ld->bufa >> (ld->len - bits)) & (0xFFFFFFFF >> (32 - bits))); > else > return ((ld->bufa << (bits - ld->len)) & (0xFFFFFFFF >> (32 - bits))); > } else { > if ((ld->len - bits) < 32) > { > return ( (ld->bufb & (0xFFFFFFFF >> (64 - ld->len))) << (bits - ld->len + 32)) | > (ld->bufa >> (ld->len - bits)); > } else { > return ((ld->bufb >> (ld->len - bits - 32)) & (0xFFFFFFFF >> (32 - bits))); > } > } >} > > >static __inline int8_t flushbits_hcr( bits_t *ld, uint8_t bits) >{ > ld->len -= bits; > > if (ld->len <0) > { > ld->len = 0; > return 1; > } else { > return 0; > } >} > >static __inline int8_t getbits_hcr(bits_t *ld, uint8_t n, uint32_t *result) >{ > *result = showbits_hcr(ld, n); > return flushbits_hcr(ld, n); >} > >static __inline int8_t get1bit_hcr(bits_t *ld, uint8_t *result) >{ > uint32_t res; > int8_t ret; > > ret = getbits_hcr(ld, 1, &res); > *result = (int8_t)(res & 1); > return ret; >} ># 39 "ps_dec.h" 2 > > > > > > >typedef struct >{ > > uint8_t enable_iid; > uint8_t enable_icc; > uint8_t enable_ext; > > uint8_t iid_mode; > uint8_t icc_mode; > uint8_t nr_iid_par; > uint8_t nr_ipdopd_par; > uint8_t nr_icc_par; > > uint8_t frame_class; > uint8_t num_env; > > uint8_t border_position[5 +1]; > > uint8_t iid_dt[5]; > uint8_t icc_dt[5]; > > uint8_t enable_ipdopd; > uint8_t ipd_mode; > uint8_t ipd_dt[5]; > uint8_t opd_dt[5]; > > > int8_t iid_index_prev[34]; > int8_t icc_index_prev[34]; > int8_t ipd_index_prev[17]; > int8_t opd_index_prev[17]; > int8_t iid_index[5][34]; > int8_t icc_index[5][34]; > int8_t ipd_index[5][17]; > int8_t opd_index[5][17]; > > int8_t ipd_index_1[17]; > int8_t opd_index_1[17]; > int8_t ipd_index_2[17]; > int8_t opd_index_2[17]; > > > uint8_t ps_data_available; > > > uint8_t header_read; > > > void *hyb; > uint8_t use34hybrid_bands; > uint8_t numTimeSlotsRate; > > > uint8_t num_groups; > uint8_t num_hybrid_groups; > uint8_t nr_par_bands; > uint8_t nr_allpass_bands; > uint8_t decay_cutoff; > > uint8_t *group_border; > uint16_t *map_group2bk; > > > uint8_t saved_delay; > uint8_t delay_buf_index_ser[3]; > uint8_t num_sample_delay_ser[3]; > uint8_t delay_D[64]; > uint8_t delay_buf_index_delay[64]; > > complex_t delay_Qmf[14][64]; > complex_t delay_SubQmf[2][32]; > complex_t delay_Qmf_ser[3][5][64]; > complex_t delay_SubQmf_ser[3][5][32]; > > > real_t alpha_decay; > real_t alpha_smooth; > > real_t P_PeakDecayNrg[34]; > real_t P_prev[34]; > real_t P_SmoothPeakDecayDiffNrg_prev[34]; > > > complex_t h11_prev[50]; > complex_t h12_prev[50]; > complex_t h21_prev[50]; > complex_t h22_prev[50]; > uint8_t phase_hist; > complex_t ipd_prev[20][2]; > complex_t opd_prev[20][2]; > >} ps_info; > > >uint16_t ps_data(ps_info *ps, bitfile *ld, uint8_t *header); > > >ps_info *ps_init(uint8_t sr_index, uint8_t numTimeSlotsRate); >void ps_free(ps_info *ps); > >uint8_t ps_decode(ps_info *ps, complex_t X_left[38][64], complex_t X_right[38][64]); ># 40 "sbr_dec.h" 2 ># 54 "sbr_dec.h" >typedef struct { > real_t *x; > int16_t x_index; > uint8_t channels; >} qmfa_info; > >typedef struct { > real_t *v; > int16_t v_index; > uint8_t channels; >} qmfs_info; > >typedef struct >{ > uint32_t sample_rate; > uint32_t maxAACLine; > > uint8_t rate; > uint8_t just_seeked; > uint8_t ret; > > uint8_t amp_res[2]; > > uint8_t k0; > uint8_t kx; > uint8_t M; > uint8_t N_master; > uint8_t N_high; > uint8_t N_low; > uint8_t N_Q; > uint8_t N_L[4]; > uint8_t n[2]; > > uint8_t f_master[64]; > uint8_t f_table_res[2][64]; > uint8_t f_table_noise[64]; > uint8_t f_table_lim[4][64]; > > > > > > uint8_t table_map_k_to_g[64]; > > uint8_t abs_bord_lead[2]; > uint8_t abs_bord_trail[2]; > uint8_t n_rel_lead[2]; > uint8_t n_rel_trail[2]; > > uint8_t L_E[2]; > uint8_t L_E_prev[2]; > uint8_t L_Q[2]; > > uint8_t t_E[2][5 +1]; > uint8_t t_Q[2][3]; > uint8_t f[2][5 +1]; > uint8_t f_prev[2]; > > real_t *G_temp_prev[2][5]; > real_t *Q_temp_prev[2][5]; > int8_t GQ_ringbuf_index[2]; > > int16_t E[2][64][5]; > int16_t E_prev[2][64]; > > real_t E_orig[2][64][5]; > > real_t E_curr[2][64][5]; > int32_t Q[2][64][2]; > > real_t Q_div[2][64][2]; > real_t Q_div2[2][64][2]; > > int32_t Q_prev[2][64]; > > int8_t l_A[2]; > int8_t l_A_prev[2]; > > uint8_t bs_invf_mode[2][5]; > uint8_t bs_invf_mode_prev[2][5]; > real_t bwArray[2][64]; > real_t bwArray_prev[2][64]; > > uint8_t noPatches; > uint8_t patchNoSubbands[64]; > uint8_t patchStartSubband[64]; > > uint8_t bs_add_harmonic[2][64]; > uint8_t bs_add_harmonic_prev[2][64]; > > uint16_t index_noise_prev[2]; > uint8_t psi_is_prev[2]; > > uint8_t bs_start_freq_prev; > uint8_t bs_stop_freq_prev; > uint8_t bs_xover_band_prev; > uint8_t bs_freq_scale_prev; > uint8_t bs_alter_scale_prev; > uint8_t bs_noise_bands_prev; > > int8_t prevEnvIsShort[2]; > > int8_t kx_prev; > uint8_t bsco; > uint8_t bsco_prev; > uint8_t M_prev; > uint16_t frame_len; > > uint8_t Reset; > uint32_t frame; > uint32_t header_count; > > uint8_t id_aac; > qmfa_info *qmfa[2]; > qmfs_info *qmfs[2]; > > complex_t Xsbr[2][40][64]; ># 179 "sbr_dec.h" > uint8_t numTimeSlotsRate; > uint8_t numTimeSlots; > uint8_t tHFGen; > uint8_t tHFAdj; > > > ps_info *ps; > > > uint8_t ps_used; > uint8_t psResetFlag; > > > > > > > uint8_t bs_header_flag; > uint8_t bs_crc_flag; > uint16_t bs_sbr_crc_bits; > uint8_t bs_protocol_version; > uint8_t bs_amp_res; > uint8_t bs_start_freq; > uint8_t bs_stop_freq; > uint8_t bs_xover_band; > uint8_t bs_freq_scale; > uint8_t bs_alter_scale; > uint8_t bs_noise_bands; > uint8_t bs_limiter_bands; > uint8_t bs_limiter_gains; > uint8_t bs_interpol_freq; > uint8_t bs_smoothing_mode; > uint8_t bs_samplerate_mode; > uint8_t bs_add_harmonic_flag[2]; > uint8_t bs_add_harmonic_flag_prev[2]; > uint8_t bs_extended_data; > uint8_t bs_extension_id; > uint8_t bs_extension_data; > uint8_t bs_coupling; > uint8_t bs_frame_class[2]; > uint8_t bs_rel_bord[2][9]; > uint8_t bs_rel_bord_0[2][9]; > uint8_t bs_rel_bord_1[2][9]; > uint8_t bs_pointer[2]; > uint8_t bs_abs_bord_0[2]; > uint8_t bs_abs_bord_1[2]; > uint8_t bs_num_rel_0[2]; > uint8_t bs_num_rel_1[2]; > uint8_t bs_df_env[2][9]; > uint8_t bs_df_noise[2][3]; >} sbr_info; > >sbr_info *sbrDecodeInit(uint16_t framelength, uint8_t id_aac, > uint32_t sample_rate, uint8_t downSampledSBR > > > > ); >void sbrDecodeEnd(sbr_info *sbr); >void sbrReset(sbr_info *sbr); > >uint8_t sbrDecodeCoupleFrame(sbr_info *sbr, real_t *left_chan, real_t *right_chan, > const uint8_t just_seeked, const uint8_t downSampledSBR); >uint8_t sbrDecodeSingleFrame(sbr_info *sbr, real_t *channel, > const uint8_t just_seeked, const uint8_t downSampledSBR); > >uint8_t sbrDecodeSingleFramePS(sbr_info *sbr, real_t *left_channel, real_t *right_channel, > const uint8_t just_seeked, const uint8_t downSampledSBR); ># 41 "structs.h" 2 ># 51 "structs.h" >typedef struct { > int16_t r[2]; > int16_t COR[2]; > int16_t VAR[2]; >} pred_state; > >typedef struct { > uint16_t N; > cfft_info *cfft; > complex_t *sincos; > > > > >} mdct_info; > >typedef struct >{ > const real_t *long_window[2]; > const real_t *short_window[2]; > > const real_t *ld_window[2]; > > > mdct_info *mdct256; > > mdct_info *mdct1024; > > mdct_info *mdct2048; > > > >} fb_info; > >typedef struct >{ > uint8_t present; > > uint8_t num_bands; > uint8_t pce_instance_tag; > uint8_t excluded_chns_present; > uint8_t band_top[17]; > uint8_t prog_ref_level; > uint8_t dyn_rng_sgn[17]; > uint8_t dyn_rng_ctl[17]; > uint8_t exclude_mask[64]; > uint8_t additional_excluded_chns[64]; > > real_t ctrl1; > real_t ctrl2; >} drc_info; > >typedef struct >{ > uint8_t element_instance_tag; > uint8_t object_type; > uint8_t sf_index; > uint8_t num_front_channel_elements; > uint8_t num_side_channel_elements; > uint8_t num_back_channel_elements; > uint8_t num_lfe_channel_elements; > uint8_t num_assoc_data_elements; > uint8_t num_valid_cc_elements; > uint8_t mono_mixdown_present; > uint8_t mono_mixdown_element_number; > uint8_t stereo_mixdown_present; > uint8_t stereo_mixdown_element_number; > uint8_t matrix_mixdown_idx_present; > uint8_t pseudo_surround_enable; > uint8_t matrix_mixdown_idx; > uint8_t front_element_is_cpe[16]; > uint8_t front_element_tag_select[16]; > uint8_t side_element_is_cpe[16]; > uint8_t side_element_tag_select[16]; > uint8_t back_element_is_cpe[16]; > uint8_t back_element_tag_select[16]; > uint8_t lfe_element_tag_select[16]; > uint8_t assoc_data_element_tag_select[16]; > uint8_t cc_element_is_ind_sw[16]; > uint8_t valid_cc_element_tag_select[16]; > > uint8_t channels; > > uint8_t comment_field_bytes; > uint8_t comment_field_data[257]; > > > uint8_t num_front_channels; > uint8_t num_side_channels; > uint8_t num_back_channels; > uint8_t num_lfe_channels; > uint8_t sce_channel[16]; > uint8_t cpe_channel[16]; >} program_config; > >typedef struct >{ > uint16_t syncword; > uint8_t id; > uint8_t layer; > uint8_t protection_absent; > uint8_t profile; > uint8_t sf_index; > uint8_t private_bit; > uint8_t channel_configuration; > uint8_t original; > uint8_t home; > uint8_t emphasis; > uint8_t copyright_identification_bit; > uint8_t copyright_identification_start; > uint16_t aac_frame_length; > uint16_t adts_buffer_fullness; > uint8_t no_raw_data_blocks_in_frame; > uint16_t crc_check; > > > uint8_t old_format; >} adts_header; > >typedef struct >{ > uint8_t copyright_id_present; > int8_t copyright_id[10]; > uint8_t original_copy; > uint8_t home; > uint8_t bitstream_type; > uint32_t bitrate; > uint8_t num_program_config_elements; > uint32_t adif_buffer_fullness; > > > program_config pce[16]; >} adif_header; > > >typedef struct >{ > uint8_t last_band; > uint8_t data_present; > uint16_t lag; > uint8_t lag_update; > uint8_t coef; > uint8_t long_used[51]; > uint8_t short_used[8]; > uint8_t short_lag_present[8]; > uint8_t short_lag[8]; >} ltp_info; > > > >typedef struct >{ > uint8_t limit; > uint8_t predictor_reset; > uint8_t predictor_reset_group_number; > uint8_t prediction_used[51]; >} pred_info; > > >typedef struct >{ > uint8_t number_pulse; > uint8_t pulse_start_sfb; > uint8_t pulse_offset[4]; > uint8_t pulse_amp[4]; >} pulse_info; > >typedef struct >{ > uint8_t n_filt[8]; > uint8_t coef_res[8]; > uint8_t length[8][4]; > uint8_t order[8][4]; > uint8_t direction[8][4]; > uint8_t coef_compress[8][4]; > uint8_t coef[8][4][32]; >} tns_info; ># 240 "structs.h" >typedef struct >{ > uint8_t max_sfb; > > uint8_t num_swb; > uint8_t num_window_groups; > uint8_t num_windows; > uint8_t window_sequence; > uint8_t window_group_length[8]; > uint8_t window_shape; > uint8_t scale_factor_grouping; > uint16_t sect_sfb_offset[8][15*8]; > uint16_t swb_offset[52]; > uint16_t swb_offset_max; > > uint8_t sect_cb[8][15*8]; > uint16_t sect_start[8][15*8]; > uint16_t sect_end[8][15*8]; > uint8_t sfb_cb[8][8*15]; > uint8_t num_sec[8]; > > uint8_t global_gain; > int16_t scale_factors[8][51]; > > uint8_t ms_mask_present; > uint8_t ms_used[8][51]; > > uint8_t noise_used; > uint8_t is_used; > > uint8_t pulse_data_present; > uint8_t tns_data_present; > uint8_t gain_control_data_present; > uint8_t predictor_data_present; > > pulse_info pul; > tns_info tns; > > pred_info pred; > > > ltp_info ltp; > ltp_info ltp2; > > > > > > > > uint16_t length_of_reordered_spectral_data; > uint8_t length_of_longest_codeword; > > uint8_t sf_concealment; > uint8_t rev_global_gain; > uint16_t length_of_rvlc_sf; > uint16_t dpcm_noise_nrg; > uint8_t sf_escapes_present; > uint8_t length_of_rvlc_escapes; > uint16_t dpcm_noise_last_position; > >} ic_stream; > >typedef struct >{ > uint8_t channel; > int16_t paired_channel; > > uint8_t element_instance_tag; > uint8_t common_window; > > ic_stream ics1; > ic_stream ics2; >} element; > > >typedef struct { > int inited; > int version, versionA; > int framelen_type; > int useSameStreamMux; > int allStreamsSameTimeFraming; > int numSubFrames; > int numPrograms; > int numLayers; > int otherDataPresent; > uint32_t otherDataLenBits; > uint32_t frameLength; > uint8_t ASC[64]; > uint32_t ASCbits; >} latm_header; > >typedef struct >{ > uint8_t adts_header_present; > uint8_t adif_header_present; > uint8_t latm_header_present; > uint8_t sf_index; > uint8_t object_type; > uint8_t channelConfiguration; > > uint8_t aacSectionDataResilienceFlag; > uint8_t aacScalefactorDataResilienceFlag; > uint8_t aacSpectralDataResilienceFlag; > > uint16_t frameLength; > uint8_t postSeekResetFlag; > > uint32_t frame; > > uint8_t downMatrix; > uint8_t upMatrix; > uint8_t first_syn_ele; > uint8_t has_lfe; > > uint8_t fr_channels; > > uint8_t fr_ch_ele; > > > > > uint8_t element_output_channels[48]; > > > > uint8_t element_alloced[48]; > > > > uint8_t alloced_channels; > > > void *sample_buffer; > > uint8_t window_shape_prev[64]; > > uint16_t ltp_lag[64]; > > fb_info *fb; > drc_info *drc; > > real_t *time_out[64]; > real_t *fb_intermed[64]; > > > int8_t sbr_present_flag; > int8_t forceUpSampling; > int8_t downSampledSBR; > > uint8_t sbr_alloced[48]; > > sbr_info *sbr[48]; > > > uint8_t ps_used[48]; > uint8_t ps_used_global; ># 406 "structs.h" > pred_state *pred_stat[64]; > > > int16_t *lt_pred_stat[64]; > > > > > > > > uint32_t __r1; > uint32_t __r2; > > > uint8_t pce_set; > program_config pce; > uint8_t element_id[64]; > uint8_t internal_channel[64]; > > > NeAACDecConfiguration config; ># 436 "structs.h" > latm_header latm_config; > const unsigned char *cmes; >} NeAACDecStruct; ># 37 "syntax.c" 2 > > > > > ># 1 "syntax.h" 1 ># 111 "syntax.h" >int8_t GASpecificConfig(bitfile *ld, mp4AudioSpecificConfig *mp4ASC, > program_config *pce); > >uint8_t adts_frame(adts_header *adts, bitfile *ld); >void get_adif_header(adif_header *adif, bitfile *ld); >void raw_data_block(NeAACDecStruct *hDecoder, NeAACDecFrameInfo *hInfo, > bitfile *ld, program_config *pce, drc_info *drc); >uint8_t reordered_spectral_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld, > int16_t *spectral_data); > > > > >uint32_t faad_latm_frame(latm_header *latm, bitfile *ld); ># 43 "syntax.c" 2 ># 1 "specrec.h" 1 ># 40 "specrec.h" >uint8_t window_grouping_info(NeAACDecStruct *hDecoder, ic_stream *ics); >uint8_t reconstruct_channel_pair(NeAACDecStruct *hDecoder, ic_stream *ics1, ic_stream *ics2, > element *cpe, int16_t *spec_data1, int16_t *spec_data2); >uint8_t reconstruct_single_channel(NeAACDecStruct *hDecoder, ic_stream *ics, element *sce, > int16_t *spec_data); ># 44 "syntax.c" 2 ># 1 "huffman.h" 1 ># 38 "huffman.h" >int8_t huffman_scale_factor(bitfile *ld); >uint8_t huffman_spectral_data(uint8_t cb, bitfile *ld, int16_t *sp); > >int8_t huffman_spectral_data_2(uint8_t cb, bits_t *ld, int16_t *sp); ># 45 "syntax.c" 2 > ># 1 "pulse.h" 1 ># 38 "pulse.h" >uint8_t pulse_decode(ic_stream *ics, int16_t *spec_coef, uint16_t framelen); ># 47 "syntax.c" 2 > ># 1 "drc.h" 1 ># 41 "drc.h" >drc_info *drc_init(real_t cut, real_t boost); >void drc_end(drc_info *drc); >void drc_decode(drc_info *drc, real_t *spec); ># 49 "syntax.c" 2 > ># 1 "rvlc.h" 1 ># 38 "rvlc.h" >typedef struct >{ > int8_t index; > uint8_t len; > uint32_t cw; >} rvlc_huff_table; > > > > > >uint8_t rvlc_scale_factor_data(ic_stream *ics, bitfile *ld); >uint8_t rvlc_decode_scale_factors(ic_stream *ics, bitfile *ld); ># 51 "syntax.c" 2 > > ># 1 "sbr_syntax.h" 1 ># 61 "sbr_syntax.h" >uint8_t sbr_extension_data(bitfile *ld, sbr_info *sbr, uint16_t cnt, > uint8_t resetFlag); ># 54 "syntax.c" 2 > ># 1 "mp4.h" 1 ># 40 "mp4.h" >int8_t AudioSpecificConfig2(uint8_t *pBuffer, > uint32_t buffer_size, > mp4AudioSpecificConfig *mp4ASC, > program_config *pce, uint8_t short_form); > >int8_t AudioSpecificConfigFromBitfile(bitfile *ld, > mp4AudioSpecificConfig *mp4ASC, > program_config *pce, uint32_t bsize, uint8_t short_form); ># 56 "syntax.c" 2 > > > >static void decode_sce_lfe(NeAACDecStruct *hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele); >static void decode_cpe(NeAACDecStruct *hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele); >static uint8_t single_lfe_channel_element(NeAACDecStruct *hDecoder, bitfile *ld, > uint8_t channel, uint8_t *tag); >static uint8_t channel_pair_element(NeAACDecStruct *hDecoder, bitfile *ld, > uint8_t channel, uint8_t *tag); > > > >static uint16_t data_stream_element(NeAACDecStruct *hDecoder, bitfile *ld); >static uint8_t program_config_element(program_config *pce, bitfile *ld); >static uint8_t fill_element(NeAACDecStruct *hDecoder, bitfile *ld, drc_info *drc > > ,uint8_t sbr_ele > > ); >static uint8_t individual_channel_stream(NeAACDecStruct *hDecoder, element *ele, > bitfile *ld, ic_stream *ics, uint8_t scal_flag, > int16_t *spec_data); >static uint8_t ics_info(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld, > uint8_t common_window); >static uint8_t section_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld); >static uint8_t scale_factor_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld); > > > >static uint8_t spectral_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld, > int16_t *spectral_data); >static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count); >static uint8_t pulse_data(ic_stream *ics, pulse_info *pul, bitfile *ld); >static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld); > >static uint8_t ltp_data(NeAACDecStruct *hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld); > >static uint8_t adts_fixed_header(adts_header *adts, bitfile *ld); >static void adts_variable_header(adts_header *adts, bitfile *ld); >static void adts_error_check(adts_header *adts, bitfile *ld); >static uint8_t dynamic_range_info(bitfile *ld, drc_info *drc); >static uint8_t excluded_channels(bitfile *ld, drc_info *drc); >static uint8_t side_info(NeAACDecStruct *hDecoder, element *ele, > bitfile *ld, ic_stream *ics, uint8_t scal_flag); > > > > > > > >int8_t GASpecificConfig(bitfile *ld, mp4AudioSpecificConfig *mp4ASC, > program_config *pce_out) >{ > program_config pce; > > > mp4ASC->frameLengthFlag = faad_get1bit(ld > ); > > > > > > mp4ASC->dependsOnCoreCoder = faad_get1bit(ld > ); > if (mp4ASC->dependsOnCoreCoder == 1) > { > mp4ASC->coreCoderDelay = (uint16_t)faad_getbits(ld, 14 > ); > } > > mp4ASC->extensionFlag = faad_get1bit(ld ); > if (mp4ASC->channelsConfiguration == 0) > { > if (program_config_element(&pce, ld)) > return -3; > > > if (pce_out != ((void *)0)) > memcpy(pce_out, &pce, sizeof(program_config)); > > > > > > } > > > if (mp4ASC->extensionFlag == 1) > { > > if (mp4ASC->objectTypeIndex >= 17) > { > mp4ASC->aacSectionDataResilienceFlag = faad_get1bit(ld > ); > mp4ASC->aacScalefactorDataResilienceFlag = faad_get1bit(ld > ); > mp4ASC->aacSpectralDataResilienceFlag = faad_get1bit(ld > ); > } > > faad_getbits(ld, 1); > } > > > return 0; >} ># 174 "syntax.c" >static uint8_t program_config_element(program_config *pce, bitfile *ld) >{ > uint8_t i; > > memset(pce, 0, sizeof(program_config)); > > pce->channels = 0; > > pce->element_instance_tag = (uint8_t)faad_getbits(ld, 4 > ); > > pce->object_type = (uint8_t)faad_getbits(ld, 2 > ); > pce->sf_index = (uint8_t)faad_getbits(ld, 4 > ); > pce->num_front_channel_elements = (uint8_t)faad_getbits(ld, 4 > ); > pce->num_side_channel_elements = (uint8_t)faad_getbits(ld, 4 > ); > pce->num_back_channel_elements = (uint8_t)faad_getbits(ld, 4 > ); > pce->num_lfe_channel_elements = (uint8_t)faad_getbits(ld, 2 > ); > pce->num_assoc_data_elements = (uint8_t)faad_getbits(ld, 3 > ); > pce->num_valid_cc_elements = (uint8_t)faad_getbits(ld, 4 > ); > > pce->mono_mixdown_present = faad_get1bit(ld > ); > if (pce->mono_mixdown_present == 1) > { > pce->mono_mixdown_element_number = (uint8_t)faad_getbits(ld, 4 > ); > } > > pce->stereo_mixdown_present = faad_get1bit(ld > ); > if (pce->stereo_mixdown_present == 1) > { > pce->stereo_mixdown_element_number = (uint8_t)faad_getbits(ld, 4 > ); > } > > pce->matrix_mixdown_idx_present = faad_get1bit(ld > ); > if (pce->matrix_mixdown_idx_present == 1) > { > pce->matrix_mixdown_idx = (uint8_t)faad_getbits(ld, 2 > ); > pce->pseudo_surround_enable = faad_get1bit(ld > ); > } > > for (i = 0; i < pce->num_front_channel_elements; i++) > { > pce->front_element_is_cpe[i] = faad_get1bit(ld > ); > pce->front_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > > if (pce->front_element_is_cpe[i] & 1) > { > pce->cpe_channel[pce->front_element_tag_select[i]] = pce->channels; > pce->num_front_channels += 2; > pce->channels += 2; > } else { > pce->sce_channel[pce->front_element_tag_select[i]] = pce->channels; > pce->num_front_channels++; > pce->channels++; > } > } > > for (i = 0; i < pce->num_side_channel_elements; i++) > { > pce->side_element_is_cpe[i] = faad_get1bit(ld > ); > pce->side_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > > if (pce->side_element_is_cpe[i] & 1) > { > pce->cpe_channel[pce->side_element_tag_select[i]] = pce->channels; > pce->num_side_channels += 2; > pce->channels += 2; > } else { > pce->sce_channel[pce->side_element_tag_select[i]] = pce->channels; > pce->num_side_channels++; > pce->channels++; > } > } > > for (i = 0; i < pce->num_back_channel_elements; i++) > { > pce->back_element_is_cpe[i] = faad_get1bit(ld > ); > pce->back_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > > if (pce->back_element_is_cpe[i] & 1) > { > pce->cpe_channel[pce->back_element_tag_select[i]] = pce->channels; > pce->channels += 2; > pce->num_back_channels += 2; > } else { > pce->sce_channel[pce->back_element_tag_select[i]] = pce->channels; > pce->num_back_channels++; > pce->channels++; > } > } > > for (i = 0; i < pce->num_lfe_channel_elements; i++) > { > pce->lfe_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > > pce->sce_channel[pce->lfe_element_tag_select[i]] = pce->channels; > pce->num_lfe_channels++; > pce->channels++; > } > > for (i = 0; i < pce->num_assoc_data_elements; i++) > pce->assoc_data_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > > for (i = 0; i < pce->num_valid_cc_elements; i++) > { > pce->cc_element_is_ind_sw[i] = faad_get1bit(ld > ); > pce->valid_cc_element_tag_select[i] = (uint8_t)faad_getbits(ld, 4 > ); > } > > faad_byte_align(ld); > > pce->comment_field_bytes = (uint8_t)faad_getbits(ld, 8 > ); > > for (i = 0; i < pce->comment_field_bytes; i++) > { > pce->comment_field_data[i] = (uint8_t)faad_getbits(ld, 8 > ); > } > pce->comment_field_data[i] = 0; > > if (pce->channels > 64) > return 22; > > return 0; >} > >static void decode_sce_lfe(NeAACDecStruct *hDecoder, > NeAACDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele) >{ > uint8_t channels = hDecoder->fr_channels; > uint8_t tag = 0; > > if (channels+1 > 64) > { > hInfo->error = 12; > return; > } > if (hDecoder->fr_ch_ele+1 > 48) > { > hInfo->error = 13; > return; > } > > > > > > > hDecoder->element_id[hDecoder->fr_ch_ele] = id_syn_ele; > > > hInfo->error = single_lfe_channel_element(hDecoder, ld, channels, &tag); > > > if (hDecoder->element_output_channels[hDecoder->fr_ch_ele] == 2) > { > > hDecoder->internal_channel[channels] = channels; > hDecoder->internal_channel[channels+1] = channels+1; > } else { > if (hDecoder->pce_set) > hDecoder->internal_channel[hDecoder->pce.sce_channel[tag]] = channels; > else > hDecoder->internal_channel[channels] = channels; > } > > hDecoder->fr_channels += hDecoder->element_output_channels[hDecoder->fr_ch_ele]; > hDecoder->fr_ch_ele++; >} > >static void decode_cpe(NeAACDecStruct *hDecoder, NeAACDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele) >{ > uint8_t channels = hDecoder->fr_channels; > uint8_t tag = 0; > > if (channels+2 > 64) > { > hInfo->error = 12; > return; > } > if (hDecoder->fr_ch_ele+1 > 48) > { > hInfo->error = 13; > return; > } > > > if (hDecoder->element_output_channels[hDecoder->fr_ch_ele] == 0) > { > > hDecoder->element_output_channels[hDecoder->fr_ch_ele] = 2; > } else if (hDecoder->element_output_channels[hDecoder->fr_ch_ele] != 2) { > > hInfo->error = 21; > return; > } > > > hDecoder->element_id[hDecoder->fr_ch_ele] = id_syn_ele; > > > hInfo->error = channel_pair_element(hDecoder, ld, channels, &tag); > > > if (hDecoder->pce_set) > { > hDecoder->internal_channel[hDecoder->pce.cpe_channel[tag]] = channels; > hDecoder->internal_channel[hDecoder->pce.cpe_channel[tag]+1] = channels+1; > } else { > hDecoder->internal_channel[channels] = channels; > hDecoder->internal_channel[channels+1] = channels+1; > } > > hDecoder->fr_channels += 2; > hDecoder->fr_ch_ele++; >} > >void raw_data_block(NeAACDecStruct *hDecoder, NeAACDecFrameInfo *hInfo, > bitfile *ld, program_config *pce, drc_info *drc) >{ > uint8_t id_syn_ele; > uint8_t ele_this_frame = 0; > > hDecoder->fr_channels = 0; > hDecoder->fr_ch_ele = 0; > hDecoder->first_syn_ele = 25; > hDecoder->has_lfe = 0; > > > if (hDecoder->object_type < 17) > { > > > while ((id_syn_ele = (uint8_t)faad_getbits(ld, 3 > )) != 0x7) > { > switch (id_syn_ele) { > case 0x0: > ele_this_frame++; > if (hDecoder->first_syn_ele == 25) hDecoder->first_syn_ele = id_syn_ele; > decode_sce_lfe(hDecoder, hInfo, ld, id_syn_ele); > if (hInfo->error > 0) > return; > break; > case 0x1: > ele_this_frame++; > if (hDecoder->first_syn_ele == 25) hDecoder->first_syn_ele = id_syn_ele; > decode_cpe(hDecoder, hInfo, ld, id_syn_ele); > if (hInfo->error > 0) > return; > break; > case 0x3: > > > > ele_this_frame++; > hDecoder->has_lfe++; > decode_sce_lfe(hDecoder, hInfo, ld, id_syn_ele); > > if (hInfo->error > 0) > return; > break; > case 0x2: > > > > ele_this_frame++; > > > > hInfo->error = 6; > > > if (hInfo->error > 0) > return; > break; > case 0x4: > ele_this_frame++; > data_stream_element(hDecoder, ld); > break; > case 0x5: > if (ele_this_frame != 0) > { > hInfo->error = 31; > return; > } > ele_this_frame++; > > > program_config_element(pce, ld); > > > > break; > case 0x6: > ele_this_frame++; > > > > if ((hInfo->error = fill_element(hDecoder, ld, drc > > , 255 > > )) > 0) > return; > break; > } > } > > } else { > > switch (hDecoder->channelConfiguration) > { > case 1: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > if (hInfo->error > 0) > return; > break; > case 2: > decode_cpe(hDecoder, hInfo, ld, 0x1); > if (hInfo->error > 0) > return; > break; > case 3: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > decode_cpe(hDecoder, hInfo, ld, 0x1); > if (hInfo->error > 0) > return; > break; > case 4: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > if (hInfo->error > 0) > return; > break; > case 5: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_cpe(hDecoder, hInfo, ld, 0x1); > if (hInfo->error > 0) > return; > break; > case 6: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_sce_lfe(hDecoder, hInfo, ld, 0x3); > if (hInfo->error > 0) > return; > break; > case 7: > decode_sce_lfe(hDecoder, hInfo, ld, 0x0); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_cpe(hDecoder, hInfo, ld, 0x1); > decode_sce_lfe(hDecoder, hInfo, ld, 0x3); > if (hInfo->error > 0) > return; > break; > default: > hInfo->error = 7; > return; > } > > > > > > > > } ># 583 "syntax.c" > { > faad_byte_align(ld); > } > > return; >} > > > >static uint8_t single_lfe_channel_element(NeAACDecStruct *hDecoder, bitfile *ld, > uint8_t channel, uint8_t *tag) >{ > uint8_t retval = 0; > element sce = {0}; > ic_stream *ics = &(sce.ics1); > int16_t spec_data[1024] = {0}; > > sce.element_instance_tag = (uint8_t)faad_getbits(ld, 4 > ); > > *tag = sce.element_instance_tag; > sce.channel = channel; > sce.paired_channel = -1; > > retval = individual_channel_stream(hDecoder, &sce, ld, ics, 0, spec_data); > if (retval > 0) > return retval; > > > if (ics->is_used) > return 32; > > > > > if (faad_showbits(ld, 3) == 0x6) > { > faad_flushbits(ld, 3); > > > if ((retval = fill_element(hDecoder, ld, hDecoder->drc, hDecoder->fr_ch_ele)) > 0) > { > return retval; > } > } > > > > retval = reconstruct_single_channel(hDecoder, ics, &sce, spec_data); > if (retval > 0) > return retval; > > return 0; >} > > >static uint8_t channel_pair_element(NeAACDecStruct *hDecoder, bitfile *ld, > uint8_t channels, uint8_t *tag) >{ > int16_t spec_data1[1024] = {0}; > int16_t spec_data2[1024] = {0}; > element cpe = {0}; > ic_stream *ics1 = &(cpe.ics1); > ic_stream *ics2 = &(cpe.ics2); > uint8_t result; > > cpe.channel = channels; > cpe.paired_channel = channels+1; > > cpe.element_instance_tag = (uint8_t)faad_getbits(ld, 4 > ); > *tag = cpe.element_instance_tag; > > if ((cpe.common_window = faad_get1bit(ld > )) & 1) > { > > if ((result = ics_info(hDecoder, ics1, ld, cpe.common_window)) > 0) > return result; > > ics1->ms_mask_present = (uint8_t)faad_getbits(ld, 2 > ); > if (ics1->ms_mask_present == 3) > { > > return 32; > } > if (ics1->ms_mask_present == 1) > { > uint8_t g, sfb; > for (g = 0; g < ics1->num_window_groups; g++) > { > for (sfb = 0; sfb < ics1->max_sfb; sfb++) > { > ics1->ms_used[g][sfb] = faad_get1bit(ld > ); > } > } > } > > > if ((hDecoder->object_type >= 17) && (ics1->predictor_data_present)) > { > if (( > > ics1->ltp.data_present = > > faad_get1bit(ld )) & 1) > { > > if ((result = ltp_data(hDecoder, ics1, &(ics1->ltp), ld)) > 0) > { > return result; > } > > > > } > } > > > memcpy(ics2, ics1, sizeof(ic_stream)); > } else { > ics1->ms_mask_present = 0; > } > > if ((result = individual_channel_stream(hDecoder, &cpe, ld, ics1, > 0, spec_data1)) > 0) > { > return result; > } > > > if (cpe.common_window && (hDecoder->object_type >= 17) && > (ics1->predictor_data_present)) > { > if (( > > ics1->ltp2.data_present = > > faad_get1bit(ld )) & 1) > { > > if ((result = ltp_data(hDecoder, ics1, &(ics1->ltp2), ld)) > 0) > { > return result; > } > > > > } > } > > > if ((result = individual_channel_stream(hDecoder, &cpe, ld, ics2, > 0, spec_data2)) > 0) > { > return result; > } > > > > > if (faad_showbits(ld, 3) == 0x6) > { > faad_flushbits(ld, 3); > > > if ((result = fill_element(hDecoder, ld, hDecoder->drc, hDecoder->fr_ch_ele)) > 0) > { > return result; > } > } > > > > if ((result = reconstruct_channel_pair(hDecoder, ics1, ics2, &cpe, > spec_data1, spec_data2)) > 0) > { > return result; > } > > return 0; >} > > >static uint8_t ics_info(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld, > uint8_t common_window) >{ > uint8_t retval = 0; > uint8_t ics_reserved_bit; > > ics_reserved_bit = faad_get1bit(ld > ); > if (ics_reserved_bit != 0) > return 32; > ics->window_sequence = (uint8_t)faad_getbits(ld, 2 > ); > ics->window_shape = faad_get1bit(ld > ); > > > > if ((hDecoder->object_type == 23) && (ics->window_sequence != 0x0)) > return 32; > > > if (ics->window_sequence == 0x2) > { > ics->max_sfb = (uint8_t)faad_getbits(ld, 4 > ); > ics->scale_factor_grouping = (uint8_t)faad_getbits(ld, 7 > ); > } else { > ics->max_sfb = (uint8_t)faad_getbits(ld, 6 > ); > } > > > if ((retval = window_grouping_info(hDecoder, ics)) > 0) > return retval; > > > > > if (ics->max_sfb > ics->num_swb) > return 16; > > if (ics->window_sequence != 0x2) > { > if ((ics->predictor_data_present = faad_get1bit(ld > )) & 1) > { > if (hDecoder->object_type == 1) > { > uint8_t sfb; > > uint8_t limit = (((ics->max_sfb) < (max_pred_sfb(hDecoder->sf_index))) ? (ics->max_sfb) : (max_pred_sfb(hDecoder->sf_index))); > > ics->pred.limit = limit; > > > if (( > > ics->pred.predictor_reset = > > faad_get1bit(ld )) & 1) > { > > ics->pred.predictor_reset_group_number = > > (uint8_t)faad_getbits(ld, 5 ); > } > > for (sfb = 0; sfb < limit; sfb++) > { > > ics->pred.prediction_used[sfb] = > > faad_get1bit(ld ); > } > } > > else { > if (hDecoder->object_type < 17) > { > if ((ics->ltp.data_present = faad_get1bit(ld > )) & 1) > { > if ((retval = ltp_data(hDecoder, ics, &(ics->ltp), ld)) > 0) > { > return retval; > } > } > if (common_window) > { > if ((ics->ltp2.data_present = faad_get1bit(ld > )) & 1) > { > if ((retval = ltp_data(hDecoder, ics, &(ics->ltp2), ld)) > 0) > { > return retval; > } > } > } > } > > if (!common_window && (hDecoder->object_type >= 17)) > { > if ((ics->ltp.data_present = faad_get1bit(ld > )) & 1) > { > ltp_data(hDecoder, ics, &(ics->ltp), ld); > } > } > > } > > } > } > > return retval; >} > > >static uint8_t pulse_data(ic_stream *ics, pulse_info *pul, bitfile *ld) >{ > uint8_t i; > > pul->number_pulse = (uint8_t)faad_getbits(ld, 2 > ); > pul->pulse_start_sfb = (uint8_t)faad_getbits(ld, 6 > ); > > > if (pul->pulse_start_sfb > ics->num_swb) > return 16; > > for (i = 0; i < pul->number_pulse+1; i++) > { > pul->pulse_offset[i] = (uint8_t)faad_getbits(ld, 5 > ); > > > > pul->pulse_amp[i] = (uint8_t)faad_getbits(ld, 4 > ); > > > > } > > return 0; >} ># 1013 "syntax.c" >static uint16_t data_stream_element(NeAACDecStruct *hDecoder, bitfile *ld) >{ > uint8_t byte_aligned; > uint16_t i, count; > > faad_getbits(ld, 4 > ); > byte_aligned = faad_get1bit(ld > ); > count = (uint16_t)faad_getbits(ld, 8 > ); > if (count == 255) > { > count += (uint16_t)faad_getbits(ld, 8 > ); > } > if (byte_aligned) > faad_byte_align(ld); > > for (i = 0; i < count; i++) > { > faad_getbits(ld, 8 > ); > } > > return count; >} > > >static uint8_t fill_element(NeAACDecStruct *hDecoder, bitfile *ld, drc_info *drc > > ,uint8_t sbr_ele > > ) >{ > uint16_t count; > > uint8_t bs_extension_type; > > > count = (uint16_t)faad_getbits(ld, 4 > ); > if (count == 15) > { > count += (uint16_t)faad_getbits(ld, 8 > ) - 1; > } > > if (count > 0) > { > > bs_extension_type = (uint8_t)faad_showbits(ld, 4); > > if ((bs_extension_type == 13) || > (bs_extension_type == 14)) > { > if (sbr_ele == 255) > return 24; > > if (!hDecoder->sbr[sbr_ele]) > { > hDecoder->sbr[sbr_ele] = sbrDecodeInit(hDecoder->frameLength, > hDecoder->element_id[sbr_ele], 2*get_sample_rate(hDecoder->sf_index), > hDecoder->downSampledSBR > > > > ); > } > > hDecoder->sbr_present_flag = 1; > > > hDecoder->sbr[sbr_ele]->ret = sbr_extension_data(ld, hDecoder->sbr[sbr_ele], count, > hDecoder->postSeekResetFlag); ># 1097 "syntax.c" > if (hDecoder->sbr[sbr_ele]->ps_used) > { > hDecoder->ps_used[sbr_ele] = 1; > > > hDecoder->ps_used_global = 1; > } > > } else { > > > while (count > 0) > { > count -= extension_payload(ld, drc, count); > } > > > > > } > > } > > return 0; >} ># 1499 "syntax.c" >static uint8_t side_info(NeAACDecStruct *hDecoder, element *ele, > bitfile *ld, ic_stream *ics, uint8_t scal_flag) >{ > uint8_t result; > > ics->global_gain = (uint8_t)faad_getbits(ld, 8 > ); > > if (!ele->common_window && !scal_flag) > { > if ((result = ics_info(hDecoder, ics, ld, ele->common_window)) > 0) > return result; > } > > if ((result = section_data(hDecoder, ics, ld)) > 0) > return result; > > if ((result = scale_factor_data(hDecoder, ics, ld)) > 0) > return result; > > if (!scal_flag) > { > > > > > > > if ((ics->pulse_data_present = faad_get1bit(ld > )) & 1) > { > if ((result = pulse_data(ics, &(ics->pul), ld)) > 0) > return result; > } > > > if ((ics->tns_data_present = faad_get1bit(ld > )) & 1) > { > > if (hDecoder->object_type < 17) > > tns_data(ics, &(ics->tns), ld); > } > > > if ((ics->gain_control_data_present = faad_get1bit(ld > )) & 1) > { > > > > > > > return 1; > > } > } > > > if (hDecoder->aacSpectralDataResilienceFlag) > { > ics->length_of_reordered_spectral_data = (uint16_t)faad_getbits(ld, 14 > ); > > if (hDecoder->channelConfiguration == 2) > { > if (ics->length_of_reordered_spectral_data > 6144) > ics->length_of_reordered_spectral_data = 6144; > } else { > if (ics->length_of_reordered_spectral_data > 12288) > ics->length_of_reordered_spectral_data = 12288; > } > > ics->length_of_longest_codeword = (uint8_t)faad_getbits(ld, 6 > ); > if (ics->length_of_longest_codeword >= 49) > ics->length_of_longest_codeword = 49; > } > > > if (hDecoder->aacScalefactorDataResilienceFlag) > { > if ((result = rvlc_decode_scale_factors(ics, ld)) > 0) > return result; > } > > > return 0; >} > > >static uint8_t individual_channel_stream(NeAACDecStruct *hDecoder, element *ele, > bitfile *ld, ic_stream *ics, uint8_t scal_flag, > int16_t *spec_data) >{ > uint8_t result; > > result = side_info(hDecoder, ele, ld, ics, scal_flag); > if (result > 0) > return result; > > if (hDecoder->object_type >= 17) > { > if (ics->tns_data_present) > tns_data(ics, &(ics->tns), ld); > } ># 1618 "syntax.c" > if (hDecoder->aacSpectralDataResilienceFlag) > { > > if ((result = reordered_spectral_data(hDecoder, ics, ld, spec_data)) > 0) > { > return result; > } > } else { > > > if ((result = spectral_data(hDecoder, ics, ld, spec_data)) > 0) > { > return result; > } > > } > > > > if (ics->pulse_data_present) > { > if (ics->window_sequence != 0x2) > { > if ((result = pulse_decode(ics, spec_data, hDecoder->frameLength)) > 0) > return result; > } else { > return 2; > } > } > > return 0; >} > > >static uint8_t section_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld) >{ > uint8_t g; > uint8_t sect_esc_val, sect_bits; > > if (ics->window_sequence == 0x2) > sect_bits = 3; > else > sect_bits = 5; > sect_esc_val = (1<<sect_bits) - 1; > > > > > > > for (g = 0; g < ics->num_window_groups; g++) > { > uint8_t k = 0; > uint8_t i = 0; > > while (k < ics->max_sfb) > { > > uint8_t vcb11 = 0; > > uint8_t sfb; > uint8_t sect_len_incr; > uint16_t sect_len = 0; > uint8_t sect_cb_bits = 4; > > > > if (ld->error != 0) > return 14; > > > if (hDecoder->aacSectionDataResilienceFlag) > sect_cb_bits = 5; > > > ics->sect_cb[g][i] = (uint8_t)faad_getbits(ld, sect_cb_bits > ); > > if (ics->sect_cb[g][i] == 12) > return 32; > > > > > > > if (ics->sect_cb[g][i] == 13) > ics->noise_used = 1; > > > > > > if (ics->sect_cb[g][i] == 14 || ics->sect_cb[g][i] == 15) > ics->is_used = 1; > > > if (hDecoder->aacSectionDataResilienceFlag) > { > if ((ics->sect_cb[g][i] == 11) || > ((ics->sect_cb[g][i] >= 16) && (ics->sect_cb[g][i] <= 32))) > { > vcb11 = 1; > } > } > if (vcb11) > { > sect_len_incr = 1; > } else { > > sect_len_incr = (uint8_t)faad_getbits(ld, sect_bits > ); > > } > > while ((sect_len_incr == sect_esc_val) > ) > { > sect_len += sect_len_incr; > sect_len_incr = (uint8_t)faad_getbits(ld, sect_bits > ); > } > > sect_len += sect_len_incr; > > ics->sect_start[g][i] = k; > ics->sect_end[g][i] = k + sect_len; ># 1753 "syntax.c" > if (ics->window_sequence == 0x2) > { > if (k + sect_len > 8*15) > return 15; > if (i >= 8*15) > return 15; > } else { > if (k + sect_len > 51) > return 15; > if (i >= 51) > return 15; > } > > for (sfb = k; sfb < k + sect_len; sfb++) > { > ics->sfb_cb[g][sfb] = ics->sect_cb[g][i]; > > > > } ># 1781 "syntax.c" > k += sect_len; > i++; > } > ics->num_sec[g] = i; > > > > if (k != ics->max_sfb) > { > return 32; > } > > > > } > > > > > > return 0; >} ># 1815 "syntax.c" >static uint8_t decode_scale_factors(ic_stream *ics, bitfile *ld) >{ > uint8_t g, sfb; > int16_t t; > int8_t noise_pcm_flag = 1; > > int16_t scale_factor = ics->global_gain; > int16_t is_position = 0; > int16_t noise_energy = ics->global_gain - 90; > > for (g = 0; g < ics->num_window_groups; g++) > { > for (sfb = 0; sfb < ics->max_sfb; sfb++) > { > switch (ics->sfb_cb[g][sfb]) > { > case 0: > ics->scale_factors[g][sfb] = 0; > > > > > break; > case 15: > case 14: > > > t = huffman_scale_factor(ld); > is_position += (t - 60); > ics->scale_factors[g][sfb] = is_position; > > > > > break; > case 13: > > > > if (noise_pcm_flag) > { > noise_pcm_flag = 0; > t = (int16_t)faad_getbits(ld, 9 > ) - 256; > } else { > t = huffman_scale_factor(ld); > t -= 60; > } > noise_energy += t; > ics->scale_factors[g][sfb] = noise_energy; ># 1873 "syntax.c" > break; > default: > > > > ics->scale_factors[g][sfb] = 0; > > > t = huffman_scale_factor(ld); > scale_factor += (t - 60); > if (scale_factor < 0 || scale_factor > 255) > return 4; > ics->scale_factors[g][sfb] = scale_factor; > > > > > break; > } > } > } > > return 0; >} > > >static uint8_t scale_factor_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld) >{ > uint8_t ret = 0; > > > > > > if (!hDecoder->aacScalefactorDataResilienceFlag) > { > > ret = decode_scale_factors(ics, ld); > > } else { > > > > > ret = rvlc_scale_factor_data(ics, ld); > } > > > > > > > > return ret; >} > > >static void tns_data(ic_stream *ics, tns_info *tns, bitfile *ld) >{ > uint8_t w, filt, i, start_coef_bits, coef_bits; > uint8_t n_filt_bits = 2; > uint8_t length_bits = 6; > uint8_t order_bits = 5; > > if (ics->window_sequence == 0x2) > { > n_filt_bits = 1; > length_bits = 4; > order_bits = 3; > } > > for (w = 0; w < ics->num_windows; w++) > { > tns->n_filt[w] = (uint8_t)faad_getbits(ld, n_filt_bits > ); > > > > > if (tns->n_filt[w]) > { > if ((tns->coef_res[w] = faad_get1bit(ld > )) & 1) > { > start_coef_bits = 4; > } else { > start_coef_bits = 3; > } > > > > } > > for (filt = 0; filt < tns->n_filt[w]; filt++) > { > tns->length[w][filt] = (uint8_t)faad_getbits(ld, length_bits > ); > > > > tns->order[w][filt] = (uint8_t)faad_getbits(ld, order_bits > ); > > > > if (tns->order[w][filt]) > { > tns->direction[w][filt] = faad_get1bit(ld > ); > > > > tns->coef_compress[w][filt] = faad_get1bit(ld > ); > > > > > coef_bits = start_coef_bits - tns->coef_compress[w][filt]; > for (i = 0; i < tns->order[w][filt]; i++) > { > tns->coef[w][filt][i] = (uint8_t)faad_getbits(ld, coef_bits > ); > > > > } > } > } > } >} > > > >static uint8_t ltp_data(NeAACDecStruct *hDecoder, ic_stream *ics, ltp_info *ltp, bitfile *ld) >{ > uint8_t sfb, w; > > ltp->lag = 0; > > > if (hDecoder->object_type == 23) > { > ltp->lag_update = (uint8_t)faad_getbits(ld, 1 > ); > > if (ltp->lag_update) > { > ltp->lag = (uint16_t)faad_getbits(ld, 10 > ); > } > } else { > > ltp->lag = (uint16_t)faad_getbits(ld, 11 > ); > > } > > > > if (ltp->lag > (hDecoder->frameLength << 1)) > return 18; > > ltp->coef = (uint8_t)faad_getbits(ld, 3 > ); > > if (ics->window_sequence == 0x2) > { > for (w = 0; w < ics->num_windows; w++) > { > if ((ltp->short_used[w] = faad_get1bit(ld > )) & 1) > { > ltp->short_lag_present[w] = faad_get1bit(ld > ); > if (ltp->short_lag_present[w]) > { > ltp->short_lag[w] = (uint8_t)faad_getbits(ld, 4 > ); > } > } > } > } else { > ltp->last_band = (ics->max_sfb < 40 ? ics->max_sfb : 40); > > for (sfb = 0; sfb < ltp->last_band; sfb++) > { > ltp->long_used[sfb] = faad_get1bit(ld > ); > } > } > > return 0; >} > > > >static uint8_t spectral_data(NeAACDecStruct *hDecoder, ic_stream *ics, bitfile *ld, > int16_t *spectral_data) >{ > int8_t i; > uint8_t g; > uint16_t inc, k, p = 0; > uint8_t groups = 0; > uint8_t sect_cb; > uint8_t result; > uint16_t nshort = hDecoder->frameLength/8; > > > > > > for(g = 0; g < ics->num_window_groups; g++) > { > p = groups*nshort; > > for (i = 0; i < ics->num_sec[g]; i++) > { > sect_cb = ics->sect_cb[g][i]; > > inc = (sect_cb >= 5) ? 2 : 4; > > switch (sect_cb) > { > case 0: > case 13: > case 15: > case 14: ># 2115 "syntax.c" > p += (ics->sect_sfb_offset[g][ics->sect_end[g][i]] - > ics->sect_sfb_offset[g][ics->sect_start[g][i]]); > break; > default: > > > > for (k = ics->sect_sfb_offset[g][ics->sect_start[g][i]]; > k < ics->sect_sfb_offset[g][ics->sect_end[g][i]]; k += inc) > { > if ((result = huffman_spectral_data(sect_cb, ld, &spectral_data[p])) > 0) > return result; ># 2136 "syntax.c" > p += inc; > } > break; > } > } > groups += ics->window_group_length[g]; > } > > > > > > > return 0; >} > > >static uint16_t extension_payload(bitfile *ld, drc_info *drc, uint16_t count) >{ > uint16_t i, n, dataElementLength; > uint8_t dataElementLengthPart; > uint8_t align = 4, data_element_version, loopCounter; > > uint8_t extension_type = (uint8_t)faad_getbits(ld, 4 > ); > > switch (extension_type) > { > case 11: > drc->present = 1; > n = dynamic_range_info(ld, drc); > return n; > case 1: > faad_getbits(ld, 4 > ); > for (i = 0; i < count-1; i++) > { > faad_getbits(ld, 8 > ); > } > return count; > case 2: > data_element_version = (uint8_t)faad_getbits(ld, 4 > ); > switch (data_element_version) > { > case 0: > loopCounter = 0; > dataElementLength = 0; > do { > dataElementLengthPart = (uint8_t)faad_getbits(ld, 8 > ); > dataElementLength += dataElementLengthPart; > loopCounter++; > } while (dataElementLengthPart == 255); > > for (i = 0; i < dataElementLength; i++) > { > faad_getbits(ld, 8 > ); > return (dataElementLength+loopCounter+1); > } > default: > align = 0; > } > case 0: > default: > faad_getbits(ld, align > ); > for (i = 0; i < count-1; i++) > { > faad_getbits(ld, 8 > ); > } > return count; > } >} > > >static uint8_t dynamic_range_info(bitfile *ld, drc_info *drc) >{ > uint8_t i, n = 1; > uint8_t band_incr; > > drc->num_bands = 1; > > if (faad_get1bit(ld > ) & 1) > { > drc->pce_instance_tag = (uint8_t)faad_getbits(ld, 4 > ); > faad_getbits(ld, 4 > ); > n++; > } > > drc->excluded_chns_present = faad_get1bit(ld > ); > if (drc->excluded_chns_present == 1) > { > n += excluded_channels(ld, drc); > } > > if (faad_get1bit(ld > ) & 1) > { > band_incr = (uint8_t)faad_getbits(ld, 4 > ); > faad_getbits(ld, 4 > ); > n++; > drc->num_bands += band_incr; > > for (i = 0; i < drc->num_bands; i++) > { > drc->band_top[i] = (uint8_t)faad_getbits(ld, 8 > ); > n++; > } > } > > if (faad_get1bit(ld > ) & 1) > { > drc->prog_ref_level = (uint8_t)faad_getbits(ld, 7 > ); > faad_get1bit(ld > ); > n++; > } > > for (i = 0; i < drc->num_bands; i++) > { > drc->dyn_rng_sgn[i] = faad_get1bit(ld > ); > drc->dyn_rng_ctl[i] = (uint8_t)faad_getbits(ld, 7 > ); > n++; > } > > return n; >} > > >static uint8_t excluded_channels(bitfile *ld, drc_info *drc) >{ > uint8_t i, n = 0; > uint8_t num_excl_chan = 7; > > for (i = 0; i < 7; i++) > { > drc->exclude_mask[i] = faad_get1bit(ld > ); > } > n++; > > while ((drc->additional_excluded_chns[n-1] = faad_get1bit(ld > )) == 1) > { > for (i = num_excl_chan; i < num_excl_chan+7; i++) > { > drc->exclude_mask[i] = faad_get1bit(ld > ); > } > n++; > num_excl_chan += 7; > } > > return n; >} > > > > >void get_adif_header(adif_header *adif, bitfile *ld) >{ > uint8_t i; > > faad_getbits(ld, 8 > ); > faad_getbits(ld, 8 > ); > faad_getbits(ld, 8 > ); > faad_getbits(ld, 8 > ); > adif->copyright_id_present = faad_get1bit(ld > ); > if(adif->copyright_id_present) > { > for (i = 0; i < 72/8; i++) > { > adif->copyright_id[i] = (int8_t)faad_getbits(ld, 8 > ); > } > adif->copyright_id[i] = 0; > } > adif->original_copy = faad_get1bit(ld > ); > adif->home = faad_get1bit(ld > ); > adif->bitstream_type = faad_get1bit(ld > ); > adif->bitrate = faad_getbits(ld, 23 > ); > adif->num_program_config_elements = (uint8_t)faad_getbits(ld, 4 > ); > > for (i = 0; i < adif->num_program_config_elements + 1; i++) > { > if(adif->bitstream_type == 0) > { > adif->adif_buffer_fullness = faad_getbits(ld, 20 > ); > } else { > adif->adif_buffer_fullness = 0; > } > > program_config_element(&adif->pce[i], ld); > } >} > > >uint8_t adts_frame(adts_header *adts, bitfile *ld) >{ > > if (adts_fixed_header(adts, ld)) > return 5; > adts_variable_header(adts, ld); > adts_error_check(adts, ld); > > return 0; >} > > >static uint8_t adts_fixed_header(adts_header *adts, bitfile *ld) >{ > uint16_t i; > uint8_t sync_err = 1; > > > for (i = 0; i < 768; i++) > { > adts->syncword = (uint16_t)faad_showbits(ld, 12); > if (adts->syncword != 0xFFF) > { > faad_getbits(ld, 8 > ); > } else { > sync_err = 0; > faad_getbits(ld, 12 > ); > break; > } > } > if (sync_err) > return 5; > > adts->id = faad_get1bit(ld > ); > adts->layer = (uint8_t)faad_getbits(ld, 2 > ); > adts->protection_absent = faad_get1bit(ld > ); > adts->profile = (uint8_t)faad_getbits(ld, 2 > ); > adts->sf_index = (uint8_t)faad_getbits(ld, 4 > ); > adts->private_bit = faad_get1bit(ld > ); > adts->channel_configuration = (uint8_t)faad_getbits(ld, 3 > ); > adts->original = faad_get1bit(ld > ); > adts->home = faad_get1bit(ld > ); > > if (adts->old_format == 1) > { > > if (adts->id == 0) > { > adts->emphasis = (uint8_t)faad_getbits(ld, 2 > ); > } > } > > return 0; >} > > >static void adts_variable_header(adts_header *adts, bitfile *ld) >{ > adts->copyright_identification_bit = faad_get1bit(ld > ); > adts->copyright_identification_start = faad_get1bit(ld > ); > adts->aac_frame_length = (uint16_t)faad_getbits(ld, 13 > ); > adts->adts_buffer_fullness = (uint16_t)faad_getbits(ld, 11 > ); > adts->no_raw_data_blocks_in_frame = (uint8_t)faad_getbits(ld, 2 > ); >} > > >static void adts_error_check(adts_header *adts, bitfile *ld) >{ > if (adts->protection_absent == 0) > { > adts->crc_check = (uint16_t)faad_getbits(ld, 16 > ); > } >} > > > >static uint32_t latm_get_value(bitfile *ld) >{ > uint32_t l, value; > uint8_t bytesForValue; > > bytesForValue = (uint8_t)faad_getbits(ld, 2); > value = 0; > for(l=0; l<bytesForValue; l++) > value = (value << 8) | (uint8_t)faad_getbits(ld, 8); > > return value; >} > > >static uint32_t latmParsePayload(latm_header *latm, bitfile *ld) >{ > > > uint32_t framelen; > uint8_t tmp; > > > framelen = 0; > if(latm->framelen_type==0) > { > do > { > tmp = (uint8_t)faad_getbits(ld, 8); > framelen += tmp; > } while(tmp==0xff); > } > else if(latm->framelen_type==1) > framelen=latm->frameLength; > > return framelen; >} > > >static uint32_t latmAudioMuxElement(latm_header *latm, bitfile *ld) >{ > uint32_t ascLen, asc_bits=0; > uint32_t x1, y1, m, n, i; > program_config pce; > mp4AudioSpecificConfig mp4ASC; > > latm->useSameStreamMux = (uint8_t)faad_getbits(ld, 1); > if(!latm->useSameStreamMux) > { > > latm->version = (uint8_t) faad_getbits(ld, 1); > if(latm->version) > latm->versionA = (uint8_t) faad_getbits(ld, 1); > if(latm->versionA) > { > > fprintf(stderr, "versionA not supported\n"); > return 0; > } > if(latm->version) > latm_get_value(ld); > latm->allStreamsSameTimeFraming = (uint8_t)faad_getbits(ld, 1); > latm->numSubFrames = (uint8_t)faad_getbits(ld, 6) + 1; > latm->numPrograms = (uint8_t)faad_getbits(ld, 4) + 1; > latm->numLayers = faad_getbits(ld, 3) + 1; > if(latm->numPrograms>1 || !latm->allStreamsSameTimeFraming || latm->numSubFrames>1 || latm->numLayers>1) > { > fprintf(stderr, "\r\nUnsupported LATM configuration: %d programs/ %d subframes, %d layers, allstreams: %d\n", > latm->numPrograms, latm->numSubFrames, latm->numLayers, latm->allStreamsSameTimeFraming); > return 0; > } > ascLen = 0; > if(latm->version) > ascLen = latm_get_value(ld); > > x1 = faad_get_processed_bits(ld); > if(AudioSpecificConfigFromBitfile(ld, &mp4ASC, &pce, 0, 1) < 0) > return 0; > > > > y1 = faad_get_processed_bits(ld); > if((y1-x1) <= 64*8) > { > faad_rewindbits(ld); > m = x1; > while(m>0) > { > n = (((m) < (32)) ? (m) : (32)); > faad_getbits(ld, n); > m -= n; > } > > i = 0; > m = latm->ASCbits = y1 - x1; > while(m > 0) > { > n = (((m) < (8)) ? (m) : (8)); > latm->ASC[i++] = (uint8_t) faad_getbits(ld, n); > m -= n; > } > } > > asc_bits = y1-x1; > > if(ascLen>asc_bits) > faad_getbits(ld, ascLen-asc_bits); > > latm->framelen_type = (uint8_t) faad_getbits(ld, 3); > if(latm->framelen_type == 0) > { > latm->frameLength = 0; > faad_getbits(ld, 8); > } > else if(latm->framelen_type == 1) > { > latm->frameLength = faad_getbits(ld, 9); > if(latm->frameLength==0) > { > fprintf(stderr, "Invalid frameLength: 0\r\n"); > return 0; > } > latm->frameLength = (latm->frameLength+20)*8; > } > else > { > fprintf(stderr, "Unsupported CELP/HCVX framelentype: %d\n", latm->framelen_type); > return 0; > } > > latm->otherDataLenBits = 0; > if(faad_getbits(ld, 1)) > { > int esc, tmp; > if(latm->version) > latm->otherDataLenBits = latm_get_value(ld); > else do > { > esc = faad_getbits(ld, 1); > tmp = faad_getbits(ld, 8); > latm->otherDataLenBits = (latm->otherDataLenBits << 8) + tmp; > } while(esc); > } > if(faad_getbits(ld, 1)) > faad_getbits(ld, 8); > latm->inited = 1; > } > > > if(latm->inited) > return latmParsePayload(latm, ld); > else > return 0; >} > > >uint32_t faad_latm_frame(latm_header *latm, bitfile *ld) >{ > uint16_t len; > uint32_t initpos, endpos, firstpos, ret; > > firstpos = faad_get_processed_bits(ld); > while (ld->bytes_left) > { > faad_byte_align(ld); > if(faad_showbits(ld, 11) != 0x2B7) > { > faad_getbits(ld, 8); > continue; > } > faad_getbits(ld, 11); > len = faad_getbits(ld, 13); > if(!len) > continue; > initpos = faad_get_processed_bits(ld); > ret = latmAudioMuxElement(latm, ld); > endpos = faad_get_processed_bits(ld); > if(ret>0) > return (len*8)-(endpos-initpos); > > } > return -1U; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 821223
:
584113
| 584114