Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27845 Details for
Bug 45371
xine-lib-1_rc3-r2 compiling error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessed file causing gcc ICE.
cc0kNXLW.out (text/plain), 150.69 KB, created by
peteru
on 2004-03-23 03:55:09 UTC
(
hide
)
Description:
Preprocessed file causing gcc ICE.
Filename:
MIME Type:
Creator:
peteru
Created:
2004-03-23 03:55:09 UTC
Size:
150.69 KB
patch
obsolete
>// /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/cc1 -quiet -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -MD .libs/ic_predict.d -MF .deps/ic_predict.TPlo -MP -MT ic_predict.lo -MQ .libs/ic_predict.o -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -DHAVE_CONFIG_H -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE ic_predict.c -quiet -dumpbase ic_predict.c -march=pentium4 -mfpmath=sse -msse2 -mmmx -mno-sse2 -auxbase-strip .libs/ic_predict.o -O3 -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -o - ># 1 "ic_predict.c" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "ic_predict.c" ># 28 "ic_predict.c" ># 1 "common.h" 1 ># 165 "common.h" ># 1 "../../config.h" 1 ># 166 "common.h" 2 > > ># 1 "/usr/include/stdio.h" 1 3 4 ># 28 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 295 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 296 "/usr/include/features.h" 2 3 4 ># 318 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 319 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/stdio.h" 2 3 4 > > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/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 > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 32 "/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; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef unsigned long long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long long int __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 unsigned long long int __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 int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long long int __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 > > > > > > > > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/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 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef long int wchar_t; ># 354 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/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; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >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-lib/i686-pc-linux-gnu/3.3.3/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 163 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 173 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 196 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 264 "/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; ># 312 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > >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_; ># 351 "/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); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > > > > >extern int __underflow (_IO_FILE *) ; >extern int __uflow (_IO_FILE *) ; >extern int __overflow (_IO_FILE *, int) ; >extern wint_t __wunderflow (_IO_FILE *) ; >extern wint_t __wuflow (_IO_FILE *) ; >extern wint_t __woverflow (_IO_FILE *, wint_t) ; ># 441 "/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) ; >extern int _IO_ferror (_IO_FILE *__fp) ; > >extern int _IO_peekc_locked (_IO_FILE *__fp) ; > > > > > >extern void _IO_flockfile (_IO_FILE *) ; >extern void _IO_funlockfile (_IO_FILE *) ; >extern int _IO_ftrylockfile (_IO_FILE *) ; ># 471 "/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 *) ; ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > > > >typedef _G_fpos64_t fpos_t; > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/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) ; > >extern int rename (__const char *__old, __const char *__new) ; > > > > ># 167 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64"); > > > > > > >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) ; > > > > > >extern char *tmpnam_r (char *__s) ; ># 196 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 221 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 231 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > ># 252 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64"); > >extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64"); > > > > > > > > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) ; > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) ; > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) ; > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) ; > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) ; > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) ; > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) ; > > >extern void setlinebuf (FILE *__stream) ; > > > > > > > > >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, ...) ; > > > > > >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) ; > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >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, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) ; > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 454 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 465 "/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); > ># 498 "/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); > > > > > > >extern char *gets (char *__s); > ># 543 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 559 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); > > > > > > > > >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); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 620 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 631 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 675 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); > > >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); > > > > > > > > ># 700 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64"); > > > > > > > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) ; > >extern int feof (FILE *__stream) ; > >extern int ferror (FILE *__stream) ; > > > > >extern void clearerr_unlocked (FILE *__stream) ; >extern int feof_unlocked (FILE *__stream) ; >extern int ferror_unlocked (FILE *__stream) ; > > > > > > > > >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[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 748 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) ; > > > > >extern int fileno_unlocked (FILE *__stream) ; ># 767 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) ; > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) ; > > > >extern int ftrylockfile (FILE *__stream) ; > > >extern void funlockfile (FILE *__stream) ; ># 828 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >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))); >} > > > > > >extern __inline __ssize_t >getline (char **__lineptr, size_t *__n, FILE *__stream) >{ > return __getdelim (__lineptr, __n, '\n', __stream); >} > > > > > >extern __inline int >feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 829 "/usr/include/stdio.h" 2 3 4 > > > ># 169 "common.h" 2 > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/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 __ino64_t ino_t; > > > > >typedef __ino64_t ino64_t; > > > > >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; > > > > > > > >typedef __off64_t off_t; > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >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 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/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; ># 191 "/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__))); ># 213 "/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 ># 214 "/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 ># 23 "/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 ># 118 "/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 ># 69 "/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 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/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); ># 121 "/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); > > > ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > ; >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > ; >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > ; > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >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)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; ># 244 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; > > > > > >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 83 "/usr/include/bits/sched.h" 3 4 >struct __sched_param > { > int __sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 267 "/usr/include/sys/types.h" 2 3 4 > > > ># 171 "common.h" 2 > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 37 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 38 "/usr/include/sys/stat.h" 2 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 36 "/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; > > > > __off64_t st_size; > > __blksize_t st_blksize; > > > > > __blkcnt64_t st_blocks; ># 70 "/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 > __ino64_t st_ino; > > }; > > >struct stat64 > { > __dev_t st_dev; > unsigned 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 int __pad2; > __off64_t st_size; > __blksize_t st_blksize; > > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 127 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 215 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64"); > > > >extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64"); > > > > > > >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) ; >extern int fstat64 (int __fd, struct stat64 *__buf) ; ># 239 "/usr/include/sys/stat.h" 3 4 >extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64"); ># 248 "/usr/include/sys/stat.h" 3 4 >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) ; > > > > > >extern int chmod (__const char *__file, __mode_t __mode) ; > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) ; > > > > >extern int fchmod (int __fd, __mode_t __mode) ; > > > > > >extern __mode_t umask (__mode_t __mask) ; > > > > >extern __mode_t getumask (void) ; > > > >extern int mkdir (__const char *__path, __mode_t __mode) ; > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > ; > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) ; ># 326 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64"); > > >extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64"); > >extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64"); ># 343 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > ; >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) ; >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) ; > >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) ; > > > > >extern __inline__ int stat (__const char *__path, > struct stat *__statbuf) >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline__ int lstat (__const char *__path, > struct stat *__statbuf) >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline__ int fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (3, __fd, __statbuf); >} > > >extern __inline__ int mknod (__const char *__path, __mode_t __mode, > __dev_t __dev) >{ > return __xmknod (1, __path, __mode, &__dev); >} > > > > > >extern __inline__ int stat64 (__const char *__path, > struct stat64 *__statbuf) >{ > return __xstat64 (3, __path, __statbuf); >} > > >extern __inline__ int lstat64 (__const char *__path, > struct stat64 *__statbuf) >{ > return __lxstat64 (3, __path, __statbuf); >} > > >extern __inline__ int fstat64 (int __fd, struct stat64 *__statbuf) >{ > return __fxstat64 (3, __fd, __statbuf); >} > > > > > ># 174 "common.h" 2 > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 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 ># 65 "/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__)); ># 93 "/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; > > ># 137 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) ; > > > > >extern double atof (__const char *__nptr) __attribute__ ((__pure__)); > >extern int atoi (__const char *__nptr) __attribute__ ((__pure__)); > >extern long int atol (__const char *__nptr) __attribute__ ((__pure__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__pure__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) ; > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) ; > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) ; > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) ; > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > ; > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) ; > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > ; > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) ; > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > ; > ># 225 "/usr/include/stdlib.h" 3 4 ># 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; ># 226 "/usr/include/stdlib.h" 2 3 4 > > > >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) ; > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) ; > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) ; > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > ; > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > ; > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) ; > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) ; > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > ; >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > ; >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) ; > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) ; > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) ; > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) ; > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > ; > > > > > > > > >extern __inline double >strtod (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >strtol (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >strtoul (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >strtof (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >strtold (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >strtoq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtouq (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >strtoll (__const char *__restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >strtoull (__const char * __restrict __nptr, char **__restrict __endptr, > int __base) >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 408 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) ; > > >extern long int a64l (__const char *__s) __attribute__ ((__pure__)); ># 423 "/usr/include/stdlib.h" 3 4 >extern long int random (void) ; > > >extern void srandom (unsigned int __seed) ; > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) ; > > > >extern char *setstate (char *__statebuf) ; > > > > > > > >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) ; > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) ; > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) ; > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) ; > > > > > > >extern int rand (void) ; > >extern void srand (unsigned int __seed) ; > > > > >extern int rand_r (unsigned int *__seed) ; > > > > > > > >extern double drand48 (void) ; >extern double erand48 (unsigned short int __xsubi[3]) ; > > >extern long int lrand48 (void) ; >extern long int nrand48 (unsigned short int __xsubi[3]) ; > > >extern long int mrand48 (void) ; >extern long int jrand48 (unsigned short int __xsubi[3]) ; > > >extern void srand48 (long int __seedval) ; >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) ; >extern void lcong48 (unsigned short int __param[7]) ; > > > > > >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) ; >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) ; > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) ; >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) ; > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) ; >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) ; > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > ; > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) ; > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) ; > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__malloc__)); > >extern void free (void *__ptr) ; > > > > >extern void cfree (void *__ptr) ; > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) ; > > > > > > ># 579 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__malloc__)); > > > > >extern void abort (void) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) ; > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > ; > > > > > > >extern void exit (int __status) __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) ; > > > > >extern char *__secure_getenv (__const char *__name) ; > > > > > >extern int putenv (char *__string) ; > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > ; > > >extern int unsetenv (__const char *__name) ; > > > > > > >extern int clearenv (void) ; ># 663 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) ; ># 677 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64"); > > > > > >extern int mkstemp64 (char *__template); ># 693 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) ; > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) ; ># 720 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) ; > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar); > > > >extern int abs (int __x) __attribute__ ((__const__)); >extern long int labs (long int __x) __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__const__)); > ># 784 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) ; >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) ; > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) ; >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) ; > > > > > > > >extern int mblen (__const char *__s, size_t __n) ; > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) ; > > >extern int wctomb (char *__s, wchar_t __wchar) ; > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) ; > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > ; > > > > > > > > >extern int rpmatch (__const char *__response) ; ># 866 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) ; > > > > > >extern void setkey (__const char *__key) ; > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) ; > > > >extern int unlockpt (int __fd) ; > > > > >extern char *ptsname (int __fd) ; > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) ; > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) ; > > > > > > ># 177 "common.h" 2 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 151 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 3 4 >typedef int ptrdiff_t; ># 178 "common.h" 2 ># 187 "common.h" ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) ; > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > ; > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > ; > > > > > >extern void *memset (void *__s, int __c, size_t __n) ; > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__pure__)); > > > > > >extern void *rawmemchr (__const void *__s, int __c) __attribute__ ((__pure__)); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__pure__)); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > ; > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > ; > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) ; > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; > ># 117 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__pure__)); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) ; > > > > >extern char *strdup (__const char *__s) __attribute__ ((__malloc__)); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__malloc__)); ># 160 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) __attribute__ ((__pure__)); > > > > > >extern char *strchrnul (__const char *__s, int __c) __attribute__ ((__pure__)); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__pure__)); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > ; > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) ; > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) ; > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > __attribute__ ((__pure__)); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > __attribute__ ((__pure__)); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) ; >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) ; > > > > > >extern size_t strlen (__const char *__s) __attribute__ ((__pure__)); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__pure__)); > > > > > >extern char *strerror (int __errnum) ; > > > > >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ; > > > > >extern void __bzero (void *__s, size_t __n) ; > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) ; > > >extern void bzero (void *__s, size_t __n) ; > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) __attribute__ ((__pure__)); > > > >extern int ffs (int __i) __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__pure__)); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) __attribute__ ((__pure__)); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > __attribute__ ((__pure__)); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) ; > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > > >extern char *strsignal (int __sig) ; > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > ; >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > ; > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; > > >extern char *strfry (char *__string) ; > > >extern void *memfrob (void *__s, size_t __n) ; > > > > > > >extern char *basename (__const char *__filename) ; ># 372 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 373 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 389 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 919 "/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; >} ># 976 "/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; >} ># 1033 "/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; >} ># 1085 "/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; >} ># 1117 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1135 "/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) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : 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; >} ># 1216 "/usr/include/bits/string2.h" 3 4 >extern char *__strdup (__const char *__string) __attribute__ ((__malloc__)); ># 1235 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__malloc__)); ># 376 "/usr/include/string.h" 2 3 4 > > > > ># 188 "common.h" 2 > > ># 1 "/usr/include/strings.h" 1 3 4 ># 191 "common.h" 2 > > ># 1 "/usr/include/inttypes.h" 1 3 4 ># 28 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 28 "/usr/include/stdint.h" 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; ># 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__ ((__const__)); > > >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > __attribute__ ((__const__)); > > >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) ; > > >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) ; > > >extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, > __gwchar_t **__restrict __endptr, int __base) > ; > > >extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, > __gwchar_t ** __restrict __endptr, int __base) > ; ># 396 "/usr/include/inttypes.h" 3 4 >extern __inline intmax_t >strtoimax (__const char *__restrict nptr, char **__restrict endptr, > int base) >{ > return __strtoll_internal (nptr, endptr, base, 0); >} ># 414 "/usr/include/inttypes.h" 3 4 >extern __inline uintmax_t >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) ; > > >extern __inline intmax_t >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) ; > > >extern __inline uintmax_t >wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, > int base) >{ > return __wcstoull_internal (nptr, endptr, base, 0); >} > > > > > ># 194 "common.h" 2 ># 210 "common.h" ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/environments.h" 2 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 195 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stddef.h" 1 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 ># 243 "/usr/include/unistd.h" 3 4 >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) ; > > > > >extern int euidaccess (__const char *__name, int __type) ; ># 289 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64"); ># 298 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) ; > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n); ># 340 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64"); > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64"); ># 356 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset); > > >extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, > __off64_t __offset); > > > > > > > >extern int pipe (int __pipedes[2]) ; ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) ; ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > ; > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > ; > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) ; > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > ; > > > > >extern int chdir (__const char *__path) ; > > > >extern int fchdir (int __fd) ; ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) ; > > > > > >extern char *get_current_dir_name (void) ; > > > > > > >extern char *getwd (char *__buf) ; > > > > >extern int dup (int __fd) ; > > >extern int dup2 (int __fd, int __fd2) ; > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) ; > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > ; > > > > >extern int execv (__const char *__path, char *__const __argv[]) ; > > > >extern int execle (__const char *__path, __const char *__arg, ...) ; > > > >extern int execl (__const char *__path, __const char *__arg, ...) ; > > > >extern int execvp (__const char *__file, char *__const __argv[]) ; > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) ; > > > > >extern int nice (int __inc) ; > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 25 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 526 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) ; > > >extern long int fpathconf (int __fd, int __name) ; > > >extern long int sysconf (int __name) __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) ; > > > > >extern __pid_t getpid (void) ; > > >extern __pid_t getppid (void) ; > > > > >extern __pid_t getpgrp (void) ; ># 561 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) ; > >extern __pid_t getpgid (__pid_t __pid) ; > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) ; ># 587 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) ; ># 605 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) ; > > > >extern __pid_t getsid (__pid_t __pid) ; > > > >extern __uid_t getuid (void) ; > > >extern __uid_t geteuid (void) ; > > >extern __gid_t getgid (void) ; > > >extern __gid_t getegid (void) ; > > > > >extern int getgroups (int __size, __gid_t __list[]) ; > > > >extern int group_member (__gid_t __gid) ; > > > > > > >extern int setuid (__uid_t __uid) ; > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) ; > > > > >extern int seteuid (__uid_t __uid) ; > > > > > > >extern int setgid (__gid_t __gid) ; > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) ; > > > > >extern int setegid (__gid_t __gid) ; > > > > > >extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); > > > >extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); > > > >extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > >extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > > > >extern __pid_t fork (void) ; > > > > > > >extern __pid_t vfork (void) ; > > > > > >extern char *ttyname (int __fd) ; > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) ; > > > >extern int isatty (int __fd) ; > > > > > >extern int ttyslot (void) ; > > > > >extern int link (__const char *__from, __const char *__to) ; > > > >extern int symlink (__const char *__from, __const char *__to) ; > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) ; > > > >extern int unlink (__const char *__name) ; > > >extern int rmdir (__const char *__path) ; > > > >extern __pid_t tcgetpgrp (int __fd) ; > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) ; > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len); > > > > >extern int setlogin (__const char *__name) ; ># 775 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 55 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 69 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 153 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > ; ># 776 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) ; > > > > > > >extern int sethostname (__const char *__name, size_t __len) ; > > > >extern int sethostid (long int __id) ; > > > > > >extern int getdomainname (char *__name, size_t __len) ; >extern int setdomainname (__const char *__name, size_t __len) ; > > > > > >extern int vhangup (void) ; > > >extern int revoke (__const char *__file) ; > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) ; > > > > > >extern int acct (__const char *__name) ; > > > >extern char *getusershell (void) ; >extern void endusershell (void) ; >extern void setusershell (void) ; > > > > > >extern int daemon (int __nochdir, int __noclose) ; > > > > > > >extern int chroot (__const char *__path) ; > > > >extern char *getpass (__const char *__prompt); ># 857 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) ; > > > > >extern int getpagesize (void) __attribute__ ((__const__)); > > > > > > > >extern int truncate (__const char *__file, __off64_t __length) __asm__ ("" "truncate64"); > > > > > > > >extern int truncate64 (__const char *__file, __off64_t __length) ; > > > > > > > >extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64"); > > > > > > >extern int ftruncate64 (int __fd, __off64_t __length) ; > > > > > >extern int getdtablesize (void) ; ># 918 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) ; > > > > > >extern void *sbrk (intptr_t __delta) ; ># 939 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) ; ># 965 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64"); > > > > > > >extern int lockf64 (int __fd, int __cmd, __off64_t __len); ># 993 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) ; > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) ; > > > >extern void encrypt (char *__block, int __edflag) ; > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) ; > > > > > > > >extern char *ctermid (char *__s) ; > > > ># 211 "common.h" 2 > > > >typedef float float32_t; ># 272 "common.h" > typedef float real_t; ># 287 "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)); > } ># 346 "common.h" ># 1 "/usr/include/math.h" 1 3 4 ># 29 "/usr/include/math.h" 3 4 > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 34 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 29 "/usr/include/bits/mathdef.h" 3 4 >typedef long double float_t; > >typedef long double double_t; ># 41 "/usr/include/math.h" 2 3 4 ># 65 "/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) ; extern double __acos (double __x) ; > >extern double asin (double __x) ; extern double __asin (double __x) ; > >extern double atan (double __x) ; extern double __atan (double __x) ; > >extern double atan2 (double __y, double __x) ; extern double __atan2 (double __y, double __x) ; > > >extern double cos (double __x) ; extern double __cos (double __x) ; > >extern double sin (double __x) ; extern double __sin (double __x) ; > >extern double tan (double __x) ; extern double __tan (double __x) ; > > > > >extern double cosh (double __x) ; extern double __cosh (double __x) ; > >extern double sinh (double __x) ; extern double __sinh (double __x) ; > >extern double tanh (double __x) ; extern double __tanh (double __x) ; > > > > >extern void sincos (double __x, double *__sinx, double *__cosx) ; extern void __sincos (double __x, double *__sinx, double *__cosx) ; > > > > > > >extern double acosh (double __x) ; extern double __acosh (double __x) ; > >extern double asinh (double __x) ; extern double __asinh (double __x) ; > >extern double atanh (double __x) ; extern double __atanh (double __x) ; > > > > > > > >extern double exp (double __x) ; extern double __exp (double __x) ; > > >extern double frexp (double __x, int *__exponent) ; extern double __frexp (double __x, int *__exponent) ; > > >extern double ldexp (double __x, int __exponent) ; extern double __ldexp (double __x, int __exponent) ; > > >extern double log (double __x) ; extern double __log (double __x) ; > > >extern double log10 (double __x) ; extern double __log10 (double __x) ; > > >extern double modf (double __x, double *__iptr) ; extern double __modf (double __x, double *__iptr) ; > > > > >extern double exp10 (double __x) ; extern double __exp10 (double __x) ; > >extern double pow10 (double __x) ; extern double __pow10 (double __x) ; > > > > > >extern double expm1 (double __x) ; extern double __expm1 (double __x) ; > > >extern double log1p (double __x) ; extern double __log1p (double __x) ; > > >extern double logb (double __x) ; extern double __logb (double __x) ; > > > > > > >extern double exp2 (double __x) ; extern double __exp2 (double __x) ; > > >extern double log2 (double __x) ; extern double __log2 (double __x) ; > > > > > > > > >extern double pow (double __x, double __y) ; extern double __pow (double __x, double __y) ; > > >extern double sqrt (double __x) ; extern double __sqrt (double __x) ; > > > > > >extern double hypot (double __x, double __y) ; extern double __hypot (double __x, double __y) ; > > > > > > >extern double cbrt (double __x) ; extern double __cbrt (double __x) ; > > > > > > > > >extern double ceil (double __x) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) ; extern double __fmod (double __x, double __y) ; > > > > >extern int __isinf (double __value) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) ; extern double __drem (double __x, double __y) ; > > > >extern double significand (double __x) ; extern double __significand (double __x) ; > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__const__)); > > >extern double j0 (double) ; extern double __j0 (double) ; >extern double j1 (double) ; extern double __j1 (double) ; >extern double jn (int, double) ; extern double __jn (int, double) ; >extern double y0 (double) ; extern double __y0 (double) ; >extern double y1 (double) ; extern double __y1 (double) ; >extern double yn (int, double) ; extern double __yn (int, double) ; > > > > > > >extern double erf (double) ; extern double __erf (double) ; >extern double erfc (double) ; extern double __erfc (double) ; >extern double lgamma (double) ; extern double __lgamma (double) ; > > > > > > >extern double tgamma (double) ; extern double __tgamma (double) ; > > > > > >extern double gamma (double) ; extern double __gamma (double) ; > > > > > > >extern double lgamma_r (double, int *__signgamp) ; extern double __lgamma_r (double, int *__signgamp) ; > > > > > > > >extern double rint (double __x) ; extern double __rint (double __x) ; > > >extern double nextafter (double __x, double __y) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) ; extern double __remainder (double __x, double __y) ; > > > >extern double scalbn (double __x, int __n) ; extern double __scalbn (double __x, int __n) ; > > > >extern int ilogb (double __x) ; extern int __ilogb (double __x) ; > > > > >extern double scalbln (double __x, long int __n) ; extern double __scalbln (double __x, long int __n) ; > > > >extern double nearbyint (double __x) ; extern double __nearbyint (double __x) ; > > > >extern double round (double __x) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__const__)); > > > >extern double trunc (double __x) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) ; extern double __remquo (double __x, double __y, int *__quo) ; > > > > > > >extern long int lrint (double __x) ; extern long int __lrint (double __x) ; >extern long long int llrint (double __x) ; extern long long int __llrint (double __x) ; > > > >extern long int lround (double __x) ; extern long int __lround (double __x) ; >extern long long int llround (double __x) ; extern long long int __llround (double __x) ; > > > >extern double fdim (double __x, double __y) ; extern double __fdim (double __x, double __y) ; > > >extern double fmax (double __x, double __y) ; extern double __fmax (double __x, double __y) ; > > >extern double fmin (double __x, double __y) ; extern double __fmin (double __x, double __y) ; > > > >extern int __fpclassify (double __value) > __attribute__ ((__const__)); > > >extern int __signbit (double __value) > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) ; extern double __fma (double __x, double __y, double __z) ; > > > > >extern double scalb (double __x, double __n) ; extern double __scalb (double __x, double __n) ; ># 66 "/usr/include/math.h" 2 3 4 ># 88 "/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) ; extern float __acosf (float __x) ; > >extern float asinf (float __x) ; extern float __asinf (float __x) ; > >extern float atanf (float __x) ; extern float __atanf (float __x) ; > >extern float atan2f (float __y, float __x) ; extern float __atan2f (float __y, float __x) ; > > >extern float cosf (float __x) ; extern float __cosf (float __x) ; > >extern float sinf (float __x) ; extern float __sinf (float __x) ; > >extern float tanf (float __x) ; extern float __tanf (float __x) ; > > > > >extern float coshf (float __x) ; extern float __coshf (float __x) ; > >extern float sinhf (float __x) ; extern float __sinhf (float __x) ; > >extern float tanhf (float __x) ; extern float __tanhf (float __x) ; > > > > >extern void sincosf (float __x, float *__sinx, float *__cosx) ; extern void __sincosf (float __x, float *__sinx, float *__cosx) ; > > > > > > >extern float acoshf (float __x) ; extern float __acoshf (float __x) ; > >extern float asinhf (float __x) ; extern float __asinhf (float __x) ; > >extern float atanhf (float __x) ; extern float __atanhf (float __x) ; > > > > > > > >extern float expf (float __x) ; extern float __expf (float __x) ; > > >extern float frexpf (float __x, int *__exponent) ; extern float __frexpf (float __x, int *__exponent) ; > > >extern float ldexpf (float __x, int __exponent) ; extern float __ldexpf (float __x, int __exponent) ; > > >extern float logf (float __x) ; extern float __logf (float __x) ; > > >extern float log10f (float __x) ; extern float __log10f (float __x) ; > > >extern float modff (float __x, float *__iptr) ; extern float __modff (float __x, float *__iptr) ; > > > > >extern float exp10f (float __x) ; extern float __exp10f (float __x) ; > >extern float pow10f (float __x) ; extern float __pow10f (float __x) ; > > > > > >extern float expm1f (float __x) ; extern float __expm1f (float __x) ; > > >extern float log1pf (float __x) ; extern float __log1pf (float __x) ; > > >extern float logbf (float __x) ; extern float __logbf (float __x) ; > > > > > > >extern float exp2f (float __x) ; extern float __exp2f (float __x) ; > > >extern float log2f (float __x) ; extern float __log2f (float __x) ; > > > > > > > > >extern float powf (float __x, float __y) ; extern float __powf (float __x, float __y) ; > > >extern float sqrtf (float __x) ; extern float __sqrtf (float __x) ; > > > > > >extern float hypotf (float __x, float __y) ; extern float __hypotf (float __x, float __y) ; > > > > > > >extern float cbrtf (float __x) ; extern float __cbrtf (float __x) ; > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) ; extern float __fmodf (float __x, float __y) ; > > > > >extern int __isinff (float __value) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) ; extern float __dremf (float __x, float __y) ; > > > >extern float significandf (float __x) ; extern float __significandf (float __x) ; > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__const__)); > > >extern float j0f (float) ; extern float __j0f (float) ; >extern float j1f (float) ; extern float __j1f (float) ; >extern float jnf (int, float) ; extern float __jnf (int, float) ; >extern float y0f (float) ; extern float __y0f (float) ; >extern float y1f (float) ; extern float __y1f (float) ; >extern float ynf (int, float) ; extern float __ynf (int, float) ; > > > > > > >extern float erff (float) ; extern float __erff (float) ; >extern float erfcf (float) ; extern float __erfcf (float) ; >extern float lgammaf (float) ; extern float __lgammaf (float) ; > > > > > > >extern float tgammaf (float) ; extern float __tgammaf (float) ; > > > > > >extern float gammaf (float) ; extern float __gammaf (float) ; > > > > > > >extern float lgammaf_r (float, int *__signgamp) ; extern float __lgammaf_r (float, int *__signgamp) ; > > > > > > > >extern float rintf (float __x) ; extern float __rintf (float __x) ; > > >extern float nextafterf (float __x, float __y) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) ; extern float __remainderf (float __x, float __y) ; > > > >extern float scalbnf (float __x, int __n) ; extern float __scalbnf (float __x, int __n) ; > > > >extern int ilogbf (float __x) ; extern int __ilogbf (float __x) ; > > > > >extern float scalblnf (float __x, long int __n) ; extern float __scalblnf (float __x, long int __n) ; > > > >extern float nearbyintf (float __x) ; extern float __nearbyintf (float __x) ; > > > >extern float roundf (float __x) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__const__)); > > > >extern float truncf (float __x) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) ; extern float __remquof (float __x, float __y, int *__quo) ; > > > > > > >extern long int lrintf (float __x) ; extern long int __lrintf (float __x) ; >extern long long int llrintf (float __x) ; extern long long int __llrintf (float __x) ; > > > >extern long int lroundf (float __x) ; extern long int __lroundf (float __x) ; >extern long long int llroundf (float __x) ; extern long long int __llroundf (float __x) ; > > > >extern float fdimf (float __x, float __y) ; extern float __fdimf (float __x, float __y) ; > > >extern float fmaxf (float __x, float __y) ; extern float __fmaxf (float __x, float __y) ; > > >extern float fminf (float __x, float __y) ; extern float __fminf (float __x, float __y) ; > > > >extern int __fpclassifyf (float __value) > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) ; extern float __fmaf (float __x, float __y, float __z) ; > > > > >extern float scalbf (float __x, float __n) ; extern float __scalbf (float __x, float __n) ; ># 89 "/usr/include/math.h" 2 3 4 ># 109 "/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) ; extern long double __acosl (long double __x) ; > >extern long double asinl (long double __x) ; extern long double __asinl (long double __x) ; > >extern long double atanl (long double __x) ; extern long double __atanl (long double __x) ; > >extern long double atan2l (long double __y, long double __x) ; extern long double __atan2l (long double __y, long double __x) ; > > >extern long double cosl (long double __x) ; extern long double __cosl (long double __x) ; > >extern long double sinl (long double __x) ; extern long double __sinl (long double __x) ; > >extern long double tanl (long double __x) ; extern long double __tanl (long double __x) ; > > > > >extern long double coshl (long double __x) ; extern long double __coshl (long double __x) ; > >extern long double sinhl (long double __x) ; extern long double __sinhl (long double __x) ; > >extern long double tanhl (long double __x) ; extern long double __tanhl (long double __x) ; > > > > >extern void sincosl (long double __x, long double *__sinx, long double *__cosx) ; extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) ; > > > > > > >extern long double acoshl (long double __x) ; extern long double __acoshl (long double __x) ; > >extern long double asinhl (long double __x) ; extern long double __asinhl (long double __x) ; > >extern long double atanhl (long double __x) ; extern long double __atanhl (long double __x) ; > > > > > > > >extern long double expl (long double __x) ; extern long double __expl (long double __x) ; > > >extern long double frexpl (long double __x, int *__exponent) ; extern long double __frexpl (long double __x, int *__exponent) ; > > >extern long double ldexpl (long double __x, int __exponent) ; extern long double __ldexpl (long double __x, int __exponent) ; > > >extern long double logl (long double __x) ; extern long double __logl (long double __x) ; > > >extern long double log10l (long double __x) ; extern long double __log10l (long double __x) ; > > >extern long double modfl (long double __x, long double *__iptr) ; extern long double __modfl (long double __x, long double *__iptr) ; > > > > >extern long double exp10l (long double __x) ; extern long double __exp10l (long double __x) ; > >extern long double pow10l (long double __x) ; extern long double __pow10l (long double __x) ; > > > > > >extern long double expm1l (long double __x) ; extern long double __expm1l (long double __x) ; > > >extern long double log1pl (long double __x) ; extern long double __log1pl (long double __x) ; > > >extern long double logbl (long double __x) ; extern long double __logbl (long double __x) ; > > > > > > >extern long double exp2l (long double __x) ; extern long double __exp2l (long double __x) ; > > >extern long double log2l (long double __x) ; extern long double __log2l (long double __x) ; > > > > > > > > >extern long double powl (long double __x, long double __y) ; extern long double __powl (long double __x, long double __y) ; > > >extern long double sqrtl (long double __x) ; extern long double __sqrtl (long double __x) ; > > > > > >extern long double hypotl (long double __x, long double __y) ; extern long double __hypotl (long double __x, long double __y) ; > > > > > > >extern long double cbrtl (long double __x) ; extern long double __cbrtl (long double __x) ; > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) ; extern long double __fmodl (long double __x, long double __y) ; > > > > >extern int __isinfl (long double __value) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) ; extern long double __dreml (long double __x, long double __y) ; > > > >extern long double significandl (long double __x) ; extern long double __significandl (long double __x) ; > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__const__)); > > >extern long double j0l (long double) ; extern long double __j0l (long double) ; >extern long double j1l (long double) ; extern long double __j1l (long double) ; >extern long double jnl (int, long double) ; extern long double __jnl (int, long double) ; >extern long double y0l (long double) ; extern long double __y0l (long double) ; >extern long double y1l (long double) ; extern long double __y1l (long double) ; >extern long double ynl (int, long double) ; extern long double __ynl (int, long double) ; > > > > > > >extern long double erfl (long double) ; extern long double __erfl (long double) ; >extern long double erfcl (long double) ; extern long double __erfcl (long double) ; >extern long double lgammal (long double) ; extern long double __lgammal (long double) ; > > > > > > >extern long double tgammal (long double) ; extern long double __tgammal (long double) ; > > > > > >extern long double gammal (long double) ; extern long double __gammal (long double) ; > > > > > > >extern long double lgammal_r (long double, int *__signgamp) ; extern long double __lgammal_r (long double, int *__signgamp) ; > > > > > > > >extern long double rintl (long double __x) ; extern long double __rintl (long double __x) ; > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) ; extern long double __remainderl (long double __x, long double __y) ; > > > >extern long double scalbnl (long double __x, int __n) ; extern long double __scalbnl (long double __x, int __n) ; > > > >extern int ilogbl (long double __x) ; extern int __ilogbl (long double __x) ; > > > > >extern long double scalblnl (long double __x, long int __n) ; extern long double __scalblnl (long double __x, long int __n) ; > > > >extern long double nearbyintl (long double __x) ; extern long double __nearbyintl (long double __x) ; > > > >extern long double roundl (long double __x) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) ; extern long double __remquol (long double __x, long double __y, int *__quo) ; > > > > > > >extern long int lrintl (long double __x) ; extern long int __lrintl (long double __x) ; >extern long long int llrintl (long double __x) ; extern long long int __llrintl (long double __x) ; > > > >extern long int lroundl (long double __x) ; extern long int __lroundl (long double __x) ; >extern long long int llroundl (long double __x) ; extern long long int __llroundl (long double __x) ; > > > >extern long double fdiml (long double __x, long double __y) ; extern long double __fdiml (long double __x, long double __y) ; > > >extern long double fmaxl (long double __x, long double __y) ; extern long double __fmaxl (long double __x, long double __y) ; > > >extern long double fminl (long double __x, long double __y) ; extern long double __fminl (long double __x, long double __y) ; > > > >extern int __fpclassifyl (long double __value) > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) ; extern long double __fmal (long double __x, long double __y, long double __z) ; > > > > >extern long double scalbl (long double __x, long double __n) ; extern long double __scalbl (long double __x, long double __n) ; ># 110 "/usr/include/math.h" 2 3 4 ># 125 "/usr/include/math.h" 3 4 >extern int signgam; ># 166 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 252 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 277 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 362 "/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 >__signbitf (float __x) >{ > __extension__ union { float __f; int __i; } __u = { __f: __x }; > return __u.__i < 0; >} >extern __inline int >__signbit (double __x) >{ > __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; > return __u.__i[1] < 0; >} >extern __inline int >__signbitl (long double __x) >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 291 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double __sgn (double) ; extern __inline double __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) ; extern __inline float __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) ; extern __inline long double __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } ># 426 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double atan2 (double __y, double __x) { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } extern __inline float atan2f (float __y, float __x) { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } extern __inline long double atan2l (long double __y, long double __x) { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } >extern __inline long double __atan2l (long double __y, long double __x) { register long double __value; __asm __volatile__ ("fpatan" : "=t" (__value) : "0" (__x), "u" (__y) : "st(1)"); return __value; } > > >extern __inline double fmod (double __x, double __y) { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } extern __inline float fmodf (float __x, float __y) { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } extern __inline long double fmodl (long double __x, long double __y) { register long double __value; __asm __volatile__ ("1: fprem\n\t" "fnstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value) : "0" (__x), "u" (__y) : "ax", "cc"); return __value; } ># 452 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double fabs (double __x) { return __builtin_fabs (__x); } >extern __inline float fabsf (float __x) { return __builtin_fabsf (__x); } >extern __inline long double fabsl (long double __x) { return __builtin_fabsl (__x); } >extern __inline long double __fabsl (long double __x) { return __builtin_fabsl (__x); } ># 474 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double atan (double __x) { register double __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } extern __inline float atanf (float __x) { register float __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } extern __inline long double atanl (long double __x) { register long double __result; __asm __volatile__ ("fld1; fpatan" : "=t" (__result) : "0" (__x) : "st(1)"); return __result; } > >extern __inline long double __sgn1l (long double) ; extern __inline long double __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; } ># 500 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double floor (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float floorf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double floorl (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } ># 511 "/usr/include/bits/mathinline.h" 3 4 >extern __inline double ceil (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float ceilf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double ceill (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } ># 616 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long int >lrintf (float __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >extern __inline long int >lrint (double __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} >extern __inline long int >lrintl (long double __x) >{ > long int __lrintres; __asm__ __volatile__ ("fistpl %0" : "=m" (__lrintres) : "t" (__x) : "st"); return __lrintres; >} ># 639 "/usr/include/bits/mathinline.h" 3 4 >extern __inline long long int >llrintf (float __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >extern __inline long long int >llrint (double __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} >extern __inline long long int >llrintl (long double __x) >{ > long long int __llrintres; __asm__ __volatile__ ("fistpll %0" : "=m" (__llrintres) : "t" (__x) : "st"); return __llrintres; >} > > > > > > > >extern __inline double drem (double __x, double __y) { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } extern __inline float dremf (float __x, float __y) { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } extern __inline long double dreml (long double __x, long double __y) { register double __value; register int __clobbered; __asm __volatile__ ("1: fprem1\n\t" "fstsw %%ax\n\t" "sahf\n\t" "jp 1b" : "=t" (__value), "=&a" (__clobbered) : "0" (__x), "u" (__y) : "cc"); return __value; } ># 674 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__finite (double __x) >{ > return (__extension__ > (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] > | 0x800fffffu) + 1) >> 31)); >} ># 363 "/usr/include/math.h" 2 3 4 ># 423 "/usr/include/math.h" 3 4 > ># 347 "common.h" 2 ># 380 "common.h" >typedef real_t complex_t[2]; > > > > > >uint8_t cpu_has_sse(void); >uint32_t random_int(void); >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(int32_t size); >void faad_free(void *b); ># 29 "ic_predict.c" 2 ># 1 "structs.h" 1 ># 35 "structs.h" ># 1 "cfft.h" 1 ># 35 "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); ># 36 "structs.h" 2 > ># 1 "sbr_dec.h" 1 ># 47 "sbr_dec.h" >typedef struct { > real_t *x; > uint8_t channels; >} qmfa_info; > >typedef struct { > real_t *v[2]; > uint8_t v_index; > uint8_t channels; > > > >} qmfs_info; > >typedef struct >{ > uint32_t sample_rate; > > 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][6]; > uint8_t t_Q[2][3]; > uint8_t f[2][6]; > uint8_t f_prev[2]; > > real_t *G_temp_prev[2][5]; > real_t *Q_temp_prev[2][5]; > > 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]; > int32_t Q_prev[2][64]; > real_t Q_orig[2][64][2]; > > 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 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]; > complex_t Xcodec[2][40][32]; ># 164 "sbr_dec.h" > uint8_t numTimeSlotsRate; > uint8_t numTimeSlots; > uint8_t tHFGen; > uint8_t tHFAdj; ># 177 "sbr_dec.h" > 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 > > > > ); >void sbrDecodeEnd(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 upsample_only); >uint8_t sbrDecodeSingleFrame(sbr_info *sbr, real_t *channel, > const uint8_t just_seeked, const uint8_t upsample_only); ># 38 "structs.h" 2 ># 48 "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; ># 236 "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]; > > 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 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 ele_id; > > 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 mp4AudioSpecificConfig >{ > > uint8_t objectTypeIndex; > uint8_t samplingFrequencyIndex; > uint32_t samplingFrequency; > uint8_t channelsConfiguration; > > > uint8_t frameLengthFlag; > uint8_t dependsOnCoreCoder; > uint16_t coreCoderDelay; > uint8_t extensionFlag; > uint8_t aacSectionDataResilienceFlag; > uint8_t aacScalefactorDataResilienceFlag; > uint8_t aacSpectralDataResilienceFlag; > uint8_t epConfig; > > int8_t sbr_present_flag; > int8_t forceUpSampling; >} mp4AudioSpecificConfig; > >typedef struct faacDecConfiguration >{ > uint8_t defObjectType; > uint32_t defSampleRate; > uint8_t outputFormat; > uint8_t downMatrix; > uint8_t useOldADTSFormat; > uint8_t dontUpSampleImplicitSBR; >} faacDecConfiguration, *faacDecConfigurationPtr; > >typedef struct faacDecFrameInfo >{ > uint32_t bytesconsumed; > uint32_t samples; > uint8_t channels; > uint8_t error; > uint32_t samplerate; > > > uint8_t sbr; > > > uint8_t object_type; > > > uint8_t header_type; > > > uint8_t num_front_channels; > uint8_t num_side_channels; > uint8_t num_back_channels; > uint8_t num_lfe_channels; > uint8_t channel_position[64]; >} faacDecFrameInfo; > >typedef struct >{ > uint8_t adts_header_present; > uint8_t adif_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 first_syn_ele; > uint8_t has_lfe; > uint8_t fr_channels; > uint8_t fr_ch_ele; > > void *sample_buffer; > uint8_t alloced_channels; > > 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; > uint8_t sbr_alloced[48]; > > sbr_info *sbr[48]; ># 418 "structs.h" > pred_state *pred_stat[64]; > > > int16_t *lt_pred_stat[64]; > > > > uint8_t pce_set; > program_config pce; > uint8_t element_id[64]; > uint8_t channel_element[64]; > uint8_t internal_channel[64]; > > > faacDecConfiguration config; ># 445 "structs.h" >} faacDecStruct, *faacDecHandle; ># 30 "ic_predict.c" 2 > > > ># 1 "syntax.h" 1 ># 35 "syntax.h" ># 1 "decoder.h" 1 ># 46 "decoder.h" ># 1 "bits.h" 1 ># 35 "bits.h" ># 1 "analysis.h" 1 ># 36 "bits.h" 2 > > > > > > > >typedef struct _bitfile >{ > > uint32_t bufa; > uint32_t bufb; > uint32_t bits_left; > uint32_t buffer_size; > uint32_t bytes_used; > uint8_t no_more_reading; > uint8_t error; > uint32_t *tail; > uint32_t *start; > void *buffer; >} bitfile; ># 68 "bits.h" >static uint32_t bitmask[] = { > 0x0, 0x1, 0x3, 0x7, 0xF, 0x1F, 0x3F, 0x7F, 0xFF, 0x1FF, > 0x3FF, 0x7FF, 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF, > 0x1FFFF, 0x3FFFF, 0x7FFFF, 0xFFFFF, 0x1FFFFF, 0x3FFFFF, > 0x7FFFFF, 0xFFFFFF, 0x1FFFFFF, 0x3FFFFFF, 0x7FFFFFF, > 0xFFFFFFF, 0x1FFFFFFF, 0x3FFFFFFF, 0x7FFFFFFF > > , 0xFFFFFFFF >}; > >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); >uint8_t *faad_getbitbuffer(bitfile *ld, uint32_t bits > ); > > > > > > >static __inline uint32_t getdword(void *mem) >{ ># 112 "bits.h" > uint32_t tmp; > tmp = *(uint32_t*)mem; > > ((tmp) = ( ((tmp)&0xff)<<24) | (((tmp)&0xff00)<<8) | (((tmp)>>8)&0xff00) | (((tmp)>>24)&0xff)); > > return tmp; > >} > >static __inline uint32_t faad_showbits(bitfile *ld, uint32_t bits) >{ > if (bits <= ld->bits_left) > { > return (ld->bufa >> (ld->bits_left - bits)) & bitmask[bits]; > } > > bits -= ld->bits_left; > return ((ld->bufa & bitmask[ld->bits_left]) << 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 __inline uint32_t faad_getbits(bitfile *ld, uint32_t n ) >{ > uint32_t ret; > > if (ld->no_more_reading || 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); > > ld->bytes_used += 4; > if (ld->bytes_used == ld->buffer_size) > ld->no_more_reading = 1; > if (ld->bytes_used > ld->buffer_size) > ld->error = 1; > } >} > >static __inline uint32_t faad_getbits_rev(bitfile *ld, uint32_t n > ) >{ > uint32_t ret; > > if (ld->no_more_reading) > return 0; > > if (n == 0) > return 0; > > ret = faad_showbits_rev(ld, n); > faad_flushbits_rev(ld, n); > > > > > > > return ret; >} ># 315 "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; >} ># 47 "decoder.h" 2 ># 1 "syntax.h" 1 ># 48 "decoder.h" 2 ># 1 "drc.h" 1 ># 38 "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 "decoder.h" 2 ># 1 "specrec.h" 1 ># 37 "specrec.h" >uint8_t window_grouping_info(faacDecHandle hDecoder, ic_stream *ics); >void apply_scalefactors(faacDecHandle hDecoder, ic_stream *ics, real_t *x_invquant, > uint16_t frame_len); > > > > >uint8_t reconstruct_channel_pair(faacDecHandle hDecoder, ic_stream *ics1, ic_stream *ics2, > element *cpe, int16_t *spec_data1, int16_t *spec_data2); >uint8_t reconstruct_single_channel(faacDecHandle hDecoder, ic_stream *ics, element *sce, > int16_t *spec_data); ># 50 "decoder.h" 2 ># 1 "filtbank.h" 1 ># 36 "filtbank.h" >fb_info *filter_bank_init(uint16_t frame_len); >void filter_bank_end(fb_info *fb); > > >void filter_bank_ltp(fb_info *fb, > uint8_t window_sequence, > uint8_t window_shape, > uint8_t window_shape_prev, > real_t *in_data, > real_t *out_mdct, > uint8_t object_type, > uint16_t frame_len); > > >void ifilter_bank(fb_info *fb, uint8_t window_sequence, uint8_t window_shape, > uint8_t window_shape_prev, real_t *freq_in, > real_t *time_out, real_t *overlap, > uint8_t object_type, uint16_t frame_len); ># 51 "decoder.h" 2 ># 1 "ic_predict.h" 1 ># 41 "ic_predict.h" >void pns_reset_pred_state(ic_stream *ics, pred_state *state); >void reset_all_predictors(pred_state *state, uint16_t frame_len); >void ic_prediction(ic_stream *ics, real_t *spec, pred_state *state, > uint16_t frame_len, uint8_t sf_index); > > static const real_t mnt_table[128] = { > ((real_t)(0.9531250000)), ((real_t)(0.9453125000)), > ((real_t)(0.9375000000)), ((real_t)(0.9296875000)), > ((real_t)(0.9257812500)), ((real_t)(0.9179687500)), > ((real_t)(0.9101562500)), ((real_t)(0.9023437500)), > ((real_t)(0.8984375000)), ((real_t)(0.8906250000)), > ((real_t)(0.8828125000)), ((real_t)(0.8789062500)), > ((real_t)(0.8710937500)), ((real_t)(0.8671875000)), > ((real_t)(0.8593750000)), ((real_t)(0.8515625000)), > ((real_t)(0.8476562500)), ((real_t)(0.8398437500)), > ((real_t)(0.8359375000)), ((real_t)(0.8281250000)), > ((real_t)(0.8242187500)), ((real_t)(0.8203125000)), > ((real_t)(0.8125000000)), ((real_t)(0.8085937500)), > ((real_t)(0.8007812500)), ((real_t)(0.7968750000)), > ((real_t)(0.7929687500)), ((real_t)(0.7851562500)), > ((real_t)(0.7812500000)), ((real_t)(0.7773437500)), > ((real_t)(0.7734375000)), ((real_t)(0.7656250000)), > ((real_t)(0.7617187500)), ((real_t)(0.7578125000)), > ((real_t)(0.7539062500)), ((real_t)(0.7500000000)), > ((real_t)(0.7421875000)), ((real_t)(0.7382812500)), > ((real_t)(0.7343750000)), ((real_t)(0.7304687500)), > ((real_t)(0.7265625000)), ((real_t)(0.7226562500)), > ((real_t)(0.7187500000)), ((real_t)(0.7148437500)), > ((real_t)(0.7109375000)), ((real_t)(0.7070312500)), > ((real_t)(0.6992187500)), ((real_t)(0.6953125000)), > ((real_t)(0.6914062500)), ((real_t)(0.6875000000)), > ((real_t)(0.6835937500)), ((real_t)(0.6796875000)), > ((real_t)(0.6796875000)), ((real_t)(0.6757812500)), > ((real_t)(0.6718750000)), ((real_t)(0.6679687500)), > ((real_t)(0.6640625000)), ((real_t)(0.6601562500)), > ((real_t)(0.6562500000)), ((real_t)(0.6523437500)), > ((real_t)(0.6484375000)), ((real_t)(0.6445312500)), > ((real_t)(0.6406250000)), ((real_t)(0.6406250000)), > ((real_t)(0.6367187500)), ((real_t)(0.6328125000)), > ((real_t)(0.6289062500)), ((real_t)(0.6250000000)), > ((real_t)(0.6210937500)), ((real_t)(0.6210937500)), > ((real_t)(0.6171875000)), ((real_t)(0.6132812500)), > ((real_t)(0.6093750000)), ((real_t)(0.6054687500)), > ((real_t)(0.6054687500)), ((real_t)(0.6015625000)), > ((real_t)(0.5976562500)), ((real_t)(0.5937500000)), > ((real_t)(0.5937500000)), ((real_t)(0.5898437500)), > ((real_t)(0.5859375000)), ((real_t)(0.5820312500)), > ((real_t)(0.5820312500)), ((real_t)(0.5781250000)), > ((real_t)(0.5742187500)), ((real_t)(0.5742187500)), > ((real_t)(0.5703125000)), ((real_t)(0.5664062500)), > ((real_t)(0.5664062500)), ((real_t)(0.5625000000)), > ((real_t)(0.5585937500)), ((real_t)(0.5585937500)), > ((real_t)(0.5546875000)), ((real_t)(0.5507812500)), > ((real_t)(0.5507812500)), ((real_t)(0.5468750000)), > ((real_t)(0.5429687500)), ((real_t)(0.5429687500)), > ((real_t)(0.5390625000)), ((real_t)(0.5390625000)), > ((real_t)(0.5351562500)), ((real_t)(0.5312500000)), > ((real_t)(0.5312500000)), ((real_t)(0.5273437500)), > ((real_t)(0.5273437500)), ((real_t)(0.5234375000)), > ((real_t)(0.5195312500)), ((real_t)(0.5195312500)), > ((real_t)(0.5156250000)), ((real_t)(0.5156250000)), > ((real_t)(0.5117187500)), ((real_t)(0.5117187500)), > ((real_t)(0.5078125000)), ((real_t)(0.5078125000)), > ((real_t)(0.5039062500)), ((real_t)(0.5039062500)), > ((real_t)(0.5000000000)), ((real_t)(0.4980468750)), > ((real_t)(0.4960937500)), ((real_t)(0.4941406250)), > ((real_t)(0.4921875000)), ((real_t)(0.4902343750)), > ((real_t)(0.4882812500)), ((real_t)(0.4863281250)), > ((real_t)(0.4843750000)), ((real_t)(0.4824218750)), > ((real_t)(0.4804687500)), ((real_t)(0.4785156250)) >}; > > static const real_t exp_table[128] = { > ((real_t)(0.50000000000000000000000000000000000000000000000000)), > ((real_t)(0.25000000000000000000000000000000000000000000000000)), > ((real_t)(0.12500000000000000000000000000000000000000000000000)), > ((real_t)(0.06250000000000000000000000000000000000000000000000)), > ((real_t)(0.03125000000000000000000000000000000000000000000000)), > ((real_t)(0.01562500000000000000000000000000000000000000000000)), > ((real_t)(0.00781250000000000000000000000000000000000000000000)), > ((real_t)(0.00390625000000000000000000000000000000000000000000)), > ((real_t)(0.00195312500000000000000000000000000000000000000000)), > ((real_t)(0.00097656250000000000000000000000000000000000000000)), > ((real_t)(0.00048828125000000000000000000000000000000000000000)), > ((real_t)(0.00024414062500000000000000000000000000000000000000)), > ((real_t)(0.00012207031250000000000000000000000000000000000000)), > ((real_t)(0.00006103515625000000000000000000000000000000000000)), > ((real_t)(0.00003051757812500000000000000000000000000000000000)), > ((real_t)(0.00001525878906250000000000000000000000000000000000)), > ((real_t)(0.00000762939453125000000000000000000000000000000000)), > ((real_t)(0.00000381469726562500000000000000000000000000000000)), > ((real_t)(0.00000190734863281250000000000000000000000000000000)), > ((real_t)(0.00000095367431640625000000000000000000000000000000)), > ((real_t)(0.00000047683715820312500000000000000000000000000000)), > ((real_t)(0.00000023841857910156250000000000000000000000000000)), > ((real_t)(0.00000011920928955078125000000000000000000000000000)), > ((real_t)(0.00000005960464477539062500000000000000000000000000)), > ((real_t)(0.00000002980232238769531300000000000000000000000000)), > ((real_t)(0.00000001490116119384765600000000000000000000000000)), > ((real_t)(0.00000000745058059692382810000000000000000000000000)), > ((real_t)(0.00000000372529029846191410000000000000000000000000)), > ((real_t)(0.00000000186264514923095700000000000000000000000000)), > ((real_t)(0.00000000093132257461547852000000000000000000000000)), > ((real_t)(0.00000000046566128730773926000000000000000000000000)), > ((real_t)(0.00000000023283064365386963000000000000000000000000)), > ((real_t)(0.00000000011641532182693481000000000000000000000000)), > ((real_t)(0.00000000005820766091346740700000000000000000000000)), > ((real_t)(0.00000000002910383045673370400000000000000000000000)), > ((real_t)(0.00000000001455191522836685200000000000000000000000)), > ((real_t)(0.00000000000727595761418342590000000000000000000000)), > ((real_t)(0.00000000000363797880709171300000000000000000000000)), > ((real_t)(0.00000000000181898940354585650000000000000000000000)), > ((real_t)(0.00000000000090949470177292824000000000000000000000)), > ((real_t)(0.00000000000045474735088646412000000000000000000000)), > ((real_t)(0.00000000000022737367544323206000000000000000000000)), > ((real_t)(0.00000000000011368683772161603000000000000000000000)), > ((real_t)(0.00000000000005684341886080801500000000000000000000)), > ((real_t)(0.00000000000002842170943040400700000000000000000000)), > ((real_t)(0.00000000000001421085471520200400000000000000000000)), > ((real_t)(0.00000000000000710542735760100190000000000000000000)), > ((real_t)(0.00000000000000355271367880050090000000000000000000)), > ((real_t)(0.00000000000000177635683940025050000000000000000000)), > ((real_t)(0.00000000000000088817841970012523000000000000000000)), > ((real_t)(0.00000000000000044408920985006262000000000000000000)), > ((real_t)(0.00000000000000022204460492503131000000000000000000)), > ((real_t)(0.00000000000000011102230246251565000000000000000000)), > ((real_t)(0.00000000000000005551115123125782700000000000000000)), > ((real_t)(0.00000000000000002775557561562891400000000000000000)), > ((real_t)(0.00000000000000001387778780781445700000000000000000)), > ((real_t)(0.00000000000000000693889390390722840000000000000000)), > ((real_t)(0.00000000000000000346944695195361420000000000000000)), > ((real_t)(0.00000000000000000173472347597680710000000000000000)), > ((real_t)(0.00000000000000000086736173798840355000000000000000)), > ((real_t)(0.00000000000000000043368086899420177000000000000000)), > ((real_t)(0.00000000000000000021684043449710089000000000000000)), > ((real_t)(0.00000000000000000010842021724855044000000000000000)), > ((real_t)(0.00000000000000000005421010862427522200000000000000)), > ((real_t)(0.00000000000000000002710505431213761100000000000000)), > ((real_t)(0.00000000000000000001355252715606880500000000000000)), > ((real_t)(0.00000000000000000000677626357803440270000000000000)), > ((real_t)(0.00000000000000000000338813178901720140000000000000)), > ((real_t)(0.00000000000000000000169406589450860070000000000000)), > ((real_t)(0.00000000000000000000084703294725430034000000000000)), > ((real_t)(0.00000000000000000000042351647362715017000000000000)), > ((real_t)(0.00000000000000000000021175823681357508000000000000)), > ((real_t)(0.00000000000000000000010587911840678754000000000000)), > ((real_t)(0.00000000000000000000005293955920339377100000000000)), > ((real_t)(0.00000000000000000000002646977960169688600000000000)), > ((real_t)(0.00000000000000000000001323488980084844300000000000)), > ((real_t)(0.00000000000000000000000661744490042422140000000000)), > ((real_t)(0.00000000000000000000000330872245021211070000000000)), > ((real_t)(0.00000000000000000000000165436122510605530000000000)), > ((real_t)(0.00000000000000000000000082718061255302767000000000)), > ((real_t)(0.00000000000000000000000041359030627651384000000000)), > ((real_t)(0.00000000000000000000000020679515313825692000000000)), > ((real_t)(0.00000000000000000000000010339757656912846000000000)), > ((real_t)(0.00000000000000000000000005169878828456423000000000)), > ((real_t)(0.00000000000000000000000002584939414228211500000000)), > ((real_t)(0.00000000000000000000000001292469707114105700000000)), > ((real_t)(0.00000000000000000000000000646234853557052870000000)), > ((real_t)(0.00000000000000000000000000323117426778526440000000)), > ((real_t)(0.00000000000000000000000000161558713389263220000000)), > ((real_t)(0.00000000000000000000000000080779356694631609000000)), > ((real_t)(0.00000000000000000000000000040389678347315804000000)), > ((real_t)(0.00000000000000000000000000020194839173657902000000)), > ((real_t)(0.00000000000000000000000000010097419586828951000000)), > ((real_t)(0.00000000000000000000000000005048709793414475600000)), > ((real_t)(0.00000000000000000000000000002524354896707237800000)), > ((real_t)(0.00000000000000000000000000001262177448353618900000)), > ((real_t)(0.00000000000000000000000000000631088724176809440000)), > ((real_t)(0.00000000000000000000000000000315544362088404720000)), > ((real_t)(0.00000000000000000000000000000157772181044202360000)), > ((real_t)(0.00000000000000000000000000000078886090522101181000)), > ((real_t)(0.00000000000000000000000000000039443045261050590000)), > ((real_t)(0.00000000000000000000000000000019721522630525295000)), > ((real_t)(0.00000000000000000000000000000009860761315262647600)), > ((real_t)(0.00000000000000000000000000000004930380657631323800)), > ((real_t)(0.00000000000000000000000000000002465190328815661900)), > ((real_t)(0.00000000000000000000000000000001232595164407830900)), > ((real_t)(0.00000000000000000000000000000000616297582203915470)), > ((real_t)(0.00000000000000000000000000000000308148791101957740)), > ((real_t)(0.00000000000000000000000000000000154074395550978870)), > ((real_t)(0.00000000000000000000000000000000077037197775489434)), > ((real_t)(0.00000000000000000000000000000000038518598887744717)), > ((real_t)(0.00000000000000000000000000000000019259299443872359)), > ((real_t)(0.00000000000000000000000000000000009629649721936179)), > ((real_t)(0.00000000000000000000000000000000004814824860968090)), > ((real_t)(0.00000000000000000000000000000000002407412430484045)), > ((real_t)(0.00000000000000000000000000000000001203706215242022)), > ((real_t)(0.00000000000000000000000000000000000601853107621011)), > ((real_t)(0.00000000000000000000000000000000000300926553810506)), > ((real_t)(0.00000000000000000000000000000000000150463276905253)), > ((real_t)(0.00000000000000000000000000000000000075231638452626)), > ((real_t)(0.00000000000000000000000000000000000037615819226313)), > ((real_t)(0.00000000000000000000000000000000000018807909613157)), > ((real_t)(0.00000000000000000000000000000000000009403954806578)), > ((real_t)(0.00000000000000000000000000000000000004701977403289)), > ((real_t)(0.00000000000000000000000000000000000002350988701645)), > ((real_t)(0.00000000000000000000000000000000000001175494350822)), > ((real_t)(0.0)), > ((real_t)(0.0)) >}; ># 52 "decoder.h" 2 ># 79 "decoder.h" >int8_t* faacDecGetErrorMessage(uint8_t errcode); > >uint32_t faacDecGetCapabilities(void); > >faacDecHandle faacDecOpen(void); > >faacDecConfigurationPtr faacDecGetCurrentConfiguration(faacDecHandle hDecoder); > >uint8_t faacDecSetConfiguration(faacDecHandle hDecoder, > faacDecConfigurationPtr config); > > >int32_t faacDecInit(faacDecHandle hDecoder, > uint8_t *buffer, > uint32_t buffer_size, > uint32_t *samplerate, > uint8_t *channels); > > >int8_t faacDecInit2(faacDecHandle hDecoder, uint8_t *pBuffer, > uint32_t SizeOfDecoderSpecificInfo, > uint32_t *samplerate, uint8_t *channels); > > >int8_t faacDecInitDRM(faacDecHandle hDecoder, uint32_t samplerate, > uint8_t channels); > >void faacDecClose(faacDecHandle hDecoder); > >void faacDecPostSeekReset(faacDecHandle hDecoder, int32_t frame); > >void* faacDecDecode(faacDecHandle hDecoder, > faacDecFrameInfo *hInfo, > uint8_t *buffer, > uint32_t buffer_size); ># 36 "syntax.h" 2 ># 108 "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 decode_sce_lfe(faacDecHandle hDecoder, faacDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele); >void decode_cpe(faacDecHandle hDecoder, faacDecFrameInfo *hInfo, bitfile *ld, > uint8_t id_syn_ele); >void raw_data_block(faacDecHandle hDecoder, faacDecFrameInfo *hInfo, > bitfile *ld, program_config *pce, drc_info *drc); >uint8_t reordered_spectral_data(faacDecHandle hDecoder, ic_stream *ics, bitfile *ld, > int16_t *spectral_data); ># 34 "ic_predict.c" 2 ># 1 "ic_predict.h" 1 ># 35 "ic_predict.c" 2 ># 1 "pns.h" 1 ># 41 "pns.h" >void pns_decode(ic_stream *ics_left, ic_stream *ics_right, > real_t *spec_left, real_t *spec_right, uint16_t frame_len, > uint8_t channel_pair, uint8_t object_type); > >static __inline uint8_t is_noise(ic_stream *ics, uint8_t group, uint8_t sfb) >{ > if (ics->sfb_cb[group][sfb] == 13) > return 1; > return 0; >} ># 36 "ic_predict.c" 2 > > >static void flt_round(float32_t *pf) >{ > int32_t flg; > uint32_t tmp, tmp1, tmp2; > > tmp = *(uint32_t*)pf; > flg = tmp & (uint32_t)0x00008000; > tmp &= (uint32_t)0xffff0000; > tmp1 = tmp; > > if (flg) > { > tmp &= (uint32_t)0xff800000; > tmp |= (uint32_t)0x00010000; > tmp2 = tmp; > tmp &= (uint32_t)0xff800000; > > *pf = *(float32_t*)&tmp1 + *(float32_t*)&tmp2 - *(float32_t*)&tmp; > } else { > *pf = *(float32_t*)&tmp; > } >} > >static int16_t quant_pred(float32_t x) >{ > int16_t q; > uint32_t *tmp = (uint32_t*)&x; > > q = (int16_t)(*tmp>>16); > > return q; >} > >static float32_t inv_quant_pred(int16_t q) >{ > float32_t x; > uint32_t *tmp = (uint32_t*)&x; > *tmp = ((uint32_t)q)<<16; > > return x; >} > >static void ic_predict(pred_state *state, real_t input, real_t *output, uint8_t pred) >{ > uint16_t tmp; > int16_t i, j; > real_t dr1, predictedvalue; > real_t e0, e1; > real_t k1, k2; > > real_t r[2]; > real_t COR[2]; > real_t VAR[2]; > > r[0] = inv_quant_pred(state->r[0]); > r[1] = inv_quant_pred(state->r[1]); > COR[0] = inv_quant_pred(state->COR[0]); > COR[1] = inv_quant_pred(state->COR[1]); > VAR[0] = inv_quant_pred(state->VAR[0]); > VAR[1] = inv_quant_pred(state->VAR[1]); > > > > tmp = state->VAR[0]; > j = (tmp >> 7); > i = tmp & 0x7f; > if (j >= 128) > { > j -= 128; > k1 = COR[0] * exp_table[j] * mnt_table[i]; > } else { > k1 = ((real_t)(0)); > } ># 129 "ic_predict.c" > if (pred) > { > > tmp = state->VAR[1]; > j = (tmp >> 7); > i = tmp & 0x7f; > if (j >= 128) > { > j -= 128; > k2 = COR[1] * exp_table[j] * mnt_table[i]; > } else { > k2 = ((real_t)(0)); > } ># 158 "ic_predict.c" > predictedvalue = k1*r[0] + k2*r[1]; > flt_round(&predictedvalue); > *output = input + predictedvalue; > } > > > e0 = *output; > e1 = e0 - k1*r[0]; > dr1 = k1*e0; > > VAR[0] = ((real_t)(0.90625))*VAR[0] + 0.5f * (r[0]*r[0] + e0*e0); > COR[0] = ((real_t)(0.90625))*COR[0] + r[0]*e0; > VAR[1] = ((real_t)(0.90625))*VAR[1] + 0.5f * (r[1]*r[1] + e1*e1); > COR[1] = ((real_t)(0.90625))*COR[1] + r[1]*e1; > > r[1] = ((real_t)(0.953125)) * (r[0]-dr1); > r[0] = ((real_t)(0.953125)) * e0; > > state->r[0] = quant_pred(r[0]); > state->r[1] = quant_pred(r[1]); > state->COR[0] = quant_pred(COR[0]); > state->COR[1] = quant_pred(COR[1]); > state->VAR[0] = quant_pred(VAR[0]); > state->VAR[1] = quant_pred(VAR[1]); >} > >static void reset_pred_state(pred_state *state) >{ > state->r[0] = 0; > state->r[1] = 0; > state->COR[0] = 0; > state->COR[1] = 0; > state->VAR[0] = 0x3F80; > state->VAR[1] = 0x3F80; >} > >void pns_reset_pred_state(ic_stream *ics, pred_state *state) >{ > uint8_t sfb, g, b; > uint16_t i, offs, offs2; > > > if (ics->window_sequence == 0x2) > return; > > for (g = 0; g < ics->num_window_groups; g++) > { > for (b = 0; b < ics->window_group_length[g]; b++) > { > for (sfb = 0; sfb < ics->max_sfb; sfb++) > { > if (is_noise(ics, g, sfb)) > { > offs = ics->swb_offset[sfb]; > offs2 = ics->swb_offset[sfb+1]; > > for (i = offs; i < offs2; i++) > reset_pred_state(&state[i]); > } > } > } > } >} > >void reset_all_predictors(pred_state *state, uint16_t frame_len) >{ > uint16_t i; > > for (i = 0; i < frame_len; i++) > reset_pred_state(&state[i]); >} > > >void ic_prediction(ic_stream *ics, real_t *spec, pred_state *state, > uint16_t frame_len, uint8_t sf_index) >{ > uint8_t sfb; > uint16_t bin; > > if (ics->window_sequence == 0x2) > { > reset_all_predictors(state, frame_len); > } else { > for (sfb = 0; sfb < max_pred_sfb(sf_index); sfb++) > { > uint16_t low = ics->swb_offset[sfb]; > uint16_t high = ics->swb_offset[sfb+1]; > > for (bin = low; bin < high; bin++) > { > ic_predict(&state[bin], spec[bin], &spec[bin], > (ics->predictor_data_present && ics->pred.prediction_used[sfb])); > } > } > > if (ics->predictor_data_present) > { > if (ics->pred.predictor_reset) > { > for (bin = ics->pred.predictor_reset_group_number - 1; > bin < frame_len; bin += 30) > { > reset_pred_state(&state[bin]); > } > } > } > } >}
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 45371
: 27845