2 # 1 "/var/tmp/portage/app-text/ghostscript-gpl-8.54/work/ghostscript-8.54-gpl//"
6 # 16 "./src/gdevpdfe.c"
13 # 1 "./src/stdpre.h" 1
14 # 244 "./src/stdpre.h"
15 typedef unsigned char byte;
16 typedef unsigned char uchar;
17 typedef unsigned short ushort;
18 typedef unsigned int uint;
19 typedef unsigned long ulong;
20 # 264 "./src/stdpre.h"
21 # 1 "/usr/include/sys/types.h" 1 3 4
22 # 27 "/usr/include/sys/types.h" 3 4
23 # 1 "/usr/include/features.h" 1 3 4
24 # 323 "/usr/include/features.h" 3 4
25 # 1 "/usr/include/sys/cdefs.h" 1 3 4
26 # 313 "/usr/include/sys/cdefs.h" 3 4
27 # 1 "/usr/include/bits/wordsize.h" 1 3 4
28 # 314 "/usr/include/sys/cdefs.h" 2 3 4
29 # 324 "/usr/include/features.h" 2 3 4
30 # 346 "/usr/include/features.h" 3 4
31 # 1 "/usr/include/gnu/stubs.h" 1 3 4
35 # 1 "/usr/include/bits/wordsize.h" 1 3 4
36 # 5 "/usr/include/gnu/stubs.h" 2 3 4
39 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
40 # 8 "/usr/include/gnu/stubs.h" 2 3 4
41 # 347 "/usr/include/features.h" 2 3 4
42 # 28 "/usr/include/sys/types.h" 2 3 4
46 # 1 "/usr/include/bits/types.h" 1 3 4
47 # 28 "/usr/include/bits/types.h" 3 4
48 # 1 "/usr/include/bits/wordsize.h" 1 3 4
49 # 29 "/usr/include/bits/types.h" 2 3 4
52 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
53 # 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
54 typedef unsigned int size_t;
55 # 32 "/usr/include/bits/types.h" 2 3 4
58 typedef unsigned char __u_char;
59 typedef unsigned short int __u_short;
60 typedef unsigned int __u_int;
61 typedef unsigned long int __u_long;
64 typedef signed char __int8_t;
65 typedef unsigned char __uint8_t;
66 typedef signed short int __int16_t;
67 typedef unsigned short int __uint16_t;
68 typedef signed int __int32_t;
69 typedef unsigned int __uint32_t;
74 __extension__ typedef signed long long int __int64_t;
75 __extension__ typedef unsigned long long int __uint64_t;
83 __extension__ typedef long long int __quad_t;
84 __extension__ typedef unsigned long long int __u_quad_t;
85 # 134 "/usr/include/bits/types.h" 3 4
86 # 1 "/usr/include/bits/typesizes.h" 1 3 4
87 # 135 "/usr/include/bits/types.h" 2 3 4
90 __extension__ typedef __u_quad_t __dev_t;
91 __extension__ typedef unsigned int __uid_t;
92 __extension__ typedef unsigned int __gid_t;
93 __extension__ typedef unsigned long int __ino_t;
94 __extension__ typedef __u_quad_t __ino64_t;
95 __extension__ typedef unsigned int __mode_t;
96 __extension__ typedef unsigned int __nlink_t;
97 __extension__ typedef long int __off_t;
98 __extension__ typedef __quad_t __off64_t;
99 __extension__ typedef int __pid_t;
100 __extension__ typedef struct { int __val[2]; } __fsid_t;
101 __extension__ typedef long int __clock_t;
102 __extension__ typedef unsigned long int __rlim_t;
103 __extension__ typedef __u_quad_t __rlim64_t;
104 __extension__ typedef unsigned int __id_t;
105 __extension__ typedef long int __time_t;
106 __extension__ typedef unsigned int __useconds_t;
107 __extension__ typedef long int __suseconds_t;
109 __extension__ typedef int __daddr_t;
110 __extension__ typedef long int __swblk_t;
111 __extension__ typedef int __key_t;
114 __extension__ typedef int __clockid_t;
117 __extension__ typedef void * __timer_t;
120 __extension__ typedef long int __blksize_t;
125 __extension__ typedef long int __blkcnt_t;
126 __extension__ typedef __quad_t __blkcnt64_t;
129 __extension__ typedef unsigned long int __fsblkcnt_t;
130 __extension__ typedef __u_quad_t __fsblkcnt64_t;
133 __extension__ typedef unsigned long int __fsfilcnt_t;
134 __extension__ typedef __u_quad_t __fsfilcnt64_t;
136 __extension__ typedef int __ssize_t;
140 typedef __off64_t __loff_t;
141 typedef __quad_t *__qaddr_t;
142 typedef char *__caddr_t;
145 __extension__ typedef int __intptr_t;
148 __extension__ typedef unsigned int __socklen_t;
149 # 32 "/usr/include/sys/types.h" 2 3 4
153 typedef __u_char u_char;
154 typedef __u_short u_short;
155 typedef __u_int u_int;
156 typedef __u_long u_long;
157 typedef __quad_t quad_t;
158 typedef __u_quad_t u_quad_t;
159 typedef __fsid_t fsid_t;
164 typedef __loff_t loff_t;
168 typedef __ino_t ino_t;
169 # 62 "/usr/include/sys/types.h" 3 4
170 typedef __dev_t dev_t;
175 typedef __gid_t gid_t;
180 typedef __mode_t mode_t;
185 typedef __nlink_t nlink_t;
190 typedef __uid_t uid_t;
196 typedef __off_t off_t;
197 # 100 "/usr/include/sys/types.h" 3 4
198 typedef __pid_t pid_t;
208 typedef __ssize_t ssize_t;
214 typedef __daddr_t daddr_t;
215 typedef __caddr_t caddr_t;
221 typedef __key_t key_t;
222 # 133 "/usr/include/sys/types.h" 3 4
223 # 1 "/usr/include/time.h" 1 3 4
224 # 75 "/usr/include/time.h" 3 4
227 typedef __time_t time_t;
231 # 93 "/usr/include/time.h" 3 4
232 typedef __clockid_t clockid_t;
233 # 105 "/usr/include/time.h" 3 4
234 typedef __timer_t timer_t;
235 # 134 "/usr/include/sys/types.h" 2 3 4
236 # 147 "/usr/include/sys/types.h" 3 4
237 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
238 # 148 "/usr/include/sys/types.h" 2 3 4
242 typedef unsigned long int ulong_;
243 typedef unsigned short int ushort_;
244 typedef unsigned int uint_;
245 # 195 "/usr/include/sys/types.h" 3 4
246 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
247 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
248 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
249 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
252 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
253 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
254 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
255 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
257 typedef int register_t __attribute__ ((__mode__ (__word__)));
258 # 217 "/usr/include/sys/types.h" 3 4
259 # 1 "/usr/include/endian.h" 1 3 4
260 # 37 "/usr/include/endian.h" 3 4
261 # 1 "/usr/include/bits/endian.h" 1 3 4
262 # 38 "/usr/include/endian.h" 2 3 4
263 # 218 "/usr/include/sys/types.h" 2 3 4
266 # 1 "/usr/include/sys/select.h" 1 3 4
267 # 31 "/usr/include/sys/select.h" 3 4
268 # 1 "/usr/include/bits/select.h" 1 3 4
269 # 32 "/usr/include/sys/select.h" 2 3 4
272 # 1 "/usr/include/bits/sigset.h" 1 3 4
273 # 23 "/usr/include/bits/sigset.h" 3 4
274 typedef int __sig_atomic_t;
281 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
283 # 35 "/usr/include/sys/select.h" 2 3 4
287 typedef __sigset_t sigset_t;
293 # 1 "/usr/include/time.h" 1 3 4
294 # 121 "/usr/include/time.h" 3 4
300 # 45 "/usr/include/sys/select.h" 2 3 4
302 # 1 "/usr/include/bits/time.h" 1 3 4
303 # 69 "/usr/include/bits/time.h" 3 4
307 __suseconds_t tv_usec;
309 # 47 "/usr/include/sys/select.h" 2 3 4
312 typedef __suseconds_t suseconds_t;
318 typedef long int __fd_mask;
319 # 67 "/usr/include/sys/select.h" 3 4
328 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
338 typedef __fd_mask fd_mask;
339 # 99 "/usr/include/sys/select.h" 3 4
341 # 109 "/usr/include/sys/select.h" 3 4
342 extern int select (int __nfds, fd_set *__restrict __readfds,
343 fd_set *__restrict __writefds,
344 fd_set *__restrict __exceptfds,
345 struct timeval *__restrict __timeout);
346 # 121 "/usr/include/sys/select.h" 3 4
347 extern int pselect (int __nfds, fd_set *__restrict __readfds,
348 fd_set *__restrict __writefds,
349 fd_set *__restrict __exceptfds,
350 const struct timespec *__restrict __timeout,
351 const __sigset_t *__restrict __sigmask);
355 # 221 "/usr/include/sys/types.h" 2 3 4
358 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
359 # 29 "/usr/include/sys/sysmacros.h" 3 4
361 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
362 __attribute__ ((__nothrow__));
364 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
365 __attribute__ ((__nothrow__));
367 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
368 unsigned int __minor)
369 __attribute__ ((__nothrow__));
372 __extension__ extern __inline unsigned int
373 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
375 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
378 __extension__ extern __inline unsigned int
379 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
381 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
384 __extension__ extern __inline unsigned long long int
385 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
387 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
388 | (((unsigned long long int) (__minor & ~0xff)) << 12)
389 | (((unsigned long long int) (__major & ~0xfff)) << 32));
391 # 224 "/usr/include/sys/types.h" 2 3 4
392 # 235 "/usr/include/sys/types.h" 3 4
393 typedef __blkcnt_t blkcnt_t;
397 typedef __fsblkcnt_t fsblkcnt_t;
401 typedef __fsfilcnt_t fsfilcnt_t;
402 # 270 "/usr/include/sys/types.h" 3 4
403 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
404 # 36 "/usr/include/bits/pthreadtypes.h" 3 4
405 typedef unsigned long int pthread_t;
415 typedef struct __pthread_internal_slist
417 struct __pthread_internal_slist *__next;
425 struct __pthread_mutex_s
428 unsigned int __count;
433 unsigned int __nusers;
437 __pthread_slist_t __list;
448 } pthread_mutexattr_t;
458 unsigned int __futex;
459 __extension__ unsigned long long int __total_seq;
460 __extension__ unsigned long long int __wakeup_seq;
461 __extension__ unsigned long long int __woken_seq;
463 unsigned int __nwaiters;
464 unsigned int __broadcast_seq;
467 __extension__ long long int __align;
474 } pthread_condattr_t;
478 typedef unsigned int pthread_key_t;
482 typedef int pthread_once_t;
493 unsigned int __nr_readers;
494 unsigned int __readers_wakeup;
495 unsigned int __writer_wakeup;
496 unsigned int __nr_readers_queued;
497 unsigned int __nr_writers_queued;
500 unsigned int __flags;
511 } pthread_rwlockattr_t;
517 typedef volatile int pthread_spinlock_t;
532 } pthread_barrierattr_t;
533 # 271 "/usr/include/sys/types.h" 2 3 4
537 # 265 "./src/stdpre.h" 2
538 # 285 "./src/stdpre.h"
540 # 322 "./src/stdpre.h"
541 typedef const char *ptr_ord_t;
542 # 363 "./src/stdpre.h"
543 typedef double floatp;
544 # 391 "./src/stdpre.h"
545 typedef const char *client_name_t;
546 # 419 "./src/stdpre.h"
547 # 1 "./src/stdpn.h" 1
548 # 420 "./src/stdpre.h" 2
552 # 1 "./obj/../soobj/arch.h" 1
555 typedef ushort bits16;
560 # 1 "/usr/include/stdio.h" 1 3 4
561 # 30 "/usr/include/stdio.h" 3 4
566 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
567 # 35 "/usr/include/stdio.h" 2 3 4
568 # 44 "/usr/include/stdio.h" 3 4
571 typedef struct _IO_FILE FILE;
577 # 62 "/usr/include/stdio.h" 3 4
578 typedef struct _IO_FILE __FILE;
579 # 72 "/usr/include/stdio.h" 3 4
580 # 1 "/usr/include/libio.h" 1 3 4
581 # 32 "/usr/include/libio.h" 3 4
582 # 1 "/usr/include/_G_config.h" 1 3 4
583 # 14 "/usr/include/_G_config.h" 3 4
584 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
585 # 326 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
586 typedef long int wchar_t;
587 # 355 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
588 typedef unsigned int wint_t;
589 # 15 "/usr/include/_G_config.h" 2 3 4
590 # 24 "/usr/include/_G_config.h" 3 4
591 # 1 "/usr/include/wchar.h" 1 3 4
592 # 48 "/usr/include/wchar.h" 3 4
593 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
594 # 49 "/usr/include/wchar.h" 2 3 4
596 # 1 "/usr/include/bits/wchar.h" 1 3 4
597 # 51 "/usr/include/wchar.h" 2 3 4
598 # 76 "/usr/include/wchar.h" 3 4
608 # 25 "/usr/include/_G_config.h" 2 3 4
620 # 44 "/usr/include/_G_config.h" 3 4
621 # 1 "/usr/include/gconv.h" 1 3 4
622 # 28 "/usr/include/gconv.h" 3 4
623 # 1 "/usr/include/wchar.h" 1 3 4
624 # 48 "/usr/include/wchar.h" 3 4
625 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
626 # 49 "/usr/include/wchar.h" 2 3 4
627 # 29 "/usr/include/gconv.h" 2 3 4
630 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
631 # 32 "/usr/include/gconv.h" 2 3 4
646 __GCONV_ILLEGAL_INPUT,
647 __GCONV_INCOMPLETE_INPUT,
649 __GCONV_ILLEGAL_DESCRIPTOR,
650 __GCONV_INTERNAL_ERROR
657 __GCONV_IS_LAST = 0x0001,
658 __GCONV_IGNORE_ERRORS = 0x0002
664 struct __gconv_step_data;
665 struct __gconv_loaded_object;
666 struct __gconv_trans_data;
670 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
671 __const unsigned char **, __const unsigned char *,
672 unsigned char **, size_t *, int, int);
675 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
678 typedef int (*__gconv_init_fct) (struct __gconv_step *);
679 typedef void (*__gconv_end_fct) (struct __gconv_step *);
683 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
684 struct __gconv_step_data *, void *,
685 __const unsigned char *,
686 __const unsigned char **,
687 __const unsigned char *, unsigned char **,
691 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
692 __const unsigned char *,
693 unsigned char *, unsigned char *);
696 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
700 typedef int (*__gconv_trans_init_fct) (void **, const char *);
701 typedef void (*__gconv_trans_end_fct) (void *);
703 struct __gconv_trans_data
706 __gconv_trans_fct __trans_fct;
707 __gconv_trans_context_fct __trans_context_fct;
708 __gconv_trans_end_fct __trans_end_fct;
710 struct __gconv_trans_data *__next;
717 struct __gconv_loaded_object *__shlib_handle;
718 __const char *__modname;
726 __gconv_btowc_fct __btowc_fct;
727 __gconv_init_fct __init_fct;
728 __gconv_end_fct __end_fct;
732 int __min_needed_from;
733 int __max_needed_from;
745 struct __gconv_step_data
747 unsigned char *__outbuf;
748 unsigned char *__outbufend;
756 int __invocation_counter;
762 __mbstate_t *__statep;
767 struct __gconv_trans_data *__trans;
772 typedef struct __gconv_info
775 struct __gconv_step *__steps;
776 __extension__ struct __gconv_step_data __data [];
778 # 45 "/usr/include/_G_config.h" 2 3 4
781 struct __gconv_info __cd;
784 struct __gconv_info __cd;
785 struct __gconv_step_data __data;
789 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
790 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
791 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
792 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
793 # 33 "/usr/include/libio.h" 2 3 4
794 # 53 "/usr/include/libio.h" 3 4
795 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4
796 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4
797 typedef __builtin_va_list __gnuc_va_list;
798 # 54 "/usr/include/libio.h" 2 3 4
799 # 166 "/usr/include/libio.h" 3 4
800 struct _IO_jump_t; struct _IO_FILE;
801 # 176 "/usr/include/libio.h" 3 4
802 typedef void _IO_lock_t;
809 struct _IO_marker *_next;
810 struct _IO_FILE *_sbuf;
815 # 199 "/usr/include/libio.h" 3 4
819 enum __codecvt_result
826 # 267 "/usr/include/libio.h" 3 4
836 char* _IO_write_base;
843 char *_IO_backup_base;
846 struct _IO_marker *_markers;
848 struct _IO_FILE *_chain;
860 unsigned short _cur_column;
861 signed char _vtable_offset;
867 # 315 "/usr/include/libio.h" 3 4
869 # 324 "/usr/include/libio.h" 3 4
878 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
883 typedef struct _IO_FILE _IO_FILE;
886 struct _IO_FILE_plus;
888 extern struct _IO_FILE_plus _IO_2_1_stdin_;
889 extern struct _IO_FILE_plus _IO_2_1_stdout_;
890 extern struct _IO_FILE_plus _IO_2_1_stderr_;
891 # 360 "/usr/include/libio.h" 3 4
892 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
900 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
909 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
912 typedef int __io_close_fn (void *__cookie);
913 # 412 "/usr/include/libio.h" 3 4
914 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__));
915 extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__));
916 extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
917 extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__));
918 extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__));
919 extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
920 # 450 "/usr/include/libio.h" 3 4
921 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__));
922 extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__));
923 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
924 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
926 extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__));
932 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
933 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
934 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
935 # 480 "/usr/include/libio.h" 3 4
936 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
937 __gnuc_va_list, int *__restrict);
938 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
940 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__));
941 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__));
943 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__));
944 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
946 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
947 # 73 "/usr/include/stdio.h" 2 3 4
948 # 86 "/usr/include/stdio.h" 3 4
951 typedef _G_fpos_t fpos_t;
956 # 138 "/usr/include/stdio.h" 3 4
957 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
958 # 139 "/usr/include/stdio.h" 2 3 4
962 extern struct _IO_FILE *stdin;
963 extern struct _IO_FILE *stdout;
964 extern struct _IO_FILE *stderr;
972 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
974 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
989 extern FILE *tmpfile (void);
990 # 183 "/usr/include/stdio.h" 3 4
991 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
997 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
998 # 201 "/usr/include/stdio.h" 3 4
999 extern char *tempnam (__const char *__dir, __const char *__pfx)
1000 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
1009 extern int fclose (FILE *__stream);
1014 extern int fflush (FILE *__stream);
1016 # 226 "/usr/include/stdio.h" 3 4
1017 extern int fflush_unlocked (FILE *__stream);
1018 # 240 "/usr/include/stdio.h" 3 4
1025 extern FILE *fopen (__const char *__restrict __filename,
1026 __const char *__restrict __modes);
1031 extern FILE *freopen (__const char *__restrict __filename,
1032 __const char *__restrict __modes,
1033 FILE *__restrict __stream);
1034 # 267 "/usr/include/stdio.h" 3 4
1036 # 278 "/usr/include/stdio.h" 3 4
1037 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__));
1038 # 298 "/usr/include/stdio.h" 3 4
1042 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1046 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1047 int __modes, size_t __n) __attribute__ ((__nothrow__));
1053 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1054 size_t __size) __attribute__ ((__nothrow__));
1057 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1066 extern int fprintf (FILE *__restrict __stream,
1067 __const char *__restrict __format, ...);
1072 extern int printf (__const char *__restrict __format, ...);
1074 extern int sprintf (char *__restrict __s,
1075 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1081 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1082 __gnuc_va_list __arg);
1087 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1089 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1090 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1096 extern int snprintf (char *__restrict __s, size_t __maxlen,
1097 __const char *__restrict __format, ...)
1098 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1100 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1101 __const char *__restrict __format, __gnuc_va_list __arg)
1102 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1104 # 392 "/usr/include/stdio.h" 3 4
1110 extern int fscanf (FILE *__restrict __stream,
1111 __const char *__restrict __format, ...) ;
1116 extern int scanf (__const char *__restrict __format, ...) ;
1118 extern int sscanf (__const char *__restrict __s,
1119 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1121 # 434 "/usr/include/stdio.h" 3 4
1127 extern int fgetc (FILE *__stream);
1128 extern int getc (FILE *__stream);
1134 extern int getchar (void);
1136 # 458 "/usr/include/stdio.h" 3 4
1137 extern int getc_unlocked (FILE *__stream);
1138 extern int getchar_unlocked (void);
1139 # 469 "/usr/include/stdio.h" 3 4
1140 extern int fgetc_unlocked (FILE *__stream);
1152 extern int fputc (int __c, FILE *__stream);
1153 extern int putc (int __c, FILE *__stream);
1159 extern int putchar (int __c);
1161 # 502 "/usr/include/stdio.h" 3 4
1162 extern int fputc_unlocked (int __c, FILE *__stream);
1170 extern int putc_unlocked (int __c, FILE *__stream);
1171 extern int putchar_unlocked (int __c);
1178 extern int getw (FILE *__stream);
1181 extern int putw (int __w, FILE *__stream);
1190 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
1198 extern char *gets (char *__s) ;
1200 # 583 "/usr/include/stdio.h" 3 4
1206 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1212 extern int puts (__const char *__s);
1219 extern int ungetc (int __c, FILE *__stream);
1226 extern size_t fread (void *__restrict __ptr, size_t __size,
1227 size_t __n, FILE *__restrict __stream) ;
1232 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
1233 size_t __n, FILE *__restrict __s) ;
1235 # 636 "/usr/include/stdio.h" 3 4
1236 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
1237 size_t __n, FILE *__restrict __stream) ;
1238 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
1239 size_t __n, FILE *__restrict __stream) ;
1248 extern int fseek (FILE *__stream, long int __off, int __whence);
1253 extern long int ftell (FILE *__stream) ;
1258 extern void rewind (FILE *__stream);
1260 # 672 "/usr/include/stdio.h" 3 4
1261 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
1266 extern __off_t ftello (FILE *__stream) ;
1267 # 691 "/usr/include/stdio.h" 3 4
1274 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
1279 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
1280 # 714 "/usr/include/stdio.h" 3 4
1282 # 723 "/usr/include/stdio.h" 3 4
1285 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
1287 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
1289 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
1294 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1295 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1296 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1305 extern void perror (__const char *__s);
1312 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
1313 # 27 "/usr/include/bits/sys_errlist.h" 3 4
1314 extern int sys_nerr;
1315 extern __const char *__const sys_errlist[];
1316 # 753 "/usr/include/stdio.h" 2 3 4
1321 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
1326 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1327 # 772 "/usr/include/stdio.h" 3 4
1328 extern FILE *popen (__const char *__command, __const char *__modes) ;
1334 extern int pclose (FILE *__stream);
1340 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1341 # 812 "/usr/include/stdio.h" 3 4
1342 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1346 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
1349 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1350 # 842 "/usr/include/stdio.h" 3 4
1352 # 143 "./src/std.h" 2
1359 typedef struct gs_memory_s gs_memory_t;
1361 int outwrite(const gs_memory_t *mem, const char *str, int len);
1362 int errwrite(const char *str, int len);
1363 void outflush(const gs_memory_t *mem);
1364 void errflush(void);
1366 int outprintf(const gs_memory_t *mem, const char *fmt, ...) __attribute__((__format__ (__printf__, 2, 3)));
1367 int errprintf(const char *fmt, ...) __attribute__((__format__ (__printf__, 1, 2)));
1375 void dprintf_file_and_line(const char *, int);
1384 void printf_program_ident(const gs_memory_t *mem, const char *program_name, long revision_number);
1385 void eprintf_program_ident(const char *program_name, long revision_number);
1386 const char *gs_program_name(void);
1387 long gs_revision_number(void);
1389 void lprintf_file_and_line(const char *, int);
1390 # 25 "./src/stdio_.h" 2
1391 # 42 "./src/stdio_.h"
1392 int unlink(const char *);
1394 # 1 "./src/gserror.h" 1
1395 # 20 "./src/gserror.h"
1396 int gs_log_error(int, const char *, int);
1397 # 43 "./src/gserror.h"
1398 const char *gs_errstr(int code);
1400 int gs_throw_imp(const char *func, const char *file, int line,
1401 int op, int code, const char *fmt, ...) __attribute__((__format__ (__printf__, 6, 7)));
1403 # 1 "./src/gsio.h" 1
1405 # 1 "./src/gstypes.h" 1
1406 # 26 "./src/gstypes.h"
1407 typedef ulong gs_id;
1408 # 43 "./src/gstypes.h"
1409 typedef struct gs_string_s {
1410 byte *data; uint size;
1415 typedef struct gs_const_string_s {
1416 const byte *data; uint size;
1418 typedef struct gs_param_string_s {
1419 const byte *data; uint size;
1422 # 69 "./src/gstypes.h"
1423 typedef struct gs_bytestring_s {
1424 byte *data; uint size;
1427 typedef struct gs_const_bytestring_s {
1428 const byte *data; uint size;
1430 } gs_const_bytestring;
1431 # 86 "./src/gstypes.h"
1432 typedef struct gs_point_s {
1435 typedef struct gs_int_point_s {
1443 typedef struct gs_log2_scale_point_s {
1445 } gs_log2_scale_point;
1453 typedef struct gs_rect_s {
1456 typedef struct gs_int_rect_s {
1465 typedef struct gs_range_s {
1469 # 1 "./src/gsmemory.h" 1
1470 # 41 "./src/gsmemory.h"
1471 # 1 "./src/gslibctx.h" 1
1472 # 20 "./src/gslibctx.h"
1473 # 1 "./src/gs_dll_call.h" 1
1474 # 21 "./src/gslibctx.h" 2
1477 typedef struct name_table_s *name_table_ptr;
1479 typedef struct gs_lib_ctx_s
1481 gs_memory_t *memory;
1486 bool stdout_is_redirected;
1487 bool stdout_to_stderr;
1488 bool stdin_is_interactive;
1489 void *caller_handle;
1490 int ( *stdin_fn)(void *caller_handle, char *buf, int len);
1491 int ( *stdout_fn)(void *caller_handle, const char *str, int len);
1492 int ( *stderr_fn)(void *caller_handle, const char *str, int len);
1493 int ( *poll_fn)(void *caller_handle);
1495 void *top_of_system;
1498 name_table_ptr gs_name_table;
1502 bool dict_auto_expand;
1509 int gs_lib_ctx_init( gs_memory_t *mem );
1511 void *gs_lib_ctx_get_interp_instance( gs_memory_t *mem );
1516 const gs_memory_t * gs_lib_ctx_get_non_gc_memory_t(void);
1517 # 42 "./src/gsmemory.h" 2
1520 typedef struct gs_memory_struct_type_s gs_memory_struct_type_t;
1521 typedef const gs_memory_struct_type_t *gs_memory_type_ptr_t;
1522 # 55 "./src/gsmemory.h"
1523 typedef struct gs_ptr_procs_s gs_ptr_procs_t;
1524 typedef const gs_ptr_procs_t *gs_ptr_type_t;
1527 typedef struct gs_gc_root_s gs_gc_root_t;
1531 typedef client_name_t struct_name_t;
1534 uint gs_struct_type_size(gs_memory_type_ptr_t);
1537 struct_name_t gs_struct_type_name(gs_memory_type_ptr_t);
1545 typedef struct gs_memory_status_s {
1557 } gs_memory_status_t;
1558 # 222 "./src/gsmemory.h"
1559 typedef struct gs_memory_procs_s {
1561 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);
1562 # 250 "./src/gsmemory.h"
1563 byte *(*alloc_bytes)(gs_memory_t *mem, uint nbytes, client_name_t cname);
1564 # 261 "./src/gsmemory.h"
1565 void *(*alloc_struct)(gs_memory_t *mem, gs_memory_type_ptr_t pstype, client_name_t cname);
1568 void *(*alloc_struct_immovable)(gs_memory_t *mem, gs_memory_type_ptr_t pstype, client_name_t cname);
1569 # 275 "./src/gsmemory.h"
1570 byte *(*alloc_byte_array)(gs_memory_t *mem, uint num_elements, uint elt_size, client_name_t cname);
1573 byte *(*alloc_byte_array_immovable)(gs_memory_t *mem, uint num_elements, uint elt_size, client_name_t cname);
1574 # 289 "./src/gsmemory.h"
1575 void *(*alloc_struct_array)(gs_memory_t *mem, uint num_elements, gs_memory_type_ptr_t pstype, client_name_t cname);
1578 void *(*alloc_struct_array_immovable)(gs_memory_t *mem, uint num_elements, gs_memory_type_ptr_t pstype, client_name_t cname);
1579 # 302 "./src/gsmemory.h"
1580 uint (*object_size)(gs_memory_t *mem, const void *obj);
1581 # 314 "./src/gsmemory.h"
1582 gs_memory_type_ptr_t (*object_type)(gs_memory_t *mem, const void *obj);
1583 # 324 "./src/gsmemory.h"
1584 byte *(*alloc_string)(gs_memory_t *mem, uint nbytes, client_name_t cname);
1587 byte *(*alloc_string_immovable)(gs_memory_t *mem, uint nbytes, client_name_t cname);
1588 # 339 "./src/gsmemory.h"
1589 byte *(*resize_string)(gs_memory_t *mem, byte *data, uint old_num, uint new_num, client_name_t cname);
1590 # 350 "./src/gsmemory.h"
1591 void (*free_string)(gs_memory_t *mem, byte *data, uint nbytes, client_name_t cname);
1592 # 364 "./src/gsmemory.h"
1593 int (*register_root)(gs_memory_t *mem, gs_gc_root_t *root, gs_ptr_type_t ptype, void **pp, client_name_t cname);
1594 # 375 "./src/gsmemory.h"
1595 void (*unregister_root)(gs_memory_t *mem, gs_gc_root_t *root, client_name_t cname);
1596 # 390 "./src/gsmemory.h"
1597 void (*enable_free)(gs_memory_t *mem, bool enable);
1599 } gs_memory_procs_t;
1607 void gs_free_const_object(gs_memory_t *mem, const void *data,
1608 client_name_t cname);
1609 void gs_free_const_string(gs_memory_t *mem, const byte *data, uint nbytes,
1610 client_name_t cname);
1616 void gs_free_bytestring(gs_memory_t *mem, gs_bytestring *pbs,
1617 client_name_t cname);
1618 void gs_free_const_bytestring(gs_memory_t *mem, gs_const_bytestring *pbs,
1619 client_name_t cname);
1625 void *gs_resize_struct_array(gs_memory_t *mem, void *obj, uint num_elements,
1626 gs_memory_type_ptr_t pstype,
1627 client_name_t cname);
1630 int gs_register_struct_root(gs_memory_t *mem, gs_gc_root_t *root,
1631 void **pp, client_name_t cname);
1634 void gs_ignore_free_object(gs_memory_t *mem, void *data, client_name_t cname);
1635 void gs_ignore_free_string(gs_memory_t *mem, byte *data, uint nbytes, client_name_t cname);
1638 void gs_ignore_consolidate_free(gs_memory_t *mem);
1646 void *gs_raw_alloc_struct_immovable(gs_memory_t * rmem,
1647 gs_memory_type_ptr_t pstype,
1648 client_name_t cname);
1650 typedef struct pl_mem_node_s pl_mem_node_t;
1651 # 468 "./src/gsmemory.h"
1652 struct gs_memory_s {
1653 gs_memory_t *stable_memory; gs_memory_procs_t procs; gs_lib_ctx_t *gs_lib_ctx; pl_mem_node_t *head; gs_memory_t *non_gc_memory;
1656 # 1 "./src/gdebug.h" 1
1657 # 50 "./src/gdebug.h"
1658 extern char gs_debug[128];
1659 bool gs_debug_c(int );
1660 # 60 "./src/gdebug.h"
1661 extern FILE *gs_debug_out;
1662 # 114 "./src/gdebug.h"
1663 void debug_dump_bytes(const byte * from, const byte * to,
1665 void debug_dump_bitmap(const byte * from, uint raster, uint height,
1667 void debug_print_string(const byte * str, uint len);
1668 void debug_print_string_hex(const byte * str, uint len);
1676 typedef struct gs_imager_state_s gs_imager_state;
1681 typedef struct gs_state_s gs_state;
1682 # 17 "./src/gdevpdfe.c" 2
1683 # 1 "./src/string_.h" 1
1684 # 30 "./src/string_.h"
1685 # 1 "/usr/include/string.h" 1 3 4
1686 # 28 "/usr/include/string.h" 3 4
1692 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1693 # 34 "/usr/include/string.h" 2 3 4
1698 extern void *memcpy (void *__restrict __dest,
1699 __const void *__restrict __src, size_t __n)
1700 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1703 extern void *memmove (void *__dest, __const void *__src, size_t __n)
1704 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1711 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
1712 int __c, size_t __n)
1713 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1719 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1722 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
1723 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1726 extern void *memchr (__const void *__s, int __c, size_t __n)
1727 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1729 # 82 "/usr/include/string.h" 3 4
1732 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
1733 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1735 extern char *strncpy (char *__restrict __dest,
1736 __const char *__restrict __src, size_t __n)
1737 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1740 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
1741 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1743 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
1744 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1747 extern int strcmp (__const char *__s1, __const char *__s2)
1748 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1750 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
1751 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1754 extern int strcoll (__const char *__s1, __const char *__s2)
1755 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1757 extern size_t strxfrm (char *__restrict __dest,
1758 __const char *__restrict __src, size_t __n)
1759 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1761 # 130 "/usr/include/string.h" 3 4
1762 extern char *strdup (__const char *__s)
1763 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
1764 # 165 "/usr/include/string.h" 3 4
1767 extern char *strchr (__const char *__s, int __c)
1768 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1770 extern char *strrchr (__const char *__s, int __c)
1771 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1773 # 181 "/usr/include/string.h" 3 4
1777 extern size_t strcspn (__const char *__s, __const char *__reject)
1778 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1781 extern size_t strspn (__const char *__s, __const char *__accept)
1782 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1784 extern char *strpbrk (__const char *__s, __const char *__accept)
1785 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1787 extern char *strstr (__const char *__haystack, __const char *__needle)
1788 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1792 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
1793 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1798 extern char *__strtok_r (char *__restrict __s,
1799 __const char *__restrict __delim,
1800 char **__restrict __save_ptr)
1801 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1803 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
1804 char **__restrict __save_ptr)
1805 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1806 # 240 "/usr/include/string.h" 3 4
1809 extern size_t strlen (__const char *__s)
1810 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1812 # 254 "/usr/include/string.h" 3 4
1815 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
1817 # 270 "/usr/include/string.h" 3 4
1818 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1819 # 288 "/usr/include/string.h" 3 4
1820 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1824 extern void bcopy (__const void *__src, void *__dest, size_t __n)
1825 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1828 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1831 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
1832 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1835 extern char *index (__const char *__s, int __c)
1836 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1839 extern char *rindex (__const char *__s, int __c)
1840 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1844 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1845 # 325 "/usr/include/string.h" 3 4
1846 extern int strcasecmp (__const char *__s1, __const char *__s2)
1847 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1850 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
1851 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1852 # 348 "/usr/include/string.h" 3 4
1853 extern char *strsep (char **__restrict __stringp,
1854 __const char *__restrict __delim)
1855 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1856 # 426 "/usr/include/string.h" 3 4
1858 # 31 "./src/string_.h" 2
1859 # 18 "./src/gdevpdfe.c" 2
1860 # 1 "./src/time_.h" 1
1861 # 28 "./src/time_.h"
1862 # 1 "./obj/../soobj/gconfig_.h" 1
1863 # 29 "./src/time_.h" 2
1870 # 1 "/usr/include/sys/time.h" 1 3 4
1871 # 27 "/usr/include/sys/time.h" 3 4
1872 # 1 "/usr/include/time.h" 1 3 4
1873 # 28 "/usr/include/sys/time.h" 2 3 4
1875 # 1 "/usr/include/bits/time.h" 1 3 4
1876 # 30 "/usr/include/sys/time.h" 2 3 4
1877 # 39 "/usr/include/sys/time.h" 3 4
1879 # 57 "/usr/include/sys/time.h" 3 4
1886 typedef struct timezone *__restrict __timezone_ptr_t;
1887 # 73 "/usr/include/sys/time.h" 3 4
1888 extern int gettimeofday (struct timeval *__restrict __tv,
1889 __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1894 extern int settimeofday (__const struct timeval *__tv,
1895 __const struct timezone *__tz)
1896 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1902 extern int adjtime (__const struct timeval *__delta,
1903 struct timeval *__olddelta) __attribute__ ((__nothrow__));
1927 struct timeval it_interval;
1929 struct timeval it_value;
1937 typedef int __itimer_which_t;
1942 extern int getitimer (__itimer_which_t __which,
1943 struct itimerval *__value) __attribute__ ((__nothrow__));
1948 extern int setitimer (__itimer_which_t __which,
1949 __const struct itimerval *__restrict __new,
1950 struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
1955 extern int utimes (__const char *__file, __const struct timeval __tvp[2])
1956 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1960 extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
1961 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1964 extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
1965 # 191 "/usr/include/sys/time.h" 3 4
1967 # 36 "./src/time_.h" 2
1974 # 1 "/usr/include/time.h" 1 3 4
1975 # 31 "/usr/include/time.h" 3 4
1984 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1985 # 40 "/usr/include/time.h" 2 3 4
1989 # 1 "/usr/include/bits/time.h" 1 3 4
1990 # 44 "/usr/include/time.h" 2 3 4
1991 # 59 "/usr/include/time.h" 3 4
1994 typedef __clock_t clock_t;
1998 # 132 "/usr/include/time.h" 3 4
2015 __const char *tm_zone;
2031 struct timespec it_interval;
2032 struct timespec it_value;
2037 # 181 "/usr/include/time.h" 3 4
2041 extern clock_t clock (void) __attribute__ ((__nothrow__));
2044 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
2047 extern double difftime (time_t __time1, time_t __time0)
2048 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2051 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
2057 extern size_t strftime (char *__restrict __s, size_t __maxsize,
2058 __const char *__restrict __format,
2059 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2061 # 229 "/usr/include/time.h" 3 4
2065 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2069 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2075 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
2076 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2080 extern struct tm *localtime_r (__const time_t *__restrict __timer,
2081 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2087 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
2090 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
2098 extern char *asctime_r (__const struct tm *__restrict __tp,
2099 char *__restrict __buf) __attribute__ ((__nothrow__));
2102 extern char *ctime_r (__const time_t *__restrict __timer,
2103 char *__restrict __buf) __attribute__ ((__nothrow__));
2108 extern char *__tzname[2];
2109 extern int __daylight;
2110 extern long int __timezone;
2115 extern char *tzname[2];
2119 extern void tzset (void) __attribute__ ((__nothrow__));
2123 extern int daylight;
2124 extern long int timezone;
2130 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
2131 # 312 "/usr/include/time.h" 3 4
2132 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
2135 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
2138 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2139 # 327 "/usr/include/time.h" 3 4
2140 extern int nanosleep (__const struct timespec *__requested_time,
2141 struct timespec *__remaining);
2145 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
2148 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
2151 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
2152 __attribute__ ((__nothrow__));
2159 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
2160 __const struct timespec *__req,
2161 struct timespec *__rem);
2164 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
2169 extern int timer_create (clockid_t __clock_id,
2170 struct sigevent *__restrict __evp,
2171 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
2174 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
2177 extern int timer_settime (timer_t __timerid, int __flags,
2178 __const struct itimerspec *__restrict __value,
2179 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
2182 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
2183 __attribute__ ((__nothrow__));
2186 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
2187 # 416 "/usr/include/time.h" 3 4
2189 # 43 "./src/time_.h" 2
2190 # 78 "./src/time_.h"
2191 # 1 "/usr/include/sys/times.h" 1 3 4
2192 # 32 "/usr/include/sys/times.h" 3 4
2210 extern clock_t times (struct tms *__buffer) __attribute__ ((__nothrow__));
2213 # 79 "./src/time_.h" 2
2214 # 19 "./src/gdevpdfe.c" 2
2215 # 1 "./src/stream.h" 1
2216 # 21 "./src/stream.h"
2217 # 1 "./src/scommon.h" 1
2218 # 22 "./src/scommon.h"
2219 # 1 "./src/gsstype.h" 1
2220 # 21 "./src/gsstype.h"
2221 typedef struct gc_state_s gc_state_t;
2227 typedef struct enum_ptr_s {
2231 # 79 "./src/gsstype.h"
2232 typedef struct struct_shared_procs_s struct_shared_procs_t;
2234 struct gs_memory_struct_type_s {
2236 struct_name_t sname;
2241 const struct_shared_procs_t *shared;
2245 void (*clear_marks)(const gs_memory_t *cmem, void *pre, uint size, const gs_memory_struct_type_t *pstype);
2246 gs_ptr_type_t (*enum_ptrs)(const gs_memory_t *mem, const void *ptr, uint size, int index, enum_ptr_t *pep, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
2247 void (*reloc_ptrs)(void *ptr, uint size, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
2248 void (*finalize)(void *ptr);
2252 const void *proc_data;
2254 # 23 "./src/scommon.h" 2
2255 # 34 "./src/scommon.h"
2256 typedef struct stream_s stream;
2263 typedef struct stream_state_s stream_state;
2264 # 50 "./src/scommon.h"
2265 typedef struct stream_template_s stream_template;
2266 # 87 "./src/scommon.h"
2267 typedef struct stream_cursor_read_s {
2271 } stream_cursor_read;
2272 typedef struct stream_cursor_write_s {
2276 } stream_cursor_write;
2277 typedef union stream_cursor_s {
2278 stream_cursor_read r;
2279 stream_cursor_write w;
2281 # 134 "./src/scommon.h"
2282 int s_no_report_error(stream_state *, const char *);
2283 # 165 "./src/scommon.h"
2284 struct stream_state_s {
2285 const stream_template *template; gs_memory_t *memory; int (*report_error)(stream_state *, const char *); int min_left; char error_string[79 + 1];
2288 extern const gs_memory_struct_type_t st_stream_state;
2289 # 22 "./src/stream.h" 2
2290 # 1 "./src/srdline.h" 1
2291 # 43 "./src/srdline.h"
2292 extern int sreadline(stream *s_in, stream *s_out, void *readline_data, gs_const_string *prompt, gs_string *buf, gs_memory_t *bufmem, uint *pcount, bool *pin_eol, bool (*is_stdin)(const stream *));
2293 # 23 "./src/stream.h" 2
2294 # 35 "./src/stream.h"
2301 int (*available)(stream *, long *);
2307 int (*seek)(stream *, long);
2313 void (*reset)(stream *);
2319 int (*flush)(stream *);
2325 int (*close)(stream *);
2329 int (*process)(stream_state *, stream_cursor_read *, stream_cursor_write *, bool);
2336 int (*switch_mode)(stream *, bool);
2348 const stream_template *template; gs_memory_t *memory; int (*report_error)(stream_state *, const char *); int min_left; char error_string[79 + 1];
2349 # 110 "./src/stream.h"
2350 stream_cursor cursor;
2354 # 127 "./src/stream.h"
2359 # 139 "./src/stream.h"
2360 gs_string cbuf_string;
2374 stream_state *state;
2385 stream *prev, *next;
2388 int (*save_close)(stream *);
2395 gs_const_string file_name;
2405 extern const gs_memory_struct_type_t st_stream;
2406 # 217 "./src/stream.h"
2407 int savailable(stream *, long *);
2411 int sclose(stream *);
2412 int sswitch(stream *, bool);
2417 int spgetcc(stream *, bool);
2418 # 240 "./src/stream.h"
2419 int sgets(stream *, byte *, uint, uint *);
2420 int sungetc(stream *, byte);
2425 int spskip(stream *, long, long *);
2433 int s_process_read_buf(stream *);
2438 int spputc(stream *, byte);
2439 # 268 "./src/stream.h"
2440 int sputs(stream *, const byte *, uint, uint *);
2446 int s_process_write_buf(stream *, bool);
2449 long stell(stream *);
2450 int spseek(stream *, long);
2451 # 327 "./src/stream.h"
2452 stream *s_alloc(gs_memory_t *, client_name_t);
2453 stream_state *s_alloc_state(gs_memory_t *, gs_memory_type_ptr_t, client_name_t);
2458 void s_init(stream *, gs_memory_t *);
2459 void s_init_state(stream_state *, const stream_template *, gs_memory_t *);
2462 void sread_string(stream *, const byte *, uint),
2463 sread_string_reusable(stream *, const byte *, uint),
2464 swrite_string(stream *, byte *, uint);
2465 void sread_file(stream *, FILE *, byte *, uint),
2466 swrite_file(stream *, FILE *, byte *, uint),
2467 sappend_file(stream *, FILE *, byte *, uint);
2470 int sread_subfile(stream *s, long start, long length);
2474 int ssetfilename(stream *, const byte *, uint);
2478 int sfilename(stream *, gs_const_string *);
2482 void swrite_position_only(stream *);
2485 void s_std_init(stream *, byte *, uint, const stream_procs *, int );
2488 void s_disable(stream *);
2491 int s_std_null(stream *);
2492 void s_std_read_reset(stream *), s_std_write_reset(stream *);
2493 int s_std_read_flush(stream *), s_std_write_flush(stream *), s_std_noavailable(stream *, long *),
2494 s_std_noseek(stream *, long), s_std_close(stream *), s_std_switch_mode(stream *, bool);
2497 int s_filter_write_flush(stream *), s_filter_close(stream *);
2500 extern const stream_procs s_filter_read_procs, s_filter_write_procs;
2501 # 385 "./src/stream.h"
2502 int s_init_filter(stream *fs, stream_state *fss, byte *buf, uint bsize,
2504 stream *s_add_filter(stream **ps, const stream_template *template,
2505 stream_state *ss, gs_memory_t *mem);
2511 int s_close_filters(stream **ps, stream *target);
2515 extern const stream_template s_NullE_template;
2516 extern const stream_template s_NullD_template;
2517 # 20 "./src/gdevpdfe.c" 2
2520 # 1 "./src/gpgetenv.h" 1
2521 # 37 "./src/gpgetenv.h"
2522 int gp_getenv(const char *key, char *ptr, int *plen);
2531 void gp_exit(int exit_status, int code);
2537 void gp_do_exit(int exit_status);
2539 const char *gp_strerror(int);
2547 void gp_get_realtime(long ptm[2]);
2553 void gp_get_usertime(long ptm[2]);
2555 int gp_readline_init(void **preadline_data, gs_memory_t *mem);
2560 int gp_readline(stream *s_in, stream *s_out, void *readline_data,
2561 gs_const_string *prompt, gs_string *buf,
2562 gs_memory_t *bufmem, uint *pcount, bool *pin_eol,
2563 bool (*is_stdin)(const stream *));
2568 void gp_readline_finit(void *readline_data);
2570 int gp_stdin_read(char *buf, int len, int interactive, FILE *f);
2572 const char *gp_getenv_display(void);
2574 extern const char gp_file_name_list_separator;
2577 extern const char gp_scratch_file_name_prefix[];
2580 extern const char gp_null_file_name[];
2583 extern const char gp_current_directory_name[];
2588 extern const char gp_fmode_binary_suffix[];
2592 extern const char gp_fmode_rb[];
2593 extern const char gp_fmode_wb[];
2595 FILE *gp_open_scratch_file(const char *prefix,
2600 FILE *gp_fopen(const char *fname, const char *mode);
2604 int gp_setmode_binary(FILE * pfile, bool mode);
2607 gp_combine_small_buffer = -1,
2608 gp_combine_cant_handle = 0,
2609 gp_combine_success = 1
2610 } gp_file_name_combine_result;
2612 gp_file_name_combine_result gp_file_name_combine(const char *prefix, uint plen,
2613 const char *fname, uint flen, bool no_sibling, char *buffer, uint *blen);
2615 uint gp_file_name_root(const char *fname, uint len);
2617 uint gs_file_name_check_separator(const char *fname, int len, const char *item);
2623 bool gp_file_name_is_parent(const char *fname, uint len);
2629 bool gp_file_name_is_current(const char *fname, uint len);
2635 const char *gp_file_name_current(void);
2641 const char *gp_file_name_separator(void);
2647 const char *gp_file_name_directory_separator(void);
2653 const char *gp_file_name_parent(void);
2658 bool gp_file_name_is_partent_allowed(void);
2664 bool gp_file_name_is_empty_item_meanful(void);
2670 int gp_read_macresource(byte *buf, const char *fname,
2671 const uint type, const ushort id);
2673 int gp_cache_insert(int type, byte *key, int keylen, void *buffer, int buflen);
2676 typedef void *(*gp_cache_alloc)(void *userdata, int bytes);
2677 int gp_cache_query(int type, byte* key, int keylen, void **buffer,
2678 gp_cache_alloc alloc, void *userdata);
2680 FILE *gp_open_printer(char fname[260], int binary_mode);
2682 void gp_close_printer(FILE * pfile, const char *fname);
2688 typedef struct file_enum_s file_enum;
2690 file_enum *gp_enumerate_files_init(const char *pat, uint patlen,
2691 gs_memory_t * memory);
2693 uint gp_enumerate_files_next(file_enum * pfen, char *ptr, uint maxlen);
2701 void gp_enumerate_files_close(file_enum * pfen);
2703 void *gp_enumerate_fonts_init(gs_memory_t *mem);
2705 int gp_enumerate_fonts_next(void *enum_state, char **fontname, char **path);
2708 void gp_enumerate_fonts_free(void *enum_state);
2709 # 21 "./src/gdevpdfe.c" 2
2710 # 1 "./src/smd5.h" 1
2714 typedef unsigned char md5_byte_t;
2715 typedef unsigned int md5_word_t;
2718 typedef struct md5_state_s {
2719 md5_word_t count[2];
2730 void md5_init(md5_state_t *pms);
2733 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
2736 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
2737 # 22 "./src/smd5.h" 2
2743 typedef struct stream_MD5E_state_s {
2744 const stream_template *template; gs_memory_t *memory; int (*report_error)(stream_state *, const char *); int min_left; char error_string[79 + 1];
2746 } stream_MD5E_state;
2751 extern const stream_template s_MD5E_template;
2753 stream *s_MD5E_make_stream(gs_memory_t *mem, byte *digest, int digest_size);
2760 stream *s_MD5C_make_stream(gs_memory_t *mem, stream *strm);
2762 int s_MD5C_get_digest(stream *s, byte *buf, int buf_length);
2763 # 22 "./src/gdevpdfe.c" 2
2764 # 1 "./src/gscdefs.h" 1
2765 # 20 "./src/gscdefs.h"
2766 # 1 "./obj/../soobj/gconfigv.h" 1
2767 # 21 "./src/gscdefs.h" 2
2768 # 39 "./src/gscdefs.h"
2769 extern const long gs_buildtime;
2770 extern const char *const gs_copyright;
2771 extern const char *const gs_product;
2772 extern const char *const gs_productfamily;
2773 extern const long gs_revision;
2774 extern const long gs_revisiondate;
2775 extern const long gs_serialnumber;
2778 extern const char *const gs_doc_directory;
2779 extern const char *const gs_lib_default_path;
2780 extern const char *const gs_init_file;
2781 # 61 "./src/gscdefs.h"
2782 extern const unsigned gx_image_class_table_count;
2786 extern const unsigned gx_image_type_table_count;
2787 # 74 "./src/gscdefs.h"
2788 extern const unsigned gx_io_device_table_count;
2789 # 23 "./src/gdevpdfe.c" 2
2790 # 1 "./src/gdevpdfx.h" 1
2791 # 20 "./src/gdevpdfx.h"
2792 # 1 "./src/gsparam.h" 1
2793 # 34 "./src/gsparam.h"
2794 typedef struct gs_param_list_s gs_param_list;
2798 typedef const char *gs_param_name;
2799 # 48 "./src/gsparam.h"
2802 gs_param_type_null, gs_param_type_bool, gs_param_type_int,
2803 gs_param_type_long, gs_param_type_float,
2805 gs_param_type_string, gs_param_type_name,
2806 gs_param_type_int_array, gs_param_type_float_array,
2807 gs_param_type_string_array, gs_param_type_name_array,
2809 gs_param_type_dict, gs_param_type_dict_int_keys, gs_param_type_array
2811 # 73 "./src/gsparam.h"
2812 typedef struct gs_param_int_array_s { const int *data; uint size; bool persistent; } gs_param_int_array;
2813 typedef struct gs_param_float_array_s { const float *data; uint size; bool persistent; } gs_param_float_array;
2814 typedef struct gs_param_string_array_s { const gs_param_string *data; uint size; bool persistent; } gs_param_string_array;
2815 # 91 "./src/gsparam.h"
2816 typedef struct gs_param_collection_s {
2817 gs_param_list *list;
2819 } gs_param_collection;
2820 typedef gs_param_collection gs_param_dict;
2821 typedef gs_param_collection gs_param_array;
2822 # 118 "./src/gsparam.h"
2823 extern const byte gs_param_type_sizes[];
2824 extern const byte gs_param_type_base_sizes[];
2825 # 134 "./src/gsparam.h"
2826 typedef union gs_param_value_s {
2827 bool b; int i; long l; float f; gs_param_string s; gs_param_string n; gs_param_int_array ia; gs_param_float_array fa; gs_param_string_array sa; gs_param_string_array na; gs_param_collection d;
2834 typedef struct gs_param_typed_value_s {
2835 gs_param_value value;
2837 } gs_param_typed_value;
2844 gs_ptr_type_t gs_param_typed_value_enum_ptrs(const gs_memory_t *mem, const void *ptr, uint size, int index, enum_ptr_t *pep, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
2845 void gs_param_typed_value_reloc_ptrs(void *ptr, uint size, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
2856 gs_param_collection_dict_any = 0,
2862 gs_param_collection_dict_int_keys = 1,
2867 gs_param_collection_array = 2
2869 } gs_param_collection_type_t;
2870 # 193 "./src/gsparam.h"
2871 typedef union gs_param_enumerator_s {
2876 } gs_param_enumerator_t;
2877 typedef gs_param_string gs_param_key_t;
2878 # 254 "./src/gsparam.h"
2879 typedef struct gs_param_list_procs_s {
2880 # 266 "./src/gsparam.h"
2881 int (*xmit_typed)(gs_param_list *, gs_param_name, gs_param_typed_value *);
2882 # 276 "./src/gsparam.h"
2883 int (*begin_xmit_collection)(gs_param_list *, gs_param_name, gs_param_dict *, gs_param_collection_type_t);
2884 # 294 "./src/gsparam.h"
2885 int (*end_xmit_collection)(gs_param_list *, gs_param_name, gs_param_dict *);
2886 # 310 "./src/gsparam.h"
2887 int (*next_key)(gs_param_list *, gs_param_enumerator_t *, gs_param_key_t *);
2888 # 324 "./src/gsparam.h"
2889 int (*request)(gs_param_list *, gs_param_name);
2890 # 339 "./src/gsparam.h"
2891 int (*requested)(const gs_param_list *, gs_param_name);
2892 # 348 "./src/gsparam.h"
2893 int (*get_policy)(gs_param_list *, gs_param_name);
2894 # 360 "./src/gsparam.h"
2895 int (*signal_error)(gs_param_list *, gs_param_name, int);
2896 # 373 "./src/gsparam.h"
2897 int (*commit)(gs_param_list *);
2901 } gs_param_list_procs;
2904 int param_read_requested_typed(gs_param_list *, gs_param_name,
2905 gs_param_typed_value *);
2912 int param_read_null(gs_param_list *, gs_param_name);
2913 int param_write_null(gs_param_list *, gs_param_name);
2914 int param_read_bool(gs_param_list *, gs_param_name, bool *);
2915 int param_write_bool(gs_param_list *, gs_param_name, const bool *);
2916 int param_read_int(gs_param_list *, gs_param_name, int *);
2917 int param_write_int(gs_param_list *, gs_param_name, const int *);
2918 int param_read_long(gs_param_list *, gs_param_name, long *);
2919 int param_write_long(gs_param_list *, gs_param_name, const long *);
2920 int param_read_float(gs_param_list *, gs_param_name, float *);
2921 int param_write_float(gs_param_list *, gs_param_name, const float *);
2922 int param_read_string(gs_param_list *, gs_param_name, gs_param_string *);
2923 int param_write_string(gs_param_list *, gs_param_name,
2924 const gs_param_string *);
2925 int param_read_name(gs_param_list *, gs_param_name, gs_param_string *);
2926 int param_write_name(gs_param_list *, gs_param_name,
2927 const gs_param_string *);
2928 int param_read_int_array(gs_param_list *, gs_param_name,
2929 gs_param_int_array *);
2930 int param_write_int_array(gs_param_list *, gs_param_name,
2931 const gs_param_int_array *);
2932 int param_write_int_values(gs_param_list *, gs_param_name,
2933 const int *, uint, bool);
2934 int param_read_float_array(gs_param_list *, gs_param_name,
2935 gs_param_float_array *);
2936 int param_write_float_array(gs_param_list *, gs_param_name,
2937 const gs_param_float_array *);
2938 int param_write_float_values(gs_param_list *, gs_param_name,
2939 const float *, uint, bool);
2940 int param_read_string_array(gs_param_list *, gs_param_name,
2941 gs_param_string_array *);
2942 int param_write_string_array(gs_param_list *, gs_param_name,
2943 const gs_param_string_array *);
2944 int param_read_name_array(gs_param_list *, gs_param_name,
2945 gs_param_string_array *);
2946 int param_write_name_array(gs_param_list *, gs_param_name,
2947 const gs_param_string_array *);
2948 # 437 "./src/gsparam.h"
2949 struct gs_param_list_s {
2950 const gs_param_list_procs *procs; gs_memory_t *memory; bool persistent_keys;
2956 void gs_param_list_set_persist_keys(gs_param_list *, bool);
2959 void param_init_enumerator(gs_param_enumerator_t * penum);
2966 typedef struct gs_param_item_s {
2977 int gs_param_read_items(gs_param_list * plist, void *obj,
2978 const gs_param_item_t * items);
2979 int gs_param_write_items(gs_param_list * plist, const void *obj,
2980 const void *default_obj,
2981 const gs_param_item_t * items);
2984 void gs_param_list_init(gs_param_list *, const gs_param_list_procs *,
2992 int param_coerce_typed(gs_param_typed_value * pvalue,
2993 gs_param_type req_type, gs_memory_t * mem);
3001 int gs_param_request_default(gs_param_list *, gs_param_name);
3002 int gs_param_requested_default(const gs_param_list *, gs_param_name);
3003 # 518 "./src/gsparam.h"
3004 typedef struct gs_c_param_s gs_c_param;
3005 typedef struct gs_c_param_list_s {
3006 const gs_param_list_procs *procs; gs_memory_t *memory; bool persistent_keys;
3008 gs_param_list *target;
3011 gs_param_collection_type_t coll_type;
3013 # 538 "./src/gsparam.h"
3014 void gs_c_param_list_set_target(gs_c_param_list *, gs_param_list *);
3020 gs_c_param_list *gs_c_param_list_alloc(gs_memory_t *, client_name_t);
3021 void gs_c_param_list_write(gs_c_param_list *, gs_memory_t *);
3022 void gs_c_param_list_write_more(gs_c_param_list *);
3023 void gs_c_param_list_read(gs_c_param_list *);
3024 void gs_c_param_list_release(gs_c_param_list *);
3025 # 21 "./src/gdevpdfx.h" 2
3026 # 1 "./src/gsuid.h" 1
3027 # 24 "./src/gsuid.h"
3028 typedef struct gs_uid_s gs_uid;
3036 # 60 "./src/gsuid.h"
3037 bool uid_equal(const gs_uid *, const gs_uid *);
3040 int uid_copy(gs_uid *puid, gs_memory_t *mem, client_name_t cname);
3041 # 22 "./src/gdevpdfx.h" 2
3042 # 1 "./src/gxdevice.h" 1
3043 # 21 "./src/gxdevice.h"
3044 # 1 "./src/gxdevcli.h" 1
3045 # 21 "./src/gxdevcli.h"
3046 # 1 "./src/stdint_.h" 1
3047 # 41 "./src/stdint_.h"
3048 # 1 "/usr/include/stdint.h" 1 3 4
3049 # 28 "/usr/include/stdint.h" 3 4
3050 # 1 "/usr/include/bits/wordsize.h" 1 3 4
3051 # 29 "/usr/include/stdint.h" 2 3 4
3052 # 49 "/usr/include/stdint.h" 3 4
3053 typedef unsigned char uint8_t;
3054 typedef unsigned short int uint16_t;
3056 typedef unsigned int uint32_t;
3063 typedef unsigned long long int uint64_t;
3070 typedef signed char int_least8_t;
3071 typedef short int int_least16_t;
3072 typedef int int_least32_t;
3077 typedef long long int int_least64_t;
3081 typedef unsigned char uint_least8_t;
3082 typedef unsigned short int uint_least16_t;
3083 typedef unsigned int uint_least32_t;
3088 typedef unsigned long long int uint_least64_t;
3095 typedef signed char int_fast8_t;
3101 typedef int int_fast16_t;
3102 typedef int int_fast32_t;
3104 typedef long long int int_fast64_t;
3108 typedef unsigned char uint_fast8_t;
3114 typedef unsigned int uint_fast16_t;
3115 typedef unsigned int uint_fast32_t;
3117 typedef unsigned long long int uint_fast64_t;
3118 # 126 "/usr/include/stdint.h" 3 4
3119 typedef int intptr_t;
3122 typedef unsigned int uintptr_t;
3123 # 138 "/usr/include/stdint.h" 3 4
3125 typedef long long int intmax_t;
3127 typedef unsigned long long int uintmax_t;
3128 # 42 "./src/stdint_.h" 2
3129 # 22 "./src/gxdevcli.h" 2
3130 # 1 "./src/gscompt.h" 1
3131 # 39 "./src/gscompt.h"
3132 typedef struct gs_composite_s gs_composite_t;
3139 gs_id gs_composite_id(const gs_composite_t * pcte);
3140 # 23 "./src/gxdevcli.h" 2
3141 # 1 "./src/gsdcolor.h" 1
3142 # 20 "./src/gsdcolor.h"
3143 # 1 "./src/gsccolor.h" 1
3144 # 25 "./src/gsccolor.h"
3145 typedef struct gs_pattern_instance_s gs_pattern_instance_t;
3146 # 37 "./src/gsccolor.h"
3147 typedef struct gs_paint_color_s {
3148 float values[(8 * 8)];
3154 typedef struct gs_client_color_s gs_client_color;
3157 struct gs_client_color_s {
3158 gs_paint_color paint;
3159 gs_pattern_instance_t *pattern;
3162 extern const gs_memory_struct_type_t st_client_color;
3163 # 21 "./src/gsdcolor.h" 2
3164 # 1 "./src/gxarith.h" 1
3165 # 25 "./src/gxarith.h"
3166 int imod(int m, int n);
3169 int igcd(int x, int y);
3175 int idivmod(int a, int b, int m);
3181 # 22 "./src/gsdcolor.h" 2
3182 # 1 "./src/gxbitmap.h" 1
3183 # 21 "./src/gxbitmap.h"
3184 # 1 "./src/gsbitmap.h" 1
3185 # 52 "./src/gsbitmap.h"
3186 typedef gs_id gs_bitmap_id;
3187 # 73 "./src/gsbitmap.h"
3188 typedef struct gs_bitmap_s {
3189 byte * data; int raster; gs_int_point size; gs_bitmap_id id;
3191 typedef struct gs_const_bitmap_s {
3192 const byte * data; int raster; gs_int_point size; gs_bitmap_id id;
3194 # 94 "./src/gsbitmap.h"
3195 typedef struct gs_tile_bitmap_s {
3196 byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height;
3198 typedef struct gs_const_tile_bitmap_s {
3199 const byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height;
3200 } gs_const_tile_bitmap;
3201 # 122 "./src/gsbitmap.h"
3202 typedef struct gs_depth_bitmap_s {
3203 byte * data; int raster; gs_int_point size; gs_bitmap_id id; byte pix_depth; byte num_comps;
3205 typedef struct gs_const_depth_bitmap_s {
3206 const byte * data; int raster; gs_int_point size; gs_bitmap_id id; byte pix_depth; byte num_comps;
3207 } gs_const_depth_bitmap;
3214 typedef struct gs_tile_depth_bitmap_s {
3215 byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height; byte pix_depth; byte num_comps;
3216 } gs_tile_depth_bitmap;
3217 typedef struct gs_const_tile_depth_bitmap_s {
3218 const byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height; byte pix_depth; byte num_comps;
3219 } gs_const_tile_depth_bitmap;
3220 # 153 "./src/gsbitmap.h"
3221 extern const gs_memory_struct_type_t st_gs_bitmap;
3222 extern const gs_memory_struct_type_t st_gs_tile_bitmap;
3223 extern const gs_memory_struct_type_t st_gs_depth_bitmap;
3224 extern const gs_memory_struct_type_t st_gs_tile_depth_bitmap;
3225 # 22 "./src/gxbitmap.h" 2
3228 typedef gs_bitmap_id gx_bitmap_id;
3229 # 74 "./src/gxbitmap.h"
3230 typedef struct gx_bitmap_s {
3231 byte * data; int raster; gs_int_point size; gs_bitmap_id id;
3233 typedef struct gx_const_bitmap_s {
3234 const byte * data; int raster; gs_int_point size; gs_bitmap_id id;
3243 typedef struct gx_tile_bitmap_s {
3244 byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height;
3246 typedef struct gx_const_tile_bitmap_s {
3247 const byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height;
3248 } gx_const_tile_bitmap;
3249 # 135 "./src/gxbitmap.h"
3250 typedef struct gx_strip_bitmap_s {
3251 byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height; ushort rep_shift; ushort shift;
3253 typedef struct gx_const_strip_bitmap_s {
3254 const byte * data; int raster; gs_int_point size; gs_bitmap_id id; ushort rep_width, rep_height; ushort rep_shift; ushort shift;
3255 } gx_const_strip_bitmap;
3257 extern const gs_memory_struct_type_t st_gx_strip_bitmap;
3258 # 23 "./src/gsdcolor.h" 2
3259 # 1 "./src/gxhttile.h" 1
3260 # 30 "./src/gxhttile.h"
3261 typedef struct gx_ht_tile_s gx_ht_tile;
3265 struct gx_ht_tile_s {
3266 gx_strip_bitmap tiles;
3273 # 24 "./src/gsdcolor.h" 2
3274 # 1 "./src/gxcindex.h" 1
3275 # 20 "./src/gxcindex.h"
3276 # 1 "./src/gsbitops.h" 1
3277 # 270 "./src/gsbitops.h"
3278 void bits_fill_rectangle(byte * dest, int dest_bit, uint raster,
3279 uint pattern, int width_bits, int height);
3280 void bits_fill_rectangle_masked(byte * dest, int dest_bit, uint raster,
3281 uint pattern, uint src_mask,
3282 int width_bits, int height);
3285 void bits_replicate_horizontally(byte * data, uint width, uint height,
3286 uint raster, uint replicated_width, uint replicated_raster);
3289 void bits_replicate_vertically(byte * data, uint height, uint raster,
3290 uint replicated_height);
3293 void bits_bounding_box(const byte * data, uint height, uint raster,
3294 gs_int_rect * pbox);
3299 void bits_compress_scaled(const byte * src, int srcx, uint width,
3300 uint height, uint sraster, byte * dest, uint draster,
3301 const gs_log2_scale_point * plog2_scale, int log2_out_bits);
3304 typedef struct bits_plane_s {
3313 int bits_extract_plane(const bits_plane_t *dest ,
3314 const bits_plane_t *source , int shift, int width, int height);
3317 int bits_expand_plane(const bits_plane_t *dest ,
3318 const bits_plane_t *source , int shift, int width, int height);
3321 void bytes_fill_rectangle(byte * dest, uint raster,
3322 byte value, int width_bytes, int height);
3325 void bytes_copy_rectangle(byte * dest, uint dest_raster,
3326 const byte * src, uint src_raster, int width_bytes, int height);
3327 # 21 "./src/gxcindex.h" 2
3328 # 55 "./src/gxcindex.h"
3329 typedef unsigned long long gx_color_index_data;
3330 # 79 "./src/gxcindex.h"
3331 typedef gx_color_index_data gx_color_index;
3332 # 25 "./src/gsdcolor.h" 2
3333 # 1 "./src/gxwts.h" 1
3334 # 17 "./src/gxwts.h"
3335 typedef bits16 wts_screen_sample_t;
3339 typedef struct wts_screen_s wts_screen_t;
3348 struct wts_screen_s {
3349 wts_screen_type type;
3353 wts_screen_sample_t *samples;
3389 int wts_get_samples(const wts_screen_t *ws, int x, int y,
3390 wts_screen_sample_t **samples, int *p_nsamples);
3391 # 26 "./src/gsdcolor.h" 2
3395 typedef struct gx_device_color_s gx_device_color;
3400 typedef struct gx_device_color_saved_s gx_device_color_saved;
3405 typedef struct gx_device_halftone_s gx_device_halftone;
3406 # 87 "./src/gsdcolor.h"
3407 bool gx_device_color_equal(const gx_device_color *pdevc1,
3408 const gx_device_color *pdevc2);
3409 # 157 "./src/gsdcolor.h"
3410 void gx_complete_halftone(gx_device_color *pdevc, int num_comps,
3411 gx_device_halftone *pdht);
3412 # 183 "./src/gsdcolor.h"
3413 typedef struct gx_color_tile_s gx_color_tile;
3414 # 253 "./src/gsdcolor.h"
3415 typedef struct gx_device_color_type_s gx_device_color_type_t;
3416 typedef const gx_device_color_type_t *gx_device_color_type;
3418 struct gx_device_color_s {
3423 gx_device_color_type type;
3431 gx_color_index pure;
3433 const gx_device_halftone *b_ht;
3434 gx_color_index color[2];
3440 gx_device_halftone *c_ht;
3441 ushort num_components;
3442 byte c_base[(8 * 8)];
3443 uint c_level[(8 * 8)];
3451 gx_color_index plane_mask;
3456 const gx_device_halftone *w_ht;
3457 wts_screen_sample_t levels[(8 * 8)];
3458 ushort num_components;
3461 gx_color_index plane_vector[(8 * 8)];
3464 gx_color_tile *p_tile;
3482 gs_client_color ccolor;
3489 gx_color_tile *m_tile;
3492 # 374 "./src/gsdcolor.h"
3493 struct gx_device_color_saved_s {
3494 gx_device_color_type type;
3496 gx_color_index pure;
3498 gx_color_index b_color[2];
3503 byte c_base[(8 * 8)];
3504 uint c_level[(8 * 8)];
3508 wts_screen_sample_t levels[(8 * 8)];
3521 # 414 "./src/gsdcolor.h"
3522 extern const gx_device_color_type_t *const gx_dc_type_none;
3525 extern const gx_device_color_type_t *const gx_dc_type_null;
3528 extern const gx_device_color_type_t *const gx_dc_type_pure;
3529 # 430 "./src/gsdcolor.h"
3530 extern const gx_device_color_type_t *const gx_dc_type_ht_binary;
3533 extern const gx_device_color_type_t *const gx_dc_type_ht_colored;
3536 extern const gx_device_color_type_t *const gx_dc_type_wts;
3537 # 24 "./src/gxdevcli.h" 2
3538 # 1 "./src/gsmatrix.h" 1
3539 # 26 "./src/gsmatrix.h"
3540 struct gs_matrix_s {
3541 float xx, xy, yx, yy, tx, ty;
3546 typedef struct gs_matrix_s gs_matrix;
3547 # 50 "./src/gsmatrix.h"
3548 void gs_make_identity(gs_matrix *);
3549 int gs_make_translation(floatp, floatp, gs_matrix *),
3550 gs_make_scaling(floatp, floatp, gs_matrix *),
3551 gs_make_rotation(floatp, gs_matrix *);
3554 int gs_matrix_multiply(const gs_matrix *, const gs_matrix *, gs_matrix *),
3555 gs_matrix_invert(const gs_matrix *, gs_matrix *),
3556 gs_matrix_translate(const gs_matrix *, floatp, floatp, gs_matrix *),
3557 gs_matrix_scale(const gs_matrix *, floatp, floatp, gs_matrix *),
3558 gs_matrix_rotate(const gs_matrix *, floatp, gs_matrix *);
3561 int gs_point_transform(floatp, floatp, const gs_matrix *, gs_point *),
3562 gs_point_transform_inverse(floatp, floatp, const gs_matrix *, gs_point *),
3563 gs_distance_transform(floatp, floatp, const gs_matrix *, gs_point *),
3564 gs_distance_transform_inverse(floatp, floatp, const gs_matrix *, gs_point *),
3565 gs_points_bbox(const gs_point[4], gs_rect *),
3566 gs_bbox_transform_only(const gs_rect *, const gs_matrix *, gs_point[4]),
3567 gs_bbox_transform(const gs_rect *, const gs_matrix *, gs_rect *),
3568 gs_bbox_transform_inverse(const gs_rect *, const gs_matrix *, gs_rect *);
3575 int sget_matrix(stream *, gs_matrix *);
3576 int sput_matrix(stream *, const gs_matrix *);
3577 # 25 "./src/gxdevcli.h" 2
3578 # 1 "./src/gsiparam.h" 1
3579 # 43 "./src/gsiparam.h"
3580 typedef struct gx_image_type_s gx_image_type_t;
3581 # 52 "./src/gsiparam.h"
3582 typedef struct gs_image_common_s {
3583 const gx_image_type_t *type; gs_matrix ImageMatrix;
3584 } gs_image_common_t;
3585 # 120 "./src/gsiparam.h"
3586 typedef struct gs_data_image_s {
3587 const gx_image_type_t *type; gs_matrix ImageMatrix; int Width; int Height; int BitsPerComponent; float Decode[((8 * 8) + 1) * 2]; bool Interpolate;
3589 # 143 "./src/gsiparam.h"
3592 gs_image_format_chunky = 0,
3594 gs_image_format_component_planar = 1,
3596 gs_image_format_bit_planar = 2
3597 } gs_image_format_t;
3602 typedef struct gs_color_space_s gs_color_space;
3603 # 175 "./src/gsiparam.h"
3604 typedef struct gs_pixel_image_s {
3605 const gx_image_type_t *type; gs_matrix ImageMatrix; int Width; int Height; int BitsPerComponent; float Decode[((8 * 8) + 1) * 2]; bool Interpolate; gs_image_format_t format; const gs_color_space *ColorSpace; bool CombineWithColor;
3608 extern const gs_memory_struct_type_t st_gs_pixel_image;
3609 # 189 "./src/gsiparam.h"
3612 gs_image_alpha_none = 0,
3614 gs_image_alpha_first,
3619 typedef struct gs_image1_s {
3620 const gx_image_type_t *type; gs_matrix ImageMatrix; int Width; int Height; int BitsPerComponent; float Decode[((8 * 8) + 1) * 2]; bool Interpolate; gs_image_format_t format; const gs_color_space *ColorSpace; bool CombineWithColor;
3636 gs_image_alpha_t Alpha;
3640 extern const gs_memory_struct_type_t st_gs_image1;
3648 typedef gs_image1_t gs_image_t;
3649 # 236 "./src/gsiparam.h"
3654 gs_image_common_t_init(gs_image_common_t * pic),
3662 gs_data_image_t_init(gs_data_image_t * pim, int num_components),
3669 gs_pixel_image_t_init(gs_pixel_image_t * pim,
3670 const gs_color_space * color_space);
3671 # 270 "./src/gsiparam.h"
3672 void gs_image_t_init_adjust(gs_image_t * pim, const gs_color_space * pcs,
3676 void gs_image_t_init_mask_adjust(gs_image_t * pim, bool write_1s,
3678 # 26 "./src/gxdevcli.h" 2
3679 # 1 "./src/gsrefct.h" 1
3680 # 34 "./src/gsrefct.h"
3681 typedef struct rc_header_s rc_header;
3682 struct rc_header_s {
3684 gs_memory_t *memory;
3687 void (*free)(gs_memory_t *, void *, client_name_t);
3689 # 56 "./src/gsrefct.h"
3690 void rc_free_struct_only(gs_memory_t *, void *, client_name_t);
3691 # 27 "./src/gxdevcli.h" 2
3692 # 1 "./src/gsropt.h" 1
3693 # 41 "./src/gsropt.h"
3703 rop2_default = rop2_S
3705 # 60 "./src/gsropt.h"
3715 rop3_default = rop3_T | rop3_S
3717 # 159 "./src/gsropt.h"
3718 typedef uint gs_logical_operation_t;
3719 # 198 "./src/gsropt.h"
3720 typedef unsigned long rop_operand;
3721 typedef rop_operand (*rop_proc)(rop_operand D, rop_operand S, rop_operand T);
3736 extern const rop_proc rop_proc_table[256];
3739 extern const byte rop_usage_table[256];
3740 # 28 "./src/gxdevcli.h" 2
3741 # 1 "./src/gsstruct.h" 1
3742 # 83 "./src/gsstruct.h"
3743 typedef struct obj_header_s obj_header_t;
3751 struct gs_ptr_procs_s {
3757 void (*unmark)(enum_ptr_t *, gc_state_t *);
3764 bool (*mark)(enum_ptr_t *, gc_state_t *);
3765 # 114 "./src/gsstruct.h"
3766 void *(*reloc)(const void *, gc_state_t *);
3772 extern const gs_ptr_procs_t ptr_struct_procs;
3776 extern const gs_ptr_procs_t ptr_string_procs;
3778 extern const gs_ptr_procs_t ptr_const_string_procs;
3785 struct gs_gc_root_s {
3787 gs_ptr_type_t ptype;
3789 bool free_on_unregister;
3791 # 174 "./src/gsstruct.h"
3792 typedef struct gc_procs_common_s {
3793 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 *); void (*reloc_param_string)(gs_param_string *, gc_state_t *);
3794 } gc_procs_common_t;
3802 gs_ptr_type_t gs_no_struct_enum_ptrs(const gs_memory_t *mem, const void *ptr, uint size, int index, enum_ptr_t *pep, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
3803 void gs_no_struct_reloc_ptrs(void *ptr, uint size, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
3809 extern const gs_memory_struct_type_t st_free;
3813 extern const gs_memory_struct_type_t st_bytes;
3817 extern const gs_memory_struct_type_t st_gc_root_t;
3818 # 210 "./src/gsstruct.h"
3819 extern const gs_memory_struct_type_t st_const_string_element;
3820 # 231 "./src/gsstruct.h"
3825 } gc_ptr_type_index_t;
3827 typedef struct gc_ptr_element_s {
3831 # 255 "./src/gsstruct.h"
3832 typedef struct gc_struct_data_s {
3834 ushort super_offset;
3835 const gs_memory_struct_type_t *super_type;
3836 const gc_ptr_element_t *ptrs;
3838 # 278 "./src/gsstruct.h"
3839 gs_ptr_type_t basic_enum_ptrs(const gs_memory_t *mem, const void *ptr, uint size, int index, enum_ptr_t *pep, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
3840 void basic_reloc_ptrs(void *ptr, uint size, const gs_memory_struct_type_t *pstype, gc_state_t *gcst);
3841 # 360 "./src/gsstruct.h"
3842 extern gs_ptr_type_t
3843 enum_bytestring(enum_ptr_t *pep, const gs_bytestring *pbs);
3846 extern gs_ptr_type_t
3847 enum_const_bytestring(enum_ptr_t *pep, const gs_const_bytestring *pbs);
3848 # 418 "./src/gsstruct.h"
3849 extern void reloc_bytestring(gs_bytestring *pbs, gc_state_t *gcst);
3852 extern void reloc_const_bytestring(gs_const_bytestring *pbs, gc_state_t *gcst);
3853 # 29 "./src/gxdevcli.h" 2
3854 # 1 "./src/gstparam.h" 1
3855 # 24 "./src/gstparam.h"
3857 BLEND_MODE_Compatible,
3859 BLEND_MODE_Multiply,
3861 BLEND_MODE_Difference,
3864 BLEND_MODE_ColorDodge,
3865 BLEND_MODE_ColorBurn,
3866 BLEND_MODE_Exclusion,
3867 BLEND_MODE_HardLight,
3869 BLEND_MODE_SoftLight,
3870 BLEND_MODE_Luminosity,
3872 BLEND_MODE_Saturation,
3884 TRANSPARENCY_STATE_Group = 1,
3885 TRANSPARENCY_STATE_Mask
3886 } gs_transparency_state_type_t;
3890 typedef struct gs_transparency_state_s gs_transparency_state_t;
3891 struct gs_transparency_state_s {
3892 gs_transparency_state_t *saved; gs_transparency_state_type_t type;
3898 typedef struct gs_transparency_mask_s {
3900 } gs_transparency_mask_t;
3908 typedef struct gs_function_s gs_function_t;
3913 typedef struct gs_transparency_group_params_s {
3914 const gs_color_space *ColorSpace;
3917 } gs_transparency_group_params_t;
3921 TRANSPARENCY_MASK_Alpha,
3922 TRANSPARENCY_MASK_Luminosity
3923 } gs_transparency_mask_subtype_t;
3930 typedef struct gs_transparency_mask_params_s {
3931 gs_transparency_mask_subtype_t subtype;
3932 int Background_components;
3933 float Background[(8 * 8)];
3934 float GrayBackground;
3935 int (*TransferFunction)(floatp in, float *out, void *proc_data);
3936 gs_function_t *TransferFunction_data;
3937 } gs_transparency_mask_params_t;
3942 typedef struct gx_transparency_mask_params_s {
3943 gs_transparency_mask_subtype_t subtype;
3944 int Background_components;
3945 float Background[(8 * 8)];
3946 float GrayBackground;
3947 bool function_is_identity;
3948 byte transfer_fn[256];
3949 } gx_transparency_mask_params_t;
3953 TRANSPARENCY_CHANNEL_Opacity = 0,
3954 TRANSPARENCY_CHANNEL_Shape = 1
3955 } gs_transparency_channel_selector_t;
3956 # 30 "./src/gxdevcli.h" 2
3957 # 1 "./src/gsxfont.h" 1
3958 # 22 "./src/gsxfont.h"
3959 typedef ulong gx_xglyph;
3964 struct gx_xfont_procs_s;
3965 typedef struct gx_xfont_procs_s gx_xfont_procs;
3969 typedef struct gx_xfont_s gx_xfont;
3970 # 31 "./src/gxdevcli.h" 2
3973 # 1 "./src/gxcvalue.h" 1
3974 # 21 "./src/gxcvalue.h"
3975 typedef unsigned short gx_color_value;
3976 # 34 "./src/gxdevcli.h" 2
3977 # 1 "./src/gxfixed.h" 1
3978 # 25 "./src/gxfixed.h"
3980 typedef ulong ufixed;
3981 # 159 "./src/gxfixed.h"
3982 fixed fixed_mult_quo(fixed A, fixed B, fixed C);
3983 # 263 "./src/gxfixed.h"
3984 typedef struct gs_fixed_point_s {
3989 typedef struct gs_fixed_rect_s {
3990 gs_fixed_point p, q;
3992 # 35 "./src/gxdevcli.h" 2
3993 # 1 "./src/gxtext.h" 1
3994 # 20 "./src/gxtext.h"
3995 # 1 "./src/gstext.h" 1
3996 # 20 "./src/gstext.h"
3997 # 1 "./src/gsccode.h" 1
3998 # 25 "./src/gsccode.h"
3999 typedef ulong gs_char;
4000 # 72 "./src/gsccode.h"
4001 typedef ulong gs_glyph;
4002 # 90 "./src/gsccode.h"
4003 typedef bool (*gs_glyph_mark_proc_t)(const gs_memory_t *mem, gs_glyph glyph, void *proc_data);
4007 ENCODING_INDEX_UNKNOWN = -1,
4009 ENCODING_INDEX_STANDARD = 0,
4010 ENCODING_INDEX_ISOLATIN1,
4011 ENCODING_INDEX_SYMBOL,
4012 ENCODING_INDEX_DINGBATS,
4013 ENCODING_INDEX_WINANSI,
4014 ENCODING_INDEX_MACROMAN,
4015 ENCODING_INDEX_MACEXPERT,
4018 ENCODING_INDEX_MACGLYPH,
4019 ENCODING_INDEX_ALOGLYPH,
4020 ENCODING_INDEX_ALXGLYPH,
4021 ENCODING_INDEX_CFFSTRINGS
4023 } gs_encoding_index_t;
4024 # 123 "./src/gsccode.h"
4025 typedef enum gs_glyph_space_s {
4036 typedef int (*gs_glyph_name_proc_t)(const gs_memory_t *mem,
4037 gs_glyph glyph, gs_const_string *pstr,
4039 # 21 "./src/gstext.h" 2
4040 # 1 "./src/gscpm.h" 1
4041 # 20 "./src/gscpm.h"
4047 cpm_false_charboxpath,
4048 cpm_true_charboxpath
4049 } gs_char_path_mode;
4052 CACHE_DEVICE_NONE = 0,
4053 CACHE_DEVICE_NOT_CACHING,
4054 CACHE_DEVICE_NONE_AND_CLIP,
4055 CACHE_DEVICE_CACHING
4056 } gs_in_cache_device_t;
4057 # 22 "./src/gstext.h" 2
4058 # 95 "./src/gstext.h"
4059 typedef struct gs_text_params_s {
4064 const gs_char *chars;
4065 const gs_glyph *glyphs;
4073 gs_point delta_space;
4080 const float *x_widths;
4081 const float *y_widths;
4084 # 128 "./src/gstext.h"
4085 int gs_text_replaced_width(const gs_text_params_t *text, uint index,
4094 typedef struct gs_text_enum_s gs_text_enum_t;
4100 typedef struct gx_device_s gx_device;
4101 # 155 "./src/gstext.h"
4102 typedef struct gs_font_s gs_font;
4106 typedef struct gx_path_s gx_path;
4110 typedef struct gx_clip_path_s gx_clip_path;
4111 # 187 "./src/gstext.h"
4112 int gx_device_text_begin(gx_device *dev, gs_imager_state *pis, const gs_text_params_t *text, gs_font *font, gx_path *path, const gx_device_color *pdcolor, const gx_clip_path *pcpath, gs_memory_t *memory, gs_text_enum_t **ppte);
4119 int gs_text_begin(gs_state * pgs, const gs_text_params_t * text,
4120 gs_memory_t * mem, gs_text_enum_t ** ppenum);
4126 int gs_text_update_dev_color(gs_state * pgs, gs_text_enum_t * pte);
4131 gs_show_begin(gs_state *, const byte *, uint,
4132 gs_memory_t *, gs_text_enum_t **),
4133 gs_ashow_begin(gs_state *, floatp, floatp, const byte *, uint,
4134 gs_memory_t *, gs_text_enum_t **),
4135 gs_widthshow_begin(gs_state *, floatp, floatp, gs_char,
4137 gs_memory_t *, gs_text_enum_t **),
4138 gs_awidthshow_begin(gs_state *, floatp, floatp, gs_char,
4139 floatp, floatp, const byte *, uint,
4140 gs_memory_t *, gs_text_enum_t **),
4141 gs_kshow_begin(gs_state *, const byte *, uint,
4142 gs_memory_t *, gs_text_enum_t **),
4143 gs_xyshow_begin(gs_state *, const byte *, uint,
4144 const float *, const float *, uint,
4145 gs_memory_t *, gs_text_enum_t **),
4146 gs_glyphshow_begin(gs_state *, gs_glyph,
4147 gs_memory_t *, gs_text_enum_t **),
4148 gs_cshow_begin(gs_state *, const byte *, uint,
4149 gs_memory_t *, gs_text_enum_t **),
4150 gs_stringwidth_begin(gs_state *, const byte *, uint,
4151 gs_memory_t *, gs_text_enum_t **),
4152 gs_charpath_begin(gs_state *, const byte *, uint, bool,
4153 gs_memory_t *, gs_text_enum_t **),
4154 gs_glyphpath_begin(gs_state *, gs_glyph, bool,
4155 gs_memory_t *, gs_text_enum_t **),
4156 gs_glyphwidth_begin(gs_state *, gs_glyph,
4157 gs_memory_t *, gs_text_enum_t **),
4158 gs_charboxpath_begin(gs_state *, const byte *, uint, bool,
4159 gs_memory_t *, gs_text_enum_t **);
4164 int gs_text_restart(gs_text_enum_t *pte, const gs_text_params_t *text);
4169 int gs_text_resync(gs_text_enum_t *pte, const gs_text_enum_t *pfrom);
4170 # 276 "./src/gstext.h"
4171 int gs_text_process(gs_text_enum_t *pte);
4174 gs_font *gs_text_current_font(const gs_text_enum_t *pte);
4175 gs_char gs_text_current_char(const gs_text_enum_t *pte);
4176 gs_char gs_text_next_char(const gs_text_enum_t *pte);
4177 gs_glyph gs_text_current_glyph(const gs_text_enum_t *pte);
4178 int gs_text_total_width(const gs_text_enum_t *pte, gs_point *pwidth);
4185 bool gs_text_is_width_only(const gs_text_enum_t *pte);
4190 int gs_text_current_width(const gs_text_enum_t *pte, gs_point *pwidth);
4197 TEXT_SET_CHAR_WIDTH,
4198 TEXT_SET_CACHE_DEVICE,
4199 TEXT_SET_CACHE_DEVICE2
4200 } gs_text_cache_control_t;
4202 gs_text_set_cache(gs_text_enum_t *pte, const double *values,
4203 gs_text_cache_control_t control),
4204 gs_text_setcharwidth(gs_text_enum_t *pte, const double wxy[2]),
4205 gs_text_setcachedevice(gs_text_enum_t *pte, const double wbox[6]),
4206 gs_text_setcachedevice2(gs_text_enum_t *pte, const double wbox2[10]);
4209 int gs_text_retry(gs_text_enum_t *pte);
4212 void gs_text_release(gs_text_enum_t *pte, client_name_t cname);
4213 # 21 "./src/gxtext.h" 2
4217 typedef struct gs_text_enum_procs_s gs_text_enum_procs_t;
4221 typedef struct cached_fm_pair_s cached_fm_pair;
4227 typedef struct gs_text_returned_s {
4228 gs_char current_char;
4229 gs_glyph current_glyph;
4230 gs_point total_width;
4231 } gs_text_returned_t;
4232 # 54 "./src/gxtext.h"
4233 typedef struct gx_font_stack_item_s {
4236 } gx_font_stack_item_t;
4237 typedef struct gx_font_stack_s {
4239 gx_font_stack_item_t items[1 + 5];
4241 # 74 "./src/gxtext.h"
4242 void rc_free_text_enum(gs_memory_t *, void *, client_name_t);
4243 # 111 "./src/gxtext.h"
4244 struct gs_text_enum_s {
4245 gs_text_params_t text; gx_device *dev; gx_device *imaging_dev; gs_imager_state *pis; gs_font *orig_font; gx_path *path; const gx_device_color *pdcolor; const gx_clip_path *pcpath; gs_memory_t *memory; const gs_text_enum_procs_t *procs; rc_header rc; gs_font *current_font; gs_glyph outer_CID; bool is_pure_color; gs_log2_scale_point log2_scale; cached_fm_pair *pair; uint index; uint xy_index; gx_font_stack_t fstack; int cmap_code; gs_point FontBBox_as_Metrics2; ulong text_enum_id; bool device_disabled_grid_fitting; gs_text_returned_t returned;
4247 # 163 "./src/gxtext.h"
4248 int gs_text_enum_init(gs_text_enum_t *pte,
4249 const gs_text_enum_procs_t *procs,
4250 gx_device *dev, gs_imager_state *pis,
4251 const gs_text_params_t *text,
4252 gs_font *font, gx_path *path,
4253 const gx_device_color *pdcolor,
4254 const gx_clip_path *pcpath,
4263 void gs_text_enum_copy_dynamic(gs_text_enum_t *pto,
4264 const gs_text_enum_t *pfrom,
4266 # 211 "./src/gxtext.h"
4267 struct gs_text_enum_procs_s {
4268 # 224 "./src/gxtext.h"
4269 int (*resync)(gs_text_enum_t *pte, const gs_text_enum_t *pfrom);
4270 # 254 "./src/gxtext.h"
4271 int (*process)(gs_text_enum_t *pte);
4272 # 265 "./src/gxtext.h"
4273 bool (*is_width_only)(const gs_text_enum_t *pte);
4274 # 274 "./src/gxtext.h"
4275 int (*current_width)(const gs_text_enum_t *pte, gs_point *pwidth);
4276 # 285 "./src/gxtext.h"
4277 int (*set_cache)(gs_text_enum_t *pte, const double *values, gs_text_cache_control_t control);
4278 # 295 "./src/gxtext.h"
4279 int (*retry)(gs_text_enum_t *pte);
4280 # 306 "./src/gxtext.h"
4281 void (*release)(gs_text_enum_t *pte, client_name_t cname);
4286 void gx_default_text_release(gs_text_enum_t *pte, client_name_t cname);
4287 # 36 "./src/gxdevcli.h" 2
4288 # 1 "./src/gxcmap.h" 1
4289 # 21 "./src/gxcmap.h"
4290 # 1 "./src/gscsel.h" 1
4291 # 25 "./src/gscsel.h"
4293 gs_color_select_all = -1,
4294 gs_color_select_texture = 0,
4295 gs_color_select_source = 1
4296 } gs_color_select_t;
4297 # 22 "./src/gxcmap.h" 2
4298 # 1 "./src/gxfmap.h" 1
4299 # 22 "./src/gxfmap.h"
4300 # 1 "./src/gxfrac.h" 1
4301 # 25 "./src/gxfrac.h"
4303 typedef short signed_frac;
4304 # 23 "./src/gxfmap.h" 2
4305 # 1 "./src/gxtmap.h" 1
4306 # 27 "./src/gxtmap.h"
4307 typedef struct gx_transfer_map_s gx_transfer_map;
4313 typedef float (*gs_mapping_proc) (floatp, const gx_transfer_map *);
4319 typedef float (*gs_mapping_closure_proc_t) (floatp value,
4320 const gx_transfer_map * pmap,
4321 const void *proc_data);
4322 typedef struct gs_mapping_closure_s {
4323 gs_mapping_closure_proc_t proc;
4325 } gs_mapping_closure_t;
4326 # 24 "./src/gxfmap.h" 2
4327 # 39 "./src/gxfmap.h"
4328 struct gx_transfer_map_s {
4330 gs_mapping_proc proc;
4331 gs_mapping_closure_t closure;
4334 frac values[(1 << 8)];
4337 extern const gs_memory_struct_type_t st_transfer_map;
4343 void gx_set_identity_transfer(gx_transfer_map *);
4344 # 63 "./src/gxfmap.h"
4345 frac gx_color_frac_map(frac, const frac *);
4346 # 97 "./src/gxfmap.h"
4347 float gs_mapped_transfer(floatp, const gx_transfer_map *);
4352 float gs_identity_transfer(floatp, const gx_transfer_map *);
4353 # 23 "./src/gxcmap.h" 2
4354 # 85 "./src/gxcmap.h"
4355 struct gx_cm_color_map_procs_s {
4356 void (*map_gray) (gx_device * dev, frac gray, frac * out);
4357 void (*map_rgb) (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4358 void (*map_cmyk) (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4361 typedef struct gx_cm_color_map_procs_s gx_cm_color_map_procs;
4366 void gray_cs_to_gray_cm (gx_device * dev, frac gray, frac * out);
4367 void rgb_cs_to_rgb_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4368 void cmyk_cs_to_cmyk_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4369 # 112 "./src/gxcmap.h"
4370 struct gx_color_map_procs_s {
4371 void (*map_gray)(frac, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4372 void (*map_rgb)(frac, frac, frac, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4373 void (*map_cmyk)(frac, frac, frac, frac, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4374 void (*map_rgb_alpha)(frac, frac, frac, frac, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4375 void (*map_separation)(frac, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4376 void (*map_devicen)(const frac *, gx_device_color *, const gs_imager_state *, gx_device *, gs_color_select_t);
4377 bool (*is_halftoned)(const gs_imager_state *, gx_device *);
4379 typedef struct gx_color_map_procs_s gx_color_map_procs;
4386 const gx_color_map_procs *
4387 gx_get_cmap_procs(const gs_imager_state *, const gx_device *);
4388 const gx_color_map_procs *
4389 gx_default_get_cmap_procs(const gs_imager_state *, const gx_device *);
4396 void gx_set_cmap_procs(gs_imager_state *, const gx_device *);
4397 # 163 "./src/gxcmap.h"
4398 extern void gx_default_gray_cs_to_gray_cm (gx_device * dev, frac gray, frac * out);
4399 extern void gx_default_rgb_cs_to_gray_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4400 extern void gx_default_cmyk_cs_to_gray_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4402 extern void gx_default_gray_cs_to_rgb_cm (gx_device * dev, frac gray, frac * out);
4403 extern void gx_default_rgb_cs_to_rgb_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4404 extern void gx_default_cmyk_cs_to_rgb_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4406 extern void gx_default_gray_cs_to_cmyk_cm (gx_device * dev, frac gray, frac * out);
4407 extern void gx_default_rgb_cs_to_cmyk_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4408 extern void gx_default_cmyk_cs_to_cmyk_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4410 extern void gx_default_gray_cs_to_cmyk_cm (gx_device * dev, frac gray, frac * out);
4411 extern void gx_default_rgb_cs_to_cmyk_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4412 extern void gx_default_cmyk_cs_to_cmyk_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4414 extern void gx_error_gray_cs_to_cmyk_cm (gx_device * dev, frac gray, frac * out);
4415 extern void gx_error_rgb_cs_to_cmyk_cm (gx_device * dev, const gs_imager_state *pis, frac r, frac g, frac b, frac * out);
4416 extern void gx_error_cmyk_cs_to_cmyk_cm (gx_device * dev, frac c, frac m, frac y, frac k, frac * out);
4417 # 238 "./src/gxcmap.h"
4418 int (gx_error_get_color_comp_index)(gx_device * dev, const char * pname, int name_size, int component_type);
4419 int (gx_default_DevGray_get_color_comp_index)(gx_device * dev, const char * pname, int name_size, int component_type);
4420 int (gx_default_DevRGB_get_color_comp_index)(gx_device * dev, const char * pname, int name_size, int component_type);
4421 int (gx_default_DevCMYK_get_color_comp_index)(gx_device * dev, const char * pname, int name_size, int component_type);
4422 int (gx_default_DevRGBK_get_color_comp_index)(gx_device * dev, const char * pname, int name_size, int component_type);
4428 const gx_cm_color_map_procs * (gx_error_get_color_mapping_procs)(const gx_device * dev);
4429 const gx_cm_color_map_procs * (gx_default_DevGray_get_color_mapping_procs)(const gx_device * dev);
4430 const gx_cm_color_map_procs * (gx_default_DevRGB_get_color_mapping_procs)(const gx_device * dev);
4431 const gx_cm_color_map_procs * (gx_default_DevCMYK_get_color_mapping_procs)(const gx_device * dev);
4432 const gx_cm_color_map_procs * (gx_default_DevRGBK_get_color_mapping_procs)(const gx_device * dev);
4438 gx_color_index (gx_error_encode_color)(gx_device * dev, const gx_color_value colors[]);
4439 gx_color_index (gx_default_encode_color)(gx_device * dev, const gx_color_value colors[]);
4445 gx_color_index (gx_default_gray_fast_encode)(gx_device * dev, const gx_color_value colors[]);
4446 gx_color_index (gx_default_gray_encode)(gx_device * dev, const gx_color_value colors[]);
4453 gx_color_index (gx_backwards_compatible_gray_encode)(gx_device * dev, const gx_color_value colors[]);
4459 int (gx_error_decode_color)(gx_device * dev, gx_color_index cindex, gx_color_value colors[]);
4460 int (gx_default_decode_color)(gx_device * dev, gx_color_index cindex, gx_color_value colors[]);
4461 # 37 "./src/gxdevcli.h" 2
4462 # 1 "./src/gsnamecl.h" 1
4463 # 38 "./src/gsnamecl.h"
4464 typedef struct named_color_params_s {
4469 bool use_named_color_callback;
4470 # 52 "./src/gsnamecl.h"
4471 int color_index[(8 * 8)];
4472 } named_color_params_t;
4473 # 93 "./src/gsnamecl.h"
4474 int named_color_put_params(gx_device * dev, gs_param_list * plist);
4475 # 102 "./src/gsnamecl.h"
4476 int named_color_get_params(gx_device * dev, gs_param_list * plist);
4482 bool named_color_install_Separation(gs_color_space * pcs, gs_state * pgs);
4488 bool named_color_install_DeviceN(gs_color_space * pcs, gs_state * pgs);
4494 int gx_remap_concrete_named_color_Separation(const frac * pconc,
4495 const gs_color_space * pcs, gx_device_color * pdc,
4496 const gs_imager_state * pis, gx_device * dev, gs_color_select_t select);
4502 int gx_remap_concrete_named_color_DeviceN(const frac * pconc,
4503 const gs_color_space * pcs, gx_device_color * pdc,
4504 const gs_imager_state * pis, gx_device * dev, gs_color_select_t select);
4505 # 143 "./src/gsnamecl.h"
4506 typedef struct client_named_color_params_s {
4507 struct client_named_color_procs_s * client_procs;
4509 } client_named_color_params_t;
4514 typedef struct client_named_color_procs_s {
4519 bool (* install_Separation)(client_named_color_params_t * pparams,
4520 gs_color_space * pcs, gs_state * pgs);
4524 int (* remap_Separation)(client_named_color_params_t * pparams,
4525 const frac * pconc, const gs_color_space * pcs,
4526 gx_device_color * pdc, const gs_imager_state * pis,
4527 gx_device * dev, gs_color_select_t select);
4532 bool (* install_DeviceN)(client_named_color_params_t * pparams,
4533 gs_color_space * pcs, gs_state * pgs);
4537 int (* remap_DeviceN)(client_named_color_params_t * pparams, const frac * pconc,
4538 const gs_color_space * pcs, gx_device_color * pdc,
4539 const gs_imager_state * pis, gx_device * dev,
4540 gs_color_select_t select);
4542 } client_named_color_procs_t;
4543 # 38 "./src/gxdevcli.h" 2
4544 # 134 "./src/gxdevcli.h"
4545 typedef struct gx_fill_params_s gx_fill_params;
4549 typedef struct gx_stroke_params_s gx_stroke_params;
4550 # 149 "./src/gxdevcli.h"
4551 typedef struct gx_image_enum_common_s gx_image_enum_common_t;
4558 typedef struct gs_pattern1_instance_s gs_pattern1_instance_t;
4563 typedef gx_device_color gx_drawing_color;
4570 } graphics_object_type;
4573 typedef struct gs_fixed_edge_s {
4574 gs_fixed_point start;
4581 typedef struct gs_get_bits_params_s gs_get_bits_params_t;
4585 typedef struct gx_device_anti_alias_info_s {
4588 } gx_device_anti_alias_info;
4590 typedef int32_t frac31;
4595 typedef struct gs_linear_color_edge_s {
4596 gs_fixed_point start;
4598 const frac31 *c0, *c1;
4600 } gs_linear_color_edge;
4601 # 227 "./src/gxdevcli.h"
4603 GX_CINFO_UNKNOWN_SEP_LIN = -1,
4604 GX_CINFO_SEP_LIN_NONE = 0,
4606 } gx_color_enc_sep_lin_t;
4613 GX_CINFO_POLARITY_UNKNOWN = -1,
4614 GX_CINFO_POLARITY_SUBTRACTIVE = 0,
4615 GX_CINFO_POLARITY_ADDITIVE
4616 } gx_color_polarity_t;
4617 # 261 "./src/gxdevcli.h"
4619 GX_CINFO_OPMODE_UNKNOWN = -1,
4620 GX_CINFO_OPMODE_NOT = 0,