# 1 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" # 1 "/builds/embedding/xulrun-gccdebug/nsprpub/pr/src/io//" # 0 "" # 1 "" # 1 "./../../../../../mozilla/nsprpub/config/gcc_hidden.h" 1 #pragma GCC visibility push(hidden) # 1 "" 2 # 1 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" # 42 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" # 1 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 1 # 41 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 314 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 315 "/usr/include/features.h" 2 3 4 # 337 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 338 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 214 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 82 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 130 "/usr/include/string.h" 3 4 extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 240 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 254 "/usr/include/string.h" 3 4 extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 281 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 325 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 348 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 426 "/usr/include/string.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 2 3 #pragma GCC visibility pop # 42 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 52 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/pthread.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/pthread.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/pthread.h" 1 3 4 # 23 "/usr/include/pthread.h" 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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; # 134 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 135 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 27 "/usr/include/sched.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) # 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; }; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 2 3 #pragma GCC visibility pop # 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__)); # 84 "/usr/include/sched.h" 3 4 # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/time.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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; # 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; }; # 178 "/usr/include/time.h" 3 4 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__)); # 226 "/usr/include/time.h" 3 4 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__)); # 413 "/usr/include/time.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 2 3 #pragma GCC visibility pop # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/signal.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/signal.h" 3 #pragma GCC visibility push(default) # 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 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/signal.h" 2 3 #pragma GCC visibility pop # 28 "/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/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef union { struct { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; # 29 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 27 "/usr/include/bits/setjmp.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/setjmp.h" 2 3 4 # 62 "/usr/include/bits/setjmp.h" 3 4 typedef long int __jmp_buf[8]; # 30 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 31 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP # 61 "/usr/include/pthread.h" 3 4 }; # 117 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 152 "/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 }; # 190 "/usr/include/pthread.h" 3 4 extern int pthread_create (pthread_t *__restrict __newthread, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 233 "/usr/include/pthread.h" 3 4 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __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_getdetachstate (__const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__)); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__)); extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__)); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__)); extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, __const struct sched_param *__restrict __param) __attribute__ ((__nothrow__)); extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__)); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__)); extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__)); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__)); extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__)); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__)); extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__)); # 371 "/usr/include/pthread.h" 3 4 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_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__)); # 422 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)); # 434 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 468 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 608 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; # 619 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 659 "/usr/include/pthread.h" 3 4 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute ((__noreturn__)) __attribute ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutexattr) __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__)); # 696 "/usr/include/pthread.h" 3 4 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__)); # 804 "/usr/include/pthread.h" 3 4 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); # 832 "/usr/include/pthread.h" 3 4 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__)); # 929 "/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 void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __attribute__ ((__nothrow__)); # 961 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__)); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/pthread.h" 2 3 #pragma GCC visibility pop # 53 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 71 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 1 # 41 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 1 # 58 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcpucfg.h" 1 # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 152 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 326 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 3 4 typedef int wchar_t; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 2 # 256 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" # 266 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef unsigned char PRUint8; # 280 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef signed char PRInt8; # 305 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef unsigned short PRUint16; typedef short PRInt16; # 330 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef unsigned int PRUint32; typedef int PRInt32; # 367 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef long PRInt64; typedef unsigned long PRUint64; # 400 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef int PRIntn; typedef unsigned int PRUintn; # 411 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef double PRFloat64; typedef size_t PRSize; typedef PRInt32 PROffset32; typedef PRInt64 PROffset64; typedef ptrdiff_t PRPtrdiff; typedef unsigned long PRUptrdiff; # 453 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef PRIntn PRBool; # 463 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef PRUint8 PRPackedBool; typedef enum { PR_FAILURE = -1, PR_SUCCESS = 0 } PRStatus; # 496 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" typedef long PRWord; typedef unsigned long PRUword; # 538 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" 1 # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRUintn uintn; typedef PRIntn intn; # 86 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) # 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; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 191 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 213 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 214 "/usr/include/sys/types.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/select.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/select.h" 3 #pragma GCC visibility push(default) # 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 # 44 "/usr/include/sys/select.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; 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); # 128 "/usr/include/sys/select.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/select.h" 2 3 #pragma GCC visibility pop # 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 # 231 "/usr/include/sys/types.h" 3 4 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; # 269 "/usr/include/sys/types.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 2 3 #pragma GCC visibility pop # 87 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" 2 # 108 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRUint64 uint64; # 117 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRUint32 uint32; # 128 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRUint16 uint16; typedef PRUint8 uint8; # 145 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRInt64 int64; # 157 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRInt32 int32; # 171 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRInt16 int16; # 181 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/protypes.h" typedef PRInt8 int8; typedef PRFloat64 float64; typedef PRUptrdiff uptrdiff_t; typedef PRUword uprword_t; typedef PRWord prword_t; # 539 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 2 # 47 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" 1 # 53 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" # 66 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" typedef struct PRLock PRLock; # 83 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" extern __attribute__((visibility("default"))) PRLock* PR_NewLock(void); # 94 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" extern __attribute__((visibility("default"))) void PR_DestroyLock(PRLock *lock); # 105 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" extern __attribute__((visibility("default"))) void PR_Lock(PRLock *lock); # 117 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlock.h" extern __attribute__((visibility("default"))) PRStatus PR_Unlock(PRLock *lock); # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" 2 # 60 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRInt32 PR_AtomicIncrement(PRInt32 *val); # 71 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRInt32 PR_AtomicDecrement(PRInt32 *val); # 83 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRInt32 PR_AtomicSet(PRInt32 *val, PRInt32 newval); # 95 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRInt32 PR_AtomicAdd(PRInt32 *ptr, PRInt32 val); typedef struct PRStackElemStr PRStackElem; struct PRStackElemStr { PRStackElem *prstk_elem_next; }; typedef struct PRStackStr PRStack; # 118 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRStack * PR_CreateStack(const char *stack_name); # 130 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) void PR_StackPush(PRStack *stack, PRStackElem *stack_elem); # 143 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRStackElem * PR_StackPop(PRStack *stack); # 157 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pratom.h" extern __attribute__((visibility("default"))) PRStatus PR_DestroyStack(PRStack *stack); # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prbit.h" 1 # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prbit.h" typedef unsigned long prbitmap_t; # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prbit.h" extern __attribute__((visibility("default"))) PRIntn PR_CeilingLog2(PRUint32 i); extern __attribute__((visibility("default"))) PRIntn PR_FloorLog2(PRUint32 i); # 110 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prbit.h" # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prclist.h" 1 # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prclist.h" typedef struct PRCListStr PRCList; struct PRCListStr { PRCList *next; PRCList *prev; }; # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcmon.h" 1 # 51 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcmon.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmon.h" 1 # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmon.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" 1 # 55 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" typedef PRUint32 PRIntervalTime; # 108 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" extern __attribute__((visibility("default"))) PRIntervalTime PR_IntervalNow(void); # 126 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" extern __attribute__((visibility("default"))) PRUint32 PR_TicksPerSecond(void); # 145 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" extern __attribute__((visibility("default"))) PRIntervalTime PR_SecondsToInterval(PRUint32 seconds); extern __attribute__((visibility("default"))) PRIntervalTime PR_MillisecondsToInterval(PRUint32 milli); extern __attribute__((visibility("default"))) PRIntervalTime PR_MicrosecondsToInterval(PRUint32 micro); # 166 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinrval.h" extern __attribute__((visibility("default"))) PRUint32 PR_IntervalToSeconds(PRIntervalTime ticks); extern __attribute__((visibility("default"))) PRUint32 PR_IntervalToMilliseconds(PRIntervalTime ticks); extern __attribute__((visibility("default"))) PRUint32 PR_IntervalToMicroseconds(PRIntervalTime ticks); # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmon.h" 2 typedef struct PRMonitor PRMonitor; # 55 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmon.h" extern __attribute__((visibility("default"))) PRMonitor* PR_NewMonitor(void); extern __attribute__((visibility("default"))) void PR_DestroyMonitor(PRMonitor *mon); extern __attribute__((visibility("default"))) void PR_EnterMonitor(PRMonitor *mon); extern __attribute__((visibility("default"))) PRStatus PR_ExitMonitor(PRMonitor *mon); # 95 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmon.h" extern __attribute__((visibility("default"))) PRStatus PR_Wait(PRMonitor *mon, PRIntervalTime ticks); extern __attribute__((visibility("default"))) PRStatus PR_Notify(PRMonitor *mon); extern __attribute__((visibility("default"))) PRStatus PR_NotifyAll(PRMonitor *mon); # 52 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcmon.h" 2 # 64 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcmon.h" extern __attribute__((visibility("default"))) PRMonitor* PR_CEnterMonitor(void *address); extern __attribute__((visibility("default"))) PRStatus PR_CExitMonitor(void *address); extern __attribute__((visibility("default"))) PRStatus PR_CWait(void *address, PRIntervalTime timeout); extern __attribute__((visibility("default"))) PRStatus PR_CNotify(void *address); extern __attribute__((visibility("default"))) PRStatus PR_CNotifyAll(void *address); extern __attribute__((visibility("default"))) void PR_CSetOnMonitorRecycle(void ( *callback)(void *address)); # 45 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" 1 # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" typedef struct PRCondVar PRCondVar; # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" extern __attribute__((visibility("default"))) PRCondVar* PR_NewCondVar(PRLock *lock); extern __attribute__((visibility("default"))) void PR_DestroyCondVar(PRCondVar *cvar); # 97 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" extern __attribute__((visibility("default"))) PRStatus PR_WaitCondVar(PRCondVar *cvar, PRIntervalTime timeout); # 112 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" extern __attribute__((visibility("default"))) PRStatus PR_NotifyCondVar(PRCondVar *cvar); # 122 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prcvar.h" extern __attribute__((visibility("default"))) PRStatus PR_NotifyAllCondVar(PRCondVar *cvar); # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prdtoa.h" 1 # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prdtoa.h" # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prdtoa.h" extern __attribute__((visibility("default"))) PRFloat64 PR_strtod(const char *s00, char **se); extern __attribute__((visibility("default"))) void PR_cnvtf(char *buf, PRIntn bufsz, PRIntn prcsn, PRFloat64 fval); # 85 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prdtoa.h" extern __attribute__((visibility("default"))) PRStatus PR_dtoa(PRFloat64 d, PRIntn mode, PRIntn ndigits, PRIntn *decpt, PRIntn *sign, char **rve, char *buf, PRSize bufsize); # 47 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prenv.h" 1 # 49 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prenv.h" # 123 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prenv.h" extern __attribute__((visibility("default"))) char* PR_GetEnv(const char *var); # 146 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prenv.h" extern __attribute__((visibility("default"))) PRStatus PR_SetEnv(const char *string); # 155 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prenv.h" # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" 1 # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" typedef PRInt32 PRErrorCode; # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerr.h" 1 # 275 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerr.h" extern void nspr_InitializePRErrorTable(void); # 50 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" 2 extern __attribute__((visibility("default"))) void PR_SetError(PRErrorCode errorCode, PRInt32 oserr); # 68 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) void PR_SetErrorText( PRIntn textLength, const char *text); extern __attribute__((visibility("default"))) PRErrorCode PR_GetError(void); extern __attribute__((visibility("default"))) PRInt32 PR_GetOSError(void); extern __attribute__((visibility("default"))) PRInt32 PR_GetErrorTextLength(void); extern __attribute__((visibility("default"))) PRInt32 PR_GetErrorText(char *text); # 177 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" typedef PRUint32 PRLanguageCode; # 186 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" struct PRErrorMessage { const char * name; const char * en_text; }; struct PRErrorTable { const struct PRErrorMessage * msgs; const char *name; PRErrorCode base; int n_msgs; }; struct PRErrorCallbackPrivate; struct PRErrorCallbackTablePrivate; # 228 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" typedef const char * PRErrorCallbackLookupFn(PRErrorCode code, PRLanguageCode language, const struct PRErrorTable *table, struct PRErrorCallbackPrivate *cb_private, struct PRErrorCallbackTablePrivate *table_private); # 244 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" typedef struct PRErrorCallbackTablePrivate * PRErrorCallbackNewTableFn(const struct PRErrorTable *table, struct PRErrorCallbackPrivate *cb_private); # 262 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) const char * PR_ErrorToString(PRErrorCode code, PRLanguageCode language); # 276 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) const char * PR_ErrorToName(PRErrorCode code); # 290 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) const char * const * PR_ErrorLanguages(void); # 303 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) PRErrorCode PR_ErrorInstallTable(const struct PRErrorTable *table); # 319 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prerror.h" extern __attribute__((visibility("default"))) void PR_ErrorInstallCallback(const char * const * languages, PRErrorCallbackLookupFn *lookup, PRErrorCallbackNewTableFn *newtable, struct PRErrorCallbackPrivate *cb_private); # 49 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 1 # 67 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 68 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/socket.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/socket.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/socket.h" 1 3 4 # 25 "/usr/include/sys/socket.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/uio.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/uio.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/uio.h" 1 3 4 # 24 "/usr/include/sys/uio.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 25 "/usr/include/sys/uio.h" 2 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 24 "/usr/include/bits/uio.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 25 "/usr/include/bits/uio.h" 2 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); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/uio.h" 2 3 #pragma GCC visibility pop # 28 "/usr/include/sys/socket.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 30 "/usr/include/bits/socket.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/limits.h" 1 3 4 # 11 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/limits.h" 3 4 # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/syslimits.h" 1 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/limits.h" 1 3 4 # 122 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/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 # 123 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/limits.h" 2 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 2 3 #pragma GCC visibility pop # 8 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/syslimits.h" 2 3 4 # 12 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/limits.h" 2 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/limits.h" 2 3 #pragma GCC visibility pop # 32 "/usr/include/bits/socket.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 33 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; 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_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; }; # 257 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); # 284 "/usr/include/bits/socket.h" 3 4 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 }; # 100 "/usr/include/sys/socket.h" 3 4 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 struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 124 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __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 struct sockaddr * __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, struct sockaddr *__restrict __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, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); # 231 "/usr/include/sys/socket.h" 3 4 extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 240 "/usr/include/sys/socket.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/socket.h" 2 3 #pragma GCC visibility pop # 69 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/netinet/in.h" 1 3 4 # 23 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 49 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 66 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 91 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 104 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 120 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 135 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 24 "/usr/include/netinet/in.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/socket.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/socket.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 25 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 193 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t u6_addr8[16]; uint16_t u6_addr16[8]; uint32_t u6_addr32[4]; } in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 219 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 345 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/bits/in.h" 1 3 4 # 82 "/usr/include/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 346 "/usr/include/netinet/in.h" 2 3 4 # 354 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 27 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 2 3 4 # 366 "/usr/include/netinet/in.h" 2 3 4 # 428 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__)); # 456 "/usr/include/netinet/in.h" 3 4 struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; }; # 510 "/usr/include/netinet/in.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 2 3 #pragma GCC visibility pop # 70 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 2 # 84 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/arpa/inet.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/arpa/inet.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/arpa/inet.h" 1 3 4 # 23 "/usr/include/arpa/inet.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 24 "/usr/include/arpa/inet.h" 2 3 4 extern in_addr_t inet_addr (__const char *__cp) __attribute__ ((__nothrow__)); extern in_addr_t inet_lnaof (struct in_addr __in) __attribute__ ((__nothrow__)); extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) __attribute__ ((__nothrow__)); extern in_addr_t inet_netof (struct in_addr __in) __attribute__ ((__nothrow__)); extern in_addr_t inet_network (__const char *__cp) __attribute__ ((__nothrow__)); extern char *inet_ntoa (struct in_addr __in) __attribute__ ((__nothrow__)); extern int inet_pton (int __af, __const char *__restrict __cp, void *__restrict __buf) __attribute__ ((__nothrow__)); extern __const char *inet_ntop (int __af, __const void *__restrict __cp, char *__restrict __buf, socklen_t __len) __attribute__ ((__nothrow__)); extern int inet_aton (__const char *__cp, struct in_addr *__inp) __attribute__ ((__nothrow__)); extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern char *inet_net_ntop (int __af, __const void *__cp, int __bits, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern int inet_net_pton (int __af, __const char *__cp, void *__buf, size_t __len) __attribute__ ((__nothrow__)); extern unsigned int inet_nsap_addr (__const char *__cp, unsigned char *__buf, int __len) __attribute__ ((__nothrow__)); extern char *inet_nsap_ntoa (int __len, __const unsigned char *__cp, char *__buf) __attribute__ ((__nothrow__)); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/arpa/inet.h" 2 3 #pragma GCC visibility pop # 85 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netdb.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netdb.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/netdb.h" 1 3 4 # 28 "/usr/include/netdb.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netinet/in.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 29 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/rpc/netdb.h" 1 3 4 # 42 "/usr/include/rpc/netdb.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 43 "/usr/include/rpc/netdb.h" 2 3 4 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__)); extern void endrpcent (void) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbyname (__const char *__name) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__)); extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); # 34 "/usr/include/netdb.h" 2 3 4 # 43 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/bits/netdb.h" 1 3 4 # 27 "/usr/include/bits/netdb.h" 3 4 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 44 "/usr/include/netdb.h" 2 3 4 # 54 "/usr/include/netdb.h" 3 4 extern int *__h_errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 88 "/usr/include/netdb.h" 3 4 extern void herror (__const char *__str) __attribute__ ((__nothrow__)); extern __const char *hstrerror (int __err_num) __attribute__ ((__nothrow__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (__const char *__name); # 149 "/usr/include/netdb.h" 3 4 extern struct hostent *gethostbyname2 (__const char *__name, int __af); # 161 "/usr/include/netdb.h" 3 4 extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (__const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (__const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); # 192 "/usr/include/netdb.h" 3 4 extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (__const char *__name); # 231 "/usr/include/netdb.h" 3 4 extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (__const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (__const char *__name, __const char *__proto); extern struct servent *getservbyport (int __port, __const char *__proto); # 303 "/usr/include/netdb.h" 3 4 extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (__const char *__restrict __name, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (__const char *__name); extern struct protoent *getprotobynumber (int __proto); # 369 "/usr/include/netdb.h" 3 4 extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (__const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); # 390 "/usr/include/netdb.h" 3 4 extern int setnetgrent (__const char *__netgroup); extern void endnetgrent (void); # 407 "/usr/include/netdb.h" 3 4 extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); # 418 "/usr/include/netdb.h" 3 4 extern int innetgr (__const char *__netgroup, __const char *__host, __const char *__user, __const char *domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); # 446 "/usr/include/netdb.h" 3 4 extern int rcmd (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p); # 458 "/usr/include/netdb.h" 3 4 extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 474 "/usr/include/netdb.h" 3 4 extern int rexec (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p); # 486 "/usr/include/netdb.h" 3 4 extern int rexec_af (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 500 "/usr/include/netdb.h" 3 4 extern int ruserok (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser); # 510 "/usr/include/netdb.h" 3 4 extern int ruserok_af (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser, sa_family_t __af); # 522 "/usr/include/netdb.h" 3 4 extern int rresvport (int *__alport); # 531 "/usr/include/netdb.h" 3 4 extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; # 631 "/usr/include/netdb.h" 3 4 extern int getaddrinfo (__const char *__restrict __name, __const char *__restrict __service, __const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__)); extern __const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__)); extern int getnameinfo (__const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, unsigned int __flags); # 682 "/usr/include/netdb.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/netdb.h" 2 3 #pragma GCC visibility pop # 87 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinet.h" 2 # 50 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" 1 # 41 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" 1 # 81 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" typedef struct PRThread PRThread; typedef struct PRThreadStack PRThreadStack; typedef enum PRThreadType { PR_USER_THREAD, PR_SYSTEM_THREAD } PRThreadType; typedef enum PRThreadScope { PR_LOCAL_THREAD, PR_GLOBAL_THREAD, PR_GLOBAL_BOUND_THREAD } PRThreadScope; typedef enum PRThreadState { PR_JOINABLE_THREAD, PR_UNJOINABLE_THREAD } PRThreadState; typedef enum PRThreadPriority { PR_PRIORITY_FIRST = 0, PR_PRIORITY_LOW = 0, PR_PRIORITY_NORMAL = 1, PR_PRIORITY_HIGH = 2, PR_PRIORITY_URGENT = 3, PR_PRIORITY_LAST = 3 } PRThreadPriority; # 137 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) PRThread* PR_CreateThread(PRThreadType type, void ( *start)(void *arg), void *arg, PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize); # 158 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) PRStatus PR_JoinThread(PRThread *thread); extern __attribute__((visibility("default"))) PRThread* PR_GetCurrentThread(void); extern __attribute__((visibility("default"))) PRThreadPriority PR_GetThreadPriority(const PRThread *thread); extern __attribute__((visibility("default"))) void PR_SetThreadPriority(PRThread *thread, PRThreadPriority priority); # 203 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" typedef void ( *PRThreadPrivateDTOR)(void *priv); extern __attribute__((visibility("default"))) PRStatus PR_NewThreadPrivateIndex( PRUintn *newIndex, PRThreadPrivateDTOR destructor); # 219 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) PRStatus PR_SetThreadPrivate(PRUintn tpdIndex, void *priv); # 230 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) void* PR_GetThreadPrivate(PRUintn tpdIndex); # 242 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) PRStatus PR_Interrupt(PRThread *thread); extern __attribute__((visibility("default"))) void PR_ClearInterrupt(void); extern __attribute__((visibility("default"))) void PR_BlockInterrupt(void); extern __attribute__((visibility("default"))) void PR_UnblockInterrupt(void); # 267 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" extern __attribute__((visibility("default"))) PRStatus PR_Sleep(PRIntervalTime ticks); extern __attribute__((visibility("default"))) PRThreadScope PR_GetThreadScope(const PRThread *thread); extern __attribute__((visibility("default"))) PRThreadType PR_GetThreadType(const PRThread *thread); extern __attribute__((visibility("default"))) PRThreadState PR_GetThreadState(const PRThread *thread); # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prwin16.h" 1 # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdio.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdio.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 355 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 3 4 typedef unsigned int wint_t; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 49 "/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; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 2 3 #pragma GCC visibility pop # 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 49 "/usr/include/wchar.h" 2 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/wchar.h" 2 3 #pragma GCC visibility pop # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stdarg.h" 1 3 4 # 43 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 2 3 #pragma GCC visibility pop # 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; void *__pad1; void *__pad2; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 354 "/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); # 406 "/usr/include/libio.h" 3 4 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__)); # 444 "/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__)); # 474 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list) __attribute__ ((__nothrow__)); 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 # 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); # 237 "/usr/include/stdio.h" 3 4 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__)); # 296 "/usr/include/stdio.h" 3 4 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))); # 390 "/usr/include/stdio.h" 3 4 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__)) ; # 432 "/usr/include/stdio.h" 3 4 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) ; # 581 "/usr/include/stdio.h" 3 4 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) ; # 634 "/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); # 689 "/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); # 712 "/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[]; # 751 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); # 770 "/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__)); # 810 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 837 "/usr/include/stdio.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdio.h" 2 3 #pragma GCC visibility pop # 45 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" 2 # 88 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" typedef PRBool (*PRVersionCheck)(const char*); # 98 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" extern __attribute__((visibility("default"))) PRBool PR_VersionCheck(const char *importedVersion); # 111 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" extern __attribute__((visibility("default"))) void PR_Init( PRThreadType type, PRThreadPriority priority, PRUintn maxPTDs); # 132 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" typedef PRIntn ( *PRPrimordialFn)(PRIntn argc, char **argv); extern __attribute__((visibility("default"))) PRIntn PR_Initialize( PRPrimordialFn prmain, PRIntn argc, char **argv, PRUintn maxPTDs); extern __attribute__((visibility("default"))) PRBool PR_Initialized(void); # 158 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" extern __attribute__((visibility("default"))) PRStatus PR_Cleanup(void); extern __attribute__((visibility("default"))) void PR_DisableClockInterrupts(void); extern __attribute__((visibility("default"))) void PR_EnableClockInterrupts(void); extern __attribute__((visibility("default"))) void PR_BlockClockInterrupts(void); extern __attribute__((visibility("default"))) void PR_UnblockClockInterrupts(void); extern __attribute__((visibility("default"))) void PR_SetConcurrency(PRUintn numCPUs); extern __attribute__((visibility("default"))) PRStatus PR_SetFDCacheSize(PRIntn low, PRIntn high); extern __attribute__((visibility("default"))) void PR_ProcessExit(PRIntn status); extern __attribute__((visibility("default"))) void PR_Abort(void); # 218 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prinit.h" typedef struct PRCallOnceType { PRIntn initialized; PRInt32 inProgress; PRStatus status; } PRCallOnceType; typedef PRStatus ( *PRCallOnceFN)(void); typedef PRStatus ( *PRCallOnceWithArgFN)(void *arg); extern __attribute__((visibility("default"))) PRStatus PR_CallOnce( PRCallOnceType *once, PRCallOnceFN func ); extern __attribute__((visibility("default"))) PRStatus PR_CallOnceWithArg( PRCallOnceType *once, PRCallOnceWithArgFN func, void *arg ); # 51 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 1 # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlong.h" 1 # 51 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlong.h" # 72 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlong.h" extern __attribute__((visibility("default"))) PRInt64 LL_MaxInt(void); extern __attribute__((visibility("default"))) PRInt64 LL_MinInt(void); extern __attribute__((visibility("default"))) PRInt64 LL_Zero(void); extern __attribute__((visibility("default"))) PRUint64 LL_MaxUint(void); # 443 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlong.h" # 49 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" 1 # 53 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" # 80 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" typedef PRInt64 PRTime; typedef struct PRTimeParameters { PRInt32 tp_gmt_offset; PRInt32 tp_dst_offset; } PRTimeParameters; # 115 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" typedef struct PRExplodedTime { PRInt32 tm_usec; PRInt32 tm_sec; PRInt32 tm_min; PRInt32 tm_hour; PRInt32 tm_mday; PRInt32 tm_month; PRInt16 tm_year; PRInt8 tm_wday; PRInt16 tm_yday; PRTimeParameters tm_params; } PRExplodedTime; # 158 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" typedef PRTimeParameters ( *PRTimeParamFn)(const PRExplodedTime *gmt); # 180 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" extern __attribute__((visibility("default"))) PRTime PR_Now(void); # 194 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" extern __attribute__((visibility("default"))) void PR_ExplodeTime( PRTime usecs, PRTimeParamFn params, PRExplodedTime *exploded); extern __attribute__((visibility("default"))) PRTime PR_ImplodeTime(const PRExplodedTime *exploded); # 217 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" extern __attribute__((visibility("default"))) void PR_NormalizeTime( PRExplodedTime *exploded, PRTimeParamFn params); extern __attribute__((visibility("default"))) PRTimeParameters PR_LocalTimeParameters(const PRExplodedTime *gmt); extern __attribute__((visibility("default"))) PRTimeParameters PR_GMTParameters(const PRExplodedTime *gmt); extern __attribute__((visibility("default"))) PRTimeParameters PR_USPacificTimeParameters(const PRExplodedTime *gmt); # 267 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" extern __attribute__((visibility("default"))) PRStatus PR_ParseTimeString ( const char *string, PRBool default_to_gmt, PRTime *result); # 284 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtime.h" extern __attribute__((visibility("default"))) PRUint32 PR_FormatTime(char *buf, int buflen, const char *fmt, const PRExplodedTime *tm); extern __attribute__((visibility("default"))) PRUint32 PR_FormatTimeUSEnglish( char* buf, PRUint32 bufSize, const char* format, const PRExplodedTime* tm ); # 50 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 2 typedef struct PRDir PRDir; typedef struct PRDirEntry PRDirEntry; typedef struct PRFileDesc PRFileDesc; typedef struct PRFileInfo PRFileInfo; typedef struct PRFileInfo64 PRFileInfo64; typedef union PRNetAddr PRNetAddr; typedef struct PRIOMethods PRIOMethods; typedef struct PRPollDesc PRPollDesc; typedef struct PRFilePrivate PRFilePrivate; typedef struct PRSendFileData PRSendFileData; # 82 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef PRIntn PRDescIdentity; struct PRFileDesc { const PRIOMethods *methods; PRFilePrivate *secret; PRFileDesc *lower, *higher; void ( *dtor)(PRFileDesc *fd); PRDescIdentity identity; }; # 102 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRTransmitFileFlags { PR_TRANSMITFILE_KEEP_OPEN = 0, PR_TRANSMITFILE_CLOSE_SOCKET = 1 } PRTransmitFileFlags; # 159 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" struct PRIPv6Addr { union { PRUint8 _S6_u8[16]; PRUint16 _S6_u16[8]; PRUint32 _S6_u32[4]; PRUint64 _S6_u64[2]; } _S6_un; }; typedef struct PRIPv6Addr PRIPv6Addr; union PRNetAddr { struct { PRUint16 family; char data[14]; } raw; struct { PRUint16 family; PRUint16 port; PRUint32 ip; char pad[8]; } inet; struct { PRUint16 family; PRUint16 port; PRUint32 flowinfo; PRIPv6Addr ip; PRUint32 scope_id; } ipv6; struct { PRUint16 family; char path[104]; } local; }; # 222 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRSockOption { PR_SockOpt_Nonblocking, PR_SockOpt_Linger, PR_SockOpt_Reuseaddr, PR_SockOpt_Keepalive, PR_SockOpt_RecvBufferSize, PR_SockOpt_SendBufferSize, PR_SockOpt_IpTimeToLive, PR_SockOpt_IpTypeOfService, PR_SockOpt_AddMember, PR_SockOpt_DropMember, PR_SockOpt_McastInterface, PR_SockOpt_McastTimeToLive, PR_SockOpt_McastLoopback, PR_SockOpt_NoDelay, PR_SockOpt_MaxSegment, PR_SockOpt_Broadcast, PR_SockOpt_Last } PRSockOption; typedef struct PRLinger { PRBool polarity; PRIntervalTime linger; } PRLinger; typedef struct PRMcastRequest { PRNetAddr mcaddr; PRNetAddr ifaddr; } PRMcastRequest; typedef struct PRSocketOptionData { PRSockOption option; union { PRUintn ip_ttl; PRUintn mcast_ttl; PRUintn tos; PRBool non_blocking; PRBool reuse_addr; PRBool keep_alive; PRBool mcast_loopback; PRBool no_delay; PRBool broadcast; PRSize max_segment; PRSize recv_buffer_size; PRSize send_buffer_size; PRLinger linger; PRMcastRequest add_member; PRMcastRequest drop_member; PRNetAddr mcast_if; } value; } PRSocketOptionData; # 288 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef struct PRIOVec { char *iov_base; int iov_len; } PRIOVec; typedef enum PRDescType { PR_DESC_FILE = 1, PR_DESC_SOCKET_TCP = 2, PR_DESC_SOCKET_UDP = 3, PR_DESC_LAYERED = 4, PR_DESC_PIPE = 5 } PRDescType; typedef enum PRSeekWhence { PR_SEEK_SET = 0, PR_SEEK_CUR = 1, PR_SEEK_END = 2 } PRSeekWhence; extern __attribute__((visibility("default"))) PRDescType PR_GetDescType(PRFileDesc *file); # 331 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef PRStatus ( *PRCloseFN)(PRFileDesc *fd); typedef PRInt32 ( *PRReadFN)(PRFileDesc *fd, void *buf, PRInt32 amount); typedef PRInt32 ( *PRWriteFN)(PRFileDesc *fd, const void *buf, PRInt32 amount); typedef PRInt32 ( *PRAvailableFN)(PRFileDesc *fd); typedef PRInt64 ( *PRAvailable64FN)(PRFileDesc *fd); typedef PRStatus ( *PRFsyncFN)(PRFileDesc *fd); typedef PROffset32 ( *PRSeekFN)(PRFileDesc *fd, PROffset32 offset, PRSeekWhence how); typedef PROffset64 ( *PRSeek64FN)(PRFileDesc *fd, PROffset64 offset, PRSeekWhence how); typedef PRStatus ( *PRFileInfoFN)(PRFileDesc *fd, PRFileInfo *info); typedef PRStatus ( *PRFileInfo64FN)(PRFileDesc *fd, PRFileInfo64 *info); typedef PRInt32 ( *PRWritevFN)( PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout); typedef PRStatus ( *PRConnectFN)( PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout); typedef PRFileDesc* ( *PRAcceptFN) ( PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout); typedef PRStatus ( *PRBindFN)(PRFileDesc *fd, const PRNetAddr *addr); typedef PRStatus ( *PRListenFN)(PRFileDesc *fd, PRIntn backlog); typedef PRStatus ( *PRShutdownFN)(PRFileDesc *fd, PRIntn how); typedef PRInt32 ( *PRRecvFN)( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); typedef PRInt32 ( *PRSendFN) ( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); typedef PRInt32 ( *PRRecvfromFN)( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout); typedef PRInt32 ( *PRSendtoFN)( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout); typedef PRInt16 ( *PRPollFN)( PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags); typedef PRInt32 ( *PRAcceptreadFN)( PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime t); typedef PRInt32 ( *PRTransmitfileFN)( PRFileDesc *sd, PRFileDesc *fd, const void *headers, PRInt32 hlen, PRTransmitFileFlags flags, PRIntervalTime t); typedef PRStatus ( *PRGetsocknameFN)(PRFileDesc *fd, PRNetAddr *addr); typedef PRStatus ( *PRGetpeernameFN)(PRFileDesc *fd, PRNetAddr *addr); typedef PRStatus ( *PRGetsocketoptionFN)( PRFileDesc *fd, PRSocketOptionData *data); typedef PRStatus ( *PRSetsocketoptionFN)( PRFileDesc *fd, const PRSocketOptionData *data); typedef PRInt32 ( *PRSendfileFN)( PRFileDesc *networkSocket, PRSendFileData *sendData, PRTransmitFileFlags flags, PRIntervalTime timeout); typedef PRStatus ( *PRConnectcontinueFN)( PRFileDesc *fd, PRInt16 out_flags); typedef PRIntn ( *PRReservedFN)(PRFileDesc *fd); struct PRIOMethods { PRDescType file_type; PRCloseFN close; PRReadFN read; PRWriteFN write; PRAvailableFN available; PRAvailable64FN available64; PRFsyncFN fsync; PRSeekFN seek; PRSeek64FN seek64; PRFileInfoFN fileInfo; PRFileInfo64FN fileInfo64; PRWritevFN writev; PRConnectFN connect; PRAcceptFN accept; PRBindFN bind; PRListenFN listen; PRShutdownFN shutdown; PRRecvFN recv; PRSendFN send; PRRecvfromFN recvfrom; PRSendtoFN sendto; PRPollFN poll; PRAcceptreadFN acceptread; PRTransmitfileFN transmitfile; PRGetsocknameFN getsockname; PRGetpeernameFN getpeername; PRReservedFN reserved_fn_6; PRReservedFN reserved_fn_5; PRGetsocketoptionFN getsocketoption; PRSetsocketoptionFN setsocketoption; PRSendfileFN sendfile; PRConnectcontinueFN connectcontinue; PRReservedFN reserved_fn_3; PRReservedFN reserved_fn_2; PRReservedFN reserved_fn_1; PRReservedFN reserved_fn_0; }; # 445 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRSpecialFD { PR_StandardInput, PR_StandardOutput, PR_StandardError } PRSpecialFD; extern __attribute__((visibility("default"))) PRFileDesc* PR_GetSpecialFD(PRSpecialFD id); # 492 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRDescIdentity PR_GetUniqueIdentity(const char *layer_name); extern __attribute__((visibility("default"))) const char* PR_GetNameForIdentity(PRDescIdentity ident); extern __attribute__((visibility("default"))) PRDescIdentity PR_GetLayersIdentity(PRFileDesc* fd); extern __attribute__((visibility("default"))) PRFileDesc* PR_GetIdentitiesLayer(PRFileDesc* fd_stack, PRDescIdentity id); # 505 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) const PRIOMethods * PR_GetDefaultIOMethods(void); # 516 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_CreateIOLayerStub( PRDescIdentity ident, const PRIOMethods *methods); # 533 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_CreateIOLayer(PRFileDesc* fd); # 549 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_PushIOLayer( PRFileDesc *fd_stack, PRDescIdentity id, PRFileDesc *layer); # 566 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_PopIOLayer(PRFileDesc *fd_stack, PRDescIdentity id); # 640 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_Open(const char *name, PRIntn flags, PRIntn mode); # 666 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_OpenFile( const char *name, PRIntn flags, PRIntn mode); # 697 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Close(PRFileDesc *fd); # 732 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Read(PRFileDesc *fd, void *buf, PRInt32 amount); # 756 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Write(PRFileDesc *fd,const void *buf,PRInt32 amount); # 790 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Writev( PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout); # 811 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Delete(const char *name); typedef enum PRFileType { PR_FILE_FILE = 1, PR_FILE_DIRECTORY = 2, PR_FILE_OTHER = 3 } PRFileType; struct PRFileInfo { PRFileType type; PROffset32 size; PRTime creationTime; PRTime modifyTime; }; struct PRFileInfo64 { PRFileType type; PROffset64 size; PRTime creationTime; PRTime modifyTime; }; # 854 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_GetFileInfo(const char *fn, PRFileInfo *info); extern __attribute__((visibility("default"))) PRStatus PR_GetFileInfo64(const char *fn, PRFileInfo64 *info); # 881 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_GetOpenFileInfo(PRFileDesc *fd, PRFileInfo *info); extern __attribute__((visibility("default"))) PRStatus PR_GetOpenFileInfo64(PRFileDesc *fd, PRFileInfo64 *info); # 900 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Rename(const char *from, const char *to); # 926 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRAccessHow { PR_ACCESS_EXISTS = 1, PR_ACCESS_WRITE_OK = 2, PR_ACCESS_READ_OK = 3 } PRAccessHow; extern __attribute__((visibility("default"))) PRStatus PR_Access(const char *name, PRAccessHow how); # 967 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PROffset32 PR_Seek(PRFileDesc *fd, PROffset32 offset, PRSeekWhence whence); extern __attribute__((visibility("default"))) PROffset64 PR_Seek64(PRFileDesc *fd, PROffset64 offset, PRSeekWhence whence); # 990 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Available(PRFileDesc *fd); extern __attribute__((visibility("default"))) PRInt64 PR_Available64(PRFileDesc *fd); # 1010 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Sync(PRFileDesc *fd); struct PRDirEntry { const char *name; }; # 1049 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRDir* PR_OpenDir(const char *name); # 1081 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRDirFlags { PR_SKIP_NONE = 0x0, PR_SKIP_DOT = 0x1, PR_SKIP_DOT_DOT = 0x2, PR_SKIP_BOTH = 0x3, PR_SKIP_HIDDEN = 0x4 } PRDirFlags; extern __attribute__((visibility("default"))) PRDirEntry* PR_ReadDir(PRDir *dir, PRDirFlags flags); # 1115 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_CloseDir(PRDir *dir); # 1144 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_MkDir(const char *name, PRIntn mode); # 1156 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_MakeDir(const char *name, PRIntn mode); # 1176 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_RmDir(const char *name); # 1195 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_NewUDPSocket(void); # 1214 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_NewTCPSocket(void); # 1234 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_OpenUDPSocket(PRIntn af); # 1254 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_OpenTCPSocket(PRIntn af); # 1278 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Connect( PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout); # 1313 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_ConnectContinue(PRFileDesc *fd, PRInt16 out_flags); # 1343 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_GetConnectStatus(const PRPollDesc *pd); # 1367 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_Accept( PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout); # 1389 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Bind(PRFileDesc *fd, const PRNetAddr *addr); # 1411 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_Listen(PRFileDesc *fd, PRIntn backlog); # 1435 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef enum PRShutdownHow { PR_SHUTDOWN_RCV = 0, PR_SHUTDOWN_SEND = 1, PR_SHUTDOWN_BOTH = 2 } PRShutdownHow; extern __attribute__((visibility("default"))) PRStatus PR_Shutdown(PRFileDesc *fd, PRShutdownHow how); # 1475 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Recv(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); # 1506 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); # 1541 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_RecvFrom( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout); # 1574 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_SendTo( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout); # 1614 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_TransmitFile( PRFileDesc *networkSocket, PRFileDesc *sourceFile, const void *headers, PRInt32 hlen, PRTransmitFileFlags flags, PRIntervalTime timeout); # 1653 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" struct PRSendFileData { PRFileDesc *fd; PRUint32 file_offset; PRSize file_nbytes; const void *header; PRInt32 hlen; const void *trailer; PRInt32 tlen; }; extern __attribute__((visibility("default"))) PRInt32 PR_SendFile( PRFileDesc *networkSocket, PRSendFileData *sendData, PRTransmitFileFlags flags, PRIntervalTime timeout); # 1720 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_AcceptRead( PRFileDesc *listenSock, PRFileDesc **acceptedSock, PRNetAddr **peerAddr, void *buf, PRInt32 amount, PRIntervalTime timeout); # 1744 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_NewTCPSocketPair(PRFileDesc *fds[2]); # 1764 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_GetSockName(PRFileDesc *fd, PRNetAddr *addr); # 1786 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_GetPeerName(PRFileDesc *fd, PRNetAddr *addr); extern __attribute__((visibility("default"))) PRStatus PR_GetSocketOption( PRFileDesc *fd, PRSocketOptionData *data); extern __attribute__((visibility("default"))) PRStatus PR_SetSocketOption( PRFileDesc *fd, const PRSocketOptionData *data); # 1821 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_SetFDInheritable( PRFileDesc *fd, PRBool inheritable); # 1841 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc * PR_GetInheritedFD(const char *name); # 1851 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" typedef struct PRFileMap PRFileMap; typedef enum PRFileMapProtect { PR_PROT_READONLY, PR_PROT_READWRITE, PR_PROT_WRITECOPY } PRFileMapProtect; extern __attribute__((visibility("default"))) PRFileMap * PR_CreateFileMap( PRFileDesc *fd, PRInt64 size, PRFileMapProtect prot); extern __attribute__((visibility("default"))) PRInt32 PR_GetMemMapAlignment(void); extern __attribute__((visibility("default"))) void * PR_MemMap( PRFileMap *fmap, PROffset64 offset, PRUint32 len); extern __attribute__((visibility("default"))) PRStatus PR_MemUnmap(void *addr, PRUint32 len); extern __attribute__((visibility("default"))) PRStatus PR_CloseFileMap(PRFileMap *fmap); # 1895 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRStatus PR_CreatePipe( PRFileDesc **readPipe, PRFileDesc **writePipe ); struct PRPollDesc { PRFileDesc* fd; PRInt16 in_flags; PRInt16 out_flags; }; # 1976 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRInt32 PR_Poll( PRPollDesc *pds, PRIntn npds, PRIntervalTime timeout); # 2020 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" extern __attribute__((visibility("default"))) PRFileDesc * PR_NewPollableEvent(void); extern __attribute__((visibility("default"))) PRStatus PR_DestroyPollableEvent(PRFileDesc *event); extern __attribute__((visibility("default"))) PRStatus PR_SetPollableEvent(PRFileDesc *event); extern __attribute__((visibility("default"))) PRStatus PR_WaitForPollableEvent(PRFileDesc *event); # 53 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pripcsem.h" 1 # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pripcsem.h" typedef struct PRSem PRSem; # 92 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pripcsem.h" extern __attribute__((visibility("default"))) PRSem * PR_OpenSemaphore( const char *name, PRIntn flags, PRIntn mode, PRUintn value); # 105 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/pripcsem.h" extern __attribute__((visibility("default"))) PRStatus PR_WaitSemaphore(PRSem *sem); extern __attribute__((visibility("default"))) PRStatus PR_PostSemaphore(PRSem *sem); extern __attribute__((visibility("default"))) PRStatus PR_CloseSemaphore(PRSem *sem); extern __attribute__((visibility("default"))) PRStatus PR_DeleteSemaphore(const char *name); # 54 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" typedef struct PRLibrary PRLibrary; typedef struct PRStaticLinkTable { const char *name; void (*fp)(); } PRStaticLinkTable; # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRStatus PR_SetLibraryPath(const char *path); # 72 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) char* PR_GetLibraryPath(void); # 85 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) char* PR_GetLibraryName(const char *dir, const char *lib); extern __attribute__((visibility("default"))) void PR_FreeLibraryName(char *mem); # 105 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRLibrary* PR_LoadLibrary(const char *name); # 126 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" typedef enum PRLibSpecType { PR_LibSpec_Pathname, PR_LibSpec_MacNamedFragment, PR_LibSpec_MacIndexedFragment } PRLibSpecType; struct FSSpec; typedef struct PRLibSpec { PRLibSpecType type; union { const char *pathname; struct { const struct FSSpec *fsspec; const char *name; } mac_named_fragment; struct { const struct FSSpec *fsspec; PRUint32 index; } mac_indexed_fragment; } value; } PRLibSpec; # 169 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRLibrary * PR_LoadLibraryWithFlags( PRLibSpec libSpec, PRIntn flags ); # 184 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRStatus PR_UnloadLibrary(PRLibrary *lib); # 194 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) void* PR_FindSymbol(PRLibrary *lib, const char *name); # 204 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" typedef void (*PRFuncPtr)(); extern __attribute__((visibility("default"))) PRFuncPtr PR_FindFunctionSymbol(PRLibrary *lib, const char *name); # 217 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) void* PR_FindSymbolAndLibrary(const char *name, PRLibrary* *lib); # 228 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRFuncPtr PR_FindFunctionSymbolAndLibrary(const char *name, PRLibrary* *lib); # 242 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlink.h" extern __attribute__((visibility("default"))) PRLibrary* PR_LoadStaticLibrary( const char *name, const PRStaticLinkTable *table); extern __attribute__((visibility("default"))) char * PR_GetLibraryFilePathname(const char *name, PRFuncPtr addr); # 55 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlog.h" 1 # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlog.h" # 138 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlog.h" typedef enum PRLogModuleLevel { PR_LOG_NONE = 0, PR_LOG_ALWAYS = 1, PR_LOG_ERROR = 2, PR_LOG_WARNING = 3, PR_LOG_DEBUG = 4, PR_LOG_NOTICE = PR_LOG_DEBUG, PR_LOG_WARN = PR_LOG_WARNING, PR_LOG_MIN = PR_LOG_DEBUG, PR_LOG_MAX = PR_LOG_DEBUG } PRLogModuleLevel; typedef struct PRLogModuleInfo { const char *name; PRLogModuleLevel level; struct PRLogModuleInfo *next; } PRLogModuleInfo; extern __attribute__((visibility("default"))) PRLogModuleInfo* PR_NewLogModule(const char *name); extern __attribute__((visibility("default"))) PRBool PR_SetLogFile(const char *name); extern __attribute__((visibility("default"))) void PR_SetLogBuffering(PRIntn buffer_size); extern __attribute__((visibility("default"))) void PR_LogPrint(const char *fmt, ...); extern __attribute__((visibility("default"))) void PR_LogFlush(void); # 240 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlog.h" extern __attribute__((visibility("default"))) void PR_Assert(const char *s, const char *file, PRIntn ln); # 254 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prlog.h" # 57 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" 1 # 47 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdlib.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdlib.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 34 "/usr/include/stdlib.h" 2 3 4 # 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; # 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))) ; # 182 "/usr/include/stdlib.h" 3 4 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))) ; # 279 "/usr/include/stdlib.h" 3 4 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))) ; # 427 "/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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 437 "/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__)) __attribute__ ((__warn_unused_result__)); 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 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 611 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; # 624 "/usr/include/stdlib.h" 3 4 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__)); # 656 "/usr/include/stdlib.h" 3 4 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__)); # 696 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 707 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 717 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 727 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int system (__const char *__command) ; # 755 "/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 *); 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__)) ; 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__)) ; # 820 "/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))) ; # 960 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdlib.h" 2 3 #pragma GCC visibility pop # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" 2 # 66 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" extern __attribute__((visibility("default"))) void * PR_Malloc(PRUint32 size); extern __attribute__((visibility("default"))) void * PR_Calloc(PRUint32 nelem, PRUint32 elsize); extern __attribute__((visibility("default"))) void * PR_Realloc(void *ptr, PRUint32 size); extern __attribute__((visibility("default"))) void PR_Free(void *ptr); # 156 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" # 69 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef struct PRWaitGroup PRWaitGroup; # 93 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef enum PRMWStatus { PR_MW_PENDING = 1, PR_MW_SUCCESS = 0, PR_MW_FAILURE = -1, PR_MW_TIMEOUT = -2, PR_MW_INTERRUPT = -3 } PRMWStatus; # 109 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef struct PRMemoryDescriptor { void *start; PRSize length; } PRMemoryDescriptor; # 122 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef struct PRMWaitClientData PRMWaitClientData; # 140 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef struct PRRecvWait { PRCList internal; PRFileDesc *fd; PRMWStatus outcome; PRIntervalTime timeout; PRInt32 bytesRecv; PRMemoryDescriptor buffer; PRMWaitClientData *client; } PRRecvWait; # 162 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" typedef struct PRMWaitEnumerator PRMWaitEnumerator; # 196 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRStatus PR_AddWaitFileDesc(PRWaitGroup *group, PRRecvWait *desc); # 230 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRRecvWait* PR_WaitRecvReady(PRWaitGroup *group); # 265 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRStatus PR_CancelWaitFileDesc(PRWaitGroup *group, PRRecvWait *desc); # 292 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRRecvWait* PR_CancelWaitGroup(PRWaitGroup *group); # 319 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRWaitGroup* PR_CreateWaitGroup(PRInt32 size); # 342 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRStatus PR_DestroyWaitGroup(PRWaitGroup *group); # 364 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRMWaitEnumerator* PR_CreateMWaitEnumerator(PRWaitGroup *group); # 382 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRStatus PR_DestroyMWaitEnumerator(PRMWaitEnumerator* enumerator); # 405 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmwait.h" extern __attribute__((visibility("default"))) PRRecvWait* PR_EnumerateWaitGroup( PRMWaitEnumerator *enumerator, const PRRecvWait *previous); # 61 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" 1 # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_StringToNetAddr( const char *string, PRNetAddr *addr); extern __attribute__((visibility("default"))) PRStatus PR_NetAddrToString( const PRNetAddr *addr, char *string, PRUint32 size); # 68 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" typedef struct PRHostEnt { char *h_name; char **h_aliases; PRInt32 h_addrtype; PRInt32 h_length; char **h_addr_list; } PRHostEnt; # 109 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_GetHostByName( const char *hostname, char *buf, PRIntn bufsize, PRHostEnt *hostentry); # 146 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_GetIPNodeByName( const char *hostname, PRUint16 af, PRIntn flags, char *buf, PRIntn bufsize, PRHostEnt *hostentry); # 175 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_GetHostByAddr( const PRNetAddr *hostaddr, char *buf, PRIntn bufsize, PRHostEnt *hostentry); # 209 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRIntn PR_EnumerateHostEnt( PRIntn enumIndex, const PRHostEnt *hostEnt, PRUint16 port, PRNetAddr *address); # 234 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" typedef enum PRNetAddrValue { PR_IpAddrNull, PR_IpAddrAny, PR_IpAddrLoopback, PR_IpAddrV4Mapped } PRNetAddrValue; extern __attribute__((visibility("default"))) PRStatus PR_InitializeNetAddr( PRNetAddrValue val, PRUint16 port, PRNetAddr *addr); # 270 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_SetNetAddr( PRNetAddrValue val, PRUint16 af, PRUint16 port, PRNetAddr *addr); # 286 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRBool PR_IsNetAddrType(const PRNetAddr *addr, PRNetAddrValue val); # 303 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) void PR_ConvertIPv4AddrToIPv6(PRUint32 v4addr, PRIPv6Addr *v6addr); # 354 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" typedef struct PRProtoEnt { char *p_name; char **p_aliases; PRInt32 p_num; } PRProtoEnt; extern __attribute__((visibility("default"))) PRStatus PR_GetProtoByName( const char* protocolname, char* buffer, PRInt32 bufsize, PRProtoEnt* result); # 389 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRStatus PR_GetProtoByNumber( PRInt32 protocolnumber, char* buffer, PRInt32 bufsize, PRProtoEnt* result); # 413 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" typedef struct PRAddrInfo PRAddrInfo; extern __attribute__((visibility("default"))) PRAddrInfo* PR_GetAddrInfoByName( const char *hostname, PRUint16 af, PRIntn flags); # 430 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) void PR_FreeAddrInfo(PRAddrInfo *addrInfo); # 455 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) void * PR_EnumerateAddrInfo( void *enumPtr, const PRAddrInfo *addrInfo, PRUint16 port, PRNetAddr *result); # 474 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) const char * PR_GetCanonNameFromAddrInfo( const PRAddrInfo *addrInfo); # 490 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prnetdb.h" extern __attribute__((visibility("default"))) PRUint16 PR_ntohs(PRUint16); extern __attribute__((visibility("default"))) PRUint32 PR_ntohl(PRUint32); extern __attribute__((visibility("default"))) PRUint64 PR_ntohll(PRUint64); extern __attribute__((visibility("default"))) PRUint16 PR_htons(PRUint16); extern __attribute__((visibility("default"))) PRUint32 PR_htonl(PRUint32); extern __attribute__((visibility("default"))) PRUint64 PR_htonll(PRUint64); # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" 1 # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdio.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdio.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 60 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stdarg.h" 1 3 4 # 105 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stdarg.h" 2 3 #pragma GCC visibility pop # 61 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" 2 extern __attribute__((visibility("default"))) PRUint32 PR_snprintf(char *out, PRUint32 outlen, const char *fmt, ...); extern __attribute__((visibility("default"))) char* PR_smprintf(const char *fmt, ...); extern __attribute__((visibility("default"))) void PR_smprintf_free(char *mem); # 90 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" extern __attribute__((visibility("default"))) char* PR_sprintf_append(char *last, const char *fmt, ...); # 99 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" typedef PRIntn (*PRStuffFunc)(void *arg, const char *s, PRUint32 slen); extern __attribute__((visibility("default"))) PRUint32 PR_sxprintf(PRStuffFunc f, void *arg, const char *fmt, ...); extern __attribute__((visibility("default"))) PRUint32 PR_fprintf(struct PRFileDesc* fd, const char *fmt, ...); extern __attribute__((visibility("default"))) PRUint32 PR_vsnprintf(char *out, PRUint32 outlen, const char *fmt, va_list ap); extern __attribute__((visibility("default"))) char* PR_vsmprintf(const char *fmt, va_list ap); extern __attribute__((visibility("default"))) char* PR_vsprintf_append(char *last, const char *fmt, va_list ap); extern __attribute__((visibility("default"))) PRUint32 PR_vsxprintf(PRStuffFunc f, void *arg, const char *fmt, va_list ap); extern __attribute__((visibility("default"))) PRUint32 PR_vfprintf(struct PRFileDesc* fd, const char *fmt, va_list ap); # 150 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prprf.h" extern __attribute__((visibility("default"))) PRInt32 PR_sscanf(const char *buf, const char *fmt, ...); # 63 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prproces.h" 1 # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prproces.h" typedef struct PRProcess PRProcess; typedef struct PRProcessAttr PRProcessAttr; extern __attribute__((visibility("default"))) PRProcessAttr * PR_NewProcessAttr(void); extern __attribute__((visibility("default"))) void PR_ResetProcessAttr(PRProcessAttr *attr); extern __attribute__((visibility("default"))) void PR_DestroyProcessAttr(PRProcessAttr *attr); extern __attribute__((visibility("default"))) void PR_ProcessAttrSetStdioRedirect( PRProcessAttr *attr, PRSpecialFD stdioFd, PRFileDesc *redirectFd ); extern __attribute__((visibility("default"))) void PR_SetStdioRedirect( PRProcessAttr *attr, PRSpecialFD stdioFd, PRFileDesc *redirectFd ); extern __attribute__((visibility("default"))) PRStatus PR_ProcessAttrSetCurrentDirectory( PRProcessAttr *attr, const char *dir ); extern __attribute__((visibility("default"))) PRStatus PR_ProcessAttrSetInheritableFD( PRProcessAttr *attr, PRFileDesc *fd, const char *name ); # 98 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prproces.h" extern __attribute__((visibility("default"))) PRProcess* PR_CreateProcess( const char *path, char *const *argv, char *const *envp, const PRProcessAttr *attr); extern __attribute__((visibility("default"))) PRStatus PR_CreateProcessDetached( const char *path, char *const *argv, char *const *envp, const PRProcessAttr *attr); extern __attribute__((visibility("default"))) PRStatus PR_DetachProcess(PRProcess *process); extern __attribute__((visibility("default"))) PRStatus PR_WaitProcess(PRProcess *process, PRInt32 *exitCode); extern __attribute__((visibility("default"))) PRStatus PR_KillProcess(PRProcess *process); # 64 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrng.h" 1 # 51 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrng.h" # 99 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrng.h" extern __attribute__((visibility("default"))) PRSize PR_GetRandomNoise( void *buf, PRSize size ); # 65 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" 1 # 49 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" typedef struct PRRWLock PRRWLock; # 76 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" extern __attribute__((visibility("default"))) PRRWLock* PR_NewRWLock(PRUint32 lock_rank, const char *lock_name); # 86 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" extern __attribute__((visibility("default"))) void PR_DestroyRWLock(PRRWLock *lock); # 96 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" extern __attribute__((visibility("default"))) void PR_RWLock_Rlock(PRRWLock *lock); # 106 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" extern __attribute__((visibility("default"))) void PR_RWLock_Wlock(PRRWLock *lock); # 116 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prrwlock.h" extern __attribute__((visibility("default"))) void PR_RWLock_Unlock(PRRWLock *lock); # 66 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" 1 # 137 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" typedef struct PRSharedMemory PRSharedMemory; # 179 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" extern __attribute__((visibility("default"))) PRSharedMemory * PR_OpenSharedMemory( const char *name, PRSize size, PRIntn flags, PRIntn mode ); # 213 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" extern __attribute__((visibility("default"))) void * PR_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ); # 239 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" extern __attribute__((visibility("default"))) PRStatus PR_DetachSharedMemory( PRSharedMemory *shm, void *addr ); # 261 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" extern __attribute__((visibility("default"))) PRStatus PR_CloseSharedMemory( PRSharedMemory *shm ); # 282 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshm.h" extern __attribute__((visibility("default"))) PRStatus PR_DeleteSharedMemory( const char *name ); # 67 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" 1 # 138 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" # 166 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" extern __attribute__((visibility("default"))) PRFileMap * PR_OpenAnonFileMap( const char *dirName, PRSize size, PRFileMapProtect prot ); # 194 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" extern __attribute__((visibility("default"))) PRStatus PR_ProcessAttrSetInheritableFileMap( PRProcessAttr *attr, PRFileMap *fm, const char *shmname ); # 219 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" extern __attribute__((visibility("default"))) PRFileMap * PR_GetInheritedFileMap( const char *shmname ); # 243 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" extern __attribute__((visibility("default"))) PRStatus PR_ExportFileMapAsString( PRFileMap *fm, PRSize bufsize, char *buf ); # 265 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prshma.h" extern __attribute__((visibility("default"))) PRFileMap * PR_ImportFileMapFromString( const char *fmstring ); # 68 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prsystem.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prsystem.h" extern __attribute__((visibility("default"))) char PR_GetDirectorySeparator(void); extern __attribute__((visibility("default"))) char PR_GetDirectorySepartor(void); extern __attribute__((visibility("default"))) char PR_GetPathSeparator(void); typedef enum { PR_SI_HOSTNAME, PR_SI_SYSNAME, PR_SI_RELEASE, PR_SI_ARCHITECTURE } PRSysInfo; # 91 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prsystem.h" extern __attribute__((visibility("default"))) PRStatus PR_GetSystemInfo(PRSysInfo cmd, char *buf, PRUint32 buflen); extern __attribute__((visibility("default"))) PRInt32 PR_GetPageSize(void); extern __attribute__((visibility("default"))) PRInt32 PR_GetPageShift(void); # 117 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prsystem.h" extern __attribute__((visibility("default"))) PRInt32 PR_GetNumberOfProcessors( void ); # 133 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prsystem.h" extern __attribute__((visibility("default"))) PRUint64 PR_GetPhysicalMemorySize(void); # 69 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtpool.h" 1 # 52 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtpool.h" typedef struct PRJobIoDesc { PRFileDesc *socket; PRErrorCode error; PRIntervalTime timeout; } PRJobIoDesc; typedef struct PRThreadPool PRThreadPool; typedef struct PRJob PRJob; typedef void ( *PRJobFn) (void *arg); extern __attribute__((visibility("default"))) PRThreadPool * PR_CreateThreadPool(PRInt32 initial_threads, PRInt32 max_threads, PRUint32 stacksize); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob(PRThreadPool *tpool, PRJobFn fn, void *arg, PRBool joinable); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob_Read(PRThreadPool *tpool, PRJobIoDesc *iod, PRJobFn fn, void * arg, PRBool joinable); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob_Write(PRThreadPool *tpool, PRJobIoDesc *iod, PRJobFn fn, void * arg, PRBool joinable); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob_Accept(PRThreadPool *tpool, PRJobIoDesc *iod, PRJobFn fn, void * arg, PRBool joinable); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob_Connect(PRThreadPool *tpool, PRJobIoDesc *iod, const PRNetAddr *addr, PRJobFn fn, void * arg, PRBool joinable); extern __attribute__((visibility("default"))) PRJob * PR_QueueJob_Timer(PRThreadPool *tpool, PRIntervalTime timeout, PRJobFn fn, void * arg, PRBool joinable); extern __attribute__((visibility("default"))) PRStatus PR_CancelJob(PRJob *job); extern __attribute__((visibility("default"))) PRStatus PR_JoinJob(PRJob *job); extern __attribute__((visibility("default"))) PRStatus PR_ShutdownThreadPool(PRThreadPool *tpool); extern __attribute__((visibility("default"))) PRStatus PR_JoinThreadPool(PRThreadPool *tpool); # 72 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" 1 # 100 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" typedef void * PRTraceHandle; typedef struct PRTraceEntry { PRThread *thread; PRTraceHandle handle; PRTime time; PRUint32 userData[8]; } PRTraceEntry; typedef enum PRTraceOption { PRTraceBufSize, PRTraceEnable, PRTraceDisable, PRTraceSuspend, PRTraceResume, PRTraceSuspendRecording, PRTraceResumeRecording, PRTraceLockHandles, PRTraceUnLockHandles, PRTraceStopRecording } PRTraceOption; # 208 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) PRTraceHandle PR_CreateTrace( const char *qName, const char *rName, const char *description ); # 242 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_DestroyTrace( PRTraceHandle handle ); # 283 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_Trace( PRTraceHandle handle, PRUint32 userData0, PRUint32 userData1, PRUint32 userData2, PRUint32 userData3, PRUint32 userData4, PRUint32 userData5, PRUint32 userData6, PRUint32 userData7 ); # 370 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_SetTraceOption( PRTraceOption command, void *value ); # 408 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_GetTraceOption( PRTraceOption command, void *value ); # 444 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) PRTraceHandle PR_GetTraceHandleFromName( const char *qName, const char *rName ); # 476 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_GetTraceNameFromHandle( PRTraceHandle handle, const char **qName, const char **rName, const char **description ); # 518 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) PRTraceHandle PR_FindNextTraceQname( PRTraceHandle handle ); # 560 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) PRTraceHandle PR_FindNextTraceRname( PRTraceHandle rhandle, PRTraceHandle qhandle ); # 616 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) void PR_RecordTraceEntries( void ); # 668 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtrace.h" extern __attribute__((visibility("default"))) PRIntn PR_GetTraceEntries( PRTraceEntry *buffer, PRInt32 count, PRInt32 *found ); # 73 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 2 # 72 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 1 "../../../../../mozilla/nsprpub/pr/include/private/prpriv.h" 1 # 46 "../../../../../mozilla/nsprpub/pr/include/private/prpriv.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" 1 # 47 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 1 # 48 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 1 # 49 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" 2 extern __attribute__((visibility("default"))) const PRIOMethods* PR_GetFileMethods(void); extern __attribute__((visibility("default"))) const PRIOMethods* PR_GetTCPMethods(void); extern __attribute__((visibility("default"))) const PRIOMethods* PR_GetUDPMethods(void); extern __attribute__((visibility("default"))) const PRIOMethods* PR_GetPipeMethods(void); extern __attribute__((visibility("default"))) PRInt32 PR_FileDesc2NativeHandle(PRFileDesc *); extern __attribute__((visibility("default"))) void PR_ChangeFileDescNativeHandle(PRFileDesc *, PRInt32); extern __attribute__((visibility("default"))) PRFileDesc* PR_AllocFileDesc(PRInt32 osfd, const PRIOMethods *methods); extern __attribute__((visibility("default"))) void PR_FreeFileDesc(PRFileDesc *fd); extern __attribute__((visibility("default"))) PRFileDesc* PR_ImportFile(PRInt32 osfd); extern __attribute__((visibility("default"))) PRFileDesc* PR_ImportPipe(PRInt32 osfd); extern __attribute__((visibility("default"))) PRFileDesc* PR_ImportTCPSocket(PRInt32 osfd); extern __attribute__((visibility("default"))) PRFileDesc* PR_ImportUDPSocket(PRInt32 osfd); # 97 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_CreateSocketPollFd(PRInt32 osfd); # 115 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRStatus PR_DestroySocketPollFd(PRFileDesc *fd); # 139 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRFileDesc* PR_Socket(PRInt32 domain, PRInt32 type, PRInt32 proto); # 148 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRStatus PR_LockFile(PRFileDesc *fd); # 158 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRStatus PR_TLockFile(PRFileDesc *fd); # 168 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" extern __attribute__((visibility("default"))) PRStatus PR_UnlockFile(PRFileDesc *fd); extern __attribute__((visibility("default"))) PRInt32 PR_EmulateAcceptRead(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout); extern __attribute__((visibility("default"))) PRInt32 PR_EmulateSendFile( PRFileDesc *networkSocket, PRSendFileData *sendData, PRTransmitFileFlags flags, PRIntervalTime timeout); # 263 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprio.h" # 47 "../../../../../mozilla/nsprpub/pr/include/private/prpriv.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" 1 # 45 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/nspr.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" 2 # 54 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" # 73 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) PRThread* PR_AttachThread(PRThreadType type, PRThreadPriority priority, PRThreadStack *stack); # 88 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) void PR_DetachThread(void); extern __attribute__((visibility("default"))) PRUint32 PR_GetThreadID(PRThread *thread); typedef void (*PRThreadDumpProc)(PRFileDesc *fd, PRThread *t, void *arg); extern __attribute__((visibility("default"))) void PR_SetThreadDumpProc( PRThread* thread, PRThreadDumpProc dump, void *arg); # 113 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) PRInt32 PR_GetThreadAffinityMask(PRThread *thread, PRUint32 *mask); extern __attribute__((visibility("default"))) PRInt32 PR_SetThreadAffinityMask(PRThread *thread, PRUint32 mask ); extern __attribute__((visibility("default"))) PRInt32 PR_SetCPUAffinityMask(PRUint32 mask); extern __attribute__((visibility("default"))) void PR_ShowStatus(void); extern __attribute__((visibility("default"))) void PR_SetThreadRecycleMode(PRUint32 flag); # 154 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) PRThread* PR_CreateThreadGCAble(PRThreadType type, void (*start)(void *arg), void *arg, PRThreadPriority priority, PRThreadScope scope, PRThreadState state, PRUint32 stackSize); extern __attribute__((visibility("default"))) PRThread* PR_AttachThreadGCAble(PRThreadType type, PRThreadPriority priority, PRThreadStack *stack); extern __attribute__((visibility("default"))) void PR_SetThreadGCAble(void); extern __attribute__((visibility("default"))) void PR_ClearThreadGCAble(void); extern __attribute__((visibility("default"))) void PR_SuspendAll(void); extern __attribute__((visibility("default"))) void PR_ResumeAll(void); extern __attribute__((visibility("default"))) void * PR_GetSP(PRThread *thread); # 211 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) PRWord * PR_GetGCRegisters(PRThread *t, int isCurrent, int *np); # 221 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) void* GetExecutionEnvironment(PRThread *thread); extern __attribute__((visibility("default"))) void SetExecutionEnvironment(PRThread* thread, void *environment); # 231 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" typedef PRStatus ( *PREnumerator)(PRThread *t, int i, void *arg); extern __attribute__((visibility("default"))) PRStatus PR_EnumerateThreads(PREnumerator func, void *arg); typedef PRStatus ( *PRScanStackFun)(PRThread* t, void** baseAddr, PRUword count, void* closure); extern __attribute__((visibility("default"))) PRStatus PR_ThreadScanStackPointers(PRThread* t, PRScanStackFun scanFun, void* scanClosure); extern __attribute__((visibility("default"))) PRStatus PR_ScanStackPointers(PRScanStackFun scanFun, void* scanClosure); extern __attribute__((visibility("default"))) PRUword PR_GetStackSpaceLeft(PRThread* t); # 274 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) struct _PRCPU * _PR_GetPrimordialCPU(void); # 287 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern __attribute__((visibility("default"))) PRMonitor* PR_NewNamedMonitor(const char* name); extern __attribute__((visibility("default"))) PRBool PR_TestAndLock(PRLock *lock); extern __attribute__((visibility("default"))) PRBool PR_TestAndEnterMonitor(PRMonitor *mon); extern __attribute__((visibility("default"))) PRIntn PR_GetMonitorEntryCount(PRMonitor *mon); extern __attribute__((visibility("default"))) PRMonitor* PR_CTestAndEnterMonitor(void *address); # 366 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/private/pprthred.h" extern void PR_XLock(void); extern void PR_XUnlock(void); extern PRBool PR_XIsLocked(void); # 48 "../../../../../mozilla/nsprpub/pr/include/private/prpriv.h" 2 # 73 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 typedef struct PRSegment PRSegment; # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 1 # 44 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prtypes.h" 1 # 45 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 2 # 94 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" 1 # 41 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prthread.h" 1 # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" 2 # 122 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" extern PRInt32 _PR_x86_64_AtomicIncrement(PRInt32 *val); extern PRInt32 _PR_x86_64_AtomicDecrement(PRInt32 *val); extern PRInt32 _PR_x86_64_AtomicAdd(PRInt32 *ptr, PRInt32 val); extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval); # 217 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" extern void _MD_CleanupBeforeExit(void); # 532 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" extern void _MD_EarlyInit(void); extern PRIntervalTime _PR_UNIX_GetInterval(void); extern PRIntervalTime _PR_UNIX_TicksPerSecond(void); # 548 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/poll.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/poll.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/poll.h" 1 3 4 # 26 "/usr/include/sys/poll.h" 3 4 # 1 "/usr/include/bits/poll.h" 1 3 4 # 27 "/usr/include/sys/poll.h" 2 3 4 typedef unsigned long int nfds_t; struct pollfd { int fd; short int events; short int revents; }; extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/poll.h" 2 3 #pragma GCC visibility pop # 549 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" 2 extern int __syscall_poll(struct pollfd *ufds, unsigned long int nfds, int timeout); # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/uio.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/uio.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 556 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_linux.h" 2 extern void _MD_linux_map_sendfile_error(int err); # 95 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 2 # 149 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 1 # 55 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/unistd.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/unistd.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/unistd.h" 1 3 4 # 28 "/usr/include/unistd.h" 3 4 # 171 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 172 "/usr/include/unistd.h" 2 3 4 # 195 "/usr/include/unistd.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 196 "/usr/include/unistd.h" 2 3 4 # 256 "/usr/include/unistd.h" 3 4 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 287 "/usr/include/unistd.h" 3 4 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); # 298 "/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) ; # 370 "/usr/include/unistd.h" 3 4 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ; # 379 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 391 "/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); # 415 "/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__)) ; # 449 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ; # 462 "/usr/include/unistd.h" 3 4 extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; extern int dup (int __fd) __attribute__ ((__nothrow__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); extern char **__environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 494 "/usr/include/unistd.h" 3 4 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__)); # 551 "/usr/include/unistd.h" 3 4 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__)); # 578 "/usr/include/unistd.h" 3 4 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 __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__)) ; # 645 "/usr/include/unistd.h" 3 4 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__)); # 701 "/usr/include/unistd.h" 3 4 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))); # 797 "/usr/include/unistd.h" 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))); # 875 "/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))) ; # 912 "/usr/include/unistd.h" 3 4 extern int truncate64 (__const char *__file, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 922 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ; # 932 "/usr/include/unistd.h" 3 4 extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) ; # 942 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 963 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 986 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len) ; # 996 "/usr/include/unistd.h" 3 4 extern int lockf64 (int __fd, int __cmd, __off64_t __len) ; # 1055 "/usr/include/unistd.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/unistd.h" 2 3 #pragma GCC visibility pop # 56 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 57 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/stat.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/stat.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/stat.h" 1 3 4 # 37 "/usr/include/sys/stat.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 38 "/usr/include/sys/stat.h" 2 3 4 # 103 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/bits/stat.h" 1 3 4 # 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__)); # 284 "/usr/include/sys/stat.h" 3 4 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); } # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/stat.h" 2 3 #pragma GCC visibility pop # 58 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/dirent.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/dirent.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/dirent.h" 1 3 4 # 28 "/usr/include/dirent.h" 3 4 # 62 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/bits/dirent.h" 1 3 4 # 23 "/usr/include/bits/dirent.h" 3 4 struct dirent { __ino_t d_ino; __off_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; struct dirent64 { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; # 63 "/usr/include/dirent.h" 2 3 4 # 98 "/usr/include/dirent.h" 3 4 enum { DT_UNKNOWN = 0, DT_FIFO = 1, DT_CHR = 2, DT_DIR = 4, DT_BLK = 6, DT_REG = 8, DT_LNK = 10, DT_SOCK = 12, DT_WHT = 14 }; # 128 "/usr/include/dirent.h" 3 4 typedef struct __dirstream DIR; extern DIR *opendir (__const char *__name) __attribute__ ((__nonnull__ (1))); extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 155 "/usr/include/dirent.h" 3 4 extern struct dirent *readdir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 166 "/usr/include/dirent.h" 3 4 extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 176 "/usr/include/dirent.h" 3 4 extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3))); # 193 "/usr/include/dirent.h" 3 4 extern int readdir64_r (DIR *__restrict __dirp, struct dirent64 *__restrict __entry, struct dirent64 **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3))); extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 235 "/usr/include/dirent.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 236 "/usr/include/dirent.h" 2 3 4 extern int scandir (__const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (__const struct dirent *), int (*__cmp) (__const void *, __const void *)) __attribute__ ((__nonnull__ (1, 2))); # 272 "/usr/include/dirent.h" 3 4 extern int alphasort (__const void *__e1, __const void *__e2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 316 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off_t *__restrict __basep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); # 333 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/dirent.h" 2 3 #pragma GCC visibility pop # 59 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/errno.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/errno.h" 3 #pragma GCC visibility push(default) # 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 # 59 "/usr/include/errno.h" 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/errno.h" 2 3 #pragma GCC visibility pop # 60 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 1 # 62 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prmem.h" 1 # 63 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prclist.h" 1 # 64 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 76 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/time.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/time.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/time.h" 1 3 4 # 26 "/usr/include/sys/time.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/time.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 27 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 29 "/usr/include/sys/time.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/select.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/select.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 31 "/usr/include/sys/time.h" 2 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 int __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 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/time.h" 2 3 #pragma GCC visibility pop # 77 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 78 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 89 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" typedef int (*FARPROC)(); extern PRIntervalTime intr_timeout_ticks; # 117 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" typedef struct _PRUnixPollDesc { PRInt32 osfd; PRInt16 in_flags; PRInt16 out_flags; } _PRUnixPollDesc; typedef struct PRPollQueue { PRCList links; _PRUnixPollDesc *pds; PRUintn npds; PRPackedBool on_ioq; PRIntervalTime timeout; struct PRThread *thr; } PRPollQueue; extern PRInt32 _PR_WaitForMultipleFDs( _PRUnixPollDesc *unixpds, PRInt32 pdcnt, PRIntervalTime timeout); extern void _PR_Unblock_IO_Wait(struct PRThread *thr); extern fd_set _pr_md_read_set, _pr_md_write_set, _pr_md_exception_set; extern PRInt16 _pr_md_read_cnt[], _pr_md_write_cnt[], _pr_md_exception_cnt[]; extern PRInt32 _pr_md_ioq_max_osfd; extern PRUint32 _pr_md_ioq_timeout; struct _MDFileDesc { int osfd; int tcp_nodelay; }; struct _MDDir { DIR *d; }; struct _PRCPU; extern void _MD_unix_init_running_cpu(struct _PRCPU *cpu); # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/mman.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/mman.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/mman.h" 1 3 4 # 26 "/usr/include/sys/mman.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 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__)); # 104 "/usr/include/sys/mman.h" 3 4 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); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/mman.h" 2 3 #pragma GCC visibility pop # 172 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 179 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" 2 # 230 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern void _PR_UnixInit(void); struct _MDProcess { pid_t pid; }; struct PRProcess; struct PRProcessAttr; extern struct PRProcess * _MD_CreateUnixProcess( const char *path, char *const *argv, char *const *envp, const struct PRProcessAttr *attr ); extern PRStatus _MD_DetachUnixProcess(struct PRProcess *process); extern PRStatus _MD_WaitUnixProcess(struct PRProcess *process, PRInt32 *exitCode); extern PRStatus _MD_KillUnixProcess(struct PRProcess *process); extern void _MD_EnableClockInterrupts(void); extern void _MD_DisableClockInterrupts(void); # 275 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern void _MD_InitCPUS(void); extern void _MD_Wakeup_CPUs(void); # 300 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern void _MD_MakeNonblock(PRFileDesc *fd); # 333 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern PRInt32 _MD_AvailableSocket(PRInt32 osfd); extern void _MD_StartInterrupts(void); extern void _MD_StopInterrupts(void); extern void _MD_DisableClockInterrupts(void); extern void _MD_BlockClockInterrupts(void); extern void _MD_UnblockClockInterrupts(void); extern void _MD_PauseCPU(PRIntervalTime timeout); extern PRStatus _MD_open_dir(struct _MDDir *, const char *); extern PRInt32 _MD_close_dir(struct _MDDir *); extern char * _MD_read_dir(struct _MDDir *, PRIntn); extern PRInt32 _MD_open(const char *name, PRIntn osflags, PRIntn mode); extern PRInt32 _MD_delete(const char *name); extern PRInt32 _MD_getfileinfo(const char *fn, PRFileInfo *info); extern PRInt32 _MD_getfileinfo64(const char *fn, PRFileInfo64 *info); extern PRInt32 _MD_getopenfileinfo(const PRFileDesc *fd, PRFileInfo *info); extern PRInt32 _MD_getopenfileinfo64(const PRFileDesc *fd, PRFileInfo64 *info); extern PRInt32 _MD_rename(const char *from, const char *to); extern PRInt32 _MD_access(const char *name, PRAccessHow how); extern PRInt32 _MD_mkdir(const char *name, PRIntn mode); extern PRInt32 _MD_rmdir(const char *name); extern PRInt32 _MD_accept_read(PRInt32 sock, PRInt32 *newSock, PRNetAddr **raddr, void *buf, PRInt32 amount); extern PRInt32 _PR_UnixSendFile(PRFileDesc *sd, PRSendFileData *sfd, PRTransmitFileFlags flags, PRIntervalTime timeout); extern PRStatus _MD_LockFile(PRInt32 osfd); extern PRStatus _MD_TLockFile(PRInt32 osfd); extern PRStatus _MD_UnlockFile(PRInt32 osfd); extern PRInt32 _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount); extern PRInt32 _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount); # 390 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern PRInt32 _MD_socket(int af, int type, int flags); extern PRInt32 _MD_connect(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout); extern PRInt32 _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout); extern PRInt32 _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen); extern PRInt32 _MD_listen(PRFileDesc *fd, PRIntn backlog); extern PRInt32 _MD_shutdown(PRFileDesc *fd, PRIntn how); extern PRInt32 _MD_recv(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); extern PRInt32 _MD_send(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout); extern PRInt32 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout); extern PRInt32 _MD_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout); extern PRInt32 _MD_writev(PRFileDesc *fd, const struct PRIOVec *iov, PRInt32 iov_size, PRIntervalTime timeout); extern PRInt32 _MD_socketavailable(PRFileDesc *fd); extern PRInt64 _MD_socketavailable64(PRFileDesc *fd); extern PRInt32 _MD_pr_poll(PRPollDesc *pds, PRIntn npds, PRIntervalTime timeout); extern PRInt32 _MD_close(PRInt32 osfd); extern PRInt32 _MD_lseek(PRFileDesc*, PRInt32, PRSeekWhence); extern PRInt64 _MD_lseek64(PRFileDesc*, PRInt64, PRSeekWhence); extern PRInt32 _MD_fsync(PRFileDesc *fd); extern PRInt32 _MD_socketpair(int af, int type, int flags, PRInt32 *osfd); # 452 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" extern PRStatus _MD_getpeername(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); extern PRStatus _MD_getsockname(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); extern PRStatus _MD_getsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, char* optval, PRInt32* optlen); extern PRStatus _MD_setsockopt(PRFileDesc *fd, PRInt32 level, PRInt32 optname, const char* optval, PRInt32 optlen); extern PRStatus _MD_set_fd_inheritable(PRFileDesc *fd, PRBool inheritable); extern void _MD_init_fd_inheritable(PRFileDesc *fd, PRBool imported); extern void _MD_query_fd_inheritable(PRFileDesc *fd); extern PRStatus _MD_gethostname(char *name, PRUint32 namelen); extern PRStatus _MD_getsysinfo(PRSysInfo cmd, char *name, PRUint32 namelen); extern int _MD_unix_get_nonblocking_connect_error(int osfd); struct _MDFileMap { PRIntn prot; PRIntn flags; PRBool isAnonFM; }; extern PRStatus _MD_CreateFileMap(struct PRFileMap *fmap, PRInt64 size); extern void * _MD_MemMap(struct PRFileMap *fmap, PRInt64 offset, PRUint32 len); extern PRStatus _MD_MemUnmap(void *addr, PRUint32 size); extern PRStatus _MD_CloseFileMap(struct PRFileMap *fmap); # 599 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" typedef struct stat64 _MDStat64; typedef off64_t _MDOff64_t; # 611 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unixos.h" typedef PRIntn (*_MD_Fstat64)(PRIntn osfd, _MDStat64 *buf); typedef PRIntn (*_MD_Open64)(const char *path, int oflag, ...); typedef PRIntn (*_MD_Stat64)(const char *path, _MDStat64 *buf); typedef _MDOff64_t (*_MD_Lseek64)(PRIntn osfd, _MDOff64_t, PRIntn whence); typedef void* (*_MD_Mmap64)( void *addr, PRSize len, PRIntn prot, PRIntn flags, PRIntn fildes, _MDOff64_t offset); struct _MD_IOVector { _MD_Open64 _open64; _MD_Mmap64 _mmap64; _MD_Stat64 _stat64; _MD_Fstat64 _fstat64; _MD_Lseek64 _lseek64; }; extern struct _MD_IOVector _md_iovector; # 150 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unix_errors.h" 1 # 41 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unix_errors.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/unistd.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/unistd.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 42 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unix_errors.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 43 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_unix_errors.h" 2 extern void _MD_unix_map_default_error(int err); extern void _MD_unix_map_opendir_error(int err); extern void _MD_unix_map_closedir_error(int err); extern void _MD_unix_readdir_error(int err); extern void _MD_unix_map_unlink_error(int err); extern void _MD_unix_map_stat_error(int err); extern void _MD_unix_map_fstat_error(int err); extern void _MD_unix_map_rename_error(int err); extern void _MD_unix_map_access_error(int err); extern void _MD_unix_map_mkdir_error(int err); extern void _MD_unix_map_rmdir_error(int err); extern void _MD_unix_map_read_error(int err); extern void _MD_unix_map_write_error(int err); extern void _MD_unix_map_lseek_error(int err); extern void _MD_unix_map_fsync_error(int err); extern void _MD_unix_map_close_error(int err); extern void _MD_unix_map_socket_error(int err); extern void _MD_unix_map_socketavailable_error(int err); extern void _MD_unix_map_recv_error(int err); extern void _MD_unix_map_recvfrom_error(int err); extern void _MD_unix_map_send_error(int err); extern void _MD_unix_map_sendto_error(int err); extern void _MD_unix_map_writev_error(int err); extern void _MD_unix_map_accept_error(int err); extern void _MD_unix_map_connect_error(int err); extern void _MD_unix_map_bind_error(int err); extern void _MD_unix_map_listen_error(int err); extern void _MD_unix_map_shutdown_error(int err); extern void _MD_unix_map_socketpair_error(int err); extern void _MD_unix_map_getsockname_error(int err); extern void _MD_unix_map_getpeername_error(int err); extern void _MD_unix_map_getsockopt_error(int err); extern void _MD_unix_map_setsockopt_error(int err); extern void _MD_unix_map_open_error(int err); extern void _MD_unix_map_mmap_error(int err); extern void _MD_unix_map_gethostname_error(int err); extern void _MD_unix_map_select_error(int err); extern void _MD_unix_map_poll_error(int err); extern void _MD_unix_map_poll_revents_error(int err); extern void _MD_unix_map_flock_error(int err); extern void _MD_unix_map_lockf_error(int err); # 151 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 2 # 164 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/_pth.h" 1 # 165 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/md/prosdep.h" 2 # 81 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" 1 # 46 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/prio.h" 1 # 47 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" 2 extern __attribute__((visibility("default"))) PRStatus PR_Yield(void); # 69 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" typedef struct PR_fd_set { PRUint32 hsize; PRFileDesc *harray[1024]; PRUint32 nsize; PRInt32 narray[1024]; } PR_fd_set; # 131 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" extern __attribute__((visibility("default"))) PRInt32 PR_Select( PRInt32 num, PR_fd_set *readfds, PR_fd_set *writefds, PR_fd_set *exceptfds, PRIntervalTime timeout); # 153 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" extern __attribute__((visibility("default"))) void PR_FD_ZERO(PR_fd_set *set); extern __attribute__((visibility("default"))) void PR_FD_SET(PRFileDesc *fd, PR_fd_set *set); extern __attribute__((visibility("default"))) void PR_FD_CLR(PRFileDesc *fd, PR_fd_set *set); extern __attribute__((visibility("default"))) PRInt32 PR_FD_ISSET(PRFileDesc *fd, PR_fd_set *set); extern __attribute__((visibility("default"))) void PR_FD_NSET(PRInt32 osfd, PR_fd_set *set); extern __attribute__((visibility("default"))) void PR_FD_NCLR(PRInt32 osfd, PR_fd_set *set); extern __attribute__((visibility("default"))) PRInt32 PR_FD_NISSET(PRInt32 osfd, PR_fd_set *set); # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/stat.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/stat.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 166 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/obsolete/probslet.h" 2 extern __attribute__((visibility("default"))) PRInt32 PR_Stat(const char *path, struct stat *buf); # 82 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/sem.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/sem.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/sem.h" 1 3 4 # 25 "/usr/include/sys/sem.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 3 #pragma GCC visibility push(default) # 1 "/builds/gcc/trunk-debug-installed/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include/stddef.h" 1 3 4 # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/stddef.h" 2 3 #pragma GCC visibility pop # 26 "/usr/include/sys/sem.h" 2 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/ipc.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/ipc.h" 3 #pragma GCC visibility push(default) # 1 "/usr/include/sys/ipc.h" 1 3 4 # 29 "/usr/include/sys/ipc.h" 3 4 # 1 "/usr/include/bits/ipctypes.h" 1 3 4 # 33 "/usr/include/bits/ipctypes.h" 3 4 typedef int __ipc_pid_t; # 30 "/usr/include/sys/ipc.h" 2 3 4 # 1 "/usr/include/bits/ipc.h" 1 3 4 # 43 "/usr/include/bits/ipc.h" 3 4 struct ipc_perm { __key_t __key; __uid_t uid; __gid_t gid; __uid_t cuid; __gid_t cgid; unsigned short int mode; unsigned short int __pad1; unsigned short int __seq; unsigned short int __pad2; unsigned long int __unused1; unsigned long int __unused2; }; # 31 "/usr/include/sys/ipc.h" 2 3 4 # 52 "/usr/include/sys/ipc.h" 3 4 extern key_t ftok (__const char *__pathname, int __proj_id) __attribute__ ((__nothrow__)); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/ipc.h" 2 3 #pragma GCC visibility pop # 29 "/usr/include/sys/sem.h" 2 3 4 # 1 "/usr/include/bits/sem.h" 1 3 4 # 23 "/usr/include/bits/sem.h" 3 4 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 1 3 4 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/types.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 24 "/usr/include/bits/sem.h" 2 3 4 # 39 "/usr/include/bits/sem.h" 3 4 struct semid_ds { struct ipc_perm sem_perm; __time_t sem_otime; unsigned long int __unused1; __time_t sem_ctime; unsigned long int __unused2; unsigned long int sem_nsems; unsigned long int __unused3; unsigned long int __unused4; }; # 73 "/usr/include/bits/sem.h" 3 4 struct seminfo { int semmap; int semmni; int semmns; int semmnu; int semmsl; int semopm; int semume; int semusz; int semvmx; int semaem; }; # 32 "/usr/include/sys/sem.h" 2 3 4 # 42 "/usr/include/sys/sem.h" 3 4 struct sembuf { unsigned short int sem_num; short int sem_op; short int sem_flg; }; extern int semctl (int __semid, int __semnum, int __cmd, ...) __attribute__ ((__nothrow__)); extern int semget (key_t __key, int __nsems, int __semflg) __attribute__ ((__nothrow__)); extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __attribute__ ((__nothrow__)); # 4 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/sys/sem.h" 2 3 #pragma GCC visibility pop # 88 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" 2 # 143 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" typedef struct _MDLock _MDLock; typedef struct _MDCVar _MDCVar; typedef struct _MDSegment _MDSegment; typedef struct _MDThread _MDThread; typedef struct _MDThreadStack _MDThreadStack; typedef struct _MDSemaphore _MDSemaphore; typedef struct _MDDir _MDDir; typedef struct _MDFileDesc _MDFileDesc; typedef struct _MDProcess _MDProcess; typedef struct _MDFileMap _MDFileMap; # 168 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" typedef struct _PT_Notified _PT_Notified; struct _PT_Notified { PRIntn length; struct { PRCondVar *cv; PRIntn times; } cv[6]; _PT_Notified *link; }; # 218 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" typedef struct PTDebug { PRTime timeStarted; PRUintn locks_created, locks_destroyed; PRUintn locks_acquired, locks_released; PRUintn cvars_created, cvars_destroyed; PRUintn cvars_notified, delayed_cv_deletes; } PTDebug; extern __attribute__((visibility("default"))) void PT_FPrintStats(PRFileDesc *fd, const char *msg); # 1315 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern PROffset32 _PR_MD_LSEEK(PRFileDesc *fd, PROffset32 offset, PRSeekWhence whence); extern PROffset64 _PR_MD_LSEEK64(PRFileDesc *fd, PROffset64 offset, PRSeekWhence whence); extern PRInt32 _PR_MD_GETFILEINFO(const char *fn, PRFileInfo *info); extern PRInt32 _PR_MD_GETFILEINFO64(const char *fn, PRFileInfo64 *info); extern PRInt32 _PR_MD_GETOPENFILEINFO(const PRFileDesc *fd, PRFileInfo *info); extern PRInt32 _PR_MD_GETOPENFILEINFO64(const PRFileDesc *fd, PRFileInfo64 *info); extern void _PR_InitFdCache(void); extern void _PR_CleanupFdCache(void); extern PRFileDesc *_PR_Getfd(void); extern void _PR_Putfd(PRFileDesc *fd); # 1364 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern PRIntn _PR_InvalidInt(void); extern PRInt16 _PR_InvalidInt16(void); extern PRInt64 _PR_InvalidInt64(void); extern PRStatus _PR_InvalidStatus(void); extern PRFileDesc *_PR_InvalidDesc(void); extern PRIOMethods _pr_faulty_methods; extern PRUintn _PR_NetAddrSize(const PRNetAddr* addr); # 1435 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern PRStatus _PR_MapOptionName( PRSockOption optname, PRInt32 *level, PRInt32 *name); extern void _PR_InitThreads( PRThreadType type, PRThreadPriority priority, PRUintn maxPTDs); struct PRLock { pthread_mutex_t mutex; _PT_Notified notified; PRBool locked; pthread_t owner; # 1458 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" }; extern void _PR_InitLocks(void); struct PRCondVar { PRLock *lock; pthread_cond_t cv; PRInt32 notify_pending; # 1479 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" }; struct PRMonitor { const char* name; PRLock lock; pthread_t owner; PRCondVar *cvar; PRUint32 entryCount; }; struct PRSemaphore { PRCondVar *cvar; PRUintn count; PRUint32 waiters; }; extern __attribute__((visibility("default"))) void _PR_InitSem(void); struct PRSem { int semid; }; struct PRStackStr { PRStackElem prstk_head; PRLock *prstk_lock; char *prstk_name; }; struct PRThreadStack { PRCList links; PRUintn flags; char *allocBase; PRUint32 allocSize; char *stackBottom; char *stackTop; PRUint32 stackSize; PRSegment *seg; PRThread* thr; }; extern void _PR_DestroyThreadPrivate(PRThread*); typedef void ( *_PRStartFn)(void *); struct PRThread { PRUint32 state; PRThreadPriority priority; void *arg; _PRStartFn startFunc; PRThreadStack *stack; void *environment; PRThreadDumpProc dump; void *dumpArg; PRUint32 tpdLength; void **privateData; PRErrorCode errorCode; PRInt32 osErrorCode; PRIntn errorStringLength; PRInt32 errorStringSize; char *errorString; pthread_t id; PRBool okToDelete; PRCondVar *waiting; void *sp; PRThread *next, *prev; PRUint32 suspend; pthread_mutex_t suspendResumeMutex; pthread_cond_t suspendResumeCV; PRUint32 interrupt_blocked; struct pollfd *syspoll_list; PRUint32 syspoll_count; # 1680 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" }; struct PRProcessAttr { PRFileDesc *stdinFd; PRFileDesc *stdoutFd; PRFileDesc *stderrFd; char *currentDirectory; char *fdInheritBuffer; PRSize fdInheritBufferSize; PRSize fdInheritBufferUsed; }; struct PRProcess { _MDProcess md; }; struct PRFileMap { PRFileDesc *fd; PRFileMapProtect prot; _MDFileMap md; }; # 1724 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" typedef enum { _PR_TRI_TRUE = 1, _PR_TRI_FALSE = 0, _PR_TRI_UNKNOWN = -1 } _PRTriStateBool; struct PRFilePrivate { PRInt32 state; PRBool nonblocking; _PRTriStateBool inheritable; PRFileDesc *next; PRIntn lockCount; # 1749 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" _MDFileDesc md; }; struct PRDir { PRDirEntry d; _MDDir md; }; # 1771 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern void _PR_InitSegs(void); extern void _PR_InitStacks(void); extern void _PR_InitTPD(void); extern void _PR_InitMem(void); extern void _PR_InitEnv(void); extern void _PR_InitCMon(void); extern void _PR_InitIO(void); extern void _PR_InitLog(void); extern void _PR_InitNet(void); extern void _PR_InitClock(void); extern void _PR_InitLinker(void); extern void _PR_InitAtomic(void); extern void _PR_InitCPUs(void); extern void _PR_InitDtoa(void); extern void _PR_InitMW(void); extern void _PR_InitRWLocks(void); extern void _PR_NotifyCondVar(PRCondVar *cvar, PRThread *me); extern void _PR_CleanupThread(PRThread *thread); extern void _PR_CleanupCallOnce(void); extern void _PR_CleanupMW(void); extern void _PR_CleanupDtoa(void); extern void _PR_ShutdownLinker(void); extern void _PR_CleanupEnv(void); extern void _PR_CleanupIO(void); extern void _PR_CleanupNet(void); extern void _PR_CleanupLayerCache(void); extern void _PR_CleanupStacks(void); extern void _PR_CleanupThreads(void); extern void _PR_CleanupTPD(void); extern void _PR_Cleanup(void); extern void _PR_LogCleanup(void); extern void _PR_InitLayerCache(void); extern PRBool _pr_initialized; extern void _PR_ImplicitInitialization(void); extern PRBool _PR_Obsolete(const char *obsolete, const char *preferred); struct PRSegment { void *vaddr; PRUint32 size; PRUintn flags; }; extern PRInt32 _pr_pageSize; extern PRInt32 _pr_pageShift; extern PRLogModuleInfo *_pr_clock_lm; extern PRLogModuleInfo *_pr_cmon_lm; extern PRLogModuleInfo *_pr_io_lm; extern PRLogModuleInfo *_pr_cvar_lm; extern PRLogModuleInfo *_pr_mon_lm; extern PRLogModuleInfo *_pr_linker_lm; extern PRLogModuleInfo *_pr_sched_lm; extern PRLogModuleInfo *_pr_thread_lm; extern PRLogModuleInfo *_pr_gc_lm; extern PRFileDesc *_pr_stdin; extern PRFileDesc *_pr_stdout; extern PRFileDesc *_pr_stderr; # 1861 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern void _PR_InitZones(void); extern void _PR_DestroyZones(void); # 1881 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern void _PR_MD_EARLY_INIT(void); extern void _PR_MD_INTERVAL_INIT(void); extern __attribute__((visibility("default"))) void _PR_MD_FINAL_INIT(void); extern PRProcess * _PR_MD_CREATE_PROCESS( const char *path, char *const *argv, char *const *envp, const PRProcessAttr *attr); extern PRStatus _PR_MD_DETACH_PROCESS(PRProcess *process); extern PRStatus _PR_MD_WAIT_PROCESS(PRProcess *process, PRInt32 *exitCode); extern PRStatus _PR_MD_KILL_PROCESS(PRProcess *process); extern __attribute__((visibility("default"))) PRTime _PR_MD_NOW(void); extern char* _PR_MD_GET_ENV(const char *name); extern PRIntn _PR_MD_PUT_ENV(const char *name); extern void _PR_MD_INIT_ATOMIC(void); extern PRInt32 _PR_MD_ATOMIC_INCREMENT(PRInt32 *); extern PRInt32 _PR_MD_ATOMIC_ADD(PRInt32 *, PRInt32); extern PRInt32 _PR_MD_ATOMIC_DECREMENT(PRInt32 *); extern PRInt32 _PR_MD_ATOMIC_SET(PRInt32 *, PRInt32); # 1949 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern PRWord *_MD_HomeGCRegisters(PRThread *t, int isCurrent, int *np); extern PRIntervalTime _PR_MD_GET_INTERVAL(void); extern PRIntervalTime _PR_MD_INTERVAL_PER_SEC(void); extern PRInt32 _PR_MD_SETTHREADAFFINITYMASK(PRThread *thread, PRUint32 mask ); extern PRInt32 _PR_MD_GETTHREADAFFINITYMASK(PRThread *thread, PRUint32 *mask); extern PRStatus _PR_MD_LOCKFILE(PRInt32 osfd); extern PRStatus _PR_MD_TLOCKFILE(PRInt32 osfd); extern PRStatus _PR_MD_UNLOCKFILE(PRInt32 osfd); extern PRStatus _PR_MD_CREATE_FILE_MAP(PRFileMap *fmap, PRInt64 size); extern PRInt32 _PR_MD_GET_MEM_MAP_ALIGNMENT(void); extern void * _PR_MD_MEM_MAP( PRFileMap *fmap, PROffset64 offset, PRUint32 len); extern PRStatus _PR_MD_MEM_UNMAP(void *addr, PRUint32 size); extern PRStatus _PR_MD_CLOSE_FILE_MAP(PRFileMap *fmap); struct PRSharedMemory { char *ipcname; PRSize size; PRIntn mode; PRIntn flags; int id; PRUint32 ident; }; extern PRSharedMemory * _MD_OpenSharedMemory( const char *name, PRSize size, PRIntn flags, PRIntn mode ); extern void * _MD_AttachSharedMemory( PRSharedMemory *shm, PRIntn flags ); extern PRStatus _MD_DetachSharedMemory( PRSharedMemory *shm, void *addr ); extern PRStatus _MD_CloseSharedMemory( PRSharedMemory *shm ); extern PRStatus _MD_DeleteSharedMemory( const char *name ); extern PRFileMap* _md_OpenAnonFileMap( const char *dirName, PRSize size, PRFileMapProtect prot ); extern PRStatus _md_ExportFileMapAsString( PRFileMap *fm, PRSize bufSize, char *buf ); extern PRFileMap * _md_ImportFileMapFromString( const char *fmstring ); # 2074 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" typedef enum { _PRIPCSem, _PRIPCShm } _PRIPCType; extern PRStatus _PR_MakeNativeIPCName( const char *name, char *result, PRIntn size, _PRIPCType type ); extern __attribute__((visibility("default"))) PRInt32 _PR_MD_GET_SOCKET_ERROR(void); extern PRStatus _PR_MD_GETHOSTNAME(char *name, PRUint32 namelen); extern PRStatus _PR_MD_GETSYSINFO(PRSysInfo cmd, char *name, PRUint32 namelen); # 2108 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" extern void _PR_MD_QUERY_FD_INHERITABLE(PRFileDesc *fd); extern PRSize _PR_MD_GetRandomNoise( void *buf, PRSize size ); extern PRSize _pr_CopyLowBits( void *dest, PRSize dstlen, void *src, PRSize srclen ); # 2136 "../../../../../mozilla/nsprpub/pr/include/private/primpl.h" # 43 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" 2 # 1 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 1 # 2 "/builds/embedding/xulrun-gccdebug/dist/include/nspr/system_wrappers/string.h" 3 #pragma GCC visibility push(default) #pragma GCC visibility pop # 44 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" 2 static PRIOMethods ipv6_to_v4_tcpMethods; static PRIOMethods ipv6_to_v4_udpMethods; static PRDescIdentity _pr_ipv6_to_ipv4_id; extern PRBool IsValidNetAddr(const PRNetAddr *addr); extern PRIPv6Addr _pr_in6addr_any; extern PRIPv6Addr _pr_in6addr_loopback; static void _PR_ConvertToIpv4NetAddr(const PRNetAddr *src_v6addr, PRNetAddr *dst_v4addr) { const PRUint8 *srcp; ((10 == src_v6addr->ipv6.family)?((void)0):PR_Assert("PR_AF_INET6 == src_v6addr->ipv6.family","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",62)); if (PR_IsNetAddrType(src_v6addr, PR_IpAddrV4Mapped)) { srcp = src_v6addr->ipv6.ip._S6_un._S6_u8; memcpy((char *) &dst_v4addr->inet.ip, srcp + 12, 4); } else if (PR_IsNetAddrType(src_v6addr, PR_IpAddrAny)) { dst_v4addr->inet.ip = htonl(((in_addr_t) 0x00000000)); } else if (PR_IsNetAddrType(src_v6addr, PR_IpAddrLoopback)) { dst_v4addr->inet.ip = htonl(((in_addr_t) 0x7f000001)); } dst_v4addr->inet.family = 2; dst_v4addr->inet.port = src_v6addr->ipv6.port; } static void _PR_ConvertToIpv6NetAddr(const PRNetAddr *src_v4addr, PRNetAddr *dst_v6addr) { PRUint8 *dstp; ((2 == src_v4addr->inet.family)?((void)0):PR_Assert("PR_AF_INET == src_v4addr->inet.family","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",84)); dst_v6addr->ipv6.family = 10; dst_v6addr->ipv6.port = src_v4addr->inet.port; if (htonl(((in_addr_t) 0x00000000)) == src_v4addr->inet.ip) { dst_v6addr->ipv6.ip = _pr_in6addr_any; } else { dstp = dst_v6addr->ipv6.ip._S6_un._S6_u8; memset(dstp, 0, 10); memset(dstp + 10, 0xff, 2); memcpy(dstp + 12,(char *) &src_v4addr->inet.ip, 4); } } static PRStatus Ipv6ToIpv4SocketBind(PRFileDesc *fd, const PRNetAddr *addr) { PRNetAddr tmp_ipv4addr; const PRNetAddr *tmp_addrp; PRFileDesc *lo = fd->lower; if (10 != addr->raw.family) { PR_SetError((-5985L), 0); return PR_FAILURE; } if (PR_IsNetAddrType(addr, PR_IpAddrV4Mapped) || PR_IsNetAddrType(addr, PR_IpAddrAny)) { _PR_ConvertToIpv4NetAddr(addr, &tmp_ipv4addr); tmp_addrp = &tmp_ipv4addr; } else { PR_SetError((-5980L), 0); return PR_FAILURE; } return((lo->methods->bind)(lo,tmp_addrp)); } static PRStatus Ipv6ToIpv4SocketConnect( PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout) { PRNetAddr tmp_ipv4addr; const PRNetAddr *tmp_addrp; if (10 != addr->raw.family) { PR_SetError((-5985L), 0); return PR_FAILURE; } if (PR_IsNetAddrType(addr, PR_IpAddrV4Mapped) || PR_IsNetAddrType(addr, PR_IpAddrLoopback)) { _PR_ConvertToIpv4NetAddr(addr, &tmp_ipv4addr); tmp_addrp = &tmp_ipv4addr; } else { PR_SetError((-5980L), 0); return PR_FAILURE; } return (fd->lower->methods->connect)(fd->lower, tmp_addrp, timeout); } static PRInt32 Ipv6ToIpv4SocketSendTo( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) { PRNetAddr tmp_ipv4addr; const PRNetAddr *tmp_addrp; if (10 != addr->raw.family) { PR_SetError((-5985L), 0); return PR_FAILURE; } if (PR_IsNetAddrType(addr, PR_IpAddrV4Mapped) || PR_IsNetAddrType(addr, PR_IpAddrLoopback)) { _PR_ConvertToIpv4NetAddr(addr, &tmp_ipv4addr); tmp_addrp = &tmp_ipv4addr; } else { PR_SetError((-5980L), 0); return PR_FAILURE; } return (fd->lower->methods->sendto)( fd->lower, buf, amount, flags, tmp_addrp, timeout); } static PRFileDesc* Ipv6ToIpv4SocketAccept ( PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout) { PRStatus rv; PRFileDesc *newfd; PRFileDesc *newstack; PRNetAddr tmp_ipv4addr; PRNetAddr *addrlower = ((void *)0); ((fd != ((void *)0))?((void)0):PR_Assert("fd != NULL","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",173)); ((fd->lower != ((void *)0))?((void)0):PR_Assert("fd->lower != NULL","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",174)); newstack = ((PRFileDesc *) (PR_Malloc((sizeof(PRFileDesc))))); if (((void *)0) == newstack) { PR_SetError((-6000L), 0); return ((void *)0); } *newstack = *fd; if (addr) addrlower = &tmp_ipv4addr; newfd = (fd->lower->methods->accept)(fd->lower, addrlower, timeout); if (((void *)0) == newfd) { { PR_Free(newstack); (newstack) = ((void *)0); }; return ((void *)0); } if (addr) _PR_ConvertToIpv6NetAddr(&tmp_ipv4addr, addr); rv = PR_PushIOLayer(newfd, (PRDescIdentity)-2, newstack); ((PR_SUCCESS == rv)?((void)0):PR_Assert("PR_SUCCESS == rv","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",196)); return newfd; } static PRInt32 Ipv6ToIpv4SocketAcceptRead(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **ipv6_raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) { PRInt32 nbytes; PRStatus rv; PRNetAddr tmp_ipv4addr; PRFileDesc *newstack; ((sd != ((void *)0))?((void)0):PR_Assert("sd != NULL","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",209)); ((sd->lower != ((void *)0))?((void)0):PR_Assert("sd->lower != NULL","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",210)); newstack = ((PRFileDesc *) (PR_Malloc((sizeof(PRFileDesc))))); if (((void *)0) == newstack) { PR_SetError((-6000L), 0); return -1; } *newstack = *sd; nbytes = sd->lower->methods->acceptread( sd->lower, nd, ipv6_raddr, buf, amount, timeout); if (-1 == nbytes) { { PR_Free(newstack); (newstack) = ((void *)0); }; return nbytes; } tmp_ipv4addr = **ipv6_raddr; _PR_ConvertToIpv6NetAddr(&tmp_ipv4addr, *ipv6_raddr); rv = PR_PushIOLayer(*nd, (PRDescIdentity)-2, newstack); ((PR_SUCCESS == rv)?((void)0):PR_Assert("PR_SUCCESS == rv","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",232)); return nbytes; } static PRStatus Ipv6ToIpv4SocketGetName(PRFileDesc *fd, PRNetAddr *ipv6addr) { PRStatus result; PRNetAddr tmp_ipv4addr; result = (fd->lower->methods->getsockname)(fd->lower, &tmp_ipv4addr); if (PR_SUCCESS == result) { _PR_ConvertToIpv6NetAddr(&tmp_ipv4addr, ipv6addr); ((IsValidNetAddr(ipv6addr) == 1)?((void)0):PR_Assert("IsValidNetAddr(ipv6addr) == PR_TRUE","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",245)); } return result; } static PRStatus Ipv6ToIpv4SocketGetPeerName(PRFileDesc *fd, PRNetAddr *ipv6addr) { PRStatus result; PRNetAddr tmp_ipv4addr; result = (fd->lower->methods->getpeername)(fd->lower, &tmp_ipv4addr); if (PR_SUCCESS == result) { _PR_ConvertToIpv6NetAddr(&tmp_ipv4addr, ipv6addr); ((IsValidNetAddr(ipv6addr) == 1)?((void)0):PR_Assert("IsValidNetAddr(ipv6addr) == PR_TRUE","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",259)); } return result; } static PRInt32 Ipv6ToIpv4SocketRecvFrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *ipv6addr, PRIntervalTime timeout) { PRNetAddr tmp_ipv4addr; PRInt32 result; result = (fd->lower->methods->recvfrom)( fd->lower, buf, amount, flags, &tmp_ipv4addr, timeout); if (-1 != result) { _PR_ConvertToIpv6NetAddr(&tmp_ipv4addr, ipv6addr); ((IsValidNetAddr(ipv6addr) == 1)?((void)0):PR_Assert("IsValidNetAddr(ipv6addr) == PR_TRUE","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",275)); } return result; } PRBool _pr_ipv6_is_present; extern PRBool _pr_test_ipv6_socket(void); # 292 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" static PRBool _pr_probe_ipv6_presence(void) { # 305 "../../../../../mozilla/nsprpub/pr/src/io/pripv6.c" return _pr_test_ipv6_socket(); } PRStatus _pr_init_ipv6() { const PRIOMethods *stubMethods; _pr_ipv6_is_present = _pr_probe_ipv6_presence(); if (1 == _pr_ipv6_is_present) return PR_SUCCESS; _pr_ipv6_to_ipv4_id = PR_GetUniqueIdentity("Ipv6_to_Ipv4 layer"); (((PRDescIdentity)-1 != _pr_ipv6_to_ipv4_id)?((void)0):PR_Assert("PR_INVALID_IO_LAYER != _pr_ipv6_to_ipv4_id","../../../../../mozilla/nsprpub/pr/src/io/pripv6.c",320)); stubMethods = PR_GetDefaultIOMethods(); ipv6_to_v4_tcpMethods = *stubMethods; ipv6_to_v4_tcpMethods.connect = Ipv6ToIpv4SocketConnect; ipv6_to_v4_tcpMethods.bind = Ipv6ToIpv4SocketBind; ipv6_to_v4_tcpMethods.accept = Ipv6ToIpv4SocketAccept; ipv6_to_v4_tcpMethods.acceptread = Ipv6ToIpv4SocketAcceptRead; ipv6_to_v4_tcpMethods.getsockname = Ipv6ToIpv4SocketGetName; ipv6_to_v4_tcpMethods.getpeername = Ipv6ToIpv4SocketGetPeerName; ipv6_to_v4_udpMethods = *stubMethods; ipv6_to_v4_udpMethods.connect = Ipv6ToIpv4SocketConnect; ipv6_to_v4_udpMethods.bind = Ipv6ToIpv4SocketBind; ipv6_to_v4_udpMethods.sendto = Ipv6ToIpv4SocketSendTo; ipv6_to_v4_udpMethods.recvfrom = Ipv6ToIpv4SocketRecvFrom; ipv6_to_v4_udpMethods.getsockname = Ipv6ToIpv4SocketGetName; ipv6_to_v4_udpMethods.getpeername = Ipv6ToIpv4SocketGetPeerName; return PR_SUCCESS; } __attribute__((visibility("default"))) PRStatus _pr_push_ipv6toipv4_layer(PRFileDesc *fd) { PRFileDesc *ipv6_fd = ((void *)0); if (fd->methods->file_type == PR_DESC_SOCKET_TCP) ipv6_fd = PR_CreateIOLayerStub(_pr_ipv6_to_ipv4_id, &ipv6_to_v4_tcpMethods); else ipv6_fd = PR_CreateIOLayerStub(_pr_ipv6_to_ipv4_id, &ipv6_to_v4_udpMethods); if (((void *)0) == ipv6_fd) { goto errorExit; } ipv6_fd->secret = ((void *)0); if (PR_PushIOLayer(fd, (PRDescIdentity)-2, ipv6_fd) == PR_FAILURE) { goto errorExit; } return PR_SUCCESS; errorExit: if (ipv6_fd) ipv6_fd->dtor(ipv6_fd); return PR_FAILURE; }