Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40708 Details for
Bug 65806
app-text/ghostscript-7.07.1-r6 failed -- make: *** [obj/zccube.o] Error 1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
preprocessed source
ccKGv5KK.out (text/plain), 97.50 KB, created by
Barry Marler
on 2004-09-29 07:06:56 UTC
(
hide
)
Description:
preprocessed source
Filename:
MIME Type:
Creator:
Barry Marler
Created:
2004-09-29 07:06:56 UTC
Size:
97.50 KB
patch
obsolete
>// /usr/libexec/gcc/i686-pc-linux-gnu/3.4.2/cc1 -quiet -I/usr/include/glib-1.2 -I/usr/lib/glib/include -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/zccube.c -mno-sse2 -quiet -dumpbase zccube.c -march=athlon-xp -auxbase-strip ./obj/zccube.o -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fprefetch-loop-arrays -fno-builtin -fno-common -o - -frandom-seed=0 ># 1 "./src/zccube.c" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "./src/zccube.c" ># 19 "./src/zccube.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 ># 296 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 297 "/usr/include/features.h" 2 3 4 ># 319 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 320 "/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.2/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/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 unsigned long long int __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef unsigned long long int __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef long long int __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef unsigned long long int __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef long long int __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef unsigned long long int __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef unsigned long long int __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 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.2/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) > ; >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > ; >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > ; > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 ># 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; > unsigned long long int __total_seq; > unsigned long long int __wakeup_seq; > unsigned long long int __woken_seq; > void *__mutex; > int __clock; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > 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.2/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.2/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/stddef.h" 3 4 >typedef long int wchar_t; ># 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/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.2/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.2/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.2/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.2/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 163 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 173 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 196 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 264 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 312 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 351 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 403 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *) ; >extern int __uflow (_IO_FILE *) ; >extern int __overflow (_IO_FILE *, int) ; >extern wint_t __wunderflow (_IO_FILE *) ; >extern wint_t __wuflow (_IO_FILE *) ; >extern wint_t __woverflow (_IO_FILE *, wint_t) ; ># 441 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) ; >extern int _IO_putc (int __c, _IO_FILE *__fp) ; >extern int _IO_feof (_IO_FILE *__fp) ; >extern int _IO_ferror (_IO_FILE *__fp) ; > >extern int _IO_peekc_locked (_IO_FILE *__fp) ; > > > > > >extern void _IO_flockfile (_IO_FILE *) ; >extern void _IO_funlockfile (_IO_FILE *) ; >extern int _IO_ftrylockfile (_IO_FILE *) ; ># 471 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) ; >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) ; >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) ; >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) ; > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) ; >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) ; > >extern void _IO_free_backup_area (_IO_FILE *) ; ># 73 "/usr/include/stdio.h" 2 3 4 ># 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) ; > >extern int rename (__const char *__old, __const char *__new) ; > > > > > > > > > >extern FILE *tmpfile (void); ># 178 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) ; > > > > > >extern char *tmpnam_r (char *__s) ; ># 196 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 221 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 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) ; ># 294 "/usr/include/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) ; > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) ; > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) ; > > >extern void setlinebuf (FILE *__stream) ; > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) ; > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) ; > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 3, 0))); > ># 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, ...) ; > ># 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) ; > >extern int feof (FILE *__stream) ; > >extern int ferror (FILE *__stream) ; > > > > >extern void clearerr_unlocked (FILE *__stream) ; >extern int feof_unlocked (FILE *__stream) ; >extern int ferror_unlocked (FILE *__stream) ; > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 748 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) ; > > > > >extern int fileno_unlocked (FILE *__stream) ; ># 767 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) ; ># 807 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) ; > > > >extern int ftrylockfile (FILE *__stream) ; > > >extern void funlockfile (FILE *__stream) ; ># 828 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 111 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 829 "/usr/include/stdio.h" 2 3 4 > > > ># 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.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) ; > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > ; > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > ; > > > > > >extern void *memset (void *__s, int __c, size_t __n) ; > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__pure__)); > ># 80 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > ; > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > ; > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) ; > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) ; > ># 126 "/usr/include/string.h" 3 4 >extern char *strdup (__const char *__s) __attribute__ ((__malloc__)); ># 160 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) __attribute__ ((__pure__)); > >extern char *strrchr (__const char *__s, int __c) __attribute__ ((__pure__)); > > > > > > > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__pure__)); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__pure__)); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__pure__)); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__pure__)); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > ; > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) ; > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) ; ># 228 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) __attribute__ ((__pure__)); > ># 241 "/usr/include/string.h" 3 4 > > >extern char *strerror (int __errnum) ; > ># 268 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ; > > > > > >extern void __bzero (void *__s, size_t __n) ; > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) ; > > >extern void bzero (void *__s, size_t __n) ; > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__pure__)); > > >extern char *index (__const char *__s, int __c) __attribute__ ((__pure__)); > > >extern char *rindex (__const char *__s, int __c) __attribute__ ((__pure__)); > > > >extern int ffs (int __i) __attribute__ ((__const__)); ># 308 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__pure__)); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__pure__)); ># 330 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) ; ># 393 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 394 "/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.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 554 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__malloc__)); > ># 922 "/usr/include/stdlib.h" 3 4 > ># 1300 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__malloc__)); ># 1323 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__malloc__)); ># 397 "/usr/include/string.h" 2 3 4 > > > > ># 56 "./src/memory_.h" 2 ># 20 "./src/zccube.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.2/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) ; ># 286 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) ; ># 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]) ; ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) ; ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > ; > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > ; > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) ; > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > ; > > > > >extern int chdir (__const char *__path) ; > > > >extern int fchdir (int __fd) ; ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) ; ># 461 "/usr/include/unistd.h" 3 4 >extern char *getwd (char *__buf) ; > > > > >extern int dup (int __fd) ; > > >extern int dup2 (int __fd, int __fd2) ; > > >extern char **__environ; > > > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) ; ># 492 "/usr/include/unistd.h" 3 4 >extern int execv (__const char *__path, char *__const __argv[]) ; > > > >extern int execle (__const char *__path, __const char *__arg, ...) ; > > > >extern int execl (__const char *__path, __const char *__arg, ...) ; > > > >extern int execvp (__const char *__file, char *__const __argv[]) ; > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) ; > > > > >extern int nice (int __inc) ; > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 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 > > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 526 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) ; > > >extern long int fpathconf (int __fd, int __name) ; > > >extern long int sysconf (int __name) __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) ; > > > > >extern __pid_t getpid (void) ; > > >extern __pid_t getppid (void) ; > > > > >extern __pid_t getpgrp (void) ; ># 561 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) ; ># 570 "/usr/include/unistd.h" 3 4 >extern int setpgid (__pid_t __pid, __pid_t __pgid) ; ># 587 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) ; ># 605 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) ; > > > > > > > >extern __uid_t getuid (void) ; > > >extern __uid_t geteuid (void) ; > > >extern __gid_t getgid (void) ; > > >extern __gid_t getegid (void) ; > > > > >extern int getgroups (int __size, __gid_t __list[]) ; ># 638 "/usr/include/unistd.h" 3 4 >extern int setuid (__uid_t __uid) ; > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) ; > > > > >extern int seteuid (__uid_t __uid) ; > > > > > > >extern int setgid (__gid_t __gid) ; > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) ; > > > > >extern int setegid (__gid_t __gid) ; ># 690 "/usr/include/unistd.h" 3 4 >extern __pid_t fork (void) ; > > > > > > >extern __pid_t vfork (void) ; > > > > > >extern char *ttyname (int __fd) ; > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) ; > > > >extern int isatty (int __fd) ; > > > > > >extern int ttyslot (void) ; > > > > >extern int link (__const char *__from, __const char *__to) ; > > > >extern int symlink (__const char *__from, __const char *__to) ; > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) ; > > > >extern int unlink (__const char *__name) ; > > >extern int rmdir (__const char *__path) ; > > > >extern __pid_t tcgetpgrp (int __fd) ; > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) ; > > > > > > >extern char *getlogin (void); ># 766 "/usr/include/unistd.h" 3 4 >extern int setlogin (__const char *__name) ; ># 775 "/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) > ; ># 776 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) ; > > > > > > >extern int sethostname (__const char *__name, size_t __len) ; > > > >extern int sethostid (long int __id) ; > > > > > >extern int getdomainname (char *__name, size_t __len) ; >extern int setdomainname (__const char *__name, size_t __len) ; > > > > > >extern int vhangup (void) ; > > >extern int revoke (__const char *__file) ; > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) ; > > > > > >extern int acct (__const char *__name) ; > > > >extern char *getusershell (void) ; >extern void endusershell (void) ; >extern void setusershell (void) ; > > > > > >extern int daemon (int __nochdir, int __noclose) ; > > > > > > >extern int chroot (__const char *__path) ; > > > >extern char *getpass (__const char *__prompt); ># 857 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) ; > > > > >extern int getpagesize (void) __attribute__ ((__const__)); > > > > >extern int truncate (__const char *__file, __off_t __length) ; ># 893 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off_t __length) ; ># 909 "/usr/include/unistd.h" 3 4 >extern int getdtablesize (void) ; ># 918 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) ; > > > > > >extern void *sbrk (intptr_t __delta) ; ># 939 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) ; ># 962 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 993 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) ; ># 1024 "/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 ># 21 "./src/zccube.c" 2 ># 1 "./src/oper.h" 1 ># 23 "./src/oper.h" ># 1 "./src/errors.h" 1 ># 31 "./src/errors.h" >extern const char *const gs_error_names[]; ># 24 "./src/oper.h" 2 ># 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; > > > > >typedef struct gs_ref_memory_s gs_ref_memory_t; ># 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); ># 127 "./src/istack.h" >typedef struct gs_dual_memory_s gs_dual_memory_t; > >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 ># 23 "./src/icstate.h" ># 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); ># 86 "./src/imemory.h" >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; >}; ># 24 "./src/icstate.h" 2 > ># 1 "./src/idsdata.h" 1 ># 28 "./src/idsdata.h" >typedef struct dict_stack_s dict_stack_t; > >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 ># 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); > > > > >typedef struct gs_matrix_s gs_matrix; > > > >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); ># 29 "./src/oper.h" 2 ># 57 "./src/oper.h" >int check_type_failed(const ref *); ># 22 "./src/zccube.c" 2 ># 1 "./src/gxcspace.h" 1 ># 24 "./src/gxcspace.h" ># 1 "./src/gscspace.h" 1 ># 167 "./src/gscspace.h" >typedef enum { > > > gs_color_space_index_DeviceGray = 0, > gs_color_space_index_DeviceRGB, > > > gs_color_space_index_DeviceCMYK, > > > gs_color_space_index_DevicePixel, > gs_color_space_index_DeviceN, > > > > gs_color_space_index_CIEDEFG, > gs_color_space_index_CIEDEF, > gs_color_space_index_CIEABC, > gs_color_space_index_CIEA, > gs_color_space_index_Separation, > gs_color_space_index_Indexed, > gs_color_space_index_Pattern, > > > gs_color_space_index_CIEICC > >} gs_color_space_index; ># 202 "./src/gscspace.h" >typedef struct gs_color_space_type_s gs_color_space_type; ># 226 "./src/gscspace.h" >typedef struct gs_device_pixel_params_s { > int depth; >} gs_device_pixel_params; >typedef struct gs_cie_a_s gs_cie_a; >typedef struct gs_cie_abc_s gs_cie_abc; >typedef struct gs_cie_def_s gs_cie_def; >typedef struct gs_cie_defg_s gs_cie_defg; ># 241 "./src/gscspace.h" >typedef struct gs_small_base_color_space_s { > const gs_color_space_type * type; gs_memory_t * pmem; gs_id id; union { gs_device_pixel_params pixel; gs_cie_defg * defg; gs_cie_def * def; gs_cie_abc * abc; gs_cie_a * a; } params; >} gs_small_base_color_space; ># 253 "./src/gscspace.h" >typedef struct gs_cie_icc_s gs_cie_icc; > >typedef struct gs_cieicc_params_s { > gs_cie_icc * picc_info; > gs_small_base_color_space alt_space; >} gs_icc_params; > > > > > >typedef struct gs_base_color_space_s { > const gs_color_space_type * type; gs_memory_t * pmem; gs_id id; union { gs_device_pixel_params pixel; gs_cie_defg * defg; gs_cie_def * def; gs_cie_abc * abc; gs_cie_a * a; gs_icc_params icc; } params; >} gs_base_color_space; ># 275 "./src/gscspace.h" >typedef ulong gs_separation_name; >typedef struct gs_indexed_map_s gs_indexed_map; > >typedef enum { SEP_NONE, SEP_ALL, SEP_OTHER } separation_type; > >typedef struct gs_separation_params_s { > gs_separation_name sname; > gs_base_color_space alt_space; > gs_indexed_map *map; > separation_type sep_type; >} gs_separation_params; > > > >typedef struct gs_device_n_map_s gs_device_n_map; ># 299 "./src/gscspace.h" >typedef int (gs_callback_func_get_colorname_string) > (gs_separation_name colorname,unsigned char **ppstr,unsigned int *plen); > >typedef struct gs_device_n_params_s { > gs_separation_name *names; > uint num_components; > gs_base_color_space alt_space; > gs_device_n_map *map; > gs_callback_func_get_colorname_string *get_colorname_string; >} gs_device_n_params; > > > > > > >typedef struct gs_direct_color_space_s { > const gs_color_space_type * type; gs_memory_t * pmem; gs_id id; union { gs_device_pixel_params pixel; gs_cie_defg * defg; gs_cie_def * def; gs_cie_abc * abc; gs_cie_a * a; gs_icc_params icc; gs_separation_params separation; gs_device_n_params device_n; } params; >} gs_direct_color_space; ># 329 "./src/gscspace.h" >typedef struct gs_indexed_params_s { > gs_direct_color_space base_space; > int hival; > union { > gs_const_string table; > gs_indexed_map *map; > } lookup; > bool use_proc; >} gs_indexed_params; > > > > > >typedef struct gs_paint_color_space_s { > const gs_color_space_type * type; gs_memory_t * pmem; gs_id id; union { gs_device_pixel_params pixel; gs_cie_defg * defg; gs_cie_def * def; gs_cie_abc * abc; gs_cie_a * a; gs_icc_params icc; gs_separation_params separation; gs_device_n_params device_n; gs_indexed_params indexed; } params; >} gs_paint_color_space; > > > > > > > >typedef struct gs_pattern_params_s { > bool has_base_space; > gs_paint_color_space base_space; >} gs_pattern_params; > > > > >struct gs_color_space_s { > const gs_color_space_type * type; gs_memory_t * pmem; gs_id id; union { gs_device_pixel_params pixel; gs_cie_defg * defg; gs_cie_def * def; gs_cie_abc * abc; gs_cie_a * a; gs_icc_params icc; gs_separation_params separation; gs_device_n_params device_n; gs_indexed_params indexed; gs_pattern_params pattern; } params; > > > >}; ># 375 "./src/gscspace.h" >typedef struct gs_color_space_s gs_color_space; ># 424 "./src/gscspace.h" >extern int > gs_cspace_init_DeviceGray(gs_color_space *pcs), > gs_cspace_build_DeviceGray(gs_color_space ** ppcspace,gs_memory_t * pmem), > > gs_cspace_init_DeviceRGB(gs_color_space *pcs), > gs_cspace_build_DeviceRGB(gs_color_space ** ppcspace,gs_memory_t * pmem), > > gs_cspace_init_DeviceCMYK(gs_color_space *pcs), > gs_cspace_build_DeviceCMYK(gs_color_space ** ppcspace,gs_memory_t * pmem); ># 445 "./src/gscspace.h" >const gs_color_space * gs_cspace_DeviceGray(const gs_imager_state * pis); >const gs_color_space * gs_cspace_DeviceRGB(const gs_imager_state * pis); >const gs_color_space * gs_cspace_DeviceCMYK(const gs_imager_state * pis); > > >void gs_cspace_init_from(gs_color_space * pcsto,const gs_color_space * pcsfrom); > > > >void gs_cspace_assign(gs_color_space * pdest,const gs_color_space * psrc); > > >void gs_cspace_release(gs_color_space * pcs); > > > > >gs_color_space_index gs_color_space_get_index(const gs_color_space *); > > >int gs_color_space_num_components(const gs_color_space *); > > > > > > >bool gs_color_space_equal(const gs_color_space *pcs1,const gs_color_space *pcs2); > > > > > >typedef struct gs_client_color_s gs_client_color; > >void gs_color_space_restrict_color(gs_client_color *,const gs_color_space *); > > > > > > > >const gs_color_space *gs_cspace_base_space(const gs_color_space * pcspace); ># 25 "./src/gxcspace.h" 2 ># 1 "./src/gsccolor.h" 1 ># 23 "./src/gsccolor.h" ># 1 "./src/gsstype.h" 1 ># 24 "./src/gsstype.h" >typedef struct gc_state_s gc_state_t; > > > > > >typedef struct enum_ptr_s { > const void *ptr; > uint size; >} enum_ptr_t; ># 82 "./src/gsstype.h" >typedef struct struct_shared_procs_s struct_shared_procs_t; > >struct gs_memory_struct_type_s { > uint ssize; > struct_name_t sname; > > > > > const struct_shared_procs_t *shared; > > > > void (*clear_marks)(void *pre,uint size,const gs_memory_struct_type_t *pstype); > gs_ptr_type_t (*enum_ptrs)(const void *ptr,uint size,int index,enum_ptr_t *pep,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); > void (*reloc_ptrs)(void *ptr,uint size,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); > void (*finalize)(void *ptr); > > > > const void *proc_data; >}; ># 24 "./src/gsccolor.h" 2 > > > > >typedef struct gs_pattern_instance_s gs_pattern_instance_t; ># 39 "./src/gsccolor.h" >typedef struct gs_paint_color_s { > float values[6]; >} gs_paint_color; > > > > > > > >struct gs_client_color_s { > gs_paint_color paint; > gs_pattern_instance_t *pattern; >}; > >extern const gs_memory_struct_type_t st_client_color; ># 26 "./src/gxcspace.h" 2 ># 1 "./src/gscsel.h" 1 ># 28 "./src/gscsel.h" >typedef enum { > gs_color_select_all = -1, > gs_color_select_texture = 0, > gs_color_select_source = 1 >} gs_color_select_t; ># 27 "./src/gxcspace.h" 2 ># 1 "./src/gxfrac.h" 1 ># 28 "./src/gxfrac.h" >typedef short frac; >typedef short signed_frac; ># 28 "./src/gxcspace.h" 2 > > > > > >typedef struct gx_device_color_s gx_device_color; ># 43 "./src/gxcspace.h" >struct gs_color_space_type_s { > > gs_color_space_index index; > > > > > > > > bool can_be_base_space; > bool can_be_alt_space; > > > > > > > gs_memory_type_ptr_t stype; ># 77 "./src/gxcspace.h" > int (*num_components)(const gs_color_space *); ># 89 "./src/gxcspace.h" > const gs_color_space *(*base_space)(const gs_color_space *); ># 99 "./src/gxcspace.h" > bool (*equal)(const gs_color_space *,const gs_color_space *); ># 109 "./src/gxcspace.h" > void (*init_color)(gs_client_color *,const gs_color_space *); > > > > > > > > void (*restrict_color)(gs_client_color *,const gs_color_space *); ># 127 "./src/gxcspace.h" > const gs_color_space *(*concrete_space)(const gs_color_space *,const gs_imager_state *); ># 142 "./src/gxcspace.h" > int (*concretize_color)(const gs_client_color *,const gs_color_space *,frac *,const gs_imager_state *); > > > > > > > > int (*remap_concrete_color)(const frac *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); > > > > > > > > int (*remap_color)(const gs_client_color *,const gs_color_space *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); > > > > > > int (*install_cspace)(const gs_color_space *,gs_state *); > > > > > > > > void (*adjust_cspace_count)(const gs_color_space *,int); ># 187 "./src/gxcspace.h" > void (*adjust_color_count)(const gs_client_color *,const gs_color_space *,int); > > > > > >}; > > >extern const gs_memory_struct_type_t st_base_color_space; > > > > > > >int gx_num_components_1(const gs_color_space *); >int gx_num_components_3(const gs_color_space *); >int gx_num_components_4(const gs_color_space *); >const gs_color_space *gx_no_base_space(const gs_color_space *); >bool gx_cspace_is_equal(const gs_color_space *,const gs_color_space *); >bool gx_cspace_not_equal(const gs_color_space *,const gs_color_space *); >void gx_init_paint_1(gs_client_color *,const gs_color_space *); >void gx_init_paint_3(gs_client_color *,const gs_color_space *); >void gx_init_paint_4(gs_client_color *,const gs_color_space *); >void gx_restrict01_paint_1(gs_client_color *,const gs_color_space *); >void gx_restrict01_paint_3(gs_client_color *,const gs_color_space *); >void gx_restrict01_paint_4(gs_client_color *,const gs_color_space *); >const gs_color_space *gx_no_concrete_space(const gs_color_space *,const gs_imager_state *); >const gs_color_space *gx_same_concrete_space(const gs_color_space *,const gs_imager_state *); >int gx_no_concretize_color(const gs_client_color *,const gs_color_space *,frac *,const gs_imager_state *); >int gx_default_remap_color(const gs_client_color *,const gs_color_space *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_no_install_cspace(const gs_color_space *,gs_state *); >void gx_no_adjust_cspace_count(const gs_color_space *,int); >void gx_no_adjust_color_count(const gs_client_color *,const gs_color_space *,int); > > > > > >int gx_remap_DeviceGray(const gs_client_color *,const gs_color_space *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_concretize_DeviceGray(const gs_client_color *,const gs_color_space *,frac *,const gs_imager_state *); >int gx_remap_concrete_DGray(const frac *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_remap_DeviceRGB(const gs_client_color *,const gs_color_space *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_concretize_DeviceRGB(const gs_client_color *,const gs_color_space *,frac *,const gs_imager_state *); >int gx_remap_concrete_DRGB(const frac *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_remap_DeviceCMYK(const gs_client_color *,const gs_color_space *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); >int gx_concretize_DeviceCMYK(const gs_client_color *,const gs_color_space *,frac *,const gs_imager_state *); >int gx_remap_concrete_DCMYK(const frac *,gx_device_color *,const gs_imager_state *,gx_device *,gs_color_select_t); > > >extern const gs_memory_struct_type_t st_color_space; > > > > > >void gs_cspace_init(gs_color_space *pcs,const gs_color_space_type *pcstype,gs_memory_t *mem); > > >int gs_cspace_alloc(gs_color_space **ppcspace,const gs_color_space_type *pcstype,gs_memory_t *mem); ># 23 "./src/zccube.c" 2 ># 1 "./src/estack.h" 1 ># 23 "./src/estack.h" ># 1 "./src/iestack.h" 1 ># 27 "./src/iestack.h" >typedef s_ptr es_ptr; >typedef const_s_ptr const_es_ptr; ># 24 "./src/estack.h" 2 ># 109 "./src/estack.h" >void pop_estack(i_ctx_t *,uint); ># 24 "./src/zccube.c" 2 ># 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 *); ># 25 "./src/zccube.c" 2 ># 1 "./src/ifunc.h" 1 ># 23 "./src/ifunc.h" ># 1 "./src/gsfunc.h" 1 ># 30 "./src/gsfunc.h" >typedef int gs_function_type_t; ># 44 "./src/gsfunc.h" >typedef enum { > EFFORT_EASY = 0, > EFFORT_MODERATE = 1, > EFFORT_ESSENTIAL = 2 >} gs_function_effort_t; > > > > >typedef struct gs_data_source_s gs_data_source_t; > > > >typedef struct gs_param_list_s gs_param_list; > > > >typedef struct gs_function_params_s { > int m; const float *Domain; int n; const float *Range; >} gs_function_params_t; > >typedef struct gs_function_s gs_function_t; > > >typedef struct gs_function_info_s { > const gs_data_source_t *DataSource; > ulong data_size; > const gs_function_t *const *Functions; > int num_Functions; >} gs_function_info_t; > > > > >typedef int (*fn_evaluate_proc_t)(const gs_function_t * pfn,const float *in,float *out); > > > > > >typedef int (*fn_is_monotonic_proc_t)(const gs_function_t * pfn,const float *lower,const float *upper,gs_function_effort_t effort); > > > > >typedef void (*fn_get_info_proc_t)(const gs_function_t *pfn,gs_function_info_t *pfi); > > > > >typedef int (*fn_get_params_proc_t)(const gs_function_t *pfn,gs_param_list *plist); > > > > >typedef void (*fn_free_params_proc_t)(gs_function_params_t * params,gs_memory_t * mem); > > > > >typedef void (*fn_free_proc_t)(gs_function_t * pfn,bool free_params,gs_memory_t * mem); > > >typedef struct gs_function_procs_s { > fn_evaluate_proc_t evaluate; > fn_is_monotonic_proc_t is_monotonic; > fn_get_info_proc_t get_info; > fn_get_params_proc_t get_params; > fn_free_params_proc_t free_params; > fn_free_proc_t free; >} gs_function_procs_t; >typedef struct gs_function_head_s { > gs_function_type_t type; > gs_function_procs_t procs; > int is_monotonic; >} gs_function_head_t; >struct gs_function_s { > gs_function_head_t head; > gs_function_params_t params; >}; ># 24 "./src/ifunc.h" 2 > > > > > >typedef int (*build_function_proc_t)(i_ctx_t *i_ctx_p,const ref *op,const gs_function_params_t *params,int depth,gs_function_t **ppfn,gs_memory_t *mem); > > >typedef struct build_function_type_s { > int type; > build_function_proc_t proc; >} build_function_type_t; >extern const build_function_type_t build_function_type_table[]; >extern const uint build_function_type_table_count; > > >int fn_build_function(i_ctx_t *i_ctx_p,const ref * op,gs_function_t ** ppfn,gs_memory_t *mem); > >int fn_build_sub_function(i_ctx_t *i_ctx_p,const ref * op,gs_function_t ** ppfn,int depth,gs_memory_t *mem); > > > >int alloc_function_array(uint count,gs_function_t *** pFunctions,gs_memory_t *mem); ># 55 "./src/ifunc.h" >int fn_build_float_array(const ref * op,const char *kstr,bool required,bool even,const float **pparray,gs_memory_t *mem); > > > > > > > >gs_function_t *ref_function(const ref *op); > > > > > >int zexecfunction(i_ctx_t *); ># 26 "./src/zccube.c" 2 > ># 1 "./src/store.h" 1 ># 24 "./src/store.h" ># 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 ># 28 "./src/zccube.c" 2 ># 1 "./src/gsfunc0.h" 1 ># 24 "./src/gsfunc0.h" ># 1 "./src/gsdsrc.h" 1 ># 23 "./src/gsdsrc.h" ># 1 "./src/gsstruct.h" 1 ># 94 "./src/gsstruct.h" >struct gs_ptr_procs_s { > > > > > > void (*unmark)(enum_ptr_t *,gc_state_t *); > > > > > > > bool (*mark)(enum_ptr_t *,gc_state_t *); ># 117 "./src/gsstruct.h" > void *(*reloc)(const void *,gc_state_t *); > >}; > > > >extern const gs_ptr_procs_t ptr_struct_procs; > > > >extern const gs_ptr_procs_t ptr_string_procs; > >extern const gs_ptr_procs_t ptr_const_string_procs; > > > > > > >struct gs_gc_root_s { > gs_gc_root_t *next; > gs_ptr_type_t ptype; > void **p; > bool free_on_unregister; >}; ># 173 "./src/gsstruct.h" >typedef struct gc_procs_common_s { > void *(*reloc_struct_ptr)(const void *,gc_state_t *); void (*reloc_string)(gs_string *,gc_state_t *); void (*reloc_const_string)(gs_const_string *,gc_state_t *); >} gc_procs_common_t; > > > > > > > >gs_ptr_type_t gs_no_struct_enum_ptrs(const void *ptr,uint size,int index,enum_ptr_t *pep,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); >void gs_no_struct_reloc_ptrs(void *ptr,uint size,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); > > > > > >extern const gs_memory_struct_type_t st_free; > > > >extern const gs_memory_struct_type_t st_bytes; > > > >extern const gs_memory_struct_type_t st_gc_root_t; ># 209 "./src/gsstruct.h" >extern const gs_memory_struct_type_t st_const_string_element; ># 230 "./src/gsstruct.h" >typedef enum { > GC_ELT_OBJ, > GC_ELT_STRING, > GC_ELT_CONST_STRING >} gc_ptr_type_index_t; > >typedef struct gc_ptr_element_s { > ushort type; > ushort offset; >} gc_ptr_element_t; ># 254 "./src/gsstruct.h" >typedef struct gc_struct_data_s { > ushort num_ptrs; > ushort super_offset; > const gs_memory_struct_type_t *super_type; > const gc_ptr_element_t *ptrs; >} gc_struct_data_t; ># 277 "./src/gsstruct.h" >gs_ptr_type_t basic_enum_ptrs(const void *ptr,uint size,int index,enum_ptr_t *pep,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); >void basic_reloc_ptrs(void *ptr,uint size,const gs_memory_struct_type_t *pstype,gc_state_t *gcst); ># 364 "./src/gsstruct.h" >extern gs_ptr_type_t > enum_bytestring(enum_ptr_t *pep,const gs_bytestring *pbs); > > >extern gs_ptr_type_t > enum_const_bytestring(enum_ptr_t *pep,const gs_const_bytestring *pbs); ># 419 "./src/gsstruct.h" >extern void reloc_bytestring(gs_bytestring *pbs,gc_state_t *gcst); > > >extern void reloc_const_bytestring(gs_const_bytestring *pbs,gc_state_t *gcst); ># 24 "./src/gsdsrc.h" 2 ># 54 "./src/gsdsrc.h" >typedef enum { > data_source_type_string, > data_source_type_bytes, > data_source_type_floats, > data_source_type_stream >} gs_data_source_type_t; > > > > >struct gs_data_source_s { > int (*access)(const gs_data_source_t *psrc,ulong start,uint length,byte *buf,const byte **ptr); > gs_data_source_type_t type; > union d_ { > gs_const_string str; > stream *strm; > } data; >}; ># 90 "./src/gsdsrc.h" >extern const gs_memory_struct_type_t st_data_source; ># 99 "./src/gsdsrc.h" >int data_source_access_string(const gs_data_source_t *psrc,ulong start,uint length,byte *buf,const byte **ptr); > > > > > > > >int data_source_access_bytes(const gs_data_source_t *psrc,ulong start,uint length,byte *buf,const byte **ptr); ># 117 "./src/gsdsrc.h" >int data_source_access_stream(const gs_data_source_t *psrc,ulong start,uint length,byte *buf,const byte **ptr); ># 25 "./src/gsfunc0.h" 2 > > > > > > > >typedef struct gs_function_Sd_params_s { > int m; const float *Domain; int n; const float *Range; > int Order; > gs_data_source_t DataSource; > int BitsPerSample; > const float *Encode; > const float *Decode; > const int *Size; >} gs_function_Sd_params_t; ># 49 "./src/gsfunc0.h" >int gs_function_Sd_init(gs_function_t ** ppfn,const gs_function_Sd_params_t * params,gs_memory_t * mem); > > > > >void gs_function_Sd_free_params(gs_function_Sd_params_t * params,gs_memory_t * mem); ># 29 "./src/zccube.c" 2 > >typedef ushort color_cube_value; > > > >static int color_cube_enum_init(i_ctx_t *i_ctx_p, int num_in, int num_out, > const ref * pproc, int (*finish_proc)(i_ctx_t *), > gs_memory_t * mem); >static int color_cube_finish(i_ctx_t *i_ctx_p); > > > > > >static int >zbuildcolorcube(i_ctx_t *i_ctx_p) >{ > os_ptr op = (((i_ctx_p->op_stack).stack).p); > const ref * pfunc = op; > int num_inputs, num_outputs; > gs_function_t *pfn; > int code = 0; > > > do { if ( !(((&*pfunc)->tas.type_attrs & ((((1 << 6) - (4)) << 8) + (0x40 +0x80))) == (((t_array) << 8) + (0x40 +0x80))) ) return (check_proc_failed(&*pfunc)); } while (0); > > > if ( !((((const byte *)&((&op[-2])->tas.type_attrs))[1]) == (t_integer)) ) return (check_type_failed(&op[-2])); > num_inputs = op[-2].value.intval; > if (num_inputs <= 0 || num_inputs > 6) > return ((-13)); > > > if ( !((((const byte *)&((&op[-1])->tas.type_attrs))[1]) == (t_integer)) ) return (check_type_failed(&op[-1])); > num_outputs = op[-1].value.intval; > if (num_outputs <= 0 || num_outputs > 6) > return ((-13)); > > ((((i_ctx_p->op_stack).stack).p) -= (2)); > > > return color_cube_enum_init(i_ctx_p, num_inputs, num_outputs, > pfunc, color_cube_finish, ((gs_memory_t *)((i_ctx_p->memory).current))); >} ># 83 "./src/zccube.c" >struct gs_color_cube_enum_s { > int indexes[6]; > gs_function_t * pfn; >}; > >typedef struct gs_color_cube_enum_s gs_color_cube_enum; > > >static const gc_ptr_element_t gs_color_cube_enum_enum_ptrs[] = { { GC_ELT_OBJ, ((int) ( (char *)&((gs_color_cube_enum *)0)->pfn - (char *)((gs_color_cube_enum *)0) )) } }; static const gc_struct_data_t gs_color_cube_enum_reloc_ptrs = { (sizeof(gs_color_cube_enum_enum_ptrs) / sizeof((gs_color_cube_enum_enum_ptrs)[0])), 0, 0, gs_color_cube_enum_enum_ptrs }; static const gs_memory_struct_type_t st_gs_color_cube_enum = { sizeof(gs_color_cube_enum), "gs_color_cube_enum", 0, 0, basic_enum_ptrs, basic_reloc_ptrs, 0, &gs_color_cube_enum_reloc_ptrs }; ># 102 "./src/zccube.c" >static int >determine_color_cube_size(int num_inputs, int num_outputs) >{ > static const int size_list[] = {512, 50, 20, 10, 7, 5, 4, 3}; > int size; > > > if (num_inputs > 0 && num_inputs <= 8) > size = size_list[num_inputs - 1]; > else > size = 2; > > > > > > > while (((bool)1)) { > int i, total_size = num_outputs * sizeof(color_cube_value); > > for (i = 0; i < num_inputs; i++) { > total_size *= size; > if (total_size > 0x10000) > break; > } > if (total_size <= 0x10000) > return size; > if (size == 2) > return ((-15)); > size--; > } > >} > > > >static gs_color_cube_enum * >gs_color_cube_enum_alloc(gs_memory_t * mem, client_name_t cname) >{ > return (gs_color_cube_enum *)(*(mem)->procs.alloc_struct)(mem, &st_gs_color_cube_enum, cname); >} > > > > > > >static color_cube_value * >cube_ptr_from_index(gs_function_Sd_params_t * params, int indexes[]) >{ > int i, sum = indexes[params->m - 1]; > > for (i = params->m - 2; i >= 0; i--) { > sum *= params->Size[i]; > sum += indexes[i]; > } > return (color_cube_value *)(params->DataSource.data.str.data) + sum * params->n; >} > > > > > > >static int >increment_cube_indexes(gs_function_Sd_params_t * params, int indexes[]) >{ > int i = 0; > > while (1) { > indexes[i]++; > if (indexes[i] < params->Size[i]) > return 0; > indexes[i] = 0; > i++; > if (i == params->m) > return 1; > } >} > > > > > > > >int >cube_build_func0(int num_inputs, int num_outputs, > gs_function_Sd_params_t * params, gs_memory_t *mem) >{ > color_cube_value * bytes = 0; > int code, i, cube_size; > int total_size; > int * size; > float * domain, * range; > > params->m = num_inputs; > params->n = num_outputs; > params->Order = 3; > params->BitsPerSample = 8 * sizeof(color_cube_value); > params->Encode = 0; > params->Decode = 0; > params->Size = 0; > > > > if (!(domain = (float *) (*(mem)->procs.alloc_byte_array)(mem, 2 * params->m, sizeof(float), "cube_build_func0(Domain)")) || > > !(range = (float *) (*(mem)->procs.alloc_byte_array)(mem, 2 * params->n, sizeof(float), "cube_build_func0(Range)")) || > > !(size = (int *) (*(mem)->procs.alloc_byte_array)(mem, params->m, sizeof(int), "cube_build_func0(Size)"))) { > > code = ((-25)); > goto fail; > } > params->Domain = domain; > params->Range = range; > params->Size = size; > if (!domain || !range || !size) { > code = ((-25)); > goto fail; > } > > > > code = cube_size = determine_color_cube_size(params->m, params->n); > if (code < 0) > goto fail; > > total_size = params->n; > for (i = 0; i < params->m; i++) > total_size *= cube_size; > > > > bytes = (color_cube_value *) (*(mem)->procs.alloc_byte_array)(mem, total_size, sizeof(color_cube_value), "cube_build_func0(bytes)"); > > if (!bytes) { > code = ((-25)); > goto fail; > } > ((¶ms->DataSource)->type = data_source_type_bytes, (¶ms->DataSource)->data.str.data = (const unsigned char *)bytes, (¶ms->DataSource)->data.str.size = total_size * sizeof(color_cube_value), (¶ms->DataSource)->access = data_source_access_bytes); > > > > > for (i = 0; i < params->m; i++) { > domain[2 * i] = 0.0; > domain[2 * i + 1] = 1.0; > size[i] = cube_size; > } > for (i = 0; i < params->n; i++) { > range[2 * i] = 0.0; > range[2 * i + 1] = 1.0; > } > > return 0; > >fail: > gs_function_Sd_free_params(params, mem); > return (code < 0 ? code : ((-15))); >} > >static int color_cube_sample(i_ctx_t *i_ctx_p); >static int color_cube_continue(i_ctx_t *i_ctx_p); ># 287 "./src/zccube.c" >static int >color_cube_enum_init(i_ctx_t *i_ctx_p, int num_in, int num_out, > const ref * pproc, int (*finish_proc)(i_ctx_t *), gs_memory_t * mem) >{ > gs_color_cube_enum *penum; > int i, code; > gs_function_t *pfn; > gs_function_Sd_params_t params; > > if ( (((i_ctx_p->exec_stack).stack).p) > (((i_ctx_p->exec_stack).stack).top) - (3 + 1) ) { int es_code_ = ref_stack_extend(&((i_ctx_p->exec_stack).stack), 3 + 1); if ( es_code_ < 0 ) return es_code_; }; > if ( (((i_ctx_p->op_stack).stack).top) - (((i_ctx_p->op_stack).stack).p) < (num_in) ) { ((i_ctx_p->op_stack).stack).requested = (num_in); return ((-16)); }; > if ( (((i_ctx_p->op_stack).stack).top) - (((i_ctx_p->op_stack).stack).p) < (num_out) ) { ((i_ctx_p->op_stack).stack).requested = (num_out); return ((-16)); }; > > penum = gs_color_cube_enum_alloc(((gs_memory_t *)((i_ctx_p->memory).current)), "color_cube_enum_init"); > if (penum == 0) > return ((-25)); > > code = cube_build_func0(num_in, num_out, ¶ms, mem); > if (code < 0) { > ((mem)->procs.free_object(mem, penum, "color_cube_enum_init(penum)")); > return code; > } ># 318 "./src/zccube.c" > code = gs_function_Sd_init(&pfn, ¶ms, mem); > if (code < 0) { > ((mem)->procs.free_object(mem, penum, "color_cube_enum_init(penum)")); > return code; > } > > > > penum->pfn = pfn; > for(i=0; i< num_in; i++) > penum->indexes[i] = 0; > > > > (((i_ctx_p->exec_stack).stack).p) += 3; > (((((i_ctx_p->exec_stack).stack).p) - 2)->value.opproc = (finish_proc), (((((i_ctx_p->exec_stack).stack).p) - 2)->tas.type_attrs = ((t_operator) << 8) + (0x80)), (((((i_ctx_p->exec_stack).stack).p) - 2)->tas.rsize = (0))); > (((i_ctx_p->exec_stack).stack).p)[-1] = *pproc; > (((((i_ctx_p->exec_stack).stack).p))->value.pstruct = ((obj_header_t *)(penum)), (((((i_ctx_p->exec_stack).stack).p))->tas.type_attrs = ((t_struct) << 8) + ((0) | (((&(i_ctx_p->memory)))->current_space))) ); > (++(((i_ctx_p->exec_stack).stack).p), (((((i_ctx_p->exec_stack).stack).p))->value.opproc = (color_cube_sample), (((((i_ctx_p->exec_stack).stack).p))->tas.type_attrs = ((t_operator) << 8) + (0x80)), (((((i_ctx_p->exec_stack).stack).p))->tas.rsize = (0)))); > return 5; >} > > > > >static int >color_cube_sample(i_ctx_t *i_ctx_p) >{ > os_ptr op = (((i_ctx_p->op_stack).stack).p); > gs_color_cube_enum *penum = ((gs_color_cube_enum *)(((((i_ctx_p->exec_stack).stack).p))->value.pstruct)); > gs_point pt; > ref proc; > gs_function_Sd_params_t * params = (gs_function_Sd_params_t *)&penum->pfn->params; > int i; > int num_inputs = params->m; > color_cube_value * data_ptr; > double cube_step = 1.0 / (params->Size[0] - 1); > > > > > do { if ( (op += (num_inputs)) > (((i_ctx_p->op_stack).stack).top) ) { ((i_ctx_p->op_stack).stack).requested = (num_inputs); return ((-16)); } else (((i_ctx_p->op_stack).stack).p) = op; } while (0); > for (i = 0; i < num_inputs; i++) > ((op - num_inputs + i + 1)->value.realval = (penum->indexes[i] * cube_step), ((op - num_inputs + i + 1)->tas.type_attrs = ((t_real) << 8) + (0)) ); > > proc = (((i_ctx_p->exec_stack).stack).p)[-1]; > (++(((i_ctx_p->exec_stack).stack).p), (((((i_ctx_p->exec_stack).stack).p))->value.opproc = (color_cube_continue), (((((i_ctx_p->exec_stack).stack).p))->tas.type_attrs = ((t_operator) << 8) + (0x80)), (((((i_ctx_p->exec_stack).stack).p))->tas.rsize = (0)))); > *++(((i_ctx_p->exec_stack).stack).p) = proc; > return 5; >} > > > > >static int >color_cube_continue(i_ctx_t *i_ctx_p) >{ > os_ptr op = (((i_ctx_p->op_stack).stack).p); > gs_color_cube_enum *penum = ((gs_color_cube_enum *)(((((i_ctx_p->exec_stack).stack).p))->value.pstruct)); > gs_function_Sd_params_t * params = (gs_function_Sd_params_t *)&penum->pfn->params; > int i, done, num_out = params->n; > int code; > byte * data_ptr; > int color_cube_value_max = (1 << (sizeof(color_cube_value) * 8)) - 1; > > > > if ( op < (((i_ctx_p->op_stack).stack).bot) + ((num_out) - 1) ) return ((-17)); > data_ptr = (byte *)cube_ptr_from_index(params, penum->indexes); > for (i=0; i < num_out; i++) { > color_cube_value cv; > double value; > > code = real_param(op + i - num_out + 1, &value); > if (code < 0) > return code; > if (value < 0.0) > value = 0.0; > else if (value > 1.0) > value = 1.0; > cv = (color_cube_value) (value * color_cube_value_max + 0.5); > data_ptr[2 * i] = cv >> 8; > data_ptr[2 * i + 1] = cv; > } > ((((i_ctx_p->op_stack).stack).p) -= (num_out)); > > > > done = increment_cube_indexes(params, penum->indexes); > if (done) { > > > code = 0; > if ((*(((((i_ctx_p->exec_stack).stack).p) - 2)->value.opproc)) != 0) > code = (*(((((i_ctx_p->exec_stack).stack).p) - 2)->value.opproc))(i_ctx_p); > > return code; > } > > > > return color_cube_sample(i_ctx_p); >} > > > > >static int >color_cube_finish(i_ctx_t *i_ctx_p) >{ > os_ptr op = (((i_ctx_p->op_stack).stack).p); > gs_color_cube_enum *penum = ((gs_color_cube_enum *)(((((i_ctx_p->exec_stack).stack).p))->value.pstruct)); > > gs_function_Sd_params_t * params = (gs_function_Sd_params_t *)&penum->pfn->params; > gs_function_t * pfn; > ref cref; > int code = gs_function_Sd_init(&pfn, params, ((gs_memory_t *)((i_ctx_p->memory).current))); > > if (code < 0) > return code; > > code = gs_alloc_ref_array(((i_ctx_p->memory).current), &cref, 0x80 | 0x40, 2, "color_cube_finish(cref)"); > > if (code < 0) > return code; > > ((cref.value.refs)->value.pstruct = ((obj_header_t *)(pfn)), ((cref.value.refs)->tas.type_attrs = ((t_struct) << 8) + (((0x80 | 0x40) | (((&(i_ctx_p->memory)))->current_space))|((&(i_ctx_p->memory))->new_mask))) ); > ((cref.value.refs + 1)->value.opproc = (zexecfunction), ((cref.value.refs + 1)->tas.type_attrs = ((t_operator) << 8) + ((0x80)|((&(i_ctx_p->memory))->new_mask))), ((cref.value.refs + 1)->tas.rsize = (0))); > (*(op) = *(&cref)); > > (((i_ctx_p->exec_stack).stack).p) -= 3; > ((((gs_memory_t *)((i_ctx_p->memory).current)))->procs.free_object(((gs_memory_t *)((i_ctx_p->memory).current)), penum->pfn, "color_cube_finish(pfn)")); > ((((gs_memory_t *)((i_ctx_p->memory).current)))->procs.free_object(((gs_memory_t *)((i_ctx_p->memory).current)), penum, "color_cube_finish(enum)")); > return 14; >} > > > > >const op_def zccube_op_defs[] = >{ > {"level2dict", 0}, > {"3.buildcolorcube", zbuildcolorcube}, > {0, 0} >};
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65806
: 40708 |
41492