// /usr/libexec/gcc/i686-pc-linux-gnu/3.4.3-20050110/cc1 -quiet -I./src -I./obj -I./obj -I./src -DHAVE_MKSTEMP -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_PNG_H=1 -DHAVE_LIBPNG_PNG_H=1 -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXT=1 -DHAVE_MKSTEMP=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_VPRINTF=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 ./src/idparam.c -mno-sse2 -fPIE -fstack-protector -fstack-protector-all -quiet -dumpbase idparam.c -march=athlon-xp -auxbase-strip ./obj/idparam.o -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fstack-protector -fno-builtin -fno-common -o - -frandom-seed=0 # 1 "./src/idparam.c" # 1 "" # 1 "" # 1 "./src/idparam.c" # 19 "./src/idparam.c" # 1 "./src/memory_.h" 1 # 24 "./src/memory_.h" # 1 "./src/std.h" 1 # 23 "./src/std.h" # 1 "./src/stdpre.h" 1 # 247 "./src/stdpre.h" typedef unsigned char byte; typedef unsigned char uchar; # 257 "./src/stdpre.h" typedef unsigned short ushort; typedef unsigned int uint; typedef unsigned long ulong; # 271 "./src/stdpre.h" # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 308 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 309 "/usr/include/features.h" 2 3 4 # 331 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 332 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 3 4 typedef unsigned int size_t; # 32 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 129 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 130 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 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; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong_; typedef unsigned short int ushort_; typedef unsigned int uint_; # 191 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 213 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 214 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 118 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 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 # 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; # 266 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 36 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[36]; long int __align; } pthread_attr_t; typedef union { struct { int __lock; unsigned int __count; int __owner; int __kind; unsigned int __nusers; int __spins; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; long int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; long int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; # 267 "/usr/include/sys/types.h" 2 3 4 # 272 "./src/stdpre.h" 2 # 292 "./src/stdpre.h" typedef int bool; # 329 "./src/stdpre.h" typedef const char *ptr_ord_t; # 370 "./src/stdpre.h" typedef double floatp; # 398 "./src/stdpre.h" typedef const char *client_name_t; # 24 "./src/std.h" 2 # 1 "./obj/arch.h" 1 # 27 "./src/std.h" 2 # 78 "./src/std.h" typedef ushort bits16; typedef uint bits32; # 152 "./src/std.h" # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 44 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE FILE; # 62 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 72 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 14 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 3 4 typedef long int wchar_t; # 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 3 4 typedef unsigned int wint_t; # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 51 "/usr/include/wchar.h" 2 3 4 # 76 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 25 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/gconv.h" 1 3 4 # 28 "/usr/include/gconv.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 32 "/usr/include/gconv.h" 2 3 4 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 45 "/usr/include/_G_config.h" 2 3 4 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 166 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 176 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 199 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 267 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 315 "/usr/include/libio.h" 3 4 __off64_t _offset; 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; # 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); # 178 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); # 196 "/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); # 221 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 235 "/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); # 262 "/usr/include/stdio.h" 3 4 # 273 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); # 294 "/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))); # 388 "/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__)); # 430 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 454 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 465 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 498 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); extern char *gets (char *__s); # 578 "/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); # 631 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream); extern void rewind (FILE *__stream); # 686 "/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); # 709 "/usr/include/stdio.h" 3 4 # 718 "/usr/include/stdio.h" 3 4 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[]; # 748 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); # 767 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes); extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 807 "/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__)); # 828 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 33 "/usr/include/bits/stdio.h" 3 4 extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 111 "/usr/include/bits/stdio.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 829 "/usr/include/stdio.h" 2 3 4 # 153 "./src/std.h" 2 # 161 "./src/std.h" int outwrite(const char *str,int len); int errwrite(const char *str,int len); void outflush(void); void errflush(void); int outprintf(const char *fmt, ...); int errprintf(const char *fmt, ...); void dprintf_file_and_line(const char *,int); void dflush(void); # 243 "./src/std.h" void printf_program_ident(const char *program_name,long revision_number,long revision_patch); void eprintf_program_ident(const char *program_name,long revision_number); const char *gs_program_name(void); long gs_revision_number(void); # 276 "./src/std.h" void lprintf_file_and_line(const char *,int); # 312 "./src/std.h" typedef struct gs_memory_s gs_memory_t; # 25 "./src/memory_.h" 2 # 55 "./src/memory_.h" # 1 "/usr/include/string.h" 1 3 4 # 28 "/usr/include/string.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __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))); # 414 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string.h" 1 3 4 # 415 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/bits/string2.h" 1 3 4 # 394 "/usr/include/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "/usr/include/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1299 "/usr/include/bits/string2.h" 3 4 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 # 582 "/usr/include/stdlib.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 961 "/usr/include/stdlib.h" 3 4 # 1300 "/usr/include/bits/string2.h" 2 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "/usr/include/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 418 "/usr/include/string.h" 2 3 4 # 426 "/usr/include/string.h" 3 4 # 56 "./src/memory_.h" 2 # 20 "./src/idparam.c" 2 # 1 "./src/string_.h" 1 # 21 "./src/idparam.c" 2 # 1 "./src/ghost.h" 1 # 23 "./src/ghost.h" # 1 "./src/gx.h" 1 # 23 "./src/gx.h" # 1 "./src/stdio_.h" 1 # 39 "./src/stdio_.h" # 1 "/usr/include/unistd.h" 1 3 4 # 28 "/usr/include/unistd.h" 3 4 # 171 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 172 "/usr/include/unistd.h" 2 3 4 # 195 "/usr/include/unistd.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/stddef.h" 1 3 4 # 196 "/usr/include/unistd.h" 2 3 4 # 236 "/usr/include/unistd.h" 3 4 typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; # 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__)); # 305 "/usr/include/unistd.h" 3 4 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); # 369 "/usr/include/unistd.h" 3 4 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)); # 378 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 390 "/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); # 414 "/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__)); # 448 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)); # 461 "/usr/include/unistd.h" 3 4 extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dup (int __fd) __attribute__ ((__nothrow__)); extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); extern char **__environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 492 "/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 }; # 531 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (__const char *__path, int __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); # 567 "/usr/include/unistd.h" 3 4 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); # 576 "/usr/include/unistd.h" 3 4 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); # 593 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__)); # 610 "/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__)); # 643 "/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__)); # 695 "/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); # 774 "/usr/include/unistd.h" 3 4 extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 783 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/getopt.h" 1 3 4 # 59 "/usr/include/getopt.h" 3 4 extern char *optarg; # 73 "/usr/include/getopt.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 152 "/usr/include/getopt.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__)); # 784 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostid (long int __id) __attribute__ ((__nothrow__)); extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setdomainname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int vhangup (void) __attribute__ ((__nothrow__)); extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int acct (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); 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))); # 869 "/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 truncate (__const char *__file, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 907 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)); # 923 "/usr/include/unistd.h" 3 4 extern int getdtablesize (void) __attribute__ ((__nothrow__)); # 932 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__)); extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 953 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 976 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len); # 1007 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); # 1039 "/usr/include/unistd.h" 3 4 # 40 "./src/stdio_.h" 2 # 24 "./src/gx.h" 2 # 1 "./src/gserror.h" 1 # 23 "./src/gserror.h" int gs_log_error(int,const char *,int); # 25 "./src/gx.h" 2 # 1 "./src/gsio.h" 1 # 27 "./src/gsio.h" extern FILE *gs_stdio[3]; # 26 "./src/gx.h" 2 # 1 "./src/gstypes.h" 1 # 29 "./src/gstypes.h" typedef ulong gs_id; # 46 "./src/gstypes.h" typedef struct gs_string_s { byte *data; uint size; } gs_string; typedef struct gs_const_string_s { const byte *data; uint size; } gs_const_string; # 68 "./src/gstypes.h" typedef struct gs_bytestring_s { byte *data; uint size; byte *bytes; } gs_bytestring; typedef struct gs_const_bytestring_s { const byte *data; uint size; const byte *bytes; } gs_const_bytestring; # 85 "./src/gstypes.h" typedef struct gs_point_s { double x, y; } gs_point; typedef struct gs_int_point_s { int x, y; } gs_int_point; typedef struct gs_log2_scale_point_s { int x, y; } gs_log2_scale_point; typedef struct gs_rect_s { gs_point p, q; } gs_rect; typedef struct gs_int_rect_s { gs_int_point p, q; } gs_int_rect; # 27 "./src/gx.h" 2 # 1 "./src/gsmemory.h" 1 # 36 "./src/gsmemory.h" # 1 "./src/gsmemraw.h" 1 # 39 "./src/gsmemraw.h" typedef struct gs_memory_status_s { ulong allocated; ulong used; } gs_memory_status_t; typedef struct gs_raw_memory_s gs_raw_memory_t; # 187 "./src/gsmemraw.h" typedef struct gs_raw_memory_procs_s { byte *(*alloc_bytes_immovable)(gs_raw_memory_t *mem,uint nbytes,client_name_t cname); void *(*resize_object)(gs_raw_memory_t *mem,void *obj,uint new_num_elements,client_name_t cname); void (*free_object)(gs_raw_memory_t *mem,void *data,client_name_t cname); gs_raw_memory_t *(*stable)(gs_raw_memory_t *mem); void (*status)(gs_raw_memory_t *mem,gs_memory_status_t *status); void (*free_all)(gs_raw_memory_t *mem,uint free_mask,client_name_t cname); void (*consolidate_free)(gs_raw_memory_t *mem); } gs_raw_memory_procs_t; struct gs_raw_memory_s { gs_raw_memory_t *stable_memory; gs_raw_memory_procs_t procs; }; # 37 "./src/gsmemory.h" 2 typedef struct gs_memory_struct_type_s gs_memory_struct_type_t; typedef const gs_memory_struct_type_t *gs_memory_type_ptr_t; # 51 "./src/gsmemory.h" typedef struct gs_ptr_procs_s gs_ptr_procs_t; typedef const gs_ptr_procs_t *gs_ptr_type_t; typedef struct gs_gc_root_s gs_gc_root_t; typedef client_name_t struct_name_t; uint gs_struct_type_size(gs_memory_type_ptr_t); struct_name_t gs_struct_type_name(gs_memory_type_ptr_t); typedef struct gs_memory_procs_s { byte *(*alloc_bytes_immovable)(gs_memory_t *mem,uint nbytes,client_name_t cname); void *(*resize_object)(gs_memory_t *mem,void *obj,uint new_num_elements,client_name_t cname); void (*free_object)(gs_memory_t *mem,void *data,client_name_t cname); gs_memory_t *(*stable)(gs_memory_t *mem); void (*status)(gs_memory_t *mem,gs_memory_status_t *status); void (*free_all)(gs_memory_t *mem,uint free_mask,client_name_t cname); void (*consolidate_free)(gs_memory_t *mem); # 101 "./src/gsmemory.h" byte *(*alloc_bytes)(gs_memory_t *mem,uint nbytes,client_name_t cname); # 112 "./src/gsmemory.h" void *(*alloc_struct)(gs_memory_t *mem,gs_memory_type_ptr_t pstype,client_name_t cname); void *(*alloc_struct_immovable)(gs_memory_t *mem,gs_memory_type_ptr_t pstype,client_name_t cname); # 126 "./src/gsmemory.h" byte *(*alloc_byte_array)(gs_memory_t *mem,uint num_elements,uint elt_size,client_name_t cname); byte *(*alloc_byte_array_immovable)(gs_memory_t *mem,uint num_elements,uint elt_size,client_name_t cname); # 140 "./src/gsmemory.h" void *(*alloc_struct_array)(gs_memory_t *mem,uint num_elements,gs_memory_type_ptr_t pstype,client_name_t cname); void *(*alloc_struct_array_immovable)(gs_memory_t *mem,uint num_elements,gs_memory_type_ptr_t pstype,client_name_t cname); # 153 "./src/gsmemory.h" uint (*object_size)(gs_memory_t *mem,const void *obj); # 165 "./src/gsmemory.h" gs_memory_type_ptr_t (*object_type)(gs_memory_t *mem,const void *obj); # 175 "./src/gsmemory.h" byte *(*alloc_string)(gs_memory_t *mem,uint nbytes,client_name_t cname); byte *(*alloc_string_immovable)(gs_memory_t *mem,uint nbytes,client_name_t cname); # 190 "./src/gsmemory.h" byte *(*resize_string)(gs_memory_t *mem,byte *data,uint old_num,uint new_num,client_name_t cname); # 201 "./src/gsmemory.h" void (*free_string)(gs_memory_t *mem,byte *data,uint nbytes,client_name_t cname); # 215 "./src/gsmemory.h" int (*register_root)(gs_memory_t *mem,gs_gc_root_t *root,gs_ptr_type_t ptype,void **pp,client_name_t cname); # 226 "./src/gsmemory.h" void (*unregister_root)(gs_memory_t *mem,gs_gc_root_t *root,client_name_t cname); # 241 "./src/gsmemory.h" void (*enable_free)(gs_memory_t *mem,bool enable); } gs_memory_procs_t; void gs_free_const_object(gs_memory_t *mem,const void *data,client_name_t cname); void gs_free_const_string(gs_memory_t *mem,const byte *data,uint nbytes,client_name_t cname); void gs_free_bytestring(gs_memory_t *mem, gs_bytestring *pbs, client_name_t cname); void gs_free_const_bytestring(gs_memory_t *mem, gs_const_bytestring *pbs, client_name_t cname); void *gs_resize_struct_array(gs_memory_t *mem,void *obj,uint num_elements,gs_memory_type_ptr_t pstype,client_name_t cname); int gs_register_struct_root(gs_memory_t *mem,gs_gc_root_t *root,void **pp,client_name_t cname); void gs_ignore_free_object(gs_memory_t *mem,void *data,client_name_t cname); void gs_ignore_free_string(gs_memory_t *mem,byte *data,uint nbytes,client_name_t cname); void gs_ignore_consolidate_free(gs_memory_t *mem); void *gs_raw_alloc_struct_immovable(gs_raw_memory_t * rmem,gs_memory_type_ptr_t pstype,client_name_t cname); # 302 "./src/gsmemory.h" struct gs_memory_s { gs_memory_t *stable_memory; gs_memory_procs_t procs; }; # 28 "./src/gx.h" 2 # 1 "./src/gdebug.h" 1 # 54 "./src/gdebug.h" extern char gs_debug[128]; bool gs_debug_c(int); # 64 "./src/gdebug.h" extern FILE *gs_debug_out; # 118 "./src/gdebug.h" void debug_dump_bytes(const byte * from,const byte * to,const char *msg); void debug_dump_bitmap(const byte * from,uint raster,uint height,const char *msg); void debug_print_string(const byte * str,uint len); void debug_print_string_hex(const byte * str,uint len); # 29 "./src/gx.h" 2 typedef struct gs_imager_state_s gs_imager_state; typedef struct gs_state_s gs_state; # 24 "./src/ghost.h" 2 # 1 "./src/iref.h" 1 # 25 "./src/iref.h" typedef struct ref_s ref; typedef ushort ref_packed; # 53 "./src/iref.h" typedef enum { # 69 "./src/iref.h" t__invalid, t_boolean, t_dictionary, t_file, t_array, t_mixedarray, t_shortarray, t_unused_array_, # 109 "./src/iref.h" t_struct, t_astruct, t_fontID, t_integer, t_mark, t_name, t_null, t_operator, t_real, t_save, t_string, # 144 "./src/iref.h" t_device, t_oparray, t_next_index } ref_type; # 166 "./src/iref.h" extern const byte ref_type_properties[1 << 6]; # 307 "./src/iref.h" typedef struct attr_print_mask_s { ushort mask; ushort value; char print; } attr_print_mask; # 332 "./src/iref.h" typedef struct dict_s dict; typedef struct name_s name; typedef struct stream_s stream; typedef struct gx_device_s gx_device; typedef struct obj_header_s obj_header_t; # 355 "./src/iref.h" typedef struct gs_context_state_s i_ctx_t; typedef int (*op_proc_t)(i_ctx_t *i_ctx_p); # 366 "./src/iref.h" struct tas_s { ushort type_attrs; ushort rsize; }; struct ref_s { struct tas_s tas; # 441 "./src/iref.h" union v { long intval; ushort boolval; float realval; ulong saveid; byte *bytes; const byte *const_bytes; ref *refs; const ref *const_refs; name *pname; const name *const_pname; dict *pdict; const dict *const_pdict; const ref_packed *packed; ref_packed *writable_packed; op_proc_t opproc; struct stream_s *pfile; struct gx_device_s *pdevice; obj_header_t *pstruct; } value; }; # 25 "./src/ghost.h" 2 # 22 "./src/idparam.c" 2 # 1 "./src/errors.h" 1 # 31 "./src/errors.h" extern const char *const gs_error_names[]; # 23 "./src/idparam.c" 2 # 1 "./src/gsmatrix.h" 1 # 29 "./src/gsmatrix.h" struct gs_matrix_s { float xx, xy, yx, yy, tx, ty; }; typedef struct gs_matrix_s gs_matrix; # 53 "./src/gsmatrix.h" void gs_make_identity(gs_matrix *); int gs_make_translation(floatp,floatp,gs_matrix *), gs_make_scaling(floatp,floatp,gs_matrix *), gs_make_rotation(floatp,gs_matrix *); int gs_matrix_multiply(const gs_matrix *,const gs_matrix *,gs_matrix *), gs_matrix_invert(const gs_matrix *,gs_matrix *), gs_matrix_translate(const gs_matrix *,floatp,floatp,gs_matrix *), gs_matrix_scale(const gs_matrix *,floatp,floatp,gs_matrix *), gs_matrix_rotate(const gs_matrix *,floatp,gs_matrix *); int gs_point_transform(floatp,floatp,const gs_matrix *,gs_point *), gs_point_transform_inverse(floatp,floatp,const gs_matrix *,gs_point *), gs_distance_transform(floatp,floatp,const gs_matrix *,gs_point *), gs_distance_transform_inverse(floatp,floatp,const gs_matrix *,gs_point *), gs_points_bbox(const gs_point[4],gs_rect *), gs_bbox_transform_only(const gs_rect *,const gs_matrix *,gs_point[4]), gs_bbox_transform(const gs_rect *,const gs_matrix *,gs_rect *), gs_bbox_transform_inverse(const gs_rect *,const gs_matrix *,gs_rect *); int sget_matrix(stream *,gs_matrix *); int sput_matrix(stream *,const gs_matrix *); # 24 "./src/idparam.c" 2 # 1 "./src/gsuid.h" 1 # 27 "./src/gsuid.h" typedef struct gs_uid_s gs_uid; struct gs_uid_s { long id; long *xvalues; }; # 64 "./src/gsuid.h" bool uid_equal(const gs_uid *,const gs_uid *); # 25 "./src/idparam.c" 2 # 1 "./src/idict.h" 1 # 23 "./src/idict.h" # 1 "./src/iddstack.h" 1 # 25 "./src/iddstack.h" typedef struct dict_stack_s dict_stack_t; void dstack_set_top(dict_stack_t *); bool dstack_dict_is_permanent(const dict_stack_t *,const ref *); # 24 "./src/idict.h" 2 # 32 "./src/idict.h" struct dict_s { ref values; ref keys; ref count; ref maxlength; ref memory; }; extern const uint dict_max_size; extern bool dict_auto_expand; typedef struct gs_ref_memory_s gs_ref_memory_t; int dict_alloc(gs_ref_memory_t *,uint maxlength,ref * pdref); # 92 "./src/idict.h" int dict_find(const ref * pdref,const ref * key,ref ** ppvalue); int dict_find_string(const ref * pdref,const char *kstr,ref ** ppvalue); # 118 "./src/idict.h" int dict_put(ref * pdref,const ref * key,const ref * pvalue,dict_stack_t *pds); int dict_put_string(ref * pdref,const char *kstr,const ref * pvalue,dict_stack_t *pds); int dict_undef(ref * pdref,const ref * key,dict_stack_t *pds); uint dict_length(const ref * pdref); uint dict_maxlength(const ref * pdref); uint dict_max_index(const ref * pdref); int dict_copy_entries(const ref * dfrom,ref * dto,bool new_only,dict_stack_t *pds); # 165 "./src/idict.h" int dict_resize(ref * pdref,uint newmaxlength,dict_stack_t *pds); int dict_grow(ref * pdref,dict_stack_t *pds); int dict_unpack(ref * pdref,dict_stack_t *pds); int dict_first(const ref * pdref); # 192 "./src/idict.h" int dict_next(const ref * pdref,int index,ref * eltp); int dict_value_index(const ref * pdref,const ref * pvalue); int dict_index_entry(const ref * pdref,int index,ref * eltp); # 245 "./src/idict.h" uint dict_round_size_small(uint rsize); uint dict_round_size_large(uint rsize); # 26 "./src/idparam.c" 2 # 1 "./src/idparam.h" 1 # 46 "./src/idparam.h" int dict_bool_param(const ref * pdict,const char *kstr,bool defaultval,bool * pvalue); int dict_int_param(const ref * pdict,const char *kstr,int minval,int maxval,int defaultval,int *pvalue); int dict_int_null_param(const ref * pdict,const char *kstr,int minval,int maxval,int defaultval,int *pvalue); int dict_uint_param(const ref * pdict,const char *kstr,uint minval,uint maxval,uint defaultval,uint * pvalue); int dict_float_param(const ref * pdict,const char *kstr,floatp defaultval,float *pvalue); # 71 "./src/idparam.h" int dict_int_array_check_param(const ref * pdict,const char *kstr,uint len,int *ivec,int under_error,int over_error); int dict_int_array_param(const ref * pdict,const char *kstr,uint maxlen,int *ivec); int dict_ints_param(const ref * pdict,const char *kstr,uint len,int *ivec); int dict_float_array_check_param(const ref * pdict,const char *kstr,uint len,float *fvec,const float *defaultvec,int under_error,int over_error); int dict_float_array_param(const ref * pdict,const char *kstr,uint maxlen,float *fvec,const float *defaultvec); int dict_floats_param(const ref * pdict,const char *kstr,uint len,float *fvec,const float *defaultvec); # 100 "./src/idparam.h" int dict_proc_param(const ref * pdict,const char *kstr,ref * pproc,bool defaultval); int dict_matrix_param(const ref * pdict,const char *kstr,gs_matrix * pmat); int dict_uid_param(const ref * pdict,gs_uid * puid,int defaultval,gs_memory_t * mem,const i_ctx_t *i_ctx_p); bool dict_check_uid_param(const ref * pdict,const gs_uid * puid); # 27 "./src/idparam.c" 2 # 1 "./src/ilevel.h" 1 # 28 "./src/idparam.c" 2 # 1 "./src/imemory.h" 1 # 23 "./src/imemory.h" # 1 "./src/ivmspace.h" 1 # 24 "./src/ivmspace.h" # 1 "./src/gsgc.h" 1 # 38 "./src/gsgc.h" typedef enum { i_vm_foreign = 0, i_vm_system, i_vm_global, i_vm_local, i_vm_max = i_vm_local } i_vm_space; # 66 "./src/gsgc.h" typedef struct vm_spaces_s vm_spaces; struct vm_spaces_s { void (*vm_reclaim)(vm_spaces *pspaces,bool global); union { gs_ref_memory_t *indexed[4 ]; struct _ssn { gs_ref_memory_t *foreign; gs_ref_memory_t *system; gs_ref_memory_t *global; gs_ref_memory_t *local; } named; } memories; }; # 25 "./src/ivmspace.h" 2 # 35 "./src/ivmspace.h" typedef enum { avm_foreign = (i_vm_foreign << 2), avm_system = (i_vm_system << 2), avm_global = (i_vm_global << 2), avm_local = (i_vm_local << 2), avm_max = avm_local } avm_space; # 24 "./src/imemory.h" 2 # 32 "./src/imemory.h" # 1 "./src/gsalloc.h" 1 # 33 "./src/gsalloc.h" typedef struct gs_memory_gc_status_s { long vm_threshold; long max_vm; int *psignal; int signal_value; bool enabled; long requested; } gs_memory_gc_status_t; void gs_memory_gc_status(const gs_ref_memory_t *,gs_memory_gc_status_t *); void gs_memory_set_gc_status(gs_ref_memory_t *,const gs_memory_gc_status_t *); gs_ref_memory_t *ialloc_alloc_state(gs_raw_memory_t *,uint); int ialloc_add_chunk(gs_ref_memory_t *,ulong,client_name_t); void ialloc_gc_prepare(gs_ref_memory_t *); void ialloc_reset(gs_ref_memory_t *); void ialloc_reset_free(gs_ref_memory_t *); void ialloc_set_limit(gs_ref_memory_t *); void ialloc_consolidate_free(gs_ref_memory_t *); # 33 "./src/imemory.h" 2 # 41 "./src/imemory.h" int gs_alloc_ref_array(gs_ref_memory_t * mem,ref * paref,uint attrs,uint num_refs,client_name_t cname); int gs_resize_ref_array(gs_ref_memory_t * mem,ref * paref,uint new_num_refs,client_name_t cname); void gs_free_ref_array(gs_ref_memory_t * mem,ref * paref,client_name_t cname); int gs_alloc_string_ref(gs_ref_memory_t * mem,ref * psref,uint attrs,uint nbytes,client_name_t cname); int gs_register_ref_root(gs_memory_t *mem,gs_gc_root_t *root,void **pp,client_name_t cname); # 84 "./src/imemory.h" typedef struct gs_dual_memory_s gs_dual_memory_t; struct gs_dual_memory_s { gs_ref_memory_t *current; vm_spaces spaces; uint current_space; int (*reclaim) (gs_dual_memory_t *,int); uint test_mask; uint new_mask; }; # 29 "./src/idparam.c" 2 # 1 "./src/iname.h" 1 # 23 "./src/iname.h" # 1 "./src/inames.h" 1 # 33 "./src/inames.h" typedef struct name_table_s name_table; typedef uint name_index_t; extern const uint name_max_string; # 50 "./src/inames.h" name_table *names_init(ulong size,gs_ref_memory_t *imem); gs_memory_t *names_memory(const name_table * nt); # 67 "./src/inames.h" int names_ref(name_table * nt,const byte * ptr,uint size,ref * pnref,int enterflag); void names_string_ref(const name_table * nt,const ref * pnref,ref * psref); int names_enter_string(name_table * nt,const char *str,ref * pnref); int names_from_string(name_table * nt,const ref * psref,ref * pnref); void names_invalidate_value_cache(name_table * nt,const ref * pnref); name_index_t names_index(const name_table * nt,const ref * pnref); name *names_index_ptr(const name_table * nt,name_index_t nidx); void names_index_ref(const name_table * nt,name_index_t nidx,ref * pnref); name_index_t names_next_valid_index(name_table * nt,name_index_t nidx); bool names_mark_index(name_table * nt,name_index_t nidx); void * names_ref_sub_table(name_table * nt,const ref * pnref); void * names_index_sub_table(name_table * nt,name_index_t nidx); void * names_index_string_sub_table(name_table * nt,name_index_t nidx); # 24 "./src/iname.h" 2 # 34 "./src/iname.h" extern name_table *the_gs_name_table; # 30 "./src/idparam.c" 2 # 1 "./src/iutil.h" 1 # 28 "./src/iutil.h" void refcpy_to_new(ref * to,const ref * from,uint size,gs_dual_memory_t *dmem); int refcpy_to_old(ref * aref,uint index,const ref * from,uint size,gs_dual_memory_t *dmem,client_name_t cname); void refset_null_new(ref * to,uint size,uint new_mask); bool obj_eq(const ref *,const ref *); bool obj_ident_eq(const ref *,const ref *); int obj_string_data(const ref *op,const byte **pchars,uint *plen); # 67 "./src/iutil.h" int obj_cvp(const ref * op,byte *str,uint len,uint * prlen,int full_print,uint start_pos,gs_memory_t *mem); # 83 "./src/iutil.h" int obj_cvs(const ref * op,byte * str,uint len,uint * prlen,const byte ** pchars); int array_get(const ref *,long,ref *); void packed_get(const ref_packed *,ref *); int refs_check_space(const ref * refs,uint size,uint space); int string_to_ref(const char *,ref *,gs_ref_memory_t *,client_name_t); char *ref_to_string(const ref *,gs_memory_t *,client_name_t); int num_params(const ref *,int,double *); int float_params(const ref *,int,float *); int real_param(const ref *,double *); int float_param(const ref *,float *); int int_param(const ref *,int,int *); int make_reals(ref *,const double *,int); int make_floats(ref *,const float *,int); # 139 "./src/iutil.h" int read_matrix(const ref *,gs_matrix *); int write_matrix_in(ref *op,const gs_matrix *pmat,gs_dual_memory_t *dmem,gs_ref_memory_t *imem); # 31 "./src/idparam.c" 2 # 1 "./src/oper.h" 1 # 24 "./src/oper.h" # 1 "./src/ostack.h" 1 # 23 "./src/ostack.h" # 1 "./src/iostack.h" 1 # 23 "./src/iostack.h" # 1 "./src/iosdata.h" 1 # 23 "./src/iosdata.h" # 1 "./src/isdata.h" 1 # 50 "./src/isdata.h" typedef ref *s_ptr; typedef const ref *const_s_ptr; # 65 "./src/isdata.h" typedef struct ref_stack_s ref_stack_t; typedef struct ref_stack_params_s ref_stack_params_t; struct ref_stack_s { s_ptr p; s_ptr bot; s_ptr top; ref current; uint extension_size; uint extension_used; ref max_stack; uint requested; uint margin; uint body_size; ref_stack_params_t *params; gs_ref_memory_t *memory; }; # 24 "./src/iosdata.h" 2 typedef struct op_stack_s { ref_stack_t stack; } op_stack_t; # 24 "./src/iostack.h" 2 # 1 "./src/istack.h" 1 # 52 "./src/istack.h" typedef struct ref_stack_block_s { ref next; ref used; } ref_stack_block; # 66 "./src/istack.h" int ref_stack_init(ref_stack_t *pstack,const ref *pblock_array,uint bot_guard,uint top_guard,const ref *pguard_value,gs_ref_memory_t *mem,ref_stack_params_t *params); void ref_stack_allow_expansion(ref_stack_t *pstack,bool expand); void ref_stack_set_error_codes(ref_stack_t *pstack,int underflow_error,int overflow_error); int ref_stack_set_max_count(ref_stack_t *pstack,long nmax); int ref_stack_set_margin(ref_stack_t *pstack,uint margin); uint ref_stack_count(const ref_stack_t *pstack); # 104 "./src/istack.h" ref *ref_stack_index(const ref_stack_t *pstack,long index); uint ref_stack_counttomark(const ref_stack_t *pstack); int ref_stack_store_check(const ref_stack_t *pstack,ref *parray,uint count,uint skip); # 129 "./src/istack.h" int ref_stack_store(const ref_stack_t *pstack,ref *parray,uint count,uint skip,int age,bool check,gs_dual_memory_t *idmem,client_name_t cname); void ref_stack_pop(ref_stack_t *pstack,uint count); int ref_stack_pop_block(ref_stack_t *pstack); int ref_stack_extend(ref_stack_t *pstack,uint request); int ref_stack_push(ref_stack_t *pstack,uint count); # 172 "./src/istack.h" typedef struct ref_stack_enum_s { ref_stack_block *block; ref *ptr; uint size; } ref_stack_enum_t; void ref_stack_enum_begin(ref_stack_enum_t *prse,const ref_stack_t *pstack); bool ref_stack_enum_next(ref_stack_enum_t *prse); void ref_stack_cleanup(ref_stack_t *pstack); void ref_stack_release(ref_stack_t *pstack); void ref_stack_free(ref_stack_t *pstack); # 25 "./src/iostack.h" 2 typedef s_ptr os_ptr; typedef const_s_ptr const_os_ptr; # 24 "./src/ostack.h" 2 # 1 "./src/icstate.h" 1 # 25 "./src/icstate.h" # 1 "./src/idsdata.h" 1 # 30 "./src/idsdata.h" struct dict_stack_s { ref_stack_t stack; # 42 "./src/idsdata.h" uint min_size; int userdict_index; # 55 "./src/idsdata.h" int def_space; # 64 "./src/idsdata.h" const ref_packed *top_keys; uint top_npairs; ref *top_values; ref system_dict; }; # 26 "./src/icstate.h" 2 # 1 "./src/iesdata.h" 1 # 26 "./src/iesdata.h" typedef struct exec_stack_s { ref_stack_t stack; # 40 "./src/iesdata.h" ref *current_file; } exec_stack_t; # 27 "./src/icstate.h" 2 # 36 "./src/icstate.h" typedef struct gs_context_state_s gs_context_state_t; struct gs_context_state_s { gs_state *pgs; gs_dual_memory_t memory; int language_level; ref array_packing; ref binary_object_format; long rand_state; long usertime_total; bool keep_usertime; int in_superexec; ref userparams; int scanner_options; bool LockFilePermissions; byte *filearg; ref stdio[3]; dict_stack_t dict_stack; exec_stack_t exec_stack; op_stack_t op_stack; }; extern const long rand_state_initial; # 25 "./src/ostack.h" 2 # 25 "./src/oper.h" 2 # 1 "./src/opdef.h" 1 # 47 "./src/opdef.h" typedef struct { const char *oname; op_proc_t proc; } op_def; # 72 "./src/opdef.h" extern const op_def *const op_defs_all[]; # 93 "./src/opdef.h" ushort op_find_index(const ref *); # 105 "./src/opdef.h" extern const uint op_def_count; # 121 "./src/opdef.h" typedef struct op_array_table_s { ref table; ushort *nx_table; uint count; uint base_index; uint attrs; ref *root_p; } op_array_table; extern op_array_table op_array_table_global, op_array_table_local; # 141 "./src/opdef.h" void op_index_ref(uint,ref *); # 26 "./src/oper.h" 2 # 1 "./src/opextern.h" 1 # 37 "./src/opextern.h" int zadd(i_ctx_t *); int zdef(i_ctx_t *); int zdup(i_ctx_t *); int zexch(i_ctx_t *); int zif(i_ctx_t *); int zifelse(i_ctx_t *); int zindex(i_ctx_t *); int zpop(i_ctx_t *); int zroll(i_ctx_t *); int zsub(i_ctx_t *); int zop_add(ref *); int zop_def(i_ctx_t *); int zop_sub(ref *); int zflush(i_ctx_t *); int zflushpage(i_ctx_t *); int zsave(i_ctx_t *); int zrestore(i_ctx_t *); int zgsave(i_ctx_t *); int zgrestore(i_ctx_t *); int zcopy_gstate(i_ctx_t *); int zcurrentgstate(i_ctx_t *); int zgrestoreall(i_ctx_t *); int zgstate(i_ctx_t *); int zreadonly(i_ctx_t *); int zsetdevice(i_ctx_t *); int zsetgstate(i_ctx_t *); int zcopy(i_ctx_t *); int zimage(i_ctx_t *); int zimagemask(i_ctx_t *); int zwhere(i_ctx_t *); int zarray(i_ctx_t *); int zdict(i_ctx_t *); int zpackedarray(i_ctx_t *); int zstring(i_ctx_t *); int zclosepath(i_ctx_t *); int zcurveto(i_ctx_t *); int zlineto(i_ctx_t *); int zmoveto(i_ctx_t *); int zrcurveto(i_ctx_t *); int zrlineto(i_ctx_t *); int zrmoveto(i_ctx_t *); int zabs(i_ctx_t *); int zceiling(i_ctx_t *); int zdiv(i_ctx_t *); int zfloor(i_ctx_t *); int zidiv(i_ctx_t *); int zmod(i_ctx_t *); int zmul(i_ctx_t *); int zneg(i_ctx_t *); int zround(i_ctx_t *); int ztruncate(i_ctx_t *); int zatan(i_ctx_t *); int zcos(i_ctx_t *); int zexp(i_ctx_t *); int zln(i_ctx_t *); int zlog(i_ctx_t *); int zsin(i_ctx_t *); int zsqrt(i_ctx_t *); int zand(i_ctx_t *); int zbitshift(i_ctx_t *); int zeq(i_ctx_t *); int zge(i_ctx_t *); int zgt(i_ctx_t *); int zle(i_ctx_t *); int zlt(i_ctx_t *); int zne(i_ctx_t *); int znot(i_ctx_t *); int zor(i_ctx_t *); int zxor(i_ctx_t *); int zcvi(i_ctx_t *); int zcvr(i_ctx_t *); int zcvx(i_ctx_t *); int zexec(i_ctx_t *); int zfor(i_ctx_t *); int zbegin(i_ctx_t *); int zcleartomark(i_ctx_t *); int zclosefile(i_ctx_t *); int zcopy_dict(i_ctx_t *); int zend(i_ctx_t *); int zfor_fraction(i_ctx_t *); int zsetfont(i_ctx_t *); int zcurrentdevice(i_ctx_t *); int ztoken(i_ctx_t *); int ztokenexec(i_ctx_t *); int zwrite(i_ctx_t *); # 27 "./src/oper.h" 2 # 1 "./src/opcheck.h" 1 # 40 "./src/opcheck.h" int check_proc_failed(const ref *); # 28 "./src/oper.h" 2 # 57 "./src/oper.h" int check_type_failed(const ref *); # 32 "./src/idparam.c" 2 # 1 "./src/store.h" 1 # 23 "./src/store.h" # 1 "./src/ialloc.h" 1 # 64 "./src/ialloc.h" int ialloc_init(gs_dual_memory_t *,gs_raw_memory_t *,uint,bool); void ialloc_reset_requested(gs_dual_memory_t *); void ialloc_validate_spaces(const gs_dual_memory_t *); # 83 "./src/ialloc.h" uint imemory_space(const gs_ref_memory_t *); void ialloc_set_space(gs_dual_memory_t *,uint); uint imemory_new_mask(const gs_ref_memory_t *); int imemory_save_level(const gs_ref_memory_t *); # 24 "./src/store.h" 2 # 1 "./src/idosave.h" 1 # 35 "./src/idosave.h" int alloc_save_change(gs_dual_memory_t *dmem,const ref *pcont,ref_packed *ptr,client_name_t cname); int alloc_save_change_in(gs_ref_memory_t *mem,const ref *pcont,ref_packed *ptr,client_name_t cname); # 25 "./src/store.h" 2 # 33 "./src/idparam.c" 2 int dict_bool_param(const ref * pdict, const char *kstr, bool defaultval, bool * pvalue) { ref *pdval; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { *pvalue = defaultval; return 1; } if (!((((const byte *)&((pdval)->tas.type_attrs))[1]) == (t_boolean))) return ((-20)); *pvalue = pdval->value.boolval; return 0; } int dict_int_null_param(const ref * pdict, const char *kstr, int minval, int maxval, int defaultval, int *pvalue) { ref *pdval; int code; long ival; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { ival = defaultval; code = 1; } else { switch ((((const byte *)&((pdval)->tas.type_attrs))[1])) { case t_integer: ival = pdval->value.intval; break; case t_real: if (pdval->value.realval < minval || pdval->value.realval > maxval) return ((-15)); ival = (long)pdval->value.realval; if (ival != pdval->value.realval) return ((-15)); break; case t_null: return 2; default: return ((-20)); } code = 0; } if (ival < minval || ival > maxval) return ((-15)); *pvalue = (int)ival; return code; } int dict_int_param(const ref * pdict, const char *kstr, int minval, int maxval, int defaultval, int *pvalue) { int code = dict_int_null_param(pdict, kstr, minval, maxval, defaultval, pvalue); return (code == 2 ? ((-20)) : code); } int dict_uint_param(const ref * pdict, const char *kstr, uint minval, uint maxval, uint defaultval, uint * pvalue) { ref *pdval; int code; uint ival; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { ival = defaultval; code = 1; } else { do { if ( !((((const byte *)&((&*pdval)->tas.type_attrs))[1]) == (t_integer)) ) return ((-20)); } while (0); if (pdval->value.intval != (uint) pdval->value.intval) return ((-15)); ival = (uint) pdval->value.intval; code = 0; } if (ival < minval || ival > maxval) return ((-15)); *pvalue = ival; return code; } int dict_float_param(const ref * pdict, const char *kstr, floatp defaultval, float *pvalue) { ref *pdval; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { *pvalue = defaultval; return 1; } switch ((((const byte *)&((pdval)->tas.type_attrs))[1])) { case t_integer: *pvalue = pdval->value.intval; return 0; case t_real: *pvalue = pdval->value.realval; return 0; } return ((-20)); } int dict_int_array_check_param(const ref * pdict, const char *kstr, uint len, int *ivec, int under_error, int over_error) { ref *pdval; const ref *pa; int *pi = ivec; uint size; int i; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) return 0; if (!((((const byte *)&((pdval)->tas.type_attrs))[1]) == (t_array))) return ((-20)); size = ((pdval)->tas.rsize); if (size > len) return (over_error); pa = pdval->value.const_refs; for (i = 0; i < size; i++, pa++, pi++) { switch ((((const byte *)&((pa)->tas.type_attrs))[1])) { case t_integer: if (pa->value.intval != (int)pa->value.intval) return ((-15)); *pi = (int)pa->value.intval; break; case t_real: if (pa->value.realval < (-1 << ((1 << 2) * 8 - 1)) || pa->value.realval > (~(-1 << ((1 << 2) * 8 - 1))) || pa->value.realval != (int)pa->value.realval ) return ((-15)); *pi = (int)pa->value.realval; break; default: return ((-20)); } } return (size == len || under_error >= 0 ? size : (under_error)); } int dict_int_array_param(const ref * pdict, const char *kstr, uint maxlen, int *ivec) { return dict_int_array_check_param(pdict, kstr, maxlen, ivec, 0, (-13)); } int dict_ints_param(const ref * pdict, const char *kstr, uint len, int *ivec) { return dict_int_array_check_param(pdict, kstr, len, ivec, (-15), (-15)); } int dict_float_array_check_param(const ref * pdict, const char *kstr, uint len, float *fvec, const float *defaultvec, int under_error, int over_error) { ref *pdval; uint size; int code; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { if (defaultvec == ((void *)0)) return 0; memcpy(fvec, defaultvec, len * sizeof(float)); return len; } if (!((((const byte *)&((pdval)->tas.type_attrs))[1]) == (t_array))) return ((-20)); size = ((pdval)->tas.rsize); if (size > len) return (over_error); code = float_params(pdval->value.refs + size - 1, size, fvec); return (code < 0 ? code : size == len || under_error >= 0 ? size : (under_error)); } int dict_float_array_param(const ref * pdict, const char *kstr, uint maxlen, float *fvec, const float *defaultvec) { return dict_float_array_check_param(pdict, kstr, maxlen, fvec, defaultvec, 0, (-13)); } int dict_floats_param(const ref * pdict, const char *kstr, uint maxlen, float *fvec, const float *defaultvec) { return dict_float_array_check_param(pdict, kstr, maxlen, fvec, defaultvec, (-15), (-15)); } int dict_proc_param(const ref * pdict, const char *kstr, ref * pproc, bool defaultval) { ref *pdval; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) { if (defaultval) ((pproc)->value.const_refs = ((const ref *)((void *)0)), ((pproc)->tas.type_attrs = ((t_array) << 8) + ((0x20 + 0x40) + 0x80)), ((pproc)->tas.rsize = (0))); else (((pproc)->tas.type_attrs = ((t__invalid) << 8) + (0)) ); return 1; } do { if ( !(((&*pdval)->tas.type_attrs & ((((1 << 6) - (4)) << 8) + (0x40 +0x80))) == (((t_array) << 8) + (0x40 +0x80))) ) return (check_proc_failed(&*pdval)); } while (0); *pproc = *pdval; return 0; } int dict_matrix_param(const ref * pdict, const char *kstr, gs_matrix * pmat) { ref *pdval; if (pdict == 0 || dict_find_string(pdict, kstr, &pdval) <= 0) return ((-20)); return read_matrix(pdval, pmat); } int dict_uid_param(const ref * pdict, gs_uid * puid, int defaultval, gs_memory_t * mem, const i_ctx_t *i_ctx_p) { ref *puniqueid; if (pdict == 0) { ((puid)->id = (~(-1L << ((1 << 2) * 8 - 1))), (puid)->xvalues = 0); return defaultval; } if (((i_ctx_p->language_level) >= 2) && dict_find_string(pdict, "XUID", &puniqueid) > 0 ) { long *xvalues; uint size, i; if (!((((const byte *)&((puniqueid)->tas.type_attrs))[1]) == (t_array))) return ((-20)); size = ((puniqueid)->tas.rsize); if (size == 0) return ((-15)); xvalues = (long *)(*(mem)->procs.alloc_byte_array)(mem, size, sizeof(long), "get XUID"); if (xvalues == 0) return ((-25)); for (i = 0; i < size; i++) { const ref *pvalue = puniqueid->value.const_refs + i; if (!((((const byte *)&((pvalue)->tas.type_attrs))[1]) == (t_integer))) { ((mem)->procs.free_object(mem, xvalues, "get XUID")); return ((-20)); } xvalues[i] = pvalue->value.intval; } ((puid)->id = -(long)(size), (puid)->xvalues = xvalues); return 1; } if (dict_find_string(pdict, "UniqueID", &puniqueid) <= 0) { ((puid)->id = (~(-1L << ((1 << 2) * 8 - 1))), (puid)->xvalues = 0); return defaultval; } else { if (!((((const byte *)&((puniqueid)->tas.type_attrs))[1]) == (t_integer)) || puniqueid->value.intval < 0 || puniqueid->value.intval > 0xffffffL ) return ((-15)); if (puniqueid->value.intval == 0) { ((puid)->id = (~(-1L << ((1 << 2) * 8 - 1))), (puid)->xvalues = 0); return defaultval; } else ((puid)->id = puniqueid->value.intval, (puid)->xvalues = 0); } return 0; } bool dict_check_uid_param(const ref * pdict, const gs_uid * puid) { ref *puniqueid; if (((puid)->id < 0)) { uint size = ((uint)(-(puid)->id)); uint i; if (dict_find_string(pdict, "XUID", &puniqueid) <= 0) return ((bool)0); if (!((((const byte *)&((puniqueid)->tas.type_attrs))[1]) == (t_array)) || ((puniqueid)->tas.rsize) != size ) return ((bool)0); for (i = 0; i < size; i++) { const ref *pvalue = puniqueid->value.const_refs + i; if (!((((const byte *)&((pvalue)->tas.type_attrs))[1]) == (t_integer))) return ((bool)0); if (pvalue->value.intval != ((puid)->xvalues)[i]) return ((bool)0); } return ((bool)1); } else { if (dict_find_string(pdict, "UniqueID", &puniqueid) <= 0) return ((bool)0); return (((((const byte *)&((puniqueid)->tas.type_attrs))[1]) == (t_integer)) && puniqueid->value.intval == puid->id); } }