Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 273931 Details for
Bug 405961
gcc fails with internal compiler error: in extract_insn, at recog.c:2083
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Preprocessed source
ccOUqQdE.out (text/plain), 209.53 KB, created by
Hakan Kuecuekyilmaz
on 2007-11-30 15:13:23 UTC
(
hide
)
Description:
Preprocessed source
Filename:
MIME Type:
Creator:
Hakan Kuecuekyilmaz
Created:
2007-11-30 15:13:23 UTC
Size:
209.53 KB
patch
obsolete
>// /usr/libexec/gcc/x86_64-redhat-linux/3.4.6/cc1 -quiet -I. -I. -I../../include -I../../include -I../../include -I../../unittest/mytap -MD my_atomic-t.d -MF .deps/my_atomic-t.Tpo -MP -MT my_atomic-t.o -MQ my_atomic-t.o -DHAVE_CONFIG_H -DUNIV_LINUX my_atomic-t.c -quiet -dumpbase my_atomic-t.c -mtune=nocona -auxbase-strip my_atomic-t.o -g -O3 -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wunused-parameter -fno-omit-frame-pointer -o - -frandom-seed=0 ># 1 "my_atomic-t.c" ># 1 "/home/hakan/work/mysql/mysql-6.0/unittest/mysys//" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "my_atomic-t.c" ># 16 "my_atomic-t.c" ># 1 "../../include/my_global.h" 1 ># 85 "../../include/my_global.h" ># 1 "../../include/my_config.h" 1 ># 86 "../../include/my_global.h" 2 ># 348 "../../include/my_global.h" ># 1 "/usr/include/pthread.h" 1 3 4 ># 18 "/usr/include/pthread.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 319 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 320 "/usr/include/features.h" 2 3 4 ># 342 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 343 "/usr/include/features.h" 2 3 4 ># 19 "/usr/include/pthread.h" 2 3 4 > ># 1 "/usr/include/sched.h" 1 3 4 ># 26 "/usr/include/sched.h" 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/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 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; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned 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 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 int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned long int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef 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 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 int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long int __fsfilcnt64_t; > >__extension__ typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef long int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 27 "/usr/include/sched.h" 2 3 4 > > ># 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; > }; ># 30 "/usr/include/sched.h" 2 3 4 > > ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 62 "/usr/include/bits/sched.h" 3 4 >struct sched_param > { > int __sched_priority; > }; > > > > > >extern int clone (int (*__fn) (void *__arg), void *__child_stack, > int __flags, void *__arg) __attribute__ ((__nothrow__)); > > > > > > > > > > >struct __sched_param > { > int __sched_priority; > }; ># 98 "/usr/include/bits/sched.h" 3 4 >typedef unsigned long int __cpu_mask; > > > > > > >typedef struct >{ > __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; >} cpu_set_t; ># 33 "/usr/include/sched.h" 2 3 4 > > > > > > > >extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) > __attribute__ ((__nothrow__)); > > >extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); > > >extern int sched_setscheduler (__pid_t __pid, int __policy, > __const struct sched_param *__param) __attribute__ ((__nothrow__)); > > >extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); > > >extern int sched_yield (void) __attribute__ ((__nothrow__)); > > >extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); > > >extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); > > >extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); ># 76 "/usr/include/sched.h" 3 4 >extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, > __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); > > >extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, > cpu_set_t *__cpuset) __attribute__ ((__nothrow__)); > > > ># 21 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 30 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 39 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 43 "/usr/include/time.h" 2 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; ># 129 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; > > > > > >typedef __pid_t pid_t; > > > > > > > > >extern clock_t clock (void) __attribute__ ((__nothrow__)); > > >extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); > > >extern double difftime (time_t __time1, time_t __time0) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > __attribute__ ((__nothrow__)); > > > > > ># 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; ># 214 "/usr/include/time.h" 2 3 4 > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) __attribute__ ((__nothrow__)); > >extern char *strptime_l (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) __attribute__ ((__nothrow__)); > > > > > > >extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) __attribute__ ((__nothrow__)); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); ># 309 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 324 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > __attribute__ ((__nothrow__)); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > __attribute__ ((__nothrow__)); > > >extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); ># 386 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 395 "/usr/include/time.h" 3 4 >extern struct tm *getdate (__const char *__string); ># 409 "/usr/include/time.h" 3 4 >extern int getdate_r (__const char *__restrict __string, > struct tm *__restrict __resbufp); > > > ># 22 "/usr/include/pthread.h" 2 3 4 > > ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 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; ># 34 "/usr/include/signal.h" 2 3 4 ># 50 "/usr/include/signal.h" 3 4 >typedef __sigset_t sigset_t; ># 400 "/usr/include/signal.h" 3 4 > ># 25 "/usr/include/pthread.h" 2 3 4 ># 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 ># 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; ># 26 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/initspin.h" 1 3 4 ># 27 "/usr/include/pthread.h" 2 3 4 > > > ># 59 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_CREATE_JOINABLE, > > PTHREAD_CREATE_DETACHED > >}; > >enum >{ > PTHREAD_INHERIT_SCHED, > > PTHREAD_EXPLICIT_SCHED > >}; > >enum >{ > PTHREAD_SCOPE_SYSTEM, > > PTHREAD_SCOPE_PROCESS > >}; > >enum >{ > PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_ADAPTIVE_NP > > , > PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL > > > > , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_ADAPTIVE_NP > >}; > >enum >{ > PTHREAD_PROCESS_PRIVATE, > > PTHREAD_PROCESS_SHARED > >}; > > >enum >{ > PTHREAD_RWLOCK_PREFER_READER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, > PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP >}; ># 131 "/usr/include/pthread.h" 3 4 >struct _pthread_cleanup_buffer >{ > void (*__routine) (void *); > void *__arg; > int __canceltype; > struct _pthread_cleanup_buffer *__prev; >}; > > > >enum >{ > PTHREAD_CANCEL_ENABLE, > > PTHREAD_CANCEL_DISABLE > >}; >enum >{ > PTHREAD_CANCEL_DEFERRED, > > PTHREAD_CANCEL_ASYNCHRONOUS > >}; ># 163 "/usr/include/pthread.h" 3 4 >extern int pthread_create (pthread_t *__restrict __threadp, > __const pthread_attr_t *__restrict __attr, > void *(*__start_routine) (void *), > void *__restrict __arg) __attribute__ ((__nothrow__)); > > >extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)); > > >extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); > > >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > > > > >extern int pthread_join (pthread_t __th, void **__thread_return); > > > > > >extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); > > > > > > > >extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, > int __detachstate) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, > int *__detachstate) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, > __const struct sched_param *__restrict > __param) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict > __attr, > struct sched_param *__restrict __param) > __attribute__ ((__nothrow__)); > > >extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) > __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict > __attr, int *__restrict __policy) > __attribute__ ((__nothrow__)); > > >extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, > int __inherit) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict > __attr, int *__restrict __inherit) > __attribute__ ((__nothrow__)); > > >extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) > __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, > int *__restrict __scope) __attribute__ ((__nothrow__)); > > > >extern int pthread_attr_setguardsize (pthread_attr_t *__attr, > size_t __guardsize) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __guardsize) > __attribute__ ((__nothrow__)); > > > > > > >extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, > void *__stackaddr) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict > __attr, void **__restrict __stackaddr) > __attribute__ ((__nothrow__)); > > > > > >extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, > size_t __stacksize) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, > void **__restrict __stackaddr, > size_t *__restrict __stacksize) __attribute__ ((__nothrow__)); > > > > > >extern int pthread_attr_setstacksize (pthread_attr_t *__attr, > size_t __stacksize) __attribute__ ((__nothrow__)); > > >extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __stacksize) > __attribute__ ((__nothrow__)); > > > > > >extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __attribute__ ((__nothrow__)); > > > > > > >extern int pthread_setschedparam (pthread_t __target_thread, int __policy, > __const struct sched_param *__param) > __attribute__ ((__nothrow__)); > > >extern int pthread_getschedparam (pthread_t __target_thread, > int *__restrict __policy, > struct sched_param *__restrict __param) > __attribute__ ((__nothrow__)); > > > >extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__)); > > >extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__)); > > > > > > > >extern int pthread_yield (void) __attribute__ ((__nothrow__)); > > > > > > >extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex, > __const pthread_mutexattr_t *__restrict > __mutex_attr) __attribute__ ((__nothrow__)); > > >extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); > > >extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); > > >extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); > > > >extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime) __attribute__ ((__nothrow__)); > > > >extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)); > > > > > > >extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __pshared) __attribute__ ((__nothrow__)); > > >extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, > int __pshared) __attribute__ ((__nothrow__)); > > > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) > __attribute__ ((__nothrow__)); > > >extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict > __attr, int *__restrict __kind) __attribute__ ((__nothrow__)); > > > > > > > >extern int pthread_cond_init (pthread_cond_t *__restrict __cond, > __const pthread_condattr_t *__restrict > __cond_attr) __attribute__ ((__nothrow__)); > > >extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); > > >extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); > > >extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)); > > > >extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex); > > > > > >extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime); > > > > >extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_condattr_getpshared (__const pthread_condattr_t * > __restrict __attr, > int *__restrict __pshared) __attribute__ ((__nothrow__)); > > >extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, > int __pshared) __attribute__ ((__nothrow__)); > > > > > > > >extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, > __const pthread_rwlockattr_t *__restrict > __attr) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > > >extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) __attribute__ ((__nothrow__)); > > > >extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > > >extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) __attribute__ ((__nothrow__)); > > > >extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)); > > > > > >extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pshared) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, > int __pshared) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *__attr, > int *__pref) __attribute__ ((__nothrow__)); > > >extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, > int __pref) __attribute__ ((__nothrow__)); ># 510 "/usr/include/pthread.h" 3 4 >extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) > __attribute__ ((__nothrow__)); > > >extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); > > >extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); > > >extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); > > >extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)); > > > > >extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, > __const pthread_barrierattr_t *__restrict > __attr, unsigned int __count) __attribute__ ((__nothrow__)); > >extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)); > >extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)); > >extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)); > >extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * > __restrict __attr, > int *__restrict __pshared) __attribute__ ((__nothrow__)); > >extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, > int __pshared) __attribute__ ((__nothrow__)); > >extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)); ># 557 "/usr/include/pthread.h" 3 4 >extern int pthread_key_create (pthread_key_t *__key, > void (*__destr_function) (void *)) __attribute__ ((__nothrow__)); > > >extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); > > >extern int pthread_setspecific (pthread_key_t __key, > __const void *__pointer) __attribute__ ((__nothrow__)); > > >extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); ># 580 "/usr/include/pthread.h" 3 4 >extern int pthread_once (pthread_once_t *__once_control, > void (*__init_routine) (void)); > > > > > > >extern int pthread_setcancelstate (int __state, int *__oldstate); > > > >extern int pthread_setcanceltype (int __type, int *__oldtype); > > >extern int pthread_cancel (pthread_t __cancelthread); > > > > >extern void pthread_testcancel (void); ># 614 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) __attribute__ ((__nothrow__)); > > > > > > > >extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer, > int __execute) __attribute__ ((__nothrow__)); ># 635 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) __attribute__ ((__nothrow__)); ># 646 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer, > int __execute) __attribute__ ((__nothrow__)); > > > > > >extern int pthread_getcpuclockid (pthread_t __thread_id, > __clockid_t *__clock_id) __attribute__ ((__nothrow__)); > > > > ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 31 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > __const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); > > >extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); ># 660 "/usr/include/pthread.h" 2 3 4 ># 675 "/usr/include/pthread.h" 3 4 >extern int pthread_atfork (void (*__prepare) (void), > void (*__parent) (void), > void (*__child) (void)) __attribute__ ((__nothrow__)); > > > > >extern void pthread_kill_other_threads_np (void) __attribute__ ((__nothrow__)); > > ># 349 "../../include/my_global.h" 2 ># 416 "../../include/my_global.h" ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 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/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 3 4 >typedef int wchar_t; ># 354 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/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/x86_64-redhat-linux/3.4.6/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/x86_64-redhat-linux/3.4.6/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/x86_64-redhat-linux/3.4.6/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/x86_64-redhat-linux/3.4.6/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 166 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/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; ># 315 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 324 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 360 "/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 *) __attribute__ ((__nothrow__)); >extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); >extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); ># 450 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 480 "/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) __attribute__ ((__nothrow__)); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_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) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > >extern FILE *tmpfile (void); ># 176 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); ># 198 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 223 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 233 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 264 "/usr/include/stdio.h" 3 4 > > >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) __attribute__ ((__nothrow__)); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __attribute__ ((__nothrow__)); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) __attribute__ ((__nothrow__)); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > __attribute__ ((__nothrow__)) __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, ...) __attribute__ ((__nothrow__)); > > > > > > > > >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__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 456 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 467 "/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); > ># 500 "/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); > ># 545 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 561 "/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); > ># 622 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 633 "/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); > ># 669 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream); ># 688 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 711 "/usr/include/stdio.h" 3 4 > > > >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) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >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[]; ># 750 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); ># 769 "/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) __attribute__ ((__nothrow__)); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 830 "/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 >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 831 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 417 "../../include/my_global.h" 2 > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/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 ># 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 ># 66 "/usr/include/bits/waitstatus.h" 2 3 4 > >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 68 "/usr/include/stdlib.h" 3 4 >typedef union > { > union wait *__uptr; > int *__iptr; > } __WAIT_STATUS __attribute__ ((__transparent_union__)); ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > ># 239 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern __inline double >__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline float >__attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtof_internal (__nptr, __endptr, 0); >} >extern __inline long double >__attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtold_internal (__nptr, __endptr, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 424 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > ># 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 __ino_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 __off_t off_t; > > > > > > >typedef __off64_t off64_t; ># 105 "/usr/include/sys/types.h" 3 4 >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; ># 137 "/usr/include/sys/types.h" 3 4 >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/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__))); ># 216 "/usr/include/sys/types.h" 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 ># 35 "/usr/include/sys/select.h" 2 3 4 ># 46 "/usr/include/sys/select.h" 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) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) 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; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 258 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 267 "/usr/include/sys/types.h" 2 3 4 > > > ># 434 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 607 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 691 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 702 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); ># 711 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))); ># 721 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 749 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)); > > > > > > >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) > __attribute__ ((__nonnull__ (1, 2, 5))); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > ># 814 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 902 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); > > > > > >extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) __attribute__ ((__nothrow__)); > > > >extern int unlockpt (int __fd) __attribute__ ((__nothrow__)); > > > > >extern char *ptsname (int __fd) __attribute__ ((__nothrow__)); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > ># 420 "../../include/my_global.h" 2 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 151 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 423 "../../include/my_global.h" 2 > > ># 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/huge_valf.h" 1 3 4 ># 36 "/usr/include/math.h" 2 3 4 ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 37 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 40 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 43 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 26 "/usr/include/bits/mathdef.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/mathdef.h" 2 3 4 > > > > >typedef float float_t; >typedef double double_t; ># 47 "/usr/include/math.h" 2 3 4 ># 70 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); > >extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); > >extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); > >extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); > > >extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); > >extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); > >extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); > > > > >extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); > >extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); > >extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); > > > > >extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); > > > > > > >extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); > >extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); > >extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); > > >extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); > > >extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); > > >extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); > > > > >extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__)); > >extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); > > >extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); > > >extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); > > > > > > >extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); > > >extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); > > > > > > >extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); >extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); >extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); >extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); >extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); >extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); > > > > > > >extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); >extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); >extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); > > > > > > >extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); > > > > > >extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); > > > > > > >extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); > > >extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); > > > > >extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); > > > >extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); >extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); > > > >extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); >extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); > > > >extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbit (double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); ># 71 "/usr/include/math.h" 2 3 4 ># 93 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); > >extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); > >extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); > >extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); > > >extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); > >extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); > >extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); > > > > >extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); > >extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); > >extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); > > > > >extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); > > > > > > >extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); > >extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); > >extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); > > > > > > > >extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); > > >extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); > > >extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); > > >extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); > > > > >extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__)); > >extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); > > >extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); > > >extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); > > > > > > >extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); > > >extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > > > >extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); >extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); >extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); >extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); >extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); >extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); > > > > > > >extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); >extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); >extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); > > > > > > >extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); > > > > > >extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); > > > > > > >extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); > > >extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); > > > > >extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); > > > >extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); >extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); > > > >extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); >extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); > > > >extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); ># 94 "/usr/include/math.h" 2 3 4 ># 114 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); > > >extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern void sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__)); extern void __sincosl (long double __x, long double *__sinx, long double *__cosx) __attribute__ ((__nothrow__)); > > > > > > >extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); > > > > >extern long double exp10l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp10l (long double __x) __attribute__ ((__nothrow__)); > >extern long double pow10l (long double __x) __attribute__ ((__nothrow__)); extern long double __pow10l (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); > > > > > > >extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > > > >extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); >extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); >extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); >extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); >extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); >extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); >extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); >extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__)); > > > > > >extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__)); >extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__)); >extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); ># 115 "/usr/include/math.h" 2 3 4 ># 130 "/usr/include/math.h" 3 4 >extern int signgam; ># 171 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 257 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 282 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 382 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 35 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) __signbitf (float __x) >{ > __extension__ union { float __f; int __i; } __u = { __f: __x }; > return __u.__i < 0; >} >extern __inline int >__attribute__ ((__nothrow__)) __signbit (double __x) >{ > __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; > return __u.__i[1] < 0; >} >extern __inline int >__attribute__ ((__nothrow__)) __signbitl (long double __x) >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 383 "/usr/include/math.h" 2 3 4 ># 438 "/usr/include/math.h" 3 4 > ># 426 "../../include/my_global.h" 2 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 2 3 4 ># 428 "../../include/my_global.h" 2 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/float.h" 1 3 4 ># 431 "../../include/my_global.h" 2 > > > > > > ># 1 "/usr/include/fcntl.h" 1 3 4 ># 29 "/usr/include/fcntl.h" 3 4 > > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 26 "/usr/include/bits/fcntl.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/fcntl.h" 2 3 4 ># 152 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > __off_t l_start; > __off_t l_len; > > > > > __pid_t l_pid; > }; > > >struct flock64 > { > short int l_type; > short int l_whence; > __off64_t l_start; > __off64_t l_len; > __pid_t l_pid; > }; ># 197 "/usr/include/bits/fcntl.h" 3 4 > > > >extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) > __attribute__ ((__nothrow__)); > > ># 34 "/usr/include/fcntl.h" 2 3 4 > > > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 43 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > > > > > __ino_t st_ino; > > > > > > > > __nlink_t st_nlink; > __mode_t st_mode; > > __uid_t st_uid; > __gid_t st_gid; > > int pad0; > > __dev_t st_rdev; > > > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; ># 88 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 103 "/usr/include/bits/stat.h" 3 4 > long int __unused[3]; ># 112 "/usr/include/bits/stat.h" 3 4 > }; > > > >struct stat64 > { > __dev_t st_dev; > > __ino64_t st_ino; > __nlink_t st_nlink; > __mode_t st_mode; > > > > > > > __uid_t st_uid; > __gid_t st_gid; > > int pad0; > __dev_t st_rdev; > __off_t st_size; > > > > > > __blksize_t st_blksize; > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 164 "/usr/include/bits/stat.h" 3 4 > long int __unused[3]; > > > > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 207 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 226 "/usr/include/sys/stat.h" 3 4 >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > > > >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 248 "/usr/include/sys/stat.h" 3 4 >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int chmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); > > > > > >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); > > > > >extern __mode_t getumask (void) __attribute__ ((__nothrow__)); > > > >extern int mkdir (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 324 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 350 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > > > > >extern __inline__ int >__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf) >{ > return __xstat (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) >{ > return __lxstat (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (1, __fd, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (0, __path, __mode, &__dev); >} > > > > > >extern __inline__ int >__attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf) >{ > return __xstat64 (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf) >{ > return __lxstat64 (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf) >{ > return __fxstat64 (1, __fd, __statbuf); >} > > > > > ># 38 "/usr/include/fcntl.h" 2 3 4 ># 63 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 72 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 82 "/usr/include/fcntl.h" 3 4 >extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 91 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 101 "/usr/include/fcntl.h" 3 4 >extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 120 "/usr/include/fcntl.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 129 "/usr/include/fcntl.h" 3 4 >extern int lockf64 (int __fd, int __cmd, __off64_t __len); > > > > > > > >extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, > int __advise) __attribute__ ((__nothrow__)); ># 149 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, > int __advise) __attribute__ ((__nothrow__)); ># 159 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); ># 170 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len); > > > > ># 438 "../../include/my_global.h" 2 > > ># 1 "/usr/include/sys/timeb.h" 1 3 4 ># 28 "/usr/include/sys/timeb.h" 3 4 > > > > >struct timeb > { > time_t time; > unsigned short int millitm; > short int timezone; > short int dstflag; > }; > > > >extern int ftime (struct timeb *__timebuf); > > ># 441 "../../include/my_global.h" 2 > > ># 1 "/usr/include/sys/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 3 4 ># 1 "/usr/include/bits/time.h" 1 3 4 ># 29 "/usr/include/sys/time.h" 2 3 4 ># 38 "/usr/include/sys/time.h" 3 4 > ># 56 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 72 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) __attribute__ ((__nothrow__)); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) __attribute__ ((__nothrow__)); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) __attribute__ ((__nothrow__)); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > >typedef enum __itimer_which __itimer_which_t; > > > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) __attribute__ ((__nothrow__)); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); ># 181 "/usr/include/sys/time.h" 3 4 > ># 444 "../../include/my_global.h" 2 ># 453 "../../include/my_global.h" ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 173 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 174 "/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 ># 178 "/usr/include/unistd.h" 2 3 4 ># 197 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 198 "/usr/include/unistd.h" 2 3 4 ># 238 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 258 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int euidaccess (__const char *__name, int __type) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 289 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); ># 300 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) __attribute__ ((__nothrow__)); > > > > > > >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); ># 330 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, > __off_t __offset); > > > > > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n, > __off_t __offset); ># 358 "/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]) __attribute__ ((__nothrow__)); ># 380 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 392 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 416 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)); ># 450 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)); > > > > > >extern char *get_current_dir_name (void) __attribute__ ((__nothrow__)); > > > > > > >extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__)); > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > __attribute__ ((__nothrow__)); > > > > >extern int execv (__const char *__path, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__)); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/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, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS > > }; > > >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 > > }; ># 533 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); ># 569 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); > >extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 595 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 612 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) __attribute__ ((__nothrow__)); > > > >extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__)); > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)); > > > >extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > > > >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > > >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) __attribute__ ((__nothrow__)); > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__)); > > > > >extern int link (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int symlink (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 785 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 786 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__)); > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern int setdomainname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__)); > > >extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) __attribute__ ((__nothrow__)); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__)); >extern void endusershell (void) __attribute__ ((__nothrow__)); >extern void setusershell (void) __attribute__ ((__nothrow__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)); > > > > > > >extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 871 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__)); > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__)); > > > > >extern int truncate (__const char *__file, __off_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 908 "/usr/include/unistd.h" 3 4 >extern int truncate64 (__const char *__file, __off64_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 918 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)); ># 928 "/usr/include/unistd.h" 3 4 >extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)); ># 938 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)); > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 959 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 1013 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); > > > ># 454 "../../include/my_global.h" 2 ># 463 "../../include/my_global.h" ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-x86_64/errno.h" 1 3 4 ># 5 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 38 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 55 "/usr/include/errno.h" 3 4 >extern char *program_invocation_name, *program_invocation_short_name; > > > > ># 69 "/usr/include/errno.h" 3 4 >typedef int error_t; ># 464 "../../include/my_global.h" 2 > > ># 1 "/usr/include/crypt.h" 1 3 4 ># 30 "/usr/include/crypt.h" 3 4 > > > >extern char *crypt (__const char *__key, __const char *__salt) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >struct crypt_data > { > char keysched[16 * 8]; > char sb0[32768]; > char sb1[32768]; > char sb2[32768]; > char sb3[32768]; > > char crypt_3_buf[14]; > char current_salt[2]; > long int current_saltbits; > int direction, initialized; > }; > >extern char *crypt_r (__const char *__key, __const char *__salt, > struct crypt_data * __restrict __data) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern void setkey_r (__const char *__key, > struct crypt_data * __restrict __data) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern void encrypt_r (char *__block, int __edflag, > struct crypt_data * __restrict __data) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > > > ># 467 "../../include/my_global.h" 2 > > > > > > > ># 1 "/usr/include/assert.h" 1 3 4 ># 65 "/usr/include/assert.h" 3 4 > > > >extern void __assert_fail (__const char *__assertion, __const char *__file, > unsigned int __line, __const char *__function) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > >extern void __assert_perror_fail (int __errnum, __const char *__file, > unsigned int __line, > __const char *__function) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > >extern void __assert (const char *__assertion, const char *__file, int __line) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > ># 475 "../../include/my_global.h" 2 ># 610 "../../include/my_global.h" ># 1 "../../include/my_attribute.h" 1 ># 611 "../../include/my_global.h" 2 > > > > > > > > >int __cxa_pure_virtual () __attribute__ ((weak)); > ># 647 "../../include/my_global.h" ># 1 "../../include/my_dbug.h" 1 ># 648 "../../include/my_global.h" 2 > > > > > > > >typedef int File; > >typedef int my_socket; > > > > > >typedef void (*sig_return)(); > > >typedef char pchar; >typedef char puchar; >typedef char pbool; >typedef short pshort; >typedef float pfloat; > > > > > > > > >typedef int (*qsort_cmp)(const void *,const void *); >typedef int (*qsort_cmp2)(void*, const void *,const void *); > > > ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 25 "/usr/include/sys/socket.h" 3 4 > > ># 1 "/usr/include/sys/uio.h" 1 3 4 ># 26 "/usr/include/sys/uio.h" 3 4 > > > ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 42 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 30 "/usr/include/sys/uio.h" 2 3 4 ># 40 "/usr/include/sys/uio.h" 3 4 >extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); ># 50 "/usr/include/sys/uio.h" 3 4 >extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); > > ># 28 "/usr/include/sys/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 30 "/usr/include/sys/socket.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 29 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 30 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/limits.h" 1 3 4 ># 32 "/usr/include/bits/socket.h" 2 3 4 ># 41 "/usr/include/bits/socket.h" 3 4 >enum __socket_type >{ > SOCK_STREAM = 1, > > > SOCK_DGRAM = 2, > > > SOCK_RAW = 3, > > SOCK_RDM = 4, > > SOCK_SEQPACKET = 5, > > > SOCK_PACKET = 10 > > > >}; ># 142 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/sockaddr.h" 1 3 4 ># 29 "/usr/include/bits/sockaddr.h" 3 4 >typedef unsigned short int sa_family_t; ># 143 "/usr/include/bits/socket.h" 2 3 4 > > >struct sockaddr > { > sa_family_t sa_family; > char sa_data[14]; > }; ># 162 "/usr/include/bits/socket.h" 3 4 >struct sockaddr_storage > { > sa_family_t ss_family; > __uint64_t __ss_align; > char __ss_padding[(128 - (2 * sizeof (__uint64_t)))]; > }; > > > >enum > { > MSG_OOB = 0x01, > > MSG_PEEK = 0x02, > > MSG_DONTROUTE = 0x04, > > > > MSG_TRYHARD = MSG_DONTROUTE, > > > MSG_CTRUNC = 0x08, > > MSG_PROXY = 0x10, > > MSG_TRUNC = 0x20, > > MSG_DONTWAIT = 0x40, > > MSG_EOR = 0x80, > > MSG_WAITALL = 0x100, > > MSG_FIN = 0x200, > > MSG_SYN = 0x400, > > MSG_CONFIRM = 0x800, > > MSG_RST = 0x1000, > > MSG_ERRQUEUE = 0x2000, > > MSG_NOSIGNAL = 0x4000, > > MSG_MORE = 0x8000 > > }; > > > > >struct msghdr > { > void *msg_name; > socklen_t msg_namelen; > > struct iovec *msg_iov; > size_t msg_iovlen; > > void *msg_control; > size_t msg_controllen; > > int msg_flags; > }; > > >struct cmsghdr > { > size_t cmsg_len; > > int cmsg_level; > int cmsg_type; > > __extension__ unsigned char __cmsg_data []; > > }; ># 257 "/usr/include/bits/socket.h" 3 4 >extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, > struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); > > > > >extern __inline struct cmsghdr * >__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) >{ > if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) > > return 0; > > __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg > + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); > if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control > + __mhdr->msg_controllen) > || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) > > return 0; > return __cmsg; >} > > > > >enum > { > SCM_RIGHTS = 0x01 > > > , SCM_CREDENTIALS = 0x02 > > > }; > > > >struct ucred >{ > pid_t pid; > uid_t uid; > gid_t gid; >}; > > ># 1 "/usr/include/asm/socket.h" 1 3 4 > > > ># 1 "/usr/include/asm-x86_64/socket.h" 1 3 4 > > > ># 1 "/usr/include/asm/sockios.h" 1 3 4 > > > ># 1 "/usr/include/asm-x86_64/sockios.h" 1 3 4 ># 5 "/usr/include/asm/sockios.h" 2 3 4 ># 5 "/usr/include/asm-x86_64/socket.h" 2 3 4 ># 5 "/usr/include/asm/socket.h" 2 3 4 ># 305 "/usr/include/bits/socket.h" 2 3 4 > > > >struct linger > { > int l_onoff; > int l_linger; > }; ># 36 "/usr/include/sys/socket.h" 2 3 4 > > > > >struct osockaddr > { > unsigned short int sa_family; > unsigned char sa_data[14]; > }; > > > > >enum >{ > SHUT_RD = 0, > > SHUT_WR, > > SHUT_RDWR > >}; ># 87 "/usr/include/sys/socket.h" 3 4 >typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__; > } __SOCKADDR_ARG __attribute__ ((__transparent_union__)); > > >typedef union { __const struct sockaddr *__restrict __sockaddr__; __const struct sockaddr_at *__restrict __sockaddr_at__; __const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; __const struct sockaddr_dl *__restrict __sockaddr_dl__; __const struct sockaddr_eon *__restrict __sockaddr_eon__; __const struct sockaddr_in *__restrict __sockaddr_in__; __const struct sockaddr_in6 *__restrict __sockaddr_in6__; __const struct sockaddr_inarp *__restrict __sockaddr_inarp__; __const struct sockaddr_ipx *__restrict __sockaddr_ipx__; __const struct sockaddr_iso *__restrict __sockaddr_iso__; __const struct sockaddr_ns *__restrict __sockaddr_ns__; __const struct sockaddr_un *__restrict __sockaddr_un__; __const struct sockaddr_x25 *__restrict __sockaddr_x25__; > } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__)); > > > > > > > >extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); > > > > > >extern int socketpair (int __domain, int __type, int __protocol, > int __fds[2]) __attribute__ ((__nothrow__)); > > >extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) > __attribute__ ((__nothrow__)); > > >extern int getsockname (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__)); ># 124 "/usr/include/sys/socket.h" 3 4 >extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); > > > >extern int getpeername (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__)); > > > > > > >extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, > int __flags, __CONST_SOCKADDR_ARG __addr, > socklen_t __addr_len); ># 161 "/usr/include/sys/socket.h" 3 4 >extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, > int __flags, __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, > int __flags); > > > > > > >extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); > > > > > >extern int getsockopt (int __fd, int __level, int __optname, > void *__restrict __optval, > socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); > > > > >extern int setsockopt (int __fd, int __level, int __optname, > __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); > > > > > >extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); ># 209 "/usr/include/sys/socket.h" 3 4 >extern int accept (int __fd, __SOCKADDR_ARG __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); > > > > >extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); > > > > > > > >extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); > > > ># 685 "../../include/my_global.h" 2 > >typedef socklen_t size_socket; ># 909 "../../include/my_global.h" >typedef long long my_ptrdiff_t; ># 958 "../../include/my_global.h" >typedef unsigned char uchar; > > > >typedef signed char int8; > > >typedef unsigned char uint8; > > >typedef short int16; > > >typedef unsigned short uint16; > > > >typedef int int32; > > >typedef unsigned int uint32; ># 1001 "../../include/my_global.h" >typedef unsigned long long int ulonglong; >typedef long long int longlong; > > > > > > >typedef longlong int64; > > >typedef ulonglong uint64; > > > > > > > >typedef unsigned long long my_ulonglong; > > > > > >typedef long intptr; ># 1051 "../../include/my_global.h" >typedef ulonglong my_off_t; > > > > > >typedef off_t os_off_t; ># 1081 "../../include/my_global.h" >typedef uint8 int7; >typedef short int15; >typedef int myf; >typedef char my_bool; > >typedef char bool; ># 1482 "../../include/my_global.h" ># 1 "/usr/include/dlfcn.h" 1 3 4 ># 25 "/usr/include/dlfcn.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 26 "/usr/include/dlfcn.h" 2 3 4 > > ># 1 "/usr/include/bits/dlfcn.h" 1 3 4 ># 58 "/usr/include/bits/dlfcn.h" 3 4 > > > >extern void _dl_mcount_wrapper_check (void *__selfpc) __attribute__ ((__nothrow__)); > > ># 29 "/usr/include/dlfcn.h" 2 3 4 ># 45 "/usr/include/dlfcn.h" 3 4 >typedef long int Lmid_t; > > > > > > > > > > > >extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__)); > > > >extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void *dlsym (void *__restrict __handle, > __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern void *dlmopen (Lmid_t __nsid, __const char *__file, int __mode) __attribute__ ((__nothrow__)); > > > >extern void *dlvsym (void *__restrict __handle, > __const char *__restrict __name, > __const char *__restrict __version) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > > > > > >extern char *dlerror (void) __attribute__ ((__nothrow__)); > > > > > >typedef struct >{ > __const char *dli_fname; > void *dli_fbase; > __const char *dli_sname; > void *dli_saddr; >} Dl_info; > > > >extern int dladdr (__const void *__address, Dl_info *__info) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int dladdr1 (__const void *__address, Dl_info *__info, > void **__extra_info, int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >enum > { > > RTLD_DL_SYMENT = 1, > > > RTLD_DL_LINKMAP = 2 > }; > > > > > > > >extern int dlinfo (void *__restrict __handle, > int __request, void *__restrict __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); > > >enum > { > > RTLD_DI_LMID = 1, > > > > RTLD_DI_LINKMAP = 2, > > > > > > > RTLD_DI_SERINFO = 4, > RTLD_DI_SERINFOSIZE = 5, > > > > RTLD_DI_ORIGIN = 6, > > RTLD_DI_CONFIGADDR = 3 > }; > > > > >typedef struct >{ > char *dls_name; > unsigned int dls_flags; >} Dl_serpath; > > > >typedef struct >{ > size_t dls_size; > unsigned int dls_cnt; > Dl_serpath dls_serpath[1]; >} Dl_serinfo; > > > > ># 1483 "../../include/my_global.h" 2 ># 17 "my_atomic-t.c" 2 ># 1 "../../include/my_sys.h" 1 ># 18 "../../include/my_sys.h" > ># 31 "../../include/my_sys.h" ># 1 "../../include/my_pthread.h" 1 ># 206 "../../include/my_pthread.h" >extern int my_pthread_getprio(pthread_t thread_id); > > > > > > >typedef void *(* pthread_handler)(void *); ># 285 "../../include/my_pthread.h" >extern void my_pthread_setprio(pthread_t thread_id,int prior); > > > > > > > >extern void my_pthread_attr_setprio(pthread_attr_t *attr, int priority); ># 458 "../../include/my_pthread.h" >typedef struct st_safe_mutex_t >{ > pthread_mutex_t global,mutex; > const char *file; > uint line,count; > pthread_t thread; > > > >} safe_mutex_t; ># 485 "../../include/my_pthread.h" >int safe_mutex_init(safe_mutex_t *mp, const pthread_mutexattr_t *attr, > const char *file, uint line); >int safe_mutex_lock(safe_mutex_t *mp, my_bool try_lock, const char *file, uint line); >int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line); >int safe_mutex_destroy(safe_mutex_t *mp,const char *file, uint line); >int safe_cond_wait(pthread_cond_t *cond, safe_mutex_t *mp,const char *file, > uint line); >int safe_cond_timedwait(pthread_cond_t *cond, safe_mutex_t *mp, > struct timespec *abstime, const char *file, uint line); >void safe_mutex_global_init(void); >void safe_mutex_end(FILE *file); ># 631 "../../include/my_pthread.h" >extern pthread_mutexattr_t my_fast_mutexattr; > > > > > >extern pthread_mutexattr_t my_errorcheck_mutexattr; ># 648 "../../include/my_pthread.h" >typedef ulong my_thread_id; > >extern my_bool my_thread_global_init(void); >extern void my_thread_global_end(void); >extern my_bool my_thread_init(void); >extern void my_thread_end(void); >extern const char *my_thread_name(void); >extern my_thread_id my_thread_dbug_id(void); >extern int pthread_no_free(void *); >extern int pthread_dummy(int); ># 674 "../../include/my_pthread.h" >struct st_my_thread_var >{ > int thr_errno; > pthread_cond_t suspend; > pthread_mutex_t mutex; > pthread_mutex_t * volatile current_mutex; > pthread_cond_t * volatile current_cond; > pthread_t pthread_self; > my_thread_id id; > int cmp_length; > int volatile abort; > my_bool init; > struct st_my_thread_var *next,**prev; > void *opt_info; > > > > >}; > >extern struct st_my_thread_var *_my_thread_var(void) __attribute__ ((const)); >extern uint my_thread_end_wait_time; ># 709 "../../include/my_pthread.h" >extern uint thd_lib_detected; ># 32 "../../include/my_sys.h" 2 > > ># 1 "../../include/m_ctype.h" 1 ># 41 "../../include/m_ctype.h" >typedef struct unicase_info_st >{ > uint16 toupper; > uint16 tolower; > uint16 sort; >} MY_UNICASE_INFO; > > >extern MY_UNICASE_INFO *my_unicase_default[256]; >extern MY_UNICASE_INFO *my_unicase_turkish[256]; > >typedef struct uni_ctype_st >{ > uchar pctype; > uchar *ctype; >} MY_UNI_CTYPE; > >extern MY_UNI_CTYPE my_uni_ctype[256]; ># 131 "../../include/m_ctype.h" >typedef struct my_uni_idx_st >{ > uint16 from; > uint16 to; > uchar *tab; >} MY_UNI_IDX; > >typedef struct >{ > uint beg; > uint end; > uint mb_len; >} my_match_t; > >enum my_lex_states >{ > MY_LEX_START, MY_LEX_CHAR, MY_LEX_IDENT, > MY_LEX_IDENT_SEP, MY_LEX_IDENT_START, > MY_LEX_REAL, MY_LEX_HEX_NUMBER, MY_LEX_BIN_NUMBER, > MY_LEX_CMP_OP, MY_LEX_LONG_CMP_OP, MY_LEX_STRING, MY_LEX_COMMENT, MY_LEX_END, > MY_LEX_OPERATOR_OR_IDENT, MY_LEX_NUMBER_IDENT, MY_LEX_INT_OR_REAL, > MY_LEX_REAL_OR_POINT, MY_LEX_BOOL, MY_LEX_EOL, MY_LEX_ESCAPE, > MY_LEX_LONG_COMMENT, MY_LEX_END_LONG_COMMENT, MY_LEX_SEMICOLON, > MY_LEX_SET_VAR, MY_LEX_USER_END, MY_LEX_HOSTNAME, MY_LEX_SKIP, > MY_LEX_USER_VARIABLE_DELIMITER, MY_LEX_SYSTEM_VAR, > MY_LEX_IDENT_OR_KEYWORD, > MY_LEX_IDENT_OR_HEX, MY_LEX_IDENT_OR_BIN, MY_LEX_IDENT_OR_NCHAR, > MY_LEX_STRING_OR_DELIMITER >}; > >struct charset_info_st; > > > >typedef struct my_collation_handler_st >{ > my_bool (*init)(struct charset_info_st *, void *(*alloc)(size_t)); > > int (*strnncoll)(struct charset_info_st *, > const uchar *, size_t, const uchar *, size_t, my_bool); > int (*strnncollsp)(struct charset_info_st *, > const uchar *, size_t, const uchar *, size_t, > my_bool diff_if_only_endspace_difference); > size_t (*strnxfrm)(struct charset_info_st *, > uchar *dst, size_t dstlen, uint nweights, > const uchar *src, size_t srclen, uint flags); > size_t (*strnxfrmlen)(struct charset_info_st *, size_t); > my_bool (*like_range)(struct charset_info_st *, > const char *s, size_t s_length, > pchar w_prefix, pchar w_one, pchar w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_len, size_t *max_len); > int (*wildcmp)(struct charset_info_st *, > const char *str,const char *str_end, > const char *wildstr,const char *wildend, > int escape,int w_one, int w_many); > > int (*strcasecmp)(struct charset_info_st *, const char *, const char *); > > uint (*instr)(struct charset_info_st *, > const char *b, size_t b_length, > const char *s, size_t s_length, > my_match_t *match, uint nmatch); > > > void (*hash_sort)(struct charset_info_st *cs, const uchar *key, size_t len, > ulong *nr1, ulong *nr2); > my_bool (*propagate)(struct charset_info_st *cs, const uchar *str, size_t len); >} MY_COLLATION_HANDLER; > >extern MY_COLLATION_HANDLER my_collation_mb_bin_handler; >extern MY_COLLATION_HANDLER my_collation_8bit_bin_handler; >extern MY_COLLATION_HANDLER my_collation_8bit_simple_ci_handler; >extern MY_COLLATION_HANDLER my_collation_ucs2_uca_handler; > > >typedef int (*my_charset_conv_mb_wc)(struct charset_info_st *, ulong *, > const uchar *, const uchar *); >typedef int (*my_charset_conv_wc_mb)(struct charset_info_st *, ulong, > uchar *, uchar *); >typedef size_t (*my_charset_conv_case)(struct charset_info_st *, > char *, size_t, char *, size_t); > > > >typedef struct my_charset_handler_st >{ > my_bool (*init)(struct charset_info_st *, void *(*alloc)(size_t)); > > uint (*ismbchar)(struct charset_info_st *, const char *, const char *); > uint (*mbcharlen)(struct charset_info_st *, uint c); > size_t (*numchars)(struct charset_info_st *, const char *b, const char *e); > size_t (*charpos)(struct charset_info_st *, const char *b, const char *e, > size_t pos); > size_t (*well_formed_len)(struct charset_info_st *, > const char *b,const char *e, > size_t nchars, int *error); > size_t (*lengthsp)(struct charset_info_st *, const char *ptr, size_t length); > size_t (*numcells)(struct charset_info_st *, const char *b, const char *e); > > > my_charset_conv_mb_wc mb_wc; > my_charset_conv_wc_mb wc_mb; > > > int (*ctype)(struct charset_info_st *cs, int *ctype, > const uchar *s, const uchar *e); > > > size_t (*caseup_str)(struct charset_info_st *, char *); > size_t (*casedn_str)(struct charset_info_st *, char *); > > my_charset_conv_case caseup; > my_charset_conv_case casedn; > > > size_t (*snprintf)(struct charset_info_st *, char *to, size_t n, > const char *fmt, > ...) __attribute__((format(printf, 4, 5))); > size_t (*long10_to_str)(struct charset_info_st *, char *to, size_t n, > int radix, long int val); > size_t (*longlong10_to_str)(struct charset_info_st *, char *to, size_t n, > int radix, longlong val); > > void (*fill)(struct charset_info_st *, char *to, size_t len, int fill); > > > long (*strntol)(struct charset_info_st *, const char *s, size_t l, > int base, char **e, int *err); > ulong (*strntoul)(struct charset_info_st *, const char *s, size_t l, > int base, char **e, int *err); > longlong (*strntoll)(struct charset_info_st *, const char *s, size_t l, > int base, char **e, int *err); > ulonglong (*strntoull)(struct charset_info_st *, const char *s, size_t l, > int base, char **e, int *err); > double (*strntod)(struct charset_info_st *, char *s, size_t l, char **e, > int *err); > longlong (*strtoll10)(struct charset_info_st *cs, > const char *nptr, char **endptr, int *error); > ulonglong (*strntoull10rnd)(struct charset_info_st *cs, > const char *str, size_t length, > int unsigned_fl, > char **endptr, int *error); > size_t (*scan)(struct charset_info_st *, const char *b, const char *e, > int sq); >} MY_CHARSET_HANDLER; > >extern MY_CHARSET_HANDLER my_charset_8bit_handler; >extern MY_CHARSET_HANDLER my_charset_ucs2_handler; > > > >typedef struct charset_info_st >{ > uint number; > uint primary_number; > uint binary_number; > uint state; > const char *csname; > const char *name; > const char *comment; > const char *tailoring; > uchar *ctype; > uchar *to_lower; > uchar *to_upper; > uchar *sort_order; > uint16 *contractions; > uint16 **sort_order_big; > uint16 *tab_to_uni; > MY_UNI_IDX *tab_from_uni; > MY_UNICASE_INFO **caseinfo; > uchar *state_map; > uchar *ident_map; > uint strxfrm_multiply; > uchar caseup_multiply; > uchar casedn_multiply; > uint mbminlen; > uint mbmaxlen; > uint16 min_sort_char; > uint16 max_sort_char; > uchar pad_char; > my_bool escape_with_backslash_is_dangerous; > uchar levels_for_compare; > uchar levels_for_order; > > MY_CHARSET_HANDLER *cset; > MY_COLLATION_HANDLER *coll; > >} CHARSET_INFO; > > >extern CHARSET_INFO my_charset_bin; >extern CHARSET_INFO my_charset_big5_chinese_ci; >extern CHARSET_INFO my_charset_big5_bin; >extern CHARSET_INFO my_charset_cp932_japanese_ci; >extern CHARSET_INFO my_charset_cp932_bin; >extern CHARSET_INFO my_charset_cp1250_czech_ci; >extern CHARSET_INFO my_charset_eucjpms_japanese_ci; >extern CHARSET_INFO my_charset_eucjpms_bin; >extern CHARSET_INFO my_charset_euckr_korean_ci; >extern CHARSET_INFO my_charset_euckr_bin; >extern CHARSET_INFO my_charset_filename; >extern CHARSET_INFO my_charset_gb2312_chinese_ci; >extern CHARSET_INFO my_charset_gb2312_bin; >extern CHARSET_INFO my_charset_gbk_chinese_ci; >extern CHARSET_INFO my_charset_gbk_bin; >extern CHARSET_INFO my_charset_latin1; >extern CHARSET_INFO my_charset_latin1_german2_ci; >extern CHARSET_INFO my_charset_latin1_bin; >extern CHARSET_INFO my_charset_latin2_czech_ci; >extern CHARSET_INFO my_charset_sjis_japanese_ci; >extern CHARSET_INFO my_charset_sjis_bin; >extern CHARSET_INFO my_charset_tis620_thai_ci; >extern CHARSET_INFO my_charset_tis620_bin; >extern CHARSET_INFO my_charset_ucs2_general_ci; >extern CHARSET_INFO my_charset_ucs2_bin; >extern CHARSET_INFO my_charset_ucs2_unicode_ci; >extern CHARSET_INFO my_charset_ujis_japanese_ci; >extern CHARSET_INFO my_charset_ujis_bin; >extern CHARSET_INFO my_charset_utf16_bin; >extern CHARSET_INFO my_charset_utf16_general_ci; >extern CHARSET_INFO my_charset_utf16_unicode_ci; >extern CHARSET_INFO my_charset_utf32_bin; >extern CHARSET_INFO my_charset_utf32_general_ci; >extern CHARSET_INFO my_charset_utf32_unicode_ci; >extern CHARSET_INFO my_charset_utf8mb3_bin; >extern CHARSET_INFO my_charset_utf8mb3_general_ci; >extern CHARSET_INFO my_charset_utf8mb3_unicode_ci; >extern CHARSET_INFO my_charset_utf8mb4_bin; >extern CHARSET_INFO my_charset_utf8mb4_general_ci; >extern CHARSET_INFO my_charset_utf8mb4_unicode_ci; ># 371 "../../include/m_ctype.h" >extern size_t my_strnxfrm_simple(CHARSET_INFO *, > uchar *dst, size_t dstlen, uint nweights, > const uchar *src, size_t srclen, uint flags); >size_t my_strnxfrmlen_simple(CHARSET_INFO *, size_t); >extern int my_strnncoll_simple(CHARSET_INFO *, const uchar *, size_t, > const uchar *, size_t, my_bool); > >extern int my_strnncollsp_simple(CHARSET_INFO *, const uchar *, size_t, > const uchar *, size_t, > my_bool diff_if_only_endspace_difference); > >extern void my_hash_sort_simple(CHARSET_INFO *cs, > const uchar *key, size_t len, > ulong *nr1, ulong *nr2); > >extern size_t my_lengthsp_8bit(CHARSET_INFO *cs, const char *ptr, size_t length); > >extern uint my_instr_simple(struct charset_info_st *, > const char *b, size_t b_length, > const char *s, size_t s_length, > my_match_t *match, uint nmatch); > > > >extern size_t my_caseup_str_8bit(CHARSET_INFO *, char *); >extern size_t my_casedn_str_8bit(CHARSET_INFO *, char *); >extern size_t my_caseup_8bit(CHARSET_INFO *, char *src, size_t srclen, > char *dst, size_t dstlen); >extern size_t my_casedn_8bit(CHARSET_INFO *, char *src, size_t srclen, > char *dst, size_t dstlen); > >extern int my_strcasecmp_8bit(CHARSET_INFO * cs, const char *, const char *); > >int my_mb_wc_8bit(CHARSET_INFO *cs,ulong *wc, const uchar *s,const uchar *e); >int my_wc_mb_8bit(CHARSET_INFO *cs,ulong wc, uchar *s, uchar *e); > >int my_mb_ctype_8bit(CHARSET_INFO *,int *, const uchar *,const uchar *); >int my_mb_ctype_mb(CHARSET_INFO *,int *, const uchar *,const uchar *); > >size_t my_scan_8bit(CHARSET_INFO *cs, const char *b, const char *e, int sq); > >size_t my_snprintf_8bit(struct charset_info_st *, char *to, size_t n, > const char *fmt, ...) > __attribute__((format(printf, 4, 5))); > >long my_strntol_8bit(CHARSET_INFO *, const char *s, size_t l, int base, > char **e, int *err); >ulong my_strntoul_8bit(CHARSET_INFO *, const char *s, size_t l, int base, > char **e, int *err); >longlong my_strntoll_8bit(CHARSET_INFO *, const char *s, size_t l, int base, > char **e, int *err); >ulonglong my_strntoull_8bit(CHARSET_INFO *, const char *s, size_t l, int base, > char **e, int *err); >double my_strntod_8bit(CHARSET_INFO *, char *s, size_t l,char **e, > int *err); >size_t my_long10_to_str_8bit(CHARSET_INFO *, char *to, size_t l, int radix, > long int val); >size_t my_longlong10_to_str_8bit(CHARSET_INFO *, char *to, size_t l, int radix, > longlong val); > >longlong my_strtoll10_8bit(CHARSET_INFO *cs, > const char *nptr, char **endptr, int *error); >longlong my_strtoll10_ucs2(CHARSET_INFO *cs, > const char *nptr, char **endptr, int *error); > >ulonglong my_strntoull10rnd_8bit(CHARSET_INFO *cs, > const char *str, size_t length, int > unsigned_fl, char **endptr, int *error); >ulonglong my_strntoull10rnd_ucs2(CHARSET_INFO *cs, > const char *str, size_t length, > int unsigned_fl, char **endptr, int *error); > >void my_fill_8bit(CHARSET_INFO *cs, char* to, size_t l, int fill); > >my_bool my_like_range_simple(CHARSET_INFO *cs, > const char *ptr, size_t ptr_length, > pbool escape, pbool w_one, pbool w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_length, size_t *max_length); > >my_bool my_like_range_mb(CHARSET_INFO *cs, > const char *ptr, size_t ptr_length, > pbool escape, pbool w_one, pbool w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_length, size_t *max_length); > >my_bool my_like_range_ucs2(CHARSET_INFO *cs, > const char *ptr, size_t ptr_length, > pbool escape, pbool w_one, pbool w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_length, size_t *max_length); > >my_bool my_like_range_utf16(CHARSET_INFO *cs, > const char *ptr, size_t ptr_length, > pbool escape, pbool w_one, pbool w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_length, size_t *max_length); > >my_bool my_like_range_utf32(CHARSET_INFO *cs, > const char *ptr, size_t ptr_length, > pbool escape, pbool w_one, pbool w_many, > size_t res_length, > char *min_str, char *max_str, > size_t *min_length, size_t *max_length); > > >int my_wildcmp_8bit(CHARSET_INFO *, > const char *str,const char *str_end, > const char *wildstr,const char *wildend, > int escape, int w_one, int w_many); > >int my_wildcmp_bin(CHARSET_INFO *, > const char *str,const char *str_end, > const char *wildstr,const char *wildend, > int escape, int w_one, int w_many); > >size_t my_numchars_8bit(CHARSET_INFO *, const char *b, const char *e); >size_t my_numcells_8bit(CHARSET_INFO *, const char *b, const char *e); >size_t my_charpos_8bit(CHARSET_INFO *, const char *b, const char *e, size_t pos); >size_t my_well_formed_len_8bit(CHARSET_INFO *, const char *b, const char *e, > size_t pos, int *error); >uint my_mbcharlen_8bit(CHARSET_INFO *, uint c); > > > >extern size_t my_caseup_str_mb(CHARSET_INFO *, char *); >extern size_t my_casedn_str_mb(CHARSET_INFO *, char *); >extern size_t my_caseup_mb(CHARSET_INFO *, char *src, size_t srclen, > char *dst, size_t dstlen); >extern size_t my_casedn_mb(CHARSET_INFO *, char *src, size_t srclen, > char *dst, size_t dstlen); >extern int my_strcasecmp_mb(CHARSET_INFO * cs,const char *, const char *); > >int my_wildcmp_mb(CHARSET_INFO *, > const char *str,const char *str_end, > const char *wildstr,const char *wildend, > int escape, int w_one, int w_many); >size_t my_numchars_mb(CHARSET_INFO *, const char *b, const char *e); >size_t my_numcells_mb(CHARSET_INFO *, const char *b, const char *e); >size_t my_charpos_mb(CHARSET_INFO *, const char *b, const char *e, size_t pos); >size_t my_well_formed_len_mb(CHARSET_INFO *, const char *b, const char *e, > size_t pos, int *error); >uint my_instr_mb(struct charset_info_st *, > const char *b, size_t b_length, > const char *s, size_t s_length, > my_match_t *match, uint nmatch); > >int my_strnncoll_mb_bin(CHARSET_INFO * cs, > const uchar *s, size_t slen, > const uchar *t, size_t tlen, > my_bool t_is_prefix); > >int my_strnncollsp_mb_bin(CHARSET_INFO *cs, > const uchar *a, size_t a_length, > const uchar *b, size_t b_length, > my_bool diff_if_only_endspace_difference); > >int my_wildcmp_mb_bin(CHARSET_INFO *cs, > const char *str,const char *str_end, > const char *wildstr,const char *wildend, > int escape, int w_one, int w_many); > >int my_strcasecmp_mb_bin(CHARSET_INFO * cs __attribute__((unused)), > const char *s, const char *t); > >void my_hash_sort_mb_bin(CHARSET_INFO *cs __attribute__((unused)), > const uchar *key, size_t len,ulong *nr1, ulong *nr2); > >size_t my_strnxfrm_mb(CHARSET_INFO *, > uchar *dst, size_t dstlen, uint nweights, > const uchar *src, size_t srclen, uint flags); > >int my_wildcmp_unicode(CHARSET_INFO *cs, > const char *str, const char *str_end, > const char *wildstr, const char *wildend, > int escape, int w_one, int w_many, > MY_UNICASE_INFO **weights); > >extern my_bool my_parse_charset_xml(const char *bug, size_t len, > int (*add)(CHARSET_INFO *cs)); >extern char *my_strchr(CHARSET_INFO *cs, const char *str, const char *end, > pchar c); > >my_bool my_propagate_simple(CHARSET_INFO *cs, const uchar *str, size_t len); >my_bool my_propagate_complex(CHARSET_INFO *cs, const uchar *str, size_t len); > > >uint my_string_repertoire(CHARSET_INFO *cs, const char *str, ulong len); >my_bool my_charset_is_ascii_based(CHARSET_INFO *cs); >my_bool my_charset_is_8bit_pure_ascii(CHARSET_INFO *cs); > > >uint my_strxfrm_flag_normalize(uint flags, uint nlevels); >void my_strxfrm_desc_and_reverse(uchar *str, uchar *strend, > uint flags, uint level); >size_t my_strxfrm_pad_desc_and_reverse(CHARSET_INFO *cs, > uchar *str, uchar *frmend, uchar *strend, > uint nweights, uint flags, uint level); > >my_bool my_charset_is_ascii_compatible(CHARSET_INFO *cs); ># 35 "../../include/my_sys.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stdarg.h" 1 3 4 ># 36 "../../include/my_sys.h" 2 ># 1 "../../include/typelib.h" 1 ># 20 "../../include/typelib.h" ># 1 "../../include/my_alloc.h" 1 ># 26 "../../include/my_alloc.h" >typedef struct st_used_mem >{ > struct st_used_mem *next; > unsigned int left; > unsigned int size; >} USED_MEM; > > >typedef struct st_mem_root >{ > USED_MEM *free; > USED_MEM *used; > USED_MEM *pre_alloc; > > size_t min_malloc; > size_t block_size; > unsigned int block_num; > > > > > unsigned int first_block_usage; > > void (*error_handler)(void); >} MEM_ROOT; ># 21 "../../include/typelib.h" 2 > >typedef struct st_typelib { > unsigned int count; > const char *name; > const char **type_names; > unsigned int *type_lengths; >} TYPELIB; > >extern my_ulonglong find_typeset(char *x, TYPELIB *typelib,int *error_position); >extern int find_type_or_exit(const char *x, TYPELIB *typelib, > const char *option); >extern int find_type(char *x, const TYPELIB *typelib, unsigned int full_name); >extern void make_type(char *to,unsigned int nr,TYPELIB *typelib); >extern const char *get_type(TYPELIB *typelib,unsigned int nr); >extern TYPELIB *copy_typelib(MEM_ROOT *root, TYPELIB *from); > >extern TYPELIB sql_protocol_typelib; ># 37 "../../include/my_sys.h" 2 ># 156 "../../include/my_sys.h" >extern void *my_malloc(size_t Size,myf MyFlags); > >extern void *my_realloc(void *oldpoint, size_t Size, myf MyFlags); >extern void my_no_flags_free(void *ptr); >extern void *my_memdup(const void *from,size_t length,myf MyFlags); >extern char *my_strdup(const char *from,myf MyFlags); >extern char *my_strndup(const char *from, size_t length, > myf MyFlags); ># 173 "../../include/my_sys.h" >extern uint my_get_large_page_size(void); >extern uchar * my_large_malloc(size_t size, myf my_flags); >extern void my_large_free(uchar * ptr, myf my_flags); ># 207 "../../include/my_sys.h" >extern char errbuff[(2)][(256)]; >extern char *home_dir; >extern const char *my_progname; >extern char curr_dir[]; >extern int (*error_handler_hook)(uint my_err, const char *str,myf MyFlags); >extern int (*fatal_error_handler_hook)(uint my_err, const char *str, > myf MyFlags); >extern uint my_file_limit; > > >extern my_bool my_use_large_pages; >extern uint my_large_page_size; > > > >extern CHARSET_INFO *default_charset_info; >extern CHARSET_INFO *all_charsets[256]; >extern CHARSET_INFO compiled_charsets[]; > > >extern ulong my_file_opened,my_stream_opened, my_tmp_file_created; >extern ulong my_file_total_opened; >extern uint mysys_usage_id; >extern my_bool my_init_done; > > >extern void (*my_sigtstp_cleanup)(void), > > (*my_sigtstp_restart)(void), > (*my_abort_hook)(int); > >extern int my_umask, > my_umask_dir, > my_recived_signals, > my_safe_to_handle_signal, > my_dont_interrupt; >extern my_bool mysys_uses_curses, my_use_symdir; >extern ulong sf_malloc_cur_memory, sf_malloc_max_memory; > >extern ulong my_default_record_cache_size; >extern my_bool my_disable_locking, my_disable_async_io, > my_disable_flush_key_blocks, my_disable_symlinks; >extern char wild_many,wild_one,wild_prefix; >extern const char *charsets_dir; > >extern char *my_defaults_extra_file; >extern const char *my_defaults_group_suffix; >extern const char *my_defaults_file; > >extern my_bool timed_mutexes; > >typedef struct wild_file_pack >{ > uint wilds; > uint not_pos; > char * *wild; >} WF_PACK; > >enum loglevel { > ERROR_LEVEL, > WARNING_LEVEL, > INFORMATION_LEVEL >}; > >enum cache_type >{ > TYPE_NOT_SET= 0, READ_CACHE, WRITE_CACHE, > SEQ_READ_APPEND , > READ_FIFO, READ_NET,WRITE_NET}; > >enum flush_type >{ > FLUSH_KEEP, FLUSH_RELEASE, FLUSH_IGNORE_CHANGED, FLUSH_FORCE_WRITE >}; > >typedef struct st_record_cache >{ > File file; > int rc_seek,error,inited; > uint rc_length,read_length,reclength; > my_off_t rc_record_pos,end_of_file; > uchar *rc_buff,*rc_buff2,*rc_pos,*rc_end,*rc_request_pos; > > > > > enum cache_type type; >} RECORD_CACHE; > >enum file_type >{ > UNOPEN = 0, FILE_BY_OPEN, FILE_BY_CREATE, STREAM_BY_FOPEN, STREAM_BY_FDOPEN, > FILE_BY_MKSTEMP, FILE_BY_DUP >}; > >struct st_my_file_info >{ > char * name; > enum file_type type; > > > >}; > >extern struct st_my_file_info *my_file_info; > >typedef struct st_dynamic_array >{ > uchar *buffer; > uint elements,max_element; > uint alloc_increment; > uint size_of_element; >} DYNAMIC_ARRAY; > >typedef struct st_my_tmpdir >{ > DYNAMIC_ARRAY full_list; > char **list; > uint cur, max; > > pthread_mutex_t mutex; > >} MY_TMPDIR; > >typedef struct st_dynamic_string >{ > char *str; > size_t length,max_length,alloc_increment; >} DYNAMIC_STRING; > >struct st_io_cache; >typedef int (*IO_CACHE_CALLBACK)(struct st_io_cache*); > > >typedef struct st_io_cache_share >{ > pthread_mutex_t mutex; > pthread_cond_t cond; > pthread_cond_t cond_writer; > > my_off_t pos_in_file; > > struct st_io_cache *source_cache; > uchar *buffer; > uchar *read_end; > int running_threads; > int total_threads; > int error; > > > > >} IO_CACHE_SHARE; > > >typedef struct st_io_cache >{ > > my_off_t pos_in_file; > > > > > > my_off_t end_of_file; > > uchar *read_pos; > > uchar *read_end; > uchar *buffer; > > uchar *request_pos; > > > uchar *write_buffer; > > > > > > > uchar *append_read_pos; > > uchar *write_pos; > > uchar *write_end; > > > > > > > > uchar **current_pos, **current_end; > > > > > > pthread_mutex_t append_buffer_lock; > > > > > > > > IO_CACHE_SHARE *share; ># 424 "../../include/my_sys.h" > int (*read_function)(struct st_io_cache *,uchar *,size_t); > > > > > int (*write_function)(struct st_io_cache *,const uchar *,size_t); > > > > > > enum cache_type type; > > > > > > > > IO_CACHE_CALLBACK pre_read; > IO_CACHE_CALLBACK post_read; > IO_CACHE_CALLBACK pre_close; > > > > > ulong disk_writes; > void* arg; > char *file_name; > char *dir,*prefix; > File file; > > > > > > > > int seek_not_done,error; > > size_t buffer_length; > > size_t read_length; > myf myflags; > > > > > > > my_bool alloced_buffer; ># 484 "../../include/my_sys.h" >} IO_CACHE; > >typedef int (*qsort2_cmp)(const void *, const void *, const void *); ># 525 "../../include/my_sys.h" >int my_b_copy_to_file(IO_CACHE *cache, FILE *file); >my_off_t my_b_append_tell(IO_CACHE* info); >my_off_t my_b_safe_tell(IO_CACHE* info); > > > > >typedef uint32 ha_checksum; > > >typedef int (*Process_option_func)(void *ctx, const char *group_name, > const char *option); > ># 1 "../../include/my_alloc.h" 1 ># 539 "../../include/my_sys.h" 2 > > > > >extern int my_copy(const char *from,const char *to,myf MyFlags); >extern int my_append(const char *from,const char *to,myf MyFlags); >extern int my_delete(const char *name,myf MyFlags); >extern int my_getwd(char * buf,size_t size,myf MyFlags); >extern int my_setwd(const char *dir,myf MyFlags); >extern int my_lock(File fd,int op,my_off_t start, my_off_t length,myf MyFlags); >extern void *my_once_alloc(size_t Size,myf MyFlags); >extern void my_once_free(void); >extern char *my_once_strdup(const char *src,myf myflags); >extern void *my_once_memdup(const void *src, size_t len, myf myflags); >extern File my_open(const char *FileName,int Flags,myf MyFlags); >extern File my_register_filename(File fd, const char *FileName, > enum file_type type_of_file, > uint error_message_number, myf MyFlags); >extern File my_create(const char *FileName,int CreateFlags, > int AccessFlags, myf MyFlags); >extern int my_close(File Filedes,myf MyFlags); >extern File my_dup(File file, myf MyFlags); >extern int my_mkdir(const char *dir, int Flags, myf MyFlags); >extern int my_readlink(char *to, const char *filename, myf MyFlags); >extern int my_realpath(char *to, const char *filename, myf MyFlags); >extern File my_create_with_symlink(const char *linkname, const char *filename, > int createflags, int access_flags, > myf MyFlags); >extern int my_delete_with_symlink(const char *name, myf MyFlags); >extern int my_rename_with_symlink(const char *from,const char *to,myf MyFlags); >extern int my_symlink(const char *content, const char *linkname, myf MyFlags); >extern size_t my_read(File Filedes,uchar *Buffer,size_t Count,myf MyFlags); >extern size_t my_pread(File Filedes,uchar *Buffer,size_t Count,my_off_t offset, > myf MyFlags); >extern int my_rename(const char *from,const char *to,myf MyFlags); >extern my_off_t my_seek(File fd,my_off_t pos,int whence,myf MyFlags); >extern my_off_t my_tell(File fd,myf MyFlags); >extern size_t my_write(File Filedes,const uchar *Buffer,size_t Count, > myf MyFlags); >extern size_t my_pwrite(File Filedes,const uchar *Buffer,size_t Count, > my_off_t offset,myf MyFlags); >extern size_t my_fread(FILE *stream,uchar *Buffer,size_t Count,myf MyFlags); >extern size_t my_fwrite(FILE *stream,const uchar *Buffer,size_t Count, > myf MyFlags); >extern my_off_t my_fseek(FILE *stream,my_off_t pos,int whence,myf MyFlags); >extern my_off_t my_ftell(FILE *stream,myf MyFlags); >extern void *_mymalloc(size_t uSize,const char *sFile, > uint uLine, myf MyFlag); >extern void *_myrealloc(void *pPtr,size_t uSize,const char *sFile, > uint uLine, myf MyFlag); >extern void * my_multi_malloc (myf MyFlags, ...); >extern void _myfree(void *pPtr,const char *sFile,uint uLine, myf MyFlag); >extern int _sanity(const char *sFile, uint uLine); >extern void *_my_memdup(const void *from, size_t length, > const char *sFile, uint uLine,myf MyFlag); >extern char * _my_strdup(const char *from, const char *sFile, uint uLine, > myf MyFlag); >extern char *_my_strndup(const char *from, size_t length, > const char *sFile, uint uLine, > myf MyFlag); > > >extern void *my_memmem(const void *haystack, size_t haystacklen, > const void *needle, size_t needlelen); ># 611 "../../include/my_sys.h" >extern int check_if_legal_filename(const char *path); >extern int check_if_legal_tablename(const char *path); ># 624 "../../include/my_sys.h" >extern void init_glob_errs(void); >extern FILE *my_fopen(const char *FileName,int Flags,myf MyFlags); >extern FILE *my_fdopen(File Filedes,const char *name, int Flags,myf MyFlags); >extern int my_fclose(FILE *fd,myf MyFlags); >extern int my_chsize(File fd,my_off_t newlength, int filler, myf MyFlags); >extern int my_sync(File fd, myf my_flags); >extern int my_error (int nr,myf MyFlags, ...); >extern int my_printf_error (uint my_err, const char *format, myf MyFlags, ...) > > __attribute__((format(printf, 2, 4))); >extern int my_error_register(const char **errmsgs, int first, int last); >extern const char **my_error_unregister(int first, int last); >extern int my_message(uint my_err, const char *str,myf MyFlags); >extern int my_message_no_curses(uint my_err, const char *str,myf MyFlags); >extern int my_message_curses(uint my_err, const char *str,myf MyFlags); >extern my_bool my_init(void); >extern void my_end(int infoflag); >extern int my_redel(const char *from, const char *to, int MyFlags); >extern int my_copystat(const char *from, const char *to, int MyFlags); >extern char * my_filename(File fd); ># 659 "../../include/my_sys.h" >extern my_bool init_tmpdir(MY_TMPDIR *tmpdir, const char *pathlist); >extern char *my_tmpdir(MY_TMPDIR *tmpdir); >extern void free_tmpdir(MY_TMPDIR *tmpdir); > >extern void my_remember_signal(int signal_number,void (*func)(int)); >extern size_t dirname_part(char * to, const char *name, size_t *to_res_length); >extern size_t dirname_length(const char *name); > >extern int test_if_hard_path(const char *dir_name); >extern my_bool has_path(const char *name); >extern char *convert_dirname(char *to, const char *from, const char *from_end); >extern void to_unix_path(char * name); >extern char * fn_ext(const char *name); >extern char * fn_same(char * toname,const char *name,int flag); >extern char * fn_format(char * to,const char *name,const char *dir, > const char *form, uint flag); >extern size_t strlength(const char *str); >extern void pack_dirname(char * to,const char *from); >extern size_t unpack_dirname(char * to,const char *from); >extern size_t cleanup_dirname(char * to,const char *from); >extern size_t system_filename(char * to,const char *from); >extern size_t unpack_filename(char * to,const char *from); >extern char * intern_filename(char * to,const char *from); >extern char * directory_file_name(char * dst, const char *src); >extern int pack_filename(char * to, const char *name, size_t max_length); >extern char * my_path(char * to,const char *progname, > const char *own_pathname_part); >extern char * my_load_path(char * to, const char *path, > const char *own_path_prefix); >extern int wild_compare(const char *str,const char *wildstr, > pbool str_is_pattern); >extern WF_PACK *wf_comp(char * str); >extern int wf_test(struct wild_file_pack *wf_pack,const char *name); >extern void wf_end(struct wild_file_pack *buffer); >extern size_t strip_sp(char * str); >extern my_bool array_append_string_unique(const char *str, > const char **array, size_t size); >extern void get_date(char * to,int timeflag,time_t use_time); >extern void soundex(CHARSET_INFO *, char * out_pntr, char * in_pntr, > pbool remove_garbage); >extern int init_record_cache(RECORD_CACHE *info,size_t cachesize,File file, > size_t reclength,enum cache_type type, > pbool use_async_io); >extern int read_cache_record(RECORD_CACHE *info,uchar *to); >extern int end_record_cache(RECORD_CACHE *info); >extern int write_cache_record(RECORD_CACHE *info,my_off_t filepos, > const uchar *record,size_t length); >extern int flush_write_cache(RECORD_CACHE *info); >extern long my_clock(void); >extern void sigtstp_handler(int signal_number); >extern void handle_recived_signals(void); > >extern void my_set_alarm_variable(int signo); >extern void my_string_ptr_sort(uchar *base, uint items, size_t size); >extern void radixsort_for_str_ptr(uchar* base[], uint number_of_elements, > size_t size_of_element,uchar *buffer[]); >extern void qsort2(void *base_ptr, size_t total_elems, size_t size, > qsort2_cmp cmp, void *cmp_argument); >extern qsort2_cmp get_ptr_compare(size_t); >void my_store_ptr(uchar *buff, size_t pack_length, my_off_t pos); >my_off_t my_get_ptr(uchar *ptr, size_t pack_length); >extern int init_io_cache(IO_CACHE *info,File file,size_t cachesize, > enum cache_type type,my_off_t seek_offset, > pbool use_async_io, myf cache_myflags); >extern my_bool reinit_io_cache(IO_CACHE *info,enum cache_type type, > my_off_t seek_offset,pbool use_async_io, > pbool clear_cache); >extern void setup_io_cache(IO_CACHE* info); >extern int _my_b_read(IO_CACHE *info,uchar *Buffer,size_t Count); > >extern int _my_b_read_r(IO_CACHE *info,uchar *Buffer,size_t Count); >extern void init_io_cache_share(IO_CACHE *read_cache, IO_CACHE_SHARE *cshare, > IO_CACHE *write_cache, uint num_threads); >extern void remove_io_thread(IO_CACHE *info); > >extern int _my_b_seq_read(IO_CACHE *info,uchar *Buffer,size_t Count); >extern int _my_b_net_read(IO_CACHE *info,uchar *Buffer,size_t Count); >extern int _my_b_get(IO_CACHE *info); >extern int _my_b_async_read(IO_CACHE *info,uchar *Buffer,size_t Count); >extern int _my_b_write(IO_CACHE *info,const uchar *Buffer,size_t Count); >extern int my_b_append(IO_CACHE *info,const uchar *Buffer,size_t Count); >extern int my_b_safe_write(IO_CACHE *info,const uchar *Buffer,size_t Count); > >extern int my_block_write(IO_CACHE *info, const uchar *Buffer, > size_t Count, my_off_t pos); >extern int my_b_flush_io_cache(IO_CACHE *info, int need_append_buffer_lock); > > > >extern int end_io_cache(IO_CACHE *info); >extern size_t my_b_fill(IO_CACHE *info); >extern void my_b_seek(IO_CACHE *info,my_off_t pos); >extern size_t my_b_gets(IO_CACHE *info, char *to, size_t max_length); >extern my_off_t my_b_filelength(IO_CACHE *info); >extern size_t my_b_printf(IO_CACHE *info, const char* fmt, ...); >extern size_t my_b_vprintf(IO_CACHE *info, const char* fmt, va_list ap); >extern my_bool open_cached_file(IO_CACHE *cache,const char *dir, > const char *prefix, size_t cache_size, > myf cache_myflags); >extern my_bool real_open_cached_file(IO_CACHE *cache); >extern void close_cached_file(IO_CACHE *cache); >File create_temp_file(char *to, const char *dir, const char *pfx, > int mode, myf MyFlags); > > > > >extern my_bool init_dynamic_array2(DYNAMIC_ARRAY *array,uint element_size, > void *init_buffer, uint init_alloc, > uint alloc_increment > ); > >extern my_bool init_dynamic_array(DYNAMIC_ARRAY *array,uint element_size, > uint init_alloc,uint alloc_increment > ); >extern my_bool insert_dynamic(DYNAMIC_ARRAY *array,uchar * element); >extern uchar *alloc_dynamic(DYNAMIC_ARRAY *array); >extern uchar *pop_dynamic(DYNAMIC_ARRAY*); >extern my_bool set_dynamic(DYNAMIC_ARRAY *array,uchar * element,uint array_index); >extern void get_dynamic(DYNAMIC_ARRAY *array,uchar * element,uint array_index); >extern void delete_dynamic(DYNAMIC_ARRAY *array); >extern void delete_dynamic_element(DYNAMIC_ARRAY *array, uint array_index); >extern void freeze_size(DYNAMIC_ARRAY *array); >extern int get_index_dynamic(DYNAMIC_ARRAY *array, uchar * element); > > > > > > >extern my_bool init_dynamic_string(DYNAMIC_STRING *str, const char *init_str, > size_t init_alloc,size_t alloc_increment); >extern my_bool dynstr_append(DYNAMIC_STRING *str, const char *append); >my_bool dynstr_append_mem(DYNAMIC_STRING *str, const char *append, > size_t length); >extern my_bool dynstr_append_os_quoted(DYNAMIC_STRING *str, const char *append, > ...); >extern my_bool dynstr_set(DYNAMIC_STRING *str, const char *init_str); >extern my_bool dynstr_realloc(DYNAMIC_STRING *str, size_t additional_size); >extern my_bool dynstr_trunc(DYNAMIC_STRING *str, size_t n); >extern void dynstr_free(DYNAMIC_STRING *str); ># 810 "../../include/my_sys.h" >extern void init_alloc_root(MEM_ROOT *mem_root, size_t block_size, > size_t pre_alloc_size); >extern void *alloc_root(MEM_ROOT *mem_root, size_t Size); >extern void *multi_alloc_root(MEM_ROOT *mem_root, ...); >extern void free_root(MEM_ROOT *root, myf MyFLAGS); >extern void set_prealloc_root(MEM_ROOT *root, char *ptr); >extern void reset_root_defaults(MEM_ROOT *mem_root, size_t block_size, > size_t prealloc_size); >extern char *strdup_root(MEM_ROOT *root,const char *str); >extern char *strmake_root(MEM_ROOT *root,const char *str,size_t len); >extern void *memdup_root(MEM_ROOT *root,const void *str, size_t len); >extern int get_defaults_options(int argc, char **argv, > char **defaults, char **extra_defaults, > char **group_suffix); >extern int load_defaults(const char *conf_file, const char **groups, > int *argc, char ***argv); >extern int modify_defaults_file(const char *file_location, const char *option, > const char *option_value, > const char *section_name, int remove_option); >extern int my_search_option_files(const char *conf_file, int *argc, > char ***argv, uint *args_used, > Process_option_func func, void *func_ctx); >extern void free_defaults(char **argv); >extern void my_print_default_files(const char *conf_file); >extern void print_defaults(const char *conf_file, const char **groups); >extern my_bool my_compress(uchar *, size_t *, size_t *); >extern my_bool my_uncompress(uchar *, size_t , size_t *); >extern uchar *my_compress_alloc(const uchar *packet, size_t *len, > size_t *complen); >extern int packfrm(uchar *, size_t, uchar **, size_t *); >extern int unpackfrm(uchar **, size_t *, const uchar *); > >extern ha_checksum my_checksum(ha_checksum crc, const uchar *mem, > size_t count); >extern void my_sleep(ulong m_seconds); >extern uint my_set_max_open_files(uint files); >void my_free_open_file_info(void); > >extern time_t my_time(myf flags); >extern ulonglong my_getsystime(void); >extern ulonglong my_micro_time(); >extern ulonglong my_micro_time_and_time(time_t *time_arg); >time_t my_time_possible_from_micro(ulonglong microtime); >extern my_bool my_gethwaddr(uchar *to); >extern int my_getncpus(); > > ># 1 "/usr/include/sys/mman.h" 1 3 4 ># 26 "/usr/include/sys/mman.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include/stddef.h" 1 3 4 ># 27 "/usr/include/sys/mman.h" 2 3 4 ># 42 "/usr/include/sys/mman.h" 3 4 ># 1 "/usr/include/bits/mman.h" 1 3 4 ># 43 "/usr/include/sys/mman.h" 2 3 4 > > > > > ># 58 "/usr/include/sys/mman.h" 3 4 >extern void *mmap (void *__addr, size_t __len, int __prot, > int __flags, int __fd, __off_t __offset) __attribute__ ((__nothrow__)); ># 71 "/usr/include/sys/mman.h" 3 4 >extern void *mmap64 (void *__addr, size_t __len, int __prot, > int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__)); > > > > >extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__)); > > > > > > > >extern int msync (void *__addr, size_t __len, int __flags); > > > > >extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__)); > > > >extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__)); > > > > >extern int mlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__)); > > >extern int munlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern int mlockall (int __flags) __attribute__ ((__nothrow__)); > > > >extern int munlockall (void) __attribute__ ((__nothrow__)); > > > > > >extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, > int __may_move) __attribute__ ((__nothrow__)); > > > > > > >extern int mincore (void *__start, size_t __len, unsigned char *__vec) > __attribute__ ((__nothrow__)); > > > >extern int remap_file_pages (void *__start, size_t __size, int __prot, > size_t __pgoff, int __flags) __attribute__ ((__nothrow__)); > > > > >extern int shm_open (__const char *__name, int __oflag, mode_t __mode); > > >extern int shm_unlink (__const char *__name); > > ># 858 "../../include/my_sys.h" 2 ># 899 "../../include/my_sys.h" >int my_msync(int, void *, size_t, int); > > >extern uint get_charset_number(const char *cs_name, uint cs_flags); >extern uint get_collation_number(const char *name); >extern const char *get_charset_name(uint cs_number); > >extern CHARSET_INFO *get_charset(uint cs_number, myf flags); >extern CHARSET_INFO *get_charset_by_name(const char *cs_name, myf flags); >extern CHARSET_INFO *get_charset_by_csname(const char *cs_name, > uint cs_flags, myf my_flags); > >extern bool resolve_charset(const char *cs_name, > CHARSET_INFO *default_cs, > CHARSET_INFO **cs); >extern bool resolve_collation(const char *cl_name, > CHARSET_INFO *default_cl, > CHARSET_INFO **cl); > >extern void free_charsets(void); >extern char *get_charsets_dir(char *buf); >extern my_bool my_charset_same(CHARSET_INFO *cs1, CHARSET_INFO *cs2); >extern my_bool init_compiled_charsets(myf flags); >extern void add_compiled_collation(CHARSET_INFO *cs); >extern size_t escape_string_for_mysql(CHARSET_INFO *charset_info, > char *to, size_t to_length, > const char *from, size_t length); > > > > > >extern size_t escape_quotes_for_mysql(CHARSET_INFO *charset_info, > char *to, size_t to_length, > const char *from, size_t length); > >extern void thd_increment_bytes_sent(ulong length); >extern void thd_increment_bytes_received(ulong length); >extern void thd_increment_net_big_packet_count(ulong length); ># 958 "../../include/my_sys.h" > ># 18 "my_atomic-t.c" 2 ># 1 "../../include/my_atomic.h" 1 ># 55 "../../include/my_atomic.h" ># 1 "../../include/atomic/nolock.h" 1 ># 25 "../../include/atomic/nolock.h" ># 1 "../../include/atomic/x86-gcc.h" 1 ># 26 "../../include/atomic/nolock.h" 2 > > > > > > > >typedef char my_atomic_rwlock_t __attribute__ ((unused)); ># 56 "../../include/my_atomic.h" 2 ># 106 "../../include/my_atomic.h" >typedef union { int8 i; uint8 u; } U_8 __attribute__ ((transparent_union)); typedef union { int8 volatile *i; uint8 volatile *u; } Uv_8 __attribute__ ((transparent_union)); >typedef union { int16 i; uint16 u; } U_16 __attribute__ ((transparent_union)); typedef union { int16 volatile *i; uint16 volatile *u; } Uv_16 __attribute__ ((transparent_union)); >typedef union { int32 i; uint32 u; } U_32 __attribute__ ((transparent_union)); typedef union { int32 volatile *i; uint32 volatile *u; } Uv_32 __attribute__ ((transparent_union)); >typedef union { void * i; void * u; } U_ptr __attribute__ ((transparent_union)); typedef union { void * volatile *i; void * volatile *u; } Uv_ptr __attribute__ ((transparent_union)); ># 188 "../../include/my_atomic.h" >static inline int my_atomic_cas32(Uv_32 U_a, Uv_32 U_cmp, U_32 U_set) { int8 ret; __asm__ volatile ("lock" "; cmpxchg %3, %0; setz %2;" : "+m" (*U_a.i), "+a" (*U_cmp.i), "=q" (ret): "r" (U_set.i)); return ret; } >static inline int my_atomic_casptr(Uv_ptr U_a, Uv_ptr U_cmp, U_ptr U_set) { int8 ret; __asm__ volatile ("lock" "; cmpxchg %3, %0; setz %2;" : "+m" (*U_a.i), "+a" (*U_cmp.i), "=q" (ret): "r" (U_set.i)); return ret; } > >static inline int32 my_atomic_add32( Uv_32 U_a, U_32 U_v) { __asm__ volatile ("lock" "; xadd %0, %1;" : "+r" (U_v.i) , "+m" (*U_a.i)); return U_v.i; } > >static inline int32 my_atomic_load32(Uv_32 U_a) { int32 ret; ret=0; __asm__ volatile ("lock" "; cmpxchg %2, %0" : "+m" (*U_a.i), "+a" (ret): "r" (ret)); return ret; } >static inline void * my_atomic_loadptr(Uv_ptr U_a) { void * ret; ret=0; __asm__ volatile ("lock" "; cmpxchg %2, %0" : "+m" (*U_a.i), "+a" (ret): "r" (ret)); return ret; } > >static inline int32 my_atomic_fas32( Uv_32 U_a, U_32 U_v) { __asm__ volatile ("xchg %0, %1;" : "+r" (U_v.i) , "+m" (*U_a.i)); return U_v.i; } >static inline void * my_atomic_fasptr( Uv_ptr U_a, U_ptr U_v) { __asm__ volatile ("xchg %0, %1;" : "+r" (U_v.i) , "+m" (*U_a.i)); return U_v.i; } > >static inline void my_atomic_store32( Uv_32 U_a, U_32 U_v) { __asm__ volatile ("; xchg %0, %1;" : "+m" (*U_a.i), "+r" (U_v.i)); } >static inline void my_atomic_storeptr( Uv_ptr U_a, U_ptr U_v) { __asm__ volatile ("; xchg %0, %1;" : "+m" (*U_a.i), "+r" (U_v.i)); } ># 240 "../../include/my_atomic.h" >extern int my_atomic_initialize(); ># 19 "my_atomic-t.c" 2 ># 1 "../../unittest/mytap/tap.h" 1 ># 41 "../../unittest/mytap/tap.h" >typedef struct TEST_DATA { > > > > > > > int plan; > > > int last; > > > int failed; > > > char todo[128]; >} TEST_DATA; ># 87 "../../unittest/mytap/tap.h" >void plan(int const count); ># 106 "../../unittest/mytap/tap.h" >void ok(int const pass, char const *fmt, ...) > __attribute__((format(printf,2,3))); ># 138 "../../unittest/mytap/tap.h" >void skip(int how_many, char const *const reason, ...) > __attribute__((format(printf,2,3))); ># 169 "../../unittest/mytap/tap.h" >void diag(char const *fmt, ...) > __attribute__((format(printf,1,2))); ># 191 "../../unittest/mytap/tap.h" >void BAIL_OUT(char const *fmt, ...) > __attribute__((noreturn, format(printf,1,2))); ># 211 "../../unittest/mytap/tap.h" >int exit_status(void); ># 222 "../../unittest/mytap/tap.h" >void skip_all(char const *reason, ...) > __attribute__((noreturn, format(printf, 1, 2))); ># 247 "../../unittest/mytap/tap.h" >void todo_start(char const *message, ...) > __attribute__((format(printf, 1, 2))); > > > > > > >void todo_end(); ># 20 "my_atomic-t.c" 2 ># 1 "../../include/lf.h" 1 ># 70 "../../include/lf.h" >typedef struct { > void * volatile level[4]; > uint size_of_element; > my_atomic_rwlock_t lock; >} LF_DYNARRAY; > >typedef int (*lf_dynarray_func)(void *, void *); > >void lf_dynarray_init(LF_DYNARRAY *array, uint element_size); >void lf_dynarray_destroy(LF_DYNARRAY *array); > >void * _lf_dynarray_value (LF_DYNARRAY *array, uint idx); static inline void * lf_dynarray_value (LF_DYNARRAY *array, uint idx) { return _lf_dynarray_value (array, idx); } > > >void * _lf_dynarray_lvalue (LF_DYNARRAY *array, uint idx); static inline void * lf_dynarray_lvalue (LF_DYNARRAY *array, uint idx) { void * ret; ; ret= _lf_dynarray_lvalue (array, idx); ; return ret; } > > > >int _lf_dynarray_iterate (LF_DYNARRAY *array, lf_dynarray_func func, void *arg); static inline int lf_dynarray_iterate (LF_DYNARRAY *array, lf_dynarray_func func, void *arg) { return _lf_dynarray_iterate (array, func, arg); } ># 99 "../../include/lf.h" >typedef void lf_pinbox_free_func(void *, void *, void*); > >typedef struct { > LF_DYNARRAY pinarray; > lf_pinbox_free_func *free_func; > void *free_func_arg; > uint free_ptr_offset; > uint32 volatile pinstack_top_ver; > uint32 volatile pins_in_array; >} LF_PINBOX; > >typedef struct { > void * volatile pin[4]; > LF_PINBOX *pinbox; > void *stack_ends_here; > void *purgatory; > uint32 purgatory_count; > uint32 volatile link; > > char pad[128-sizeof(uint32)*2 > -sizeof(LF_PINBOX *) > -sizeof(void*) > -sizeof(void *)*(4 +1)]; >} LF_PINS; ># 164 "../../include/lf.h" >void lf_pinbox_init(LF_PINBOX *pinbox, uint free_ptr_offset, > lf_pinbox_free_func *free_func, void * free_func_arg); >void lf_pinbox_destroy(LF_PINBOX *pinbox); > >LF_PINS * _lf_pinbox_get_pins (LF_PINBOX *pinbox, void *stack_end); static inline LF_PINS * lf_pinbox_get_pins (LF_PINBOX *pinbox, void *stack_end) { LF_PINS * ret; ; ret= _lf_pinbox_get_pins (pinbox, stack_end); ; return ret; }; > > > >void _lf_pinbox_put_pins (LF_PINS *pins); static inline void lf_pinbox_put_pins (LF_PINS *pins) { ; _lf_pinbox_put_pins (pins); ; }; > > > >void _lf_pinbox_free (LF_PINS *pins, void *addr); static inline void lf_pinbox_free (LF_PINS *pins, void *addr) { ; _lf_pinbox_free (pins, addr); ; }; ># 185 "../../include/lf.h" >struct st_lf_alloc_node { > struct st_lf_alloc_node *next; >}; > >typedef struct st_lf_allocator { > LF_PINBOX pinbox; > struct st_lf_alloc_node * volatile top; > uint element_size; > uint32 volatile mallocs; >} LF_ALLOCATOR; > >void lf_alloc_init(LF_ALLOCATOR *allocator, uint size, uint free_ptr_offset); >void lf_alloc_destroy(LF_ALLOCATOR *allocator); >uint lf_alloc_pool_count(LF_ALLOCATOR *allocator); ># 211 "../../include/lf.h" >void * _lf_alloc_new (LF_PINS *pins); static inline void * lf_alloc_new (LF_PINS *pins) { void * ret; ; ret= _lf_alloc_new (pins); ; return ret; }; > > > > > > > ># 1 "../../include/hash.h" 1 ># 33 "../../include/hash.h" >typedef uchar *(*hash_get_key)(const uchar *,size_t*,my_bool); >typedef void (*hash_free_key)(void *); > >typedef struct st_hash { > size_t key_offset,key_length; > size_t blength; > ulong records; > uint flags; > DYNAMIC_ARRAY array; > hash_get_key get_key; > void (*free)(void *); > CHARSET_INFO *charset; >} HASH; > > >typedef uint HASH_SEARCH_STATE; > > >my_bool _hash_init(HASH *hash, CHARSET_INFO *charset, > ulong default_array_elements, size_t key_offset, > size_t key_length, hash_get_key get_key, > void (*free_element)(void*), uint flags ); >void hash_free(HASH *tree); >void my_hash_reset(HASH *hash); >uchar *hash_element(HASH *hash,ulong idx); >uchar *hash_search(const HASH *info, const uchar *key, size_t length); >uchar *hash_first(const HASH *info, const uchar *key, size_t length, > HASH_SEARCH_STATE *state); >uchar *hash_next(const HASH *info, const uchar *key, size_t length, > HASH_SEARCH_STATE *state); >my_bool my_hash_insert(HASH *info,const uchar *data); >my_bool hash_delete(HASH *hash,uchar *record); >my_bool hash_update(HASH *hash,uchar *record,uchar *old_key,size_t old_key_length); >void hash_replace(HASH *hash, HASH_SEARCH_STATE *state, uchar *new_row); >my_bool hash_check(HASH *hash); ># 220 "../../include/lf.h" 2 > > > >typedef struct { > LF_DYNARRAY array; > LF_ALLOCATOR alloc; > hash_get_key get_key; > CHARSET_INFO *charset; > uint key_offset, key_length; > uint element_size, flags; > int32 volatile size; > int32 volatile count; >} LF_HASH; > >void lf_hash_init(LF_HASH *hash, uint element_size, uint flags, > uint key_offset, uint key_length, hash_get_key get_key, > CHARSET_INFO *charset); >void lf_hash_destroy(LF_HASH *hash); >int lf_hash_insert(LF_HASH *hash, LF_PINS *pins, const void *data); >void *lf_hash_search(LF_HASH *hash, LF_PINS *pins, const void *key, uint keylen); >int lf_hash_delete(LF_HASH *hash, LF_PINS *pins, const void *key, uint keylen); ># 21 "my_atomic-t.c" 2 > >volatile uint32 a32,b32; >volatile int32 c32, N; >my_atomic_rwlock_t rwl; >LF_ALLOCATOR lf_allocator; >LF_HASH lf_hash; >pthread_attr_t thr_attr; >pthread_mutex_t mutex; >pthread_cond_t cond; >uint running_threads; >size_t stacksize= 0; > > > > void * test_atomic_add_handler(void *arg) >{ > int m= (*(int *)arg)/2; > int32 x; > for (x= ((int)(intptr)(&m)); m ; m--) > { > x= (x*m+0x87654321) & 0x7FFFFFFFL; > ; > my_atomic_add32(&a32, x); > ; > > ; > my_atomic_add32(&a32, -x); > ; > } > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} ># 64 "my_atomic-t.c" > void * test_atomic_fas_handler(void *arg) >{ > int m= *(int *)arg; > int32 x; > > ; > x= my_atomic_add32(&b32, 1); > ; > > ; > my_atomic_add32(&a32, x); > ; > > for (; m ; m--) > { > ; > x= my_atomic_fas32(&c32, x); > ; > } > > if (!x) > { > ; > x= my_atomic_fas32(&c32, x); > ; > } > > ; > my_atomic_add32(&a32, -x); > ; > > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} > > > > > > > void * test_atomic_cas_handler(void *arg) >{ > int m= (*(int *)arg)/2, ok= 0; > int32 x, y; > for (x= ((int)(intptr)(&m)); m ; m--) > { > ; > y= my_atomic_load32(&a32); > ; > x= (x*m+0x87654321) & 0x7FFFFFFFL; > do { > ; > ok= my_atomic_cas32(&a32, &y, (uint32)y+x); > ; > } while (!ok) ; > do { > ; > ok= my_atomic_cas32(&a32, &y, y-x); > ; > } while (!ok) ; > } > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} > > > > > > void * test_lf_pinbox(void *arg) >{ > int m= *(int *)arg; > int32 x= 0; > LF_PINS *pins; > > pins= lf_pinbox_get_pins(&lf_allocator.pinbox, &m + (((int)stacksize-2048)*-1)); > > for (x= ((int)(intptr)(&m)); m ; m--) > { > lf_pinbox_put_pins(pins); > pins= lf_pinbox_get_pins(&lf_allocator.pinbox, &m + (((int)stacksize-2048)*-1)); > } > lf_pinbox_put_pins(pins); > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} > >typedef union { > int32 data; > void *not_used; >} TLA; > > void * test_lf_alloc(void *arg) >{ > int m= (*(int *)arg)/2; > int32 x,y= 0; > LF_PINS *pins; > > pins= lf_pinbox_get_pins(&(&lf_allocator)->pinbox, (&m + (((int)stacksize-2048)*-1))); > > for (x= ((int)(intptr)(&m)); m ; m--) > { > TLA *node1, *node2; > x= (x*m+0x87654321) & 0x7FFFFFFFL; > node1= (TLA *)lf_alloc_new(pins); > node1->data= x; > y+= node1->data; > node1->data= 0; > node2= (TLA *)lf_alloc_new(pins); > node2->data= x; > y-= node2->data; > node2->data= 0; > lf_pinbox_free((pins), (node1)); > lf_pinbox_free((pins), (node2)); > } > lf_pinbox_put_pins(pins); > ; > my_atomic_add32(&a32, y); > > if (my_atomic_add32(&N, -1) == 1) > { > diag("%d mallocs, %d pins in stack", > lf_allocator.mallocs, lf_allocator.pinbox.pins_in_array); > > > > } > ; > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} > > > void * test_lf_hash(void *arg) >{ > int m= (*(int *)arg)/(2*1000); > int32 x,y,z,sum= 0, ins= 0; > LF_PINS *pins; > > pins= lf_pinbox_get_pins(&(&(&lf_hash)->alloc)->pinbox, ((&m + (((int)stacksize-2048)*-1)))); > > for (x= ((int)(intptr)(&m)); m ; m--) > { > int i; > y= x; > for (i= 0; i < 1000; i++) > { > x= (x*(m+i)+0x87654321) & 0x7FFFFFFFL; > z= (x<0) ? -x : x; > if (lf_hash_insert(&lf_hash, pins, &z)) > { > sum+= z; > ins++; > } > } > for (i= 0; i < 1000; i++) > { > y= (y*(m+i)+0x87654321) & 0x7FFFFFFFL; > z= (y<0) ? -y : y; > if (lf_hash_delete(&lf_hash, pins, (uchar *)&z, sizeof(z))) > sum-= z; > } > } > lf_pinbox_put_pins(pins); > ; > my_atomic_add32(&a32, sum); > my_atomic_add32(&b32, ins); > > if (my_atomic_add32(&N, -1) == 1) > { > diag("%d mallocs, %d pins in stack, %d hash size, %d inserts", > lf_hash.alloc.mallocs, lf_hash.alloc.pinbox.pins_in_array, > lf_hash.size, b32); > a32|= lf_hash.count; > } > ; > pthread_mutex_lock(&mutex); > if (!--running_threads) pthread_cond_signal(&cond); > pthread_mutex_unlock(&mutex); > return 0; >} > > >void test_atomic(const char *test, pthread_handler handler, int n, int m) >{ > pthread_t t; > ulonglong now= my_getsystime(); > > a32= 0; > b32= 0; > c32= 0; > > diag("Testing %s with %d threads, %d iterations... ", test, n, m); > for (running_threads= n ; n ; n--) > { > if (pthread_create(&t, &thr_attr, handler, &m) != 0) > { > diag("Could not create thread"); > abort(); > } > } > pthread_mutex_lock(&mutex); > while (running_threads) > pthread_cond_wait(&cond, &mutex); > pthread_mutex_unlock(&mutex); > > now= my_getsystime()-now; > ok(a32 == 0, "tested %s in %g secs (%d)", test, ((double)now)/1e7, a32); >} > > >int main() >{ > int err; > ; { my_progname= "my_atomic-t.c"; my_init(); }; > > diag("N CPUs: %d, atomic ops: %s", my_getncpus(), "gcc-amd64" "lock"); > err= my_atomic_initialize(); > > plan(7); > ok(err == 0, "my_atomic_initialize() returned %d", err); > > pthread_mutex_init(&mutex, 0); > pthread_cond_init(&cond, 0); > ; > lf_alloc_init(&lf_allocator, sizeof(TLA), ((size_t) &((TLA *)0)->not_used)); > lf_hash_init(&lf_hash, sizeof(int), 1, 0, sizeof(int), 0, > &my_charset_bin); > pthread_attr_init(&thr_attr); > pthread_attr_setdetachstate(&thr_attr,PTHREAD_CREATE_DETACHED); > > pthread_attr_getstacksize(&thr_attr, &stacksize); > if (stacksize == 0) > > stacksize= 16384; ># 323 "my_atomic-t.c" > test_atomic("my_atomic_add32", test_atomic_add_handler, 100,300000); > test_atomic("my_atomic_fas32", test_atomic_fas_handler, 100,300000); > test_atomic("my_atomic_cas32", test_atomic_cas_handler, 100,300000); > test_atomic("lf_pinbox", test_lf_pinbox, 100,300000); > test_atomic("lf_alloc", test_lf_alloc, 100,300000); > test_atomic("lf_hash", test_lf_hash, 100,300000/10); > > lf_hash_destroy(&lf_hash); > lf_alloc_destroy(&lf_allocator); > > > > > > sleep(2); > pthread_mutex_destroy(&mutex); > pthread_cond_destroy(&cond); > pthread_attr_destroy(&thr_attr); > ; > my_end(0); > return exit_status(); >}
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 405961
: 273931