Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154115 Details for
Bug 239003
internal compiler error: in set_variable_part, at var-tracking.c:1981
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
bit-ops.c (pre-processed)
bit-ops.c (text/x-csrc), 160.37 KB, created by
Tim Waugh
on 2007-05-04 13:08:32 UTC
(
hide
)
Description:
bit-ops.c (pre-processed)
Filename:
MIME Type:
Creator:
Tim Waugh
Created:
2007-05-04 13:08:32 UTC
Size:
160.37 KB
patch
obsolete
>// /usr/libexec/gcc/ppc64-redhat-linux/4.1.2/cc1 -quiet -I. -I. -I../.. -I../../include -I../../include -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix -DHAVE_CONFIG_H -Disfinite=finite -DPIC -D_FORTIFY_SOURCE=2 bit-ops.c -msecure-plt -quiet -dumpbase bit-ops.c -m64 -mminimal-toc -auxbase-strip .libs/bit-ops.o -g -O2 -O6 -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -Wall -finline-limit=1048576 -fexceptions -fstack-protector -fPIC --param ssp-buffer-size=4 -o - -frandom-seed=0 ># 1 "bit-ops.c" ># 1 "/builddir/build/BUILD/gutenprint-5.0.0.99.1/src/main//" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "bit-ops.c" ># 29 "bit-ops.c" ># 1 "../../config.h" 1 ># 30 "bit-ops.c" 2 > ># 1 "/usr/include/string.h" 1 3 4 ># 26 "/usr/include/string.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 329 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 324 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 325 "/usr/include/sys/cdefs.h" 2 3 4 ># 330 "/usr/include/features.h" 2 3 4 ># 352 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 2 3 4 ># 353 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/string.h" 2 3 4 > > > > > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 82 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > ># 130 "/usr/include/string.h" 3 4 >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 181 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 240 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 254 "/usr/include/string.h" 3 4 > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 270 "/usr/include/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 294 "/usr/include/string.h" 3 4 >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 331 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 354 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 420 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 421 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 80 "/usr/include/bits/string2.h" 3 4 >typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2; >typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3; >typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4; >typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5; >typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6; >typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7; >typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8; ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1173 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > *__nextp = __s; > } > return __result; >} ># 1205 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1223 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1299 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 587 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > ># 977 "/usr/include/stdlib.h" 3 4 > ># 1300 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1323 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 424 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 47 "/usr/include/bits/string3.h" 3 4 >static __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) __memcpy_ichk (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > > > > > > >static __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) __memmove_ichk (void *__dest, __const void *__src, size_t __len) >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 85 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void); > > > > > > > >static __inline __attribute__ ((__always_inline__)) void * >__attribute__ ((__nothrow__)) __memset_ichk (void *__dest, int __ch, size_t __len) >{ > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} ># 115 "/usr/include/bits/string3.h" 3 4 >static __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) __strcpy_ichk (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} ># 139 "/usr/include/bits/string3.h" 3 4 >static __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) __strncpy_ichk (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} > > > >extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n, > size_t __destlen) __attribute__ ((__nothrow__)); >extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__)); > > > >extern __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) >{ > if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1))) > return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); > return __stpncpy_alias (__dest, __src, __n); >} > > > > > > >static __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) __strcat_ichk (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > > > > > >static __inline __attribute__ ((__always_inline__)) char * >__attribute__ ((__nothrow__)) __strncat_ichk (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 429 "/usr/include/string.h" 2 3 4 > > > > ># 32 "bit-ops.c" 2 ># 1 "../../include/gutenprint/gutenprint.h" 1 ># 46 "../../include/gutenprint/gutenprint.h" ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 152 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 326 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef int wchar_t; ># 47 "../../include/gutenprint/gutenprint.h" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 134 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 135 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 355 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 167 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 177 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 200 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 268 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 316 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 325 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 361 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 413 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); >extern wint_t __wunderflow (_IO_FILE *); >extern wint_t __wuflow (_IO_FILE *); >extern wint_t __woverflow (_IO_FILE *, wint_t); ># 451 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 481 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 76 "/usr/include/stdio.h" 2 3 4 ># 89 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > ># 141 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 142 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > > > > > > >extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); ># 188 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 206 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 231 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 245 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); ># 274 "/usr/include/stdio.h" 3 4 > ># 285 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 306 "/usr/include/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 400 "/usr/include/stdio.h" 3 4 > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > > > > >extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > ># 442 "/usr/include/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 466 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 477 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 510 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > __attribute__ ((__warn_unused_result__)); > > > > > > >extern char *gets (char *__s) __attribute__ ((__warn_unused_result__)); > ># 591 "/usr/include/stdio.h" 3 4 > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__)); > ># 644 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)); > > > > >extern void rewind (FILE *__stream); > ># 680 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__)); ># 699 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 722 "/usr/include/stdio.h" 3 4 > ># 731 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 761 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 780 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__)); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); ># 820 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 841 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 111 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 842 "/usr/include/stdio.h" 2 3 4 > > ># 1 "/usr/include/bits/stdio2.h" 1 3 4 ># 24 "/usr/include/bits/stdio2.h" 3 4 >extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); >extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, > __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); ># 38 "/usr/include/bits/stdio2.h" 3 4 >extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > ...) __attribute__ ((__nothrow__)); >extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, > size_t __slen, __const char *__restrict __format, > __gnuc_va_list __ap) __attribute__ ((__nothrow__)); ># 56 "/usr/include/bits/stdio2.h" 3 4 >extern int __fprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, ...); >extern int __printf_chk (int __flag, __const char *__restrict __format, ...); >extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, > __const char *__restrict __format, __gnuc_va_list __ap); >extern int __vprintf_chk (int __flag, __const char *__restrict __format, > __gnuc_va_list __ap); ># 86 "/usr/include/bits/stdio2.h" 3 4 >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_alias (char *__str) __asm__ ("" "gets") __attribute__ ((__warn_unused_result__)); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >gets (char *__str) >{ > if (__builtin_object_size (__str, 2 > 1) != (size_t) -1) > return __gets_chk (__str, __builtin_object_size (__str, 2 > 1)); > return __gets_alias (__str); >} > >extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)); > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__n) || (size_t) __n > __builtin_object_size (__s, 2 > 1))) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > return __fgets_alias (__s, __n, __stream); >} ># 845 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 48 "../../include/gutenprint/gutenprint.h" 2 > ># 1 "../../include/gutenprint/array.h" 1 ># 38 "../../include/gutenprint/array.h" ># 1 "../../include/gutenprint/sequence.h" 1 ># 48 "../../include/gutenprint/sequence.h" >struct stp_sequence; > >typedef struct stp_sequence stp_sequence_t; > > > > > >extern stp_sequence_t *stp_sequence_create(void); > > > > > > >extern void stp_sequence_destroy(stp_sequence_t *sequence); ># 72 "../../include/gutenprint/sequence.h" >extern void stp_sequence_copy(stp_sequence_t *dest, > const stp_sequence_t *source); ># 83 "../../include/gutenprint/sequence.h" >extern stp_sequence_t *stp_sequence_create_copy(const stp_sequence_t *sequence); ># 95 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_bounds(stp_sequence_t *sequence, > double low, double high); ># 106 "../../include/gutenprint/sequence.h" >extern void stp_sequence_get_bounds(const stp_sequence_t *sequence, > double *low, double *high); ># 118 "../../include/gutenprint/sequence.h" >extern void stp_sequence_get_range(const stp_sequence_t *sequence, > double *low, double *high); ># 129 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_size(stp_sequence_t *sequence, size_t size); > > > > > >extern size_t stp_sequence_get_size(const stp_sequence_t *sequence); ># 145 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_data(stp_sequence_t *sequence, > size_t count, > const double *data); ># 159 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_subrange(stp_sequence_t *sequence, > size_t where, size_t size, > const double *data); ># 177 "../../include/gutenprint/sequence.h" >extern void stp_sequence_get_data(const stp_sequence_t *sequence, > size_t *size, const double **data); ># 187 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_point(stp_sequence_t *sequence, > size_t where, double data); ># 197 "../../include/gutenprint/sequence.h" >extern int stp_sequence_get_point(const stp_sequence_t *sequence, > size_t where, double *data); ># 209 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_float_data(stp_sequence_t *sequence, > size_t count, const float *data); ># 220 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_long_data(stp_sequence_t *sequence, > size_t count, const long *data); ># 231 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_ulong_data(stp_sequence_t *sequence, > size_t count, const unsigned long *data); ># 242 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_int_data(stp_sequence_t *sequence, > size_t count, const int *data); ># 253 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_uint_data(stp_sequence_t *sequence, > size_t count, const unsigned int *data); ># 264 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_short_data(stp_sequence_t *sequence, > size_t count, const short *data); ># 275 "../../include/gutenprint/sequence.h" >extern int stp_sequence_set_ushort_data(stp_sequence_t *sequence, > size_t count, const unsigned short *data); ># 290 "../../include/gutenprint/sequence.h" >extern const float *stp_sequence_get_float_data(const stp_sequence_t *sequence, > size_t *count); ># 305 "../../include/gutenprint/sequence.h" >extern const long *stp_sequence_get_long_data(const stp_sequence_t *sequence, > size_t *count); ># 320 "../../include/gutenprint/sequence.h" >extern const unsigned long *stp_sequence_get_ulong_data(const stp_sequence_t *sequence, > size_t *count); ># 335 "../../include/gutenprint/sequence.h" >extern const int *stp_sequence_get_int_data(const stp_sequence_t *sequence, > size_t *count); ># 350 "../../include/gutenprint/sequence.h" >extern const unsigned int *stp_sequence_get_uint_data(const stp_sequence_t *sequence, > size_t *count); ># 365 "../../include/gutenprint/sequence.h" >extern const short *stp_sequence_get_short_data(const stp_sequence_t *sequence, > size_t *count); ># 380 "../../include/gutenprint/sequence.h" >extern const unsigned short *stp_sequence_get_ushort_data(const stp_sequence_t *sequence, > size_t *count); ># 39 "../../include/gutenprint/array.h" 2 ># 50 "../../include/gutenprint/array.h" >struct stp_array; > >typedef struct stp_array stp_array_t; ># 61 "../../include/gutenprint/array.h" >extern stp_array_t *stp_array_create(int x_size, int y_size); > > > > > > >extern void stp_array_destroy(stp_array_t *array); ># 77 "../../include/gutenprint/array.h" >extern void stp_array_copy(stp_array_t *dest, const stp_array_t *source); ># 87 "../../include/gutenprint/array.h" >extern stp_array_t *stp_array_create_copy(const stp_array_t *array); ># 96 "../../include/gutenprint/array.h" >extern void stp_array_set_size(stp_array_t *array, int x_size, int y_size); ># 106 "../../include/gutenprint/array.h" >extern void stp_array_get_size(const stp_array_t *array, int *x_size, int *y_size); ># 115 "../../include/gutenprint/array.h" >extern void stp_array_set_data(stp_array_t *array, const double *data); ># 131 "../../include/gutenprint/array.h" >extern void stp_array_get_data(const stp_array_t *array, size_t *size, > const double **data); ># 142 "../../include/gutenprint/array.h" >extern int stp_array_set_point(stp_array_t *array, int x, int y, > double data); ># 153 "../../include/gutenprint/array.h" >extern int stp_array_get_point(const stp_array_t *array, int x, int y, > double *data); > > > > > > >extern const stp_sequence_t *stp_array_get_sequence(const stp_array_t *array); ># 50 "../../include/gutenprint/gutenprint.h" 2 ># 1 "../../include/gutenprint/curve.h" 1 ># 33 "../../include/gutenprint/curve.h" ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 182 "/usr/include/stdlib.h" 3 4 > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > ># 279 "/usr/include/stdlib.h" 3 4 >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern __inline double >__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > ># 364 "/usr/include/stdlib.h" 3 4 >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 429 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; ># 62 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; ># 100 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 217 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 24 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 ># 235 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 270 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 25 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 51 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 77 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; ># 102 "/usr/include/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __pad1; > unsigned long int __pad2; > unsigned long int __pad3; > > > unsigned int __flags; > } __data; ># 185 "/usr/include/bits/pthreadtypes.h" 3 4 > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > > ># 439 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 597 "/usr/include/stdlib.h" 3 4 > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 613 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > ># 658 "/usr/include/stdlib.h" 3 4 > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 698 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 709 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 729 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > > >extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); > ># 756 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > > > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 821 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 926 "/usr/include/stdlib.h" 3 4 >extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); ># 961 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > ># 1 "/usr/include/bits/stdlib.h" 1 3 4 ># 24 "/usr/include/bits/stdlib.h" 3 4 >extern char *__realpath_chk (__const char *__restrict __name, > char *__restrict __resolved, > size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved) >{ > if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1) > return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1)); > > return __realpath_alias (__name, __resolved); >} > > >extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); >extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2))); > >extern __inline __attribute__ ((__always_inline__)) int >__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__buflen) || __buflen > __builtin_object_size (__buf, 2 > 1))) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > return __ptsname_r_alias (__fd, __buf, __buflen); >} > > >extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__warn_unused_result__)) int >__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar) >{ > > > > > > > > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) > return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); > return __wctomb_alias (__s, __wchar); >} > > >extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, > __const char *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__)); > > > > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__len) > || __len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > return __mbstowcs_alias (__dst, __src, __len); >} > > >extern size_t __wcstombs_chk (char *__restrict __dst, > __const wchar_t *__restrict __src, > size_t __len, size_t __dstlen) __attribute__ ((__nothrow__)); >extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__)); > > > > >extern __inline __attribute__ ((__always_inline__)) size_t >__attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) > >{ > if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1 > && (!__builtin_constant_p (__len) || __len > __builtin_object_size (__dst, 2 > 1))) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > return __wcstombs_alias (__dst, __src, __len); >} ># 969 "/usr/include/stdlib.h" 2 3 4 ># 977 "/usr/include/stdlib.h" 3 4 > ># 34 "../../include/gutenprint/curve.h" 2 ># 61 "../../include/gutenprint/curve.h" >struct stp_curve; > >typedef struct stp_curve stp_curve_t; > > >typedef enum >{ > > STP_CURVE_TYPE_LINEAR, > > STP_CURVE_TYPE_SPLINE >} stp_curve_type_t; > > >typedef enum >{ > > STP_CURVE_WRAP_NONE, > > STP_CURVE_WRAP_AROUND >} stp_curve_wrap_mode_t; > > >typedef enum >{ > > STP_CURVE_COMPOSE_ADD, > > STP_CURVE_COMPOSE_MULTIPLY, > > STP_CURVE_COMPOSE_EXPONENTIATE >} stp_curve_compose_t; > > >typedef enum >{ > > STP_CURVE_BOUNDS_RESCALE, > > STP_CURVE_BOUNDS_CLIP, > > STP_CURVE_BOUNDS_ERROR >} stp_curve_bounds_t; > > >typedef struct >{ > > double x; > > double y; >} stp_curve_point_t; ># 126 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_create(stp_curve_wrap_mode_t wrap); ># 136 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_create_copy(const stp_curve_t *curve); ># 145 "../../include/gutenprint/curve.h" >extern void stp_curve_copy(stp_curve_t *dest, const stp_curve_t *source); > > > > > > >extern void stp_curve_destroy(stp_curve_t *curve); ># 164 "../../include/gutenprint/curve.h" >extern int stp_curve_set_bounds(stp_curve_t *curve, double low, double high); > > > > > > > >extern void stp_curve_get_bounds(const stp_curve_t *curve, > double *low, double *high); > > > > > > >extern stp_curve_wrap_mode_t stp_curve_get_wrap(const stp_curve_t *curve); > > > > > > >extern int stp_curve_is_piecewise(const stp_curve_t *curve); ># 197 "../../include/gutenprint/curve.h" >extern void stp_curve_get_range(const stp_curve_t *curve, > double *low, double *high); > > > > > > >extern size_t stp_curve_count_points(const stp_curve_t *curve); > > > > > > > >extern int stp_curve_set_interpolation_type(stp_curve_t *curve, > stp_curve_type_t itype); > > > > > > >extern stp_curve_type_t stp_curve_get_interpolation_type(const stp_curve_t *curve); ># 234 "../../include/gutenprint/curve.h" >extern int stp_curve_set_data(stp_curve_t *curve, size_t count, > const double *data); ># 250 "../../include/gutenprint/curve.h" >extern int stp_curve_set_data_points(stp_curve_t *curve, size_t count, > const stp_curve_point_t *data); ># 264 "../../include/gutenprint/curve.h" >extern int stp_curve_set_float_data(stp_curve_t *curve, > size_t count, const float *data); ># 278 "../../include/gutenprint/curve.h" >extern int stp_curve_set_long_data(stp_curve_t *curve, > size_t count, const long *data); ># 293 "../../include/gutenprint/curve.h" >extern int stp_curve_set_ulong_data(stp_curve_t *curve, > size_t count, const unsigned long *data); ># 307 "../../include/gutenprint/curve.h" >extern int stp_curve_set_int_data(stp_curve_t *curve, > size_t count, const int *data); ># 322 "../../include/gutenprint/curve.h" >extern int stp_curve_set_uint_data(stp_curve_t *curve, > size_t count, const unsigned int *data); ># 336 "../../include/gutenprint/curve.h" >extern int stp_curve_set_short_data(stp_curve_t *curve, > size_t count, const short *data); ># 351 "../../include/gutenprint/curve.h" >extern int stp_curve_set_ushort_data(stp_curve_t *curve, > size_t count, const unsigned short *data); ># 366 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_get_subrange(const stp_curve_t *curve, > size_t start, size_t count); ># 378 "../../include/gutenprint/curve.h" >extern int stp_curve_set_subrange(stp_curve_t *curve, const stp_curve_t *range, > size_t start); ># 391 "../../include/gutenprint/curve.h" >extern const double *stp_curve_get_data(const stp_curve_t *curve, size_t *count); ># 403 "../../include/gutenprint/curve.h" >extern const stp_curve_point_t *stp_curve_get_data_points(const stp_curve_t *curve, size_t *count); ># 415 "../../include/gutenprint/curve.h" >extern const float *stp_curve_get_float_data(const stp_curve_t *curve, > size_t *count); ># 427 "../../include/gutenprint/curve.h" >extern const long *stp_curve_get_long_data(const stp_curve_t *curve, > size_t *count); ># 439 "../../include/gutenprint/curve.h" >extern const unsigned long *stp_curve_get_ulong_data(const stp_curve_t *curve, > size_t *count); ># 451 "../../include/gutenprint/curve.h" >extern const int *stp_curve_get_int_data(const stp_curve_t *curve, > size_t *count); ># 463 "../../include/gutenprint/curve.h" >extern const unsigned int *stp_curve_get_uint_data(const stp_curve_t *curve, > size_t *count); ># 475 "../../include/gutenprint/curve.h" >extern const short *stp_curve_get_short_data(const stp_curve_t *curve, > size_t *count); ># 487 "../../include/gutenprint/curve.h" >extern const unsigned short *stp_curve_get_ushort_data(const stp_curve_t *curve, > size_t *count); ># 498 "../../include/gutenprint/curve.h" >extern const stp_sequence_t *stp_curve_get_sequence(const stp_curve_t *curve); ># 514 "../../include/gutenprint/curve.h" >extern int stp_curve_set_gamma(stp_curve_t *curve, double f_gamma); > > > > > > >extern double stp_curve_get_gamma(const stp_curve_t *curve); ># 533 "../../include/gutenprint/curve.h" >extern int stp_curve_set_point(stp_curve_t *curve, size_t where, double data); ># 543 "../../include/gutenprint/curve.h" >extern int stp_curve_get_point(const stp_curve_t *curve, size_t where, > double *data); ># 558 "../../include/gutenprint/curve.h" >extern int stp_curve_interpolate_value(const stp_curve_t *curve, > double where, double *result); ># 573 "../../include/gutenprint/curve.h" >extern int stp_curve_resample(stp_curve_t *curve, size_t points); ># 585 "../../include/gutenprint/curve.h" >extern int stp_curve_rescale(stp_curve_t *curve, double scale, > stp_curve_compose_t mode, > stp_curve_bounds_t bounds_mode); ># 604 "../../include/gutenprint/curve.h" >extern int stp_curve_write(FILE *file, const stp_curve_t *curve); ># 621 "../../include/gutenprint/curve.h" >extern char *stp_curve_write_string(const stp_curve_t *curve); ># 631 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_create_from_stream(FILE* fp); ># 641 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_create_from_file(const char* file); ># 651 "../../include/gutenprint/curve.h" >extern stp_curve_t *stp_curve_create_from_string(const char* string); ># 673 "../../include/gutenprint/curve.h" >extern int stp_curve_compose(stp_curve_t **retval, > stp_curve_t *a, stp_curve_t *b, > stp_curve_compose_t mode, int points); ># 51 "../../include/gutenprint/gutenprint.h" 2 ># 1 "../../include/gutenprint/gutenprint-version.h" 1 ># 64 "../../include/gutenprint/gutenprint-version.h" >extern const unsigned int stp_major_version; > >extern const unsigned int stp_minor_version; > >extern const unsigned int stp_micro_version; > >extern const unsigned int stp_current_interface; > >extern const unsigned int stp_binary_age; > >extern const unsigned int stp_interface_age; ># 84 "../../include/gutenprint/gutenprint-version.h" >extern const char *stp_check_version(unsigned int required_major, > unsigned int required_minor, > unsigned int required_micro); ># 52 "../../include/gutenprint/gutenprint.h" 2 ># 1 "../../include/gutenprint/image.h" 1 ># 53 "../../include/gutenprint/image.h" >typedef enum >{ > STP_IMAGE_STATUS_OK, > STP_IMAGE_STATUS_ABORT >} stp_image_status_t; > > > > > > > >typedef struct stp_image >{ > > > > > > void (*init)(struct stp_image *image); > > > > > > > > void (*reset)(struct stp_image *image); > > > > > int (*width)(struct stp_image *image); > > > > > int (*height)(struct stp_image *image); ># 108 "../../include/gutenprint/image.h" > stp_image_status_t (*get_row)(struct stp_image *image, unsigned char *data, > size_t byte_limit, int row); > > > > > > const char *(*get_appname)(struct stp_image *image); > > > > void (*conclude)(struct stp_image *image); > > > > > void *rep; >} stp_image_t; > >extern void stp_image_init(stp_image_t *image); >extern void stp_image_reset(stp_image_t *image); >extern int stp_image_width(stp_image_t *image); >extern int stp_image_height(stp_image_t *image); >extern stp_image_status_t stp_image_get_row(stp_image_t *image, > unsigned char *data, > size_t limit, int row); >extern const char *stp_image_get_appname(stp_image_t *image); >extern void stp_image_conclude(stp_image_t *image); ># 53 "../../include/gutenprint/gutenprint.h" 2 ># 1 "../../include/gutenprint/paper.h" 1 ># 36 "../../include/gutenprint/paper.h" ># 1 "../../include/gutenprint/vars.h" 1 ># 34 "../../include/gutenprint/vars.h" ># 1 "../../include/gutenprint/string-list.h" 1 ># 36 "../../include/gutenprint/string-list.h" >struct stp_string_list; > >typedef struct stp_string_list stp_string_list_t; > > > > > > > >typedef struct >{ > const char *name, > *text; >} stp_param_string_t; ># 60 "../../include/gutenprint/string-list.h" >extern stp_string_list_t * >stp_string_list_create(void); > >extern void >stp_string_list_destroy(stp_string_list_t *list); > >extern stp_param_string_t * >stp_string_list_param(const stp_string_list_t *list, size_t element); > >extern stp_param_string_t * >stp_string_list_find(const stp_string_list_t *list, const char *name); > >extern size_t >stp_string_list_count(const stp_string_list_t *list); > >extern stp_string_list_t * >stp_string_list_create_copy(const stp_string_list_t *list); > >extern void >stp_string_list_add_string(stp_string_list_t *list, > const char *name, const char *text); > >extern void >stp_string_list_remove_string(stp_string_list_t *list, const char *name); > >extern stp_string_list_t * >stp_string_list_create_from_params(const stp_param_string_t *list, > size_t count); > >extern int >stp_string_list_is_present(const stp_string_list_t *list, > const char *value); ># 35 "../../include/gutenprint/vars.h" 2 ># 55 "../../include/gutenprint/vars.h" >struct stp_vars; > >typedef struct stp_vars stp_vars_t; > > > > > > >typedef enum >{ > STP_PARAMETER_TYPE_STRING_LIST, > STP_PARAMETER_TYPE_INT, > STP_PARAMETER_TYPE_BOOLEAN, > STP_PARAMETER_TYPE_DOUBLE, > STP_PARAMETER_TYPE_CURVE, > STP_PARAMETER_TYPE_FILE, > STP_PARAMETER_TYPE_RAW, > STP_PARAMETER_TYPE_ARRAY, > STP_PARAMETER_TYPE_DIMENSION, > STP_PARAMETER_TYPE_INVALID >} stp_parameter_type_t; > > > > > > >typedef enum >{ > STP_PARAMETER_CLASS_FEATURE, > STP_PARAMETER_CLASS_OUTPUT, > STP_PARAMETER_CLASS_CORE, > STP_PARAMETER_CLASS_INVALID >} stp_parameter_class_t; > > > > > >typedef enum >{ > STP_PARAMETER_LEVEL_BASIC, > STP_PARAMETER_LEVEL_ADVANCED, > STP_PARAMETER_LEVEL_ADVANCED1, > STP_PARAMETER_LEVEL_ADVANCED2, > STP_PARAMETER_LEVEL_ADVANCED3, > STP_PARAMETER_LEVEL_ADVANCED4, > STP_PARAMETER_LEVEL_INTERNAL, > STP_PARAMETER_LEVEL_EXTERNAL, > STP_PARAMETER_LEVEL_INVALID >} stp_parameter_level_t; > > > > > > > >typedef enum >{ > STP_PARAMETER_INACTIVE, > STP_PARAMETER_DEFAULTED, > STP_PARAMETER_ACTIVE >} stp_parameter_activity_t; > > > > > > >typedef struct >{ > size_t bytes; > const void *data; >} stp_raw_t; > > > > > >typedef struct >{ > double lower; > double upper; >} stp_double_bound_t; > > >typedef struct >{ > int lower; > int upper; >} stp_int_bound_t; > > >typedef struct >{ > const char *name; > const char *text; > const char *category; > const char *help; > stp_parameter_type_t p_type; > stp_parameter_class_t p_class; > stp_parameter_level_t p_level; > unsigned char is_mandatory; > unsigned char is_active; > unsigned char channel; > unsigned char verify_this_parameter; > unsigned char read_only; > union > { > stp_curve_t *curve; > stp_double_bound_t dbl; > stp_int_bound_t integer; > stp_int_bound_t dimension; > stp_string_list_t *str; > stp_array_t *array; > } bounds; > union > { > stp_curve_t *curve; > double dbl; > int dimension; > int integer; > int boolean; > const char *str; > stp_array_t *array; > } deflt; >} stp_parameter_t; > > >typedef void *stp_parameter_list_t; > >typedef const void *stp_const_parameter_list_t; ># 199 "../../include/gutenprint/vars.h" >typedef void (*stp_outfunc_t) (void *data, const char *buffer, size_t bytes); ># 212 "../../include/gutenprint/vars.h" >extern stp_vars_t *stp_vars_create(void); ># 221 "../../include/gutenprint/vars.h" >extern void stp_vars_copy(stp_vars_t *dest, const stp_vars_t *source); ># 230 "../../include/gutenprint/vars.h" >extern stp_vars_t *stp_vars_create_copy(const stp_vars_t *source); > > > > > > >extern void stp_vars_destroy(stp_vars_t *v); > > > > > > >extern void stp_set_driver(stp_vars_t *v, const char *val); > > > > > > > >extern void stp_set_driver_n(stp_vars_t *v, const char *val, int bytes); > > > > > >extern const char *stp_get_driver(const stp_vars_t *v); > > > > > > >extern void stp_set_color_conversion(stp_vars_t *v, const char *val); > > > > > > > >extern void stp_set_color_conversion_n(stp_vars_t *v, const char *val, int bytes); > > > > > >extern const char *stp_get_color_conversion(const stp_vars_t *v); ># 290 "../../include/gutenprint/vars.h" >extern void stp_set_left(stp_vars_t *v, int val); > > > > > >extern int stp_get_left(const stp_vars_t *v); > > > > > > >extern void stp_set_top(stp_vars_t *v, int val); > > > > > >extern int stp_get_top(const stp_vars_t *v); > > > > > > >extern void stp_set_width(stp_vars_t *v, int val); > > > > > >extern int stp_get_width(const stp_vars_t *v); > > > > > > >extern void stp_set_height(stp_vars_t *v, int val); > > > > > >extern int stp_get_height(const stp_vars_t *v); ># 346 "../../include/gutenprint/vars.h" >extern void stp_set_page_width(stp_vars_t *v, int val); > > > > > >extern int stp_get_page_width(const stp_vars_t *v); > > > > > > >extern void stp_set_page_height(stp_vars_t *v, int val); > > > > > >extern int stp_get_page_height(const stp_vars_t *v); ># 374 "../../include/gutenprint/vars.h" >extern void stp_set_outfunc(stp_vars_t *v, stp_outfunc_t val); > > > > > > >extern stp_outfunc_t stp_get_outfunc(const stp_vars_t *v); ># 390 "../../include/gutenprint/vars.h" >extern void stp_set_errfunc(stp_vars_t *v, stp_outfunc_t val); > > > > > > >extern stp_outfunc_t stp_get_errfunc(const stp_vars_t *v); ># 406 "../../include/gutenprint/vars.h" >extern void stp_set_outdata(stp_vars_t *v, void *val); > > > > > > >extern void *stp_get_outdata(const stp_vars_t *v); ># 422 "../../include/gutenprint/vars.h" >extern void stp_set_errdata(stp_vars_t *v, void *val); > > > > > > >extern void *stp_get_errdata(const stp_vars_t *v); > > > > > > > >extern void stp_merge_printvars(stp_vars_t *user, const stp_vars_t *print); ># 455 "../../include/gutenprint/vars.h" >extern stp_parameter_list_t stp_get_parameter_list(const stp_vars_t *v); > > > > > > > >extern size_t stp_parameter_list_count(stp_const_parameter_list_t list); ># 472 "../../include/gutenprint/vars.h" >extern const stp_parameter_t * >stp_parameter_find(stp_const_parameter_list_t list, const char *name); ># 483 "../../include/gutenprint/vars.h" >extern const stp_parameter_t * >stp_parameter_list_param(stp_const_parameter_list_t list, size_t item); > > > > > > >extern void stp_parameter_list_destroy(stp_parameter_list_t list); > > > > > >extern stp_parameter_list_t stp_parameter_list_create(void); > > > > > > >extern void stp_parameter_list_add_param(stp_parameter_list_t list, > const stp_parameter_t *item); ># 515 "../../include/gutenprint/vars.h" >extern stp_parameter_list_t >stp_parameter_list_copy(stp_const_parameter_list_t list); > > > > > > > >extern void >stp_parameter_list_append(stp_parameter_list_t list, > stp_const_parameter_list_t append); ># 536 "../../include/gutenprint/vars.h" >extern void >stp_describe_parameter(const stp_vars_t *v, const char *name, > stp_parameter_t *description); > > > > > > > >extern void stp_parameter_description_destroy(stp_parameter_t *description); ># 555 "../../include/gutenprint/vars.h" >extern const stp_parameter_t * >stp_parameter_find_in_settings(const stp_vars_t *v, const char *name); > > > > > > > >extern void stp_set_string_parameter(stp_vars_t *v, const char *parameter, > const char *value); ># 574 "../../include/gutenprint/vars.h" >extern void stp_set_string_parameter_n(stp_vars_t *v, const char *parameter, > const char *value, size_t bytes); > > > > > > > >extern void stp_set_file_parameter(stp_vars_t *v, const char *parameter, > const char *value); ># 593 "../../include/gutenprint/vars.h" >extern void stp_set_file_parameter_n(stp_vars_t *v, const char *parameter, > const char *value, size_t bytes); > > > > > > > >extern void stp_set_float_parameter(stp_vars_t *v, const char *parameter, > double value); > > > > > > > >extern void stp_set_int_parameter(stp_vars_t *v, const char *parameter, > int value); > > > > > > > >extern void stp_set_dimension_parameter(stp_vars_t *v, const char *parameter, > int value); > > > > > > > >extern void stp_set_boolean_parameter(stp_vars_t *v, const char *parameter, > int value); > > > > > > > >extern void stp_set_curve_parameter(stp_vars_t *v, const char *parameter, > const stp_curve_t *value); > > > > > > > >extern void stp_set_array_parameter(stp_vars_t *v, const char *parameter, > const stp_array_t *value); ># 657 "../../include/gutenprint/vars.h" >extern void stp_set_raw_parameter(stp_vars_t *v, const char *parameter, > const void *value, size_t bytes); > > > > > > > >extern void stp_scale_float_parameter(stp_vars_t *v, const char *parameter, > double scale); ># 678 "../../include/gutenprint/vars.h" >extern void stp_set_default_string_parameter(stp_vars_t *v, > const char *parameter, > const char *value); ># 692 "../../include/gutenprint/vars.h" >extern void stp_set_default_string_parameter_n(stp_vars_t *v, > const char *parameter, > const char *value, size_t bytes); ># 705 "../../include/gutenprint/vars.h" >extern void stp_set_default_file_parameter(stp_vars_t *v, > const char *parameter, > const char *value); ># 719 "../../include/gutenprint/vars.h" >extern void stp_set_default_file_parameter_n(stp_vars_t *v, > const char *parameter, > const char *value, size_t bytes); ># 732 "../../include/gutenprint/vars.h" >extern void stp_set_default_float_parameter(stp_vars_t *v, > const char *parameter, > double value); ># 745 "../../include/gutenprint/vars.h" >extern void stp_set_default_int_parameter(stp_vars_t *v, > const char *parameter, > int value); ># 758 "../../include/gutenprint/vars.h" >extern void stp_set_default_dimension_parameter(stp_vars_t *v, > const char *parameter, > int value); ># 771 "../../include/gutenprint/vars.h" >extern void stp_set_default_boolean_parameter(stp_vars_t *v, > const char *parameter, > int value); ># 784 "../../include/gutenprint/vars.h" >extern void stp_set_default_curve_parameter(stp_vars_t *v, > const char *parameter, > const stp_curve_t *value); ># 797 "../../include/gutenprint/vars.h" >extern void stp_set_default_array_parameter(stp_vars_t *v, > const char *parameter, > const stp_array_t *value); ># 811 "../../include/gutenprint/vars.h" >extern void stp_set_default_raw_parameter(stp_vars_t *v, > const char *parameter, > const void *value, size_t bytes); > > > > > > > >extern const char *stp_get_string_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern const char *stp_get_file_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern double stp_get_float_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern int stp_get_int_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern int stp_get_dimension_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern int stp_get_boolean_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern const stp_curve_t *stp_get_curve_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern const stp_array_t *stp_get_array_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern const stp_raw_t *stp_get_raw_parameter(const stp_vars_t *v, > const char *parameter); > > > > > > > >extern void stp_clear_string_parameter(stp_vars_t *v, const char *parameter); > > > > > > > >extern void stp_clear_file_parameter(stp_vars_t *v, const char *parameter); > > > > > > >extern void stp_clear_float_parameter(stp_vars_t *v, const char *parameter); > > > > > > >extern void stp_clear_int_parameter(stp_vars_t *v, const char *parameter); > > > > > > >extern void stp_clear_dimension_parameter(stp_vars_t *v, const char *parameter); > > > > > > >extern void stp_clear_boolean_parameter(stp_vars_t *v, const char *parameter); > > > > > > > >extern void stp_clear_curve_parameter(stp_vars_t *v, const char *parameter); > > > > > > > >extern void stp_clear_array_parameter(stp_vars_t *v, const char *parameter); > > > > > > > >extern void stp_clear_raw_parameter(stp_vars_t *v, const char *parameter); ># 971 "../../include/gutenprint/vars.h" >extern void stp_set_string_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 982 "../../include/gutenprint/vars.h" >extern void stp_set_file_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 993 "../../include/gutenprint/vars.h" >extern void stp_set_float_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1004 "../../include/gutenprint/vars.h" >extern void stp_set_int_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1015 "../../include/gutenprint/vars.h" >extern void stp_set_dimension_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1026 "../../include/gutenprint/vars.h" >extern void stp_set_boolean_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1037 "../../include/gutenprint/vars.h" >extern void stp_set_curve_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1048 "../../include/gutenprint/vars.h" >extern void stp_set_array_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); ># 1059 "../../include/gutenprint/vars.h" >extern void stp_set_raw_parameter_active(const stp_vars_t *v, > const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_string_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_file_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_float_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_int_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_dimension_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_boolean_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_curve_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_array_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern int stp_check_raw_parameter(const stp_vars_t *v, const char *parameter, > stp_parameter_activity_t active); > > > > > > > >extern stp_parameter_activity_t >stp_get_string_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_file_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_float_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_int_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_dimension_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_boolean_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_curve_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_array_parameter_active(const stp_vars_t *v, const char *parameter); > > > > > > > >extern stp_parameter_activity_t >stp_get_raw_parameter_active(const stp_vars_t *v, const char *parameter); ># 1245 "../../include/gutenprint/vars.h" >extern void stp_get_media_size(const stp_vars_t *v, int *width, int *height); ># 1270 "../../include/gutenprint/vars.h" >extern void stp_get_imageable_area(const stp_vars_t *v, int *left, int *right, > int *bottom, int *top); ># 1297 "../../include/gutenprint/vars.h" >extern void stp_get_maximum_imageable_area(const stp_vars_t *v, int *left, > int *right, int *bottom, int *top); ># 1310 "../../include/gutenprint/vars.h" >extern void >stp_get_size_limit(const stp_vars_t *v, int *max_width, int *max_height, > int *min_width, int *min_height); ># 1322 "../../include/gutenprint/vars.h" >extern void stp_describe_resolution(const stp_vars_t *v, int *x, int *y); ># 1332 "../../include/gutenprint/vars.h" >extern int stp_verify(stp_vars_t *v); ># 1342 "../../include/gutenprint/vars.h" >extern const stp_vars_t *stp_default_settings(void); > >typedef void *(*stp_copy_data_func_t)(void *); >typedef void (*stp_free_data_func_t)(void *); > >typedef enum >{ > PARAMETER_BAD, > PARAMETER_OK, > PARAMETER_INACTIVE >} stp_parameter_verify_t; > >extern void stp_allocate_component_data(stp_vars_t *v, > const char *name, > stp_copy_data_func_t copyfunc, > stp_free_data_func_t freefunc, > void *data); >extern void stp_destroy_component_data(stp_vars_t *v, const char *name); > >struct stp_compdata; >typedef struct stp_compdata compdata_t; > >extern void *stp_get_component_data(const stp_vars_t *v, const char *name); > >extern stp_parameter_verify_t stp_verify_parameter(const stp_vars_t *v, > const char *parameter, > int quiet); >extern int stp_get_verified(const stp_vars_t *v); >extern void stp_set_verified(stp_vars_t *v, int value); > >extern void stp_copy_options(stp_vars_t *vd, const stp_vars_t *vs); > >extern void >stp_fill_parameter_settings(stp_parameter_t *desc, > const stp_parameter_t *param); ># 37 "../../include/gutenprint/paper.h" 2 ># 50 "../../include/gutenprint/paper.h" >typedef enum >{ > > PAPERSIZE_ENGLISH_STANDARD, > > PAPERSIZE_METRIC_STANDARD, > > PAPERSIZE_ENGLISH_EXTENDED, > > PAPERSIZE_METRIC_EXTENDED >} stp_papersize_unit_t; > > >typedef struct >{ > > char *name; > > char *text; > > char *comment; > > unsigned width; > > unsigned height; > > unsigned top; > > unsigned left; > > unsigned bottom; > > unsigned right; > > stp_papersize_unit_t paper_unit; >} stp_papersize_t; > > > > > >extern int stp_known_papersizes(void); > > > > > > > >extern const stp_papersize_t *stp_get_papersize_by_name(const char *name); ># 109 "../../include/gutenprint/paper.h" >extern const stp_papersize_t *stp_get_papersize_by_size(int length, > int width); ># 119 "../../include/gutenprint/paper.h" >extern const stp_papersize_t *stp_get_papersize_by_index(int idx); > >extern void stp_default_media_size(const stp_vars_t *v, > int *width, int *height); ># 54 "../../include/gutenprint/gutenprint.h" 2 ># 1 "../../include/gutenprint/printers.h" 1 ># 36 "../../include/gutenprint/printers.h" ># 1 "../../include/gutenprint/list.h" 1 ># 54 "../../include/gutenprint/list.h" > struct stp_list_item; > > > > > typedef struct stp_list_item stp_list_item_t; > > struct stp_list; > > > > > typedef struct stp_list stp_list_t; > > > > > > typedef void (*stp_node_freefunc)(void *); > > > > > > > typedef void *(*stp_node_copyfunc)(const void *); > > > > > > > > typedef const char *(*stp_node_namefunc)(const void *); ># 96 "../../include/gutenprint/list.h" > typedef int (*stp_node_sortfunc)(const void *, const void *); > > > > > > > > extern void stp_list_node_free_data(void *item); > > > > > > extern stp_list_t *stp_list_create(void); ># 119 "../../include/gutenprint/list.h" > extern stp_list_t *stp_list_copy(const stp_list_t *list); > > > > > > > > extern int stp_list_destroy(stp_list_t *list); > > > > > > > > extern stp_list_item_t *stp_list_get_start(const stp_list_t *list); > > > > > > > > extern stp_list_item_t *stp_list_get_end(const stp_list_t *list); ># 152 "../../include/gutenprint/list.h" > extern stp_list_item_t *stp_list_get_item_by_index(const stp_list_t *list, > int idx); ># 162 "../../include/gutenprint/list.h" > extern stp_list_item_t *stp_list_get_item_by_name(const stp_list_t *list, > const char *name); ># 172 "../../include/gutenprint/list.h" > extern stp_list_item_t *stp_list_get_item_by_long_name(const stp_list_t *list, > const char *long_name); > > > > > > > extern int stp_list_get_length(const stp_list_t *list); ># 190 "../../include/gutenprint/list.h" > extern void stp_list_set_freefunc(stp_list_t *list, > stp_node_freefunc freefunc); > > > > > > > > extern stp_node_freefunc stp_list_get_freefunc(const stp_list_t *list); ># 209 "../../include/gutenprint/list.h" > extern void stp_list_set_copyfunc(stp_list_t *list, > stp_node_copyfunc copyfunc); > > > > > > > > extern stp_node_copyfunc stp_list_get_copyfunc(const stp_list_t *list); ># 228 "../../include/gutenprint/list.h" > extern void stp_list_set_namefunc(stp_list_t *list, > stp_node_namefunc namefunc); > > > > > > > > extern stp_node_namefunc stp_list_get_namefunc(const stp_list_t *list); ># 247 "../../include/gutenprint/list.h" > extern void stp_list_set_long_namefunc(stp_list_t *list, > stp_node_namefunc long_namefunc); > > > > > > > > extern stp_node_namefunc stp_list_get_long_namefunc(const stp_list_t *list); ># 265 "../../include/gutenprint/list.h" > extern void stp_list_set_sortfunc(stp_list_t *list, > stp_node_sortfunc sortfunc); > > > > > > > > extern stp_node_sortfunc stp_list_get_sortfunc(const stp_list_t *list); ># 284 "../../include/gutenprint/list.h" > extern int stp_list_item_create(stp_list_t *list, > stp_list_item_t *next, > const void *data); > > > > > > > > extern int stp_list_item_destroy(stp_list_t *list, > stp_list_item_t *item); > > > > > > > > extern stp_list_item_t *stp_list_item_prev(const stp_list_item_t *item); > > > > > > > > extern stp_list_item_t *stp_list_item_next(const stp_list_item_t *item); > > > > > > > extern void *stp_list_item_get_data(const stp_list_item_t *item); ># 328 "../../include/gutenprint/list.h" > extern int stp_list_item_set_data(stp_list_item_t *item, > void *data); ># 37 "../../include/gutenprint/printers.h" 2 ># 49 "../../include/gutenprint/printers.h" >struct stp_printer; > >typedef struct stp_printer stp_printer_t; > > > > > >extern int stp_printer_model_count(void); ># 66 "../../include/gutenprint/printers.h" >extern const stp_printer_t *stp_get_printer_by_index(int idx); > > > > > > > >extern const stp_printer_t *stp_get_printer_by_long_name(const char *long_name); > > > > > > > >extern const stp_printer_t *stp_get_printer_by_driver(const char *driver); > > > > > > > >extern const stp_printer_t *stp_get_printer(const stp_vars_t *v); > > > > > > > >extern int stp_get_printer_index_by_driver(const char *driver); > > > > > > >extern const char *stp_printer_get_long_name(const stp_printer_t * p); > > > > > > >extern const char *stp_printer_get_driver(const stp_printer_t *p); ># 121 "../../include/gutenprint/printers.h" >extern const char *stp_printer_get_family(const stp_printer_t *p); > > > > > > >extern const char *stp_printer_get_manufacturer(const stp_printer_t *p); ># 138 "../../include/gutenprint/printers.h" >extern int stp_printer_get_model(const stp_printer_t *p); ># 147 "../../include/gutenprint/printers.h" >extern const stp_vars_t *stp_printer_get_defaults(const stp_printer_t *p); > > > > > > > >extern void stp_set_printer_defaults(stp_vars_t *v, const stp_printer_t *p); ># 167 "../../include/gutenprint/printers.h" >extern int stp_print(const stp_vars_t *v, stp_image_t *image); ># 177 "../../include/gutenprint/printers.h" >extern int stp_start_job(const stp_vars_t *v, stp_image_t *image); > > > > > > > >extern int stp_end_job(const stp_vars_t *v, stp_image_t *image); > >typedef struct >{ > stp_parameter_list_t (*list_parameters)(const stp_vars_t *v); > void (*parameters)(const stp_vars_t *v, const char *name, > stp_parameter_t *); > void (*media_size)(const stp_vars_t *v, int *width, int *height); > void (*imageable_area)(const stp_vars_t *v, > int *left, int *right, int *bottom, int *top); > void (*maximum_imageable_area)(const stp_vars_t *v, int *left, int *right, > int *bottom, int *top); > void (*limit)(const stp_vars_t *v, int *max_width, int *max_height, > int *min_width, int *min_height); > int (*print)(const stp_vars_t *v, stp_image_t *image); > void (*describe_resolution)(const stp_vars_t *v, int *x, int *y); > const char *(*describe_output)(const stp_vars_t *v); > int (*verify)(stp_vars_t *v); > int (*start_job)(const stp_vars_t *v, stp_image_t *image); > int (*end_job)(const stp_vars_t *v, stp_image_t *image); >} stp_printfuncs_t; > >typedef struct stp_family >{ > const stp_printfuncs_t *printfuncs; > stp_list_t *printer_list; >} stp_family_t; > >extern int stp_get_model_id(const stp_vars_t *v); > >extern int stp_verify_printer_params(stp_vars_t *v); > >extern int stp_family_register(stp_list_t *family); >extern int stp_family_unregister(stp_list_t *family); >extern void stp_initialize_printer_defaults(void); > >extern stp_parameter_list_t stp_printer_list_parameters(const stp_vars_t *v); > >extern void >stp_printer_describe_parameter(const stp_vars_t *v, const char *name, > stp_parameter_t *description); > >const char *stp_describe_output(const stp_vars_t *v); ># 55 "../../include/gutenprint/gutenprint.h" 2 > > ># 1 "../../include/gutenprint/util.h" 1 ># 57 "../../include/gutenprint/util.h" >extern int stp_init(void); ># 70 "../../include/gutenprint/util.h" >extern const char *stp_set_output_codeset(const char *codeset); > >extern stp_curve_t *stp_read_and_compose_curves(const char *s1, const char *s2, > stp_curve_compose_t comp, > size_t piecewise_point_count); >extern void stp_abort(void); > > > > >extern void stp_prune_inactive_options(stp_vars_t *v); > > >extern void stp_zprintf(const stp_vars_t *v, const char *format, ...) > __attribute__((format(__printf__, 2, 3))); > >extern void stp_zfwrite(const char *buf, size_t bytes, size_t nitems, > const stp_vars_t *v); > >extern void stp_putc(int ch, const stp_vars_t *v); >extern void stp_put16_le(unsigned short sh, const stp_vars_t *v); >extern void stp_put16_be(unsigned short sh, const stp_vars_t *v); >extern void stp_put32_le(unsigned int sh, const stp_vars_t *v); >extern void stp_put32_be(unsigned int sh, const stp_vars_t *v); >extern void stp_puts(const char *s, const stp_vars_t *v); >extern void stp_putraw(const stp_raw_t *r, const stp_vars_t *v); >extern void stp_send_command(const stp_vars_t *v, const char *command, > const char *format, ...); > >extern void stp_erputc(int ch); > >extern void stp_eprintf(const stp_vars_t *v, const char *format, ...) > __attribute__((format(__printf__, 2, 3))); >extern void stp_erprintf(const char *format, ...) > __attribute__((format(__printf__, 1, 2))); >extern void stp_asprintf(char **strp, const char *format, ...) > __attribute__((format(__printf__, 2, 3))); >extern void stp_catprintf(char **strp, const char *format, ...) > __attribute__((format(__printf__, 2, 3))); ># 132 "../../include/gutenprint/util.h" >extern unsigned long stp_get_debug_level(void); >extern void stp_dprintf(unsigned long level, const stp_vars_t *v, > const char *format, ...) > __attribute__((format(__printf__, 3, 4))); >extern void stp_deprintf(unsigned long level, const char *format, ...) > __attribute__((format(__printf__, 2, 3))); >extern void stp_init_debug_messages(stp_vars_t *v); >extern void stp_flush_debug_messages(stp_vars_t *v); > > >extern void *stp_malloc (size_t); >extern void *stp_zalloc (size_t); >extern void *stp_realloc (void *ptr, size_t); >extern void stp_free(void *ptr); ># 155 "../../include/gutenprint/util.h" >extern size_t stp_strlen(const char *s); >extern char *stp_strndup(const char *s, int n); >extern char *stp_strdup(const char *s); > > > > > > >extern const char *stp_get_version(void); > > > > > > >extern const char *stp_get_release_version(void); ># 58 "../../include/gutenprint/gutenprint.h" 2 ># 33 "bit-ops.c" 2 ># 1 "gutenprint-internal.h" 1 ># 41 "gutenprint-internal.h" ># 1 "../../config.h" 1 ># 42 "gutenprint-internal.h" 2 > > ># 1 "../../include/gutenprint/gutenprint-module.h" 1 ># 50 "../../include/gutenprint/gutenprint-module.h" ># 1 "../../include/gutenprint/bit-ops.h" 1 ># 35 "../../include/gutenprint/bit-ops.h" >extern void stp_fold(const unsigned char *line, int single_height, > unsigned char *outbuf); > >extern void stp_split_2(int height, int bits, const unsigned char *in, > unsigned char *outhi, unsigned char *outlo); > >extern void stp_split_4(int height, int bits, const unsigned char *in, > unsigned char *out0, unsigned char *out1, > unsigned char *out2, unsigned char *out3); > >extern void stp_unpack_2(int height, int bits, const unsigned char *in, > unsigned char *outlo, unsigned char *outhi); > >extern void stp_unpack_4(int height, int bits, const unsigned char *in, > unsigned char *out0, unsigned char *out1, > unsigned char *out2, unsigned char *out3); > >extern void stp_unpack_8(int height, int bits, const unsigned char *in, > unsigned char *out0, unsigned char *out1, > unsigned char *out2, unsigned char *out3, > unsigned char *out4, unsigned char *out5, > unsigned char *out6, unsigned char *out7); > >extern void stp_unpack_16(int height, int bits, const unsigned char *in, > unsigned char *out0, unsigned char *out1, > unsigned char *out2, unsigned char *out3, > unsigned char *out4, unsigned char *out5, > unsigned char *out6, unsigned char *out7, > unsigned char *out8, unsigned char *out9, > unsigned char *out10, unsigned char *out11, > unsigned char *out12, unsigned char *out13, > unsigned char *out14, unsigned char *out15); ># 51 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/channel.h" 1 ># 46 "../../include/gutenprint/channel.h" >extern void stp_channel_reset(stp_vars_t *v); >extern void stp_channel_reset_channel(stp_vars_t *v, int channel); > >extern void stp_channel_add(stp_vars_t *v, unsigned channel, > unsigned subchannel, double value); >extern double stp_channel_get_value(stp_vars_t *v, unsigned channel, > unsigned subchannel); > >extern void stp_channel_set_density_adjustment(stp_vars_t *v, > int color, int subchannel, > double adjustment); >extern double stp_channel_get_density_adjustment(stp_vars_t *v, > int color, int subchannel); >extern void stp_channel_set_ink_limit(stp_vars_t *v, double limit); >extern double stp_channel_get_ink_limit(stp_vars_t *v); >extern void stp_channel_set_cutoff_adjustment(stp_vars_t *v, > int color, int subchannel, > double adjustment); >extern double stp_channel_get_cutoff_adjustment(stp_vars_t *v, > int color, int subchannel); >extern void stp_channel_set_black_channel(stp_vars_t *v, int channel); >extern int stp_channel_get_black_channel(stp_vars_t *v); >extern void stp_channel_set_gloss_channel(stp_vars_t *v, int channel); >extern int stp_channel_get_gloss_channel(stp_vars_t *v); >extern void stp_channel_set_gloss_limit(stp_vars_t *v, double limit); >extern double stp_channel_get_gloss_limit(stp_vars_t *v); >extern void stp_channel_set_curve(stp_vars_t *v, int channel, > const stp_curve_t *curve); >extern const stp_curve_t *stp_channel_get_curve(stp_vars_t *v, int channel); >extern void stp_channel_set_gcr_curve(stp_vars_t *v, const stp_curve_t *curve); >extern const stp_curve_t *stp_channel_get_gcr_curve(stp_vars_t *v); > >extern void stp_channel_initialize(stp_vars_t *v, stp_image_t *image, > int input_channel_count); > >extern void stp_channel_convert(const stp_vars_t *v, unsigned *zero_mask); > >extern unsigned short * stp_channel_get_input(const stp_vars_t *v); > >extern unsigned short * stp_channel_get_output(const stp_vars_t *v); ># 52 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/color.h" 1 ># 47 "../../include/gutenprint/color.h" >typedef struct >{ > int (*init)(stp_vars_t *v, stp_image_t *image, size_t steps); > int (*get_row)(stp_vars_t *v, stp_image_t *image, > int row, unsigned *zero_mask); > stp_parameter_list_t (*list_parameters)(const stp_vars_t *v); > void (*describe_parameter)(const stp_vars_t *v, const char *name, > stp_parameter_t *description); >} stp_colorfuncs_t; > > >typedef struct stp_color >{ > const char *short_name; > const char *long_name; > const stp_colorfuncs_t *colorfuncs; >} stp_color_t; > > > > > >extern int stp_color_init(stp_vars_t *v, stp_image_t *image, size_t steps); > > > > > >extern int stp_color_get_row(stp_vars_t *v, stp_image_t *image, > int row, unsigned *zero_mask); > >extern stp_parameter_list_t stp_color_list_parameters(const stp_vars_t *v); > >extern void stp_color_describe_parameter(const stp_vars_t *v, const char *name, > stp_parameter_t *description); > >extern int >stp_color_register(const stp_color_t *color); > >extern int >stp_color_unregister(const stp_color_t *color); > > > > > >extern int >stp_color_count(void); > > > > > > > >extern const stp_color_t * >stp_get_color_by_name(const char *name); > > > > > > > >extern const stp_color_t * >stp_get_color_by_index(int idx); > >extern const stp_color_t * >stp_get_color_by_colorfuncs(stp_colorfuncs_t *colorfuncs); > > > > > > >extern const char * >stp_color_get_name(const stp_color_t *c); > > > > > > >extern const char * >stp_color_get_long_name(const stp_color_t *c); ># 53 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/dither.h" 1 ># 46 "../../include/gutenprint/dither.h" ># 1 "../../config.h" 1 ># 47 "../../include/gutenprint/dither.h" 2 ># 58 "../../include/gutenprint/dither.h" >typedef struct stp_dither_matrix_short >{ > int x; > int y; > int bytes; > int prescaled; > const unsigned short *data; >} stp_dither_matrix_short_t; > >typedef struct stp_dither_matrix_normal >{ > int x; > int y; > int bytes; > int prescaled; > const unsigned *data; >} stp_dither_matrix_normal_t; > >typedef struct stp_dither_matrix_generic >{ > int x; > int y; > int bytes; > int prescaled; > const void *data; >} stp_dither_matrix_generic_t; > >typedef struct dither_matrix_impl >{ > int base; > int exp; > int x_size; > int y_size; > int total_size; > int last_x; > int last_x_mod; > int last_y; > int last_y_mod; > int index; > int i_own; > int x_offset; > int y_offset; > unsigned fast_mask; > unsigned *matrix; >} stp_dither_matrix_impl_t; > >extern void stp_dither_matrix_iterated_init(stp_dither_matrix_impl_t *mat, size_t size, > size_t exponent, const unsigned *array); >extern void stp_dither_matrix_shear(stp_dither_matrix_impl_t *mat, > int x_shear, int y_shear); >extern void stp_dither_matrix_init(stp_dither_matrix_impl_t *mat, int x_size, > int y_size, const unsigned int *array, > int transpose, int prescaled); >extern void stp_dither_matrix_init_short(stp_dither_matrix_impl_t *mat, int x_size, > int y_size, > const unsigned short *array, > int transpose, int prescaled); >extern int stp_dither_matrix_validate_array(const stp_array_t *array); >extern void stp_dither_matrix_init_from_dither_array(stp_dither_matrix_impl_t *mat, > const stp_array_t *array, > int transpose); >extern void stp_dither_matrix_destroy(stp_dither_matrix_impl_t *mat); >extern void stp_dither_matrix_clone(const stp_dither_matrix_impl_t *src, > stp_dither_matrix_impl_t *dest, > int x_offset, int y_offset); >extern void stp_dither_matrix_copy(const stp_dither_matrix_impl_t *src, > stp_dither_matrix_impl_t *dest); >extern void stp_dither_matrix_scale_exponentially(stp_dither_matrix_impl_t *mat, > double exponent); >extern void stp_dither_matrix_set_row(stp_dither_matrix_impl_t *mat, int y); >extern stp_array_t *stp_find_standard_dither_array(int x_aspect, int y_aspect); > > >typedef struct stp_dotsize >{ > unsigned bit_pattern; > double value; >} stp_dotsize_t; > >typedef struct stp_shade >{ > double value; > int numsizes; > const stp_dotsize_t *dot_sizes; >} stp_shade_t; > >extern stp_parameter_list_t stp_dither_list_parameters(const stp_vars_t *v); > >extern void >stp_dither_describe_parameter(const stp_vars_t *v, const char *name, > stp_parameter_t *description); > >extern void stp_dither_init(stp_vars_t *v, stp_image_t *image, > int out_width, int xdpi, int ydpi); >extern void stp_dither_set_iterated_matrix(stp_vars_t *v, size_t edge, > size_t iterations, > const unsigned *data, > int prescaled, > int x_shear, int y_shear); >extern void stp_dither_set_matrix(stp_vars_t *v, const stp_dither_matrix_generic_t *mat, > int transpose, int x_shear, int y_shear); >extern void stp_dither_set_matrix_from_dither_array(stp_vars_t *v, > const stp_array_t *array, > int transpose); >extern void stp_dither_set_transition(stp_vars_t *v, double); >extern void stp_dither_set_randomizer(stp_vars_t *v, int color, double); >extern void stp_dither_set_ink_spread(stp_vars_t *v, int spread); >extern void stp_dither_set_adaptive_limit(stp_vars_t *v, double limit); >extern int stp_dither_get_first_position(stp_vars_t *v, int color, int subchan); >extern int stp_dither_get_last_position(stp_vars_t *v, int color, int subchan); >extern void stp_dither_set_inks_simple(stp_vars_t *v, int color, int nlevels, > const double *levels, double density, > double darkness); >extern void stp_dither_set_inks_full(stp_vars_t *v, int color, int nshades, > const stp_shade_t *shades, > double density, double darkness); >extern void stp_dither_set_inks(stp_vars_t *v, int color, > double density, double darkness, > int nshades, const double *svalues, > int ndotsizes, const double *dvalues); > > >extern void stp_dither_add_channel(stp_vars_t *v, unsigned char *data, > unsigned channel, unsigned subchannel); > >extern unsigned char *stp_dither_get_channel(stp_vars_t *v, > unsigned channel, > unsigned subchannel); > >extern void stp_dither(stp_vars_t *v, int row, int duplicate_line, > int zero_mask, const unsigned char *mask); > > >extern void stp_dither_internal(stp_vars_t *v, int row, > const unsigned short *input, > int duplicate_line, int zero_mask, > const unsigned char *mask); ># 54 "../../include/gutenprint/gutenprint-module.h" 2 > ># 1 "../../include/gutenprint/module.h" 1 ># 47 "../../include/gutenprint/module.h" ># 1 "/usr/include/dlfcn.h" 1 3 4 ># 26 "/usr/include/dlfcn.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 27 "/usr/include/dlfcn.h" 2 3 4 > > ># 1 "/usr/include/bits/dlfcn.h" 1 3 4 ># 30 "/usr/include/dlfcn.h" 2 3 4 ># 54 "/usr/include/dlfcn.h" 3 4 > > > > >extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__)); > > > >extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void *dlsym (void *__restrict __handle, > __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 84 "/usr/include/dlfcn.h" 3 4 >extern char *dlerror (void) __attribute__ ((__nothrow__)); ># 190 "/usr/include/dlfcn.h" 3 4 > ># 48 "../../include/gutenprint/module.h" 2 ># 63 "../../include/gutenprint/module.h" >typedef struct stp_module_version >{ > int major; > int minor; >} stp_module_version_t; > > >typedef enum >{ > STP_MODULE_CLASS_INVALID, > STP_MODULE_CLASS_MISC, > STP_MODULE_CLASS_FAMILY, > STP_MODULE_CLASS_COLOR, > STP_MODULE_CLASS_DITHER >} stp_module_class_t; > > >typedef struct stp_module >{ > const char *name; > const char *version; > const char *comment; > stp_module_class_t class; > > > > void *handle; > > int (*init)(void); > int (*fini)(void); > void *syms; > > >} stp_module_t; > > >extern int stp_module_load(void); >extern int stp_module_exit(void); >extern int stp_module_open(const char *modulename); >extern int stp_module_init(void); >extern int stp_module_close(stp_list_item_t *module); >extern stp_list_t *stp_module_get_class(stp_module_class_t class); ># 56 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/path.h" 1 ># 43 "../../include/gutenprint/path.h" >extern stp_list_t *stp_path_search(stp_list_t *dirlist, > const char *suffix); > >extern void stp_path_split(stp_list_t *list, > const char *path); ># 57 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/weave.h" 1 ># 46 "../../include/gutenprint/weave.h" ># 1 "../../config.h" 1 ># 47 "../../include/gutenprint/weave.h" 2 > > > > > >typedef struct >{ > int row; > int pass; > int jet; > int missingstartrows; > > > > int logicalpassstart; > > > int physpassstart; > > > int physpassend; > > > >} stp_weave_t; > >typedef struct >{ > int pass; > int missingstartrows; > int logicalpassstart; > int physpassstart; > int physpassend; > int subpass; >} stp_pass_t; > >typedef struct { > int ncolors; > unsigned long *v; >} stp_lineoff_t; > >typedef struct { > int ncolors; > char *v; >} stp_lineactive_t; > >typedef struct { > int ncolors; > int *v; >} stp_linecount_t; > >typedef struct { > int ncolors; > unsigned char **v; >} stp_linebufs_t; > >typedef struct { > int ncolors; > int *start_pos; > int *end_pos; >} stp_linebounds_t; > >typedef enum { > STP_WEAVE_ZIGZAG, > STP_WEAVE_ASCENDING, > STP_WEAVE_DESCENDING, > STP_WEAVE_ASCENDING_2X, > STP_WEAVE_STAGGERED, > STP_WEAVE_ASCENDING_3X >} stp_weave_strategy_t; > >typedef int stp_packfunc(stp_vars_t *v, > const unsigned char *line, int height, > unsigned char *comp_buf, > unsigned char **comp_ptr, > int *first, int *last); >typedef void stp_fillfunc(stp_vars_t *v, int row, int subpass, > int width, int missingstartrows, int color); >typedef void stp_flushfunc(stp_vars_t *v, int passno, int vertical_subpass); >typedef int stp_compute_linewidth_func(stp_vars_t *v, int n); > >extern void stp_initialize_weave(stp_vars_t *v, int jets, int separation, > int oversample, int horizontal, > int vertical, int ncolors, int bitwidth, > int linewidth, int line_count, > int first_line, int page_height, > const int *head_offset, > stp_weave_strategy_t, > stp_flushfunc, > stp_fillfunc, > stp_packfunc, > stp_compute_linewidth_func); > >extern stp_packfunc stp_pack_tiff; >extern stp_packfunc stp_pack_uncompressed; > >extern stp_fillfunc stp_fill_tiff; >extern stp_fillfunc stp_fill_uncompressed; > >extern stp_compute_linewidth_func stp_compute_tiff_linewidth; >extern stp_compute_linewidth_func stp_compute_uncompressed_linewidth; > >extern void stp_flush_all(stp_vars_t *v); > >extern void >stp_write_weave(stp_vars_t *v, unsigned char *const cols[]); > >extern stp_lineoff_t * >stp_get_lineoffsets_by_pass(const stp_vars_t *v, int pass); > >extern stp_lineactive_t * >stp_get_lineactive_by_pass(const stp_vars_t *v, int pass); > >extern stp_linecount_t * >stp_get_linecount_by_pass(const stp_vars_t *v, int pass); > >extern const stp_linebufs_t * >stp_get_linebases_by_pass(const stp_vars_t *v, int pass); > >extern stp_pass_t * >stp_get_pass_by_pass(const stp_vars_t *v, int pass); > >extern void >stp_weave_parameters_by_row(const stp_vars_t *v, int row, > int vertical_subpass, stp_weave_t *w); ># 58 "../../include/gutenprint/gutenprint-module.h" 2 ># 1 "../../include/gutenprint/xml.h" 1 ># 37 "../../include/gutenprint/xml.h" ># 1 "../../include/gutenprint/mxml.h" 1 ># 38 "../../include/gutenprint/mxml.h" ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 > ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = (1 << (0)), > _ISlower = (1 << (1)), > _ISalpha = (1 << (2)), > _ISdigit = (1 << (3)), > _ISxdigit = (1 << (4)), > _ISspace = (1 << (5)), > _ISprint = (1 << (6)), > _ISgraph = (1 << (7)), > _ISblank = (1 << (8)), > _IScntrl = (1 << (9)), > _ISpunct = (1 << (10)), > _ISalnum = (1 << (11)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__)); >extern int isalpha (int) __attribute__ ((__nothrow__)); >extern int iscntrl (int) __attribute__ ((__nothrow__)); >extern int isdigit (int) __attribute__ ((__nothrow__)); >extern int islower (int) __attribute__ ((__nothrow__)); >extern int isgraph (int) __attribute__ ((__nothrow__)); >extern int isprint (int) __attribute__ ((__nothrow__)); >extern int ispunct (int) __attribute__ ((__nothrow__)); >extern int isspace (int) __attribute__ ((__nothrow__)); >extern int isupper (int) __attribute__ ((__nothrow__)); >extern int isxdigit (int) __attribute__ ((__nothrow__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__)); > > ># 142 "/usr/include/ctype.h" 3 4 >extern int isascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__)); >extern int _tolower (int) __attribute__ ((__nothrow__)); ># 190 "/usr/include/ctype.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline int >__attribute__ ((__nothrow__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 323 "/usr/include/ctype.h" 3 4 > ># 39 "../../include/gutenprint/mxml.h" 2 ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 ># 5 "/usr/include/asm-generic/errno.h" 2 3 4 ># 5 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 43 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 59 "/usr/include/errno.h" 3 4 > ># 40 "../../include/gutenprint/mxml.h" 2 ># 70 "../../include/gutenprint/mxml.h" >typedef enum stp_mxml_type_e >{ > STP_MXML_ELEMENT, > STP_MXML_INTEGER, > STP_MXML_OPAQUE, > STP_MXML_REAL, > STP_MXML_TEXT >} stp_mxml_type_t; > >typedef struct stp_mxml_attr_s >{ > char *name; > char *value; >} stp_mxml_attr_t; > >typedef struct stp_mxml_value_s >{ > char *name; > int num_attrs; > stp_mxml_attr_t *attrs; >} stp_mxml_element_t; > >typedef struct stp_mxml_text_s >{ > int whitespace; > char *string; >} stp_mxml_text_t; > >typedef union stp_mxml_value_u >{ > stp_mxml_element_t element; > int integer; > char *opaque; > double real; > stp_mxml_text_t text; >} stp_mxml_value_t; > >typedef struct stp_mxml_node_s stp_mxml_node_t; > >struct stp_mxml_node_s >{ > stp_mxml_type_t type; > stp_mxml_node_t *next; > stp_mxml_node_t *prev; > stp_mxml_node_t *parent; > stp_mxml_node_t *child; > stp_mxml_node_t *last_child; > stp_mxml_value_t value; >}; ># 133 "../../include/gutenprint/mxml.h" >extern void stp_mxmlAdd(stp_mxml_node_t *parent, int where, > stp_mxml_node_t *child, stp_mxml_node_t *node); >extern void stp_mxmlDelete(stp_mxml_node_t *node); >extern const char *stp_mxmlElementGetAttr(stp_mxml_node_t *node, const char *name); >extern void stp_mxmlElementSetAttr(stp_mxml_node_t *node, const char *name, > const char *value); >extern stp_mxml_node_t *stp_mxmlFindElement(stp_mxml_node_t *node, stp_mxml_node_t *top, > const char *name, const char *attr, > const char *value, int descend); >extern stp_mxml_node_t *stp_mxmlLoadFile(stp_mxml_node_t *top, FILE *fp, > stp_mxml_type_t (*cb)(stp_mxml_node_t *)); >extern stp_mxml_node_t *stp_mxmlLoadString(stp_mxml_node_t *top, const char *s, > stp_mxml_type_t (*cb)(stp_mxml_node_t *)); >extern stp_mxml_node_t *stp_mxmlNewElement(stp_mxml_node_t *parent, const char *name); >extern stp_mxml_node_t *stp_mxmlNewInteger(stp_mxml_node_t *parent, int integer); >extern stp_mxml_node_t *stp_mxmlNewOpaque(stp_mxml_node_t *parent, const char *opaque); >extern stp_mxml_node_t *stp_mxmlNewReal(stp_mxml_node_t *parent, double real); >extern stp_mxml_node_t *stp_mxmlNewText(stp_mxml_node_t *parent, int whitespace, > const char *string); >extern void stp_mxmlRemove(stp_mxml_node_t *node); >extern char *stp_mxmlSaveAllocString(stp_mxml_node_t *node, > int (*cb)(stp_mxml_node_t *, int)); >extern int stp_mxmlSaveFile(stp_mxml_node_t *node, FILE *fp, > int (*cb)(stp_mxml_node_t *, int)); >extern int stp_mxmlSaveString(stp_mxml_node_t *node, char *buffer, > int bufsize, > int (*cb)(stp_mxml_node_t *, int)); >extern stp_mxml_node_t *stp_mxmlWalkNext(stp_mxml_node_t *node, stp_mxml_node_t *top, > int descend); >extern stp_mxml_node_t *stp_mxmlWalkPrev(stp_mxml_node_t *node, stp_mxml_node_t *top, > int descend); ># 38 "../../include/gutenprint/xml.h" 2 > >typedef int (*stp_xml_parse_func)(stp_mxml_node_t *node, const char *file); > >extern void >stp_register_xml_parser(const char *name, stp_xml_parse_func parse_func); > >extern void >stp_unregister_xml_parser(const char *name); > >extern void stp_register_xml_preload(const char *filename); >extern void stp_unregister_xml_preload(const char *filename); > >extern int stp_xml_init_defaults(void); >extern int stp_xml_parse_file(const char *file); > >extern long stp_xmlstrtol(const char *value); >extern unsigned long stp_xmlstrtoul(const char *value); >extern double stp_xmlstrtod(const char *textval); > >extern void stp_xml_init(void); >extern void stp_xml_exit(void); >extern stp_mxml_node_t *stp_xml_get_node(stp_mxml_node_t *xmlroot, ...); >extern stp_mxml_node_t *stp_xmldoc_create_generic(void); >extern void stp_xml_preinit(void); > >extern stp_sequence_t *stp_sequence_create_from_xmltree(stp_mxml_node_t *da); >extern stp_mxml_node_t *stp_xmltree_create_from_sequence(const stp_sequence_t *seq); > >extern stp_curve_t *stp_curve_create_from_xmltree(stp_mxml_node_t *da); >extern stp_mxml_node_t *stp_xmltree_create_from_curve(const stp_curve_t *curve); > >extern stp_array_t *stp_array_create_from_xmltree(stp_mxml_node_t *array); >extern stp_mxml_node_t *stp_xmltree_create_from_array(const stp_array_t *array); >extern void stp_xml_parse_file_named(const char *name); ># 59 "../../include/gutenprint/gutenprint-module.h" 2 ># 45 "gutenprint-internal.h" 2 > ># 1 "util.h" 1 ># 58 "util.h" >extern void stpi_init_paper(void); >extern void stpi_init_dither(void); >extern void stpi_init_printer(void); > > >extern stp_image_t* stpi_buffer_image(stp_image_t* image, unsigned int flags); ># 47 "gutenprint-internal.h" 2 ># 34 "bit-ops.c" 2 ># 1 "../../include/gutenprint/gutenprint-intl-internal.h" 1 ># 54 "../../include/gutenprint/gutenprint-intl-internal.h" ># 1 "/usr/include/locale.h" 1 3 4 ># 29 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 27 "/usr/include/bits/locale.h" 3 4 >enum >{ > __LC_CTYPE = 0, > __LC_NUMERIC = 1, > __LC_TIME = 2, > __LC_COLLATE = 3, > __LC_MONETARY = 4, > __LC_MESSAGES = 5, > __LC_ALL = 6, > __LC_PAPER = 7, > __LC_NAME = 8, > __LC_ADDRESS = 9, > __LC_TELEPHONE = 10, > __LC_MEASUREMENT = 11, > __LC_IDENTIFICATION = 12 >}; ># 31 "/usr/include/locale.h" 2 3 4 > > ># 51 "/usr/include/locale.h" 3 4 > > > >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; ># 114 "/usr/include/locale.h" 3 4 > char __int_p_cs_precedes; > char __int_p_sep_by_space; > char __int_n_cs_precedes; > char __int_n_sep_by_space; > char __int_p_sign_posn; > char __int_n_sign_posn; > >}; > > > >extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__)); > > >extern struct lconv *localeconv (void) __attribute__ ((__nothrow__)); > > ># 208 "/usr/include/locale.h" 3 4 > ># 55 "../../include/gutenprint/gutenprint-intl-internal.h" 2 > > > ># 1 "/usr/include/libintl.h" 1 3 4 ># 35 "/usr/include/libintl.h" 3 4 > > > > > >extern char *gettext (__const char *__msgid) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))); > > > >extern char *dgettext (__const char *__domainname, __const char *__msgid) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); >extern char *__dgettext (__const char *__domainname, __const char *__msgid) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); > > > >extern char *dcgettext (__const char *__domainname, > __const char *__msgid, int __category) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); >extern char *__dcgettext (__const char *__domainname, > __const char *__msgid, int __category) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))); > > > > >extern char *ngettext (__const char *__msgid1, __const char *__msgid2, > unsigned long int __n) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2))); > > > >extern char *dngettext (__const char *__domainname, __const char *__msgid1, > __const char *__msgid2, unsigned long int __n) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > >extern char *dcngettext (__const char *__domainname, __const char *__msgid1, > __const char *__msgid2, unsigned long int __n, > int __category) > __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3))); > > > > > >extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__)); > > > >extern char *bindtextdomain (__const char *__domainname, > __const char *__dirname) __attribute__ ((__nothrow__)); > > > >extern char *bind_textdomain_codeset (__const char *__domainname, > __const char *__codeset) __attribute__ ((__nothrow__)); > > > > > > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 102 "/usr/include/libintl.h" 2 3 4 ># 122 "/usr/include/libintl.h" 3 4 > ># 59 "../../include/gutenprint/gutenprint-intl-internal.h" 2 ># 35 "bit-ops.c" 2 > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 145 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/ppc64-redhat-linux/4.1.2/include/limits.h" 2 3 4 ># 37 "bit-ops.c" 2 > > >void >stp_fold(const unsigned char *line, > int single_length, > unsigned char *outbuf) >{ > int i; > (__builtin_constant_p (single_length * 2) && (single_length * 2) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (single_length * 2), (void *) (outbuf)) : ((__builtin_object_size (outbuf, 0) != (size_t) -1) ? __builtin___memset_chk (outbuf, 0, single_length * 2, __builtin_object_size (outbuf, 0)) : __memset_ichk (outbuf, 0, single_length * 2))); > for (i = 0; i < single_length; i++) > { > unsigned char l0 = line[0]; > unsigned char l1 = line[single_length]; > if (l0 || l1) > { > outbuf[0] = > ((l0 & (1 << 7)) >> 1) + > ((l0 & (1 << 6)) >> 2) + > ((l0 & (1 << 5)) >> 3) + > ((l0 & (1 << 4)) >> 4) + > ((l1 & (1 << 7)) >> 0) + > ((l1 & (1 << 6)) >> 1) + > ((l1 & (1 << 5)) >> 2) + > ((l1 & (1 << 4)) >> 3); > outbuf[1] = > ((l0 & (1 << 3)) << 3) + > ((l0 & (1 << 2)) << 2) + > ((l0 & (1 << 1)) << 1) + > ((l0 & (1 << 0)) << 0) + > ((l1 & (1 << 3)) << 4) + > ((l1 & (1 << 2)) << 3) + > ((l1 & (1 << 1)) << 2) + > ((l1 & (1 << 0)) << 1); > } > line++; > outbuf += 2; > } >} > >static void >stpi_split_2_1(int length, > const unsigned char *in, > unsigned char *outhi, > unsigned char *outlo) >{ > unsigned char *outs[2]; > int i; > int row = 0; > int limit = length; > outs[0] = outhi; > outs[1] = outlo; > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[1])) : ((__builtin_object_size (outs[1], 0) != (size_t) -1) ? __builtin___memset_chk (outs[1], 0, limit, __builtin_object_size (outs[1], 0)) : __memset_ichk (outs[1], 0, limit))); > for (i = 0; i < limit; i++) > { > unsigned char inbyte = in[i]; > outs[0][i] = 0; > if (inbyte == 0) > continue; > > if (inbyte & 1) > { > outs[row][i] |= 1 & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 1)) > { > outs[row][i] |= (1 << 1) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 2)) > { > outs[row][i] |= (1 << 2) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 3)) > { > outs[row][i] |= (1 << 3) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 4)) > { > outs[row][i] |= (1 << 4) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 5)) > { > outs[row][i] |= (1 << 5) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 6)) > { > outs[row][i] |= (1 << 6) & inbyte; > row = row ^ 1; > } > if (inbyte & (1 << 7)) > { > outs[row][i] |= (1 << 7) & inbyte; > row = row ^ 1; > } > } >} > >static void >stp_split_2_2(int length, > const unsigned char *in, > unsigned char *outhi, > unsigned char *outlo) >{ > unsigned char *outs[2]; > int i; > unsigned row = 0; > int limit = length * 2; > outs[0] = outhi; > outs[1] = outlo; > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[1])) : ((__builtin_object_size (outs[1], 0) != (size_t) -1) ? __builtin___memset_chk (outs[1], 0, limit, __builtin_object_size (outs[1], 0)) : __memset_ichk (outs[1], 0, limit))); > for (i = 0; i < limit; i++) > { > unsigned char inbyte = in[i]; > outs[0][i] = 0; > if (inbyte == 0) > continue; > > if (inbyte & 3) > { > outs[row][i] |= (3 & inbyte); > row = row ^ 1; > } > if (inbyte & (3 << 2)) > { > outs[row][i] |= ((3 << 2) & inbyte); > row = row ^ 1; > } > if (inbyte & (3 << 4)) > { > outs[row][i] |= ((3 << 4) & inbyte); > row = row ^ 1; > } > if (inbyte & (3 << 6)) > { > outs[row][i] |= ((3 << 6) & inbyte); > row = row ^ 1; > } > } >} > >void >stp_split_2(int length, > int bits, > const unsigned char *in, > unsigned char *outhi, > unsigned char *outlo) >{ > if (bits == 2) > stp_split_2_2(length, in, outhi, outlo); > else > stpi_split_2_1(length, in, outhi, outlo); >} > >static void >stpi_split_4_1(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > unsigned char *outs[4]; > int i; > int row = 0; > int limit = length; > outs[0] = out0; > outs[1] = out1; > outs[2] = out2; > outs[3] = out3; > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[1])) : ((__builtin_object_size (outs[1], 0) != (size_t) -1) ? __builtin___memset_chk (outs[1], 0, limit, __builtin_object_size (outs[1], 0)) : __memset_ichk (outs[1], 0, limit))); > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[2])) : ((__builtin_object_size (outs[2], 0) != (size_t) -1) ? __builtin___memset_chk (outs[2], 0, limit, __builtin_object_size (outs[2], 0)) : __memset_ichk (outs[2], 0, limit))); > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[3])) : ((__builtin_object_size (outs[3], 0) != (size_t) -1) ? __builtin___memset_chk (outs[3], 0, limit, __builtin_object_size (outs[3], 0)) : __memset_ichk (outs[3], 0, limit))); > for (i = 0; i < limit; i++) > { > unsigned char inbyte = in[i]; > outs[0][i] = 0; > if (inbyte == 0) > continue; > > if (inbyte & 1) > { > outs[row][i] |= 1 & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 1)) > { > outs[row][i] |= (1 << 1) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 2)) > { > outs[row][i] |= (1 << 2) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 3)) > { > outs[row][i] |= (1 << 3) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 4)) > { > outs[row][i] |= (1 << 4) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 5)) > { > outs[row][i] |= (1 << 5) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 6)) > { > outs[row][i] |= (1 << 6) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (1 << 7)) > { > outs[row][i] |= (1 << 7) & inbyte; > row = (row + 1) & 3; > } > } >} > >static void >stpi_split_4_2(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > unsigned char *outs[4]; > int i; > int row = 0; > int limit = length * 2; > outs[0] = out0; > outs[1] = out1; > outs[2] = out2; > outs[3] = out3; > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[1])) : ((__builtin_object_size (outs[1], 0) != (size_t) -1) ? __builtin___memset_chk (outs[1], 0, limit, __builtin_object_size (outs[1], 0)) : __memset_ichk (outs[1], 0, limit))); > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[2])) : ((__builtin_object_size (outs[2], 0) != (size_t) -1) ? __builtin___memset_chk (outs[2], 0, limit, __builtin_object_size (outs[2], 0)) : __memset_ichk (outs[2], 0, limit))); > (__builtin_constant_p (limit) && (limit) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (limit), (void *) (outs[3])) : ((__builtin_object_size (outs[3], 0) != (size_t) -1) ? __builtin___memset_chk (outs[3], 0, limit, __builtin_object_size (outs[3], 0)) : __memset_ichk (outs[3], 0, limit))); > for (i = 0; i < limit; i++) > { > unsigned char inbyte = in[i]; > outs[0][i] = 0; > if (inbyte == 0) > continue; > > if (inbyte & 3) > { > outs[row][i] |= 3 & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (3 << 2)) > { > outs[row][i] |= (3 << 2) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (3 << 4)) > { > outs[row][i] |= (3 << 4) & inbyte; > row = (row + 1) & 3; > } > if (inbyte & (3 << 6)) > { > outs[row][i] |= (3 << 6) & inbyte; > row = (row + 1) & 3; > } > } >} > >void >stp_split_4(int length, > int bits, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > if (bits == 2) > stpi_split_4_2(length, in, out0, out1, out2, out3); > else > stpi_split_4_1(length, in, out0, out1, out2, out3); >} ># 337 "bit-ops.c" >static void >stpi_unpack_2_1(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1) >{ > unsigned char tempin, bit, temp0, temp1; > > if (length <= 0) > return; > for (bit = 128, temp0 = 0, temp1 = 0; > length > 0; > length --) > { > tempin = *in++; > > if (tempin & 128) > temp0 |= bit; > if (tempin & 64) > temp1 |= bit; > bit >>= 1; > if (tempin & 32) > temp0 |= bit; > if (tempin & 16) > temp1 |= bit; > bit >>= 1; > if (tempin & 8) > temp0 |= bit; > if (tempin & 4) > temp1 |= bit; > bit >>= 1; > if (tempin & 2) > temp0 |= bit; > if (tempin & 1) > temp1 |= bit; > > if (bit > 1) > bit >>= 1; > else > { > bit = 128; > *out0++ = temp0; > *out1++ = temp1; > > temp0 = 0; > temp1 = 0; > } > } > > if (bit < 128) > { > *out0++ = temp0; > *out1++ = temp1; > } >} > >static void >stpi_unpack_2_2(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1) >{ > if (length <= 0) > return; > > for (;length;length --) > { > unsigned char ti0, ti1; > ti0 = in[0]; > ti1 = in[1]; > > *out0++ = (ti0 & 0xc0) << 0 > | (ti0 & 0x0c) << 2 > | (ti1 & 0xc0) >> 4 > | (ti1 & 0x0c) >> 2; > *out1++ = (ti0 & 0x30) << 2 > | (ti0 & 0x03) << 4 > | (ti1 & 0x30) >> 2 > | (ti1 & 0x03) >> 0; > in += 2; > } >} > >void >stp_unpack_2(int length, > int bits, > const unsigned char *in, > unsigned char *outlo, > unsigned char *outhi) >{ > if (bits == 1) > stpi_unpack_2_1(length, in, outlo, outhi); > else > stpi_unpack_2_2(length, in, outlo, outhi); >} ># 445 "bit-ops.c" >static void >stpi_unpack_4_1(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > unsigned char tempin, bit, temp0, temp1, temp2, temp3; > > if (length <= 0) > return; > for (bit = 128, temp0 = 0, temp1 = 0, temp2 = 0, temp3 = 0; > length > 0; > length --) > { > tempin = *in++; > > if (tempin & 128) > temp0 |= bit; > if (tempin & 64) > temp1 |= bit; > if (tempin & 32) > temp2 |= bit; > if (tempin & 16) > temp3 |= bit; > bit >>= 1; > if (tempin & 8) > temp0 |= bit; > if (tempin & 4) > temp1 |= bit; > if (tempin & 2) > temp2 |= bit; > if (tempin & 1) > temp3 |= bit; > > if (bit > 1) > bit >>= 1; > else > { > bit = 128; > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > > temp0 = 0; > temp1 = 0; > temp2 = 0; > temp3 = 0; > } > } > > if (bit < 128) > { > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > } >} > >static void >stpi_unpack_4_2(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > unsigned char tempin, > shift, > temp0, > temp1, > temp2, > temp3; > > length *= 2; > > for (shift = 0, temp0 = 0, temp1 = 0, temp2 = 0, temp3 = 0; > length > 0; > length --) > { > > > > > > tempin = *in++; > > if (tempin & 192) > temp0 |= (tempin & 192) >> shift; > if (tempin & 48) > temp1 |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp2 |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp3 |= ((tempin & 3) << 6) >> shift; > > if (shift < 6) > shift += 2; > else > { > shift = 0; > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > > temp0 = 0; > temp1 = 0; > temp2 = 0; > temp3 = 0; > } > } > > if (shift) > { > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > } >} > >void >stp_unpack_4(int length, > int bits, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3) >{ > if (bits == 1) > stpi_unpack_4_1(length, in, out0, out1, out2, out3); > else > stpi_unpack_4_2(length, in, out0, out1, out2, out3); >} > >static void >stpi_unpack_8_1(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7) >{ > unsigned char tempin, bit, temp0, temp1, temp2, temp3, temp4, temp5, temp6, > temp7; > > if (length <= 0) > return; > > for (bit = 128, temp0 = 0, temp1 = 0, temp2 = 0, > temp3 = 0, temp4 = 0, temp5 = 0, temp6 = 0, temp7 = 0; > length > 0; > length --) > { > tempin = *in++; > > if (tempin & 128) > temp0 |= bit; > if (tempin & 64) > temp1 |= bit; > if (tempin & 32) > temp2 |= bit; > if (tempin & 16) > temp3 |= bit; > if (tempin & 8) > temp4 |= bit; > if (tempin & 4) > temp5 |= bit; > if (tempin & 2) > temp6 |= bit; > if (tempin & 1) > temp7 |= bit; > > if (bit > 1) > bit >>= 1; > else > { > bit = 128; > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > *out4++ = temp4; > *out5++ = temp5; > *out6++ = temp6; > *out7++ = temp7; > > temp0 = 0; > temp1 = 0; > temp2 = 0; > temp3 = 0; > temp4 = 0; > temp5 = 0; > temp6 = 0; > temp7 = 0; > } > } > > if (bit < 128) > { > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > *out4++ = temp4; > *out5++ = temp5; > *out6++ = temp6; > *out7++ = temp7; > } >} > >static void >stpi_unpack_8_2(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7) >{ > unsigned char tempin, > shift, > temp0, > temp1, > temp2, > temp3, > temp4, > temp5, > temp6, > temp7; > > > for (shift = 0, temp0 = 0, temp1 = 0, > temp2 = 0, temp3 = 0, temp4 = 0, temp5 = 0, temp6 = 0, temp7 = 0; > length > 0; > length --) > { > > > > > > tempin = *in++; > > if (tempin & 192) > temp0 |= (tempin & 192) >> shift; > if (tempin & 48) > temp1 |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp2 |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp3 |= ((tempin & 3) << 6) >> shift; > > tempin = *in++; > > if (tempin & 192) > temp4 |= (tempin & 192) >> shift; > if (tempin & 48) > temp5 |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp6 |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp7 |= ((tempin & 3) << 6) >> shift; > > if (shift < 6) > shift += 2; > else > { > shift = 0; > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > *out4++ = temp4; > *out5++ = temp5; > *out6++ = temp6; > *out7++ = temp7; > > temp0 = 0; > temp1 = 0; > temp2 = 0; > temp3 = 0; > temp4 = 0; > temp5 = 0; > temp6 = 0; > temp7 = 0; > } > } > > if (shift) > { > *out0++ = temp0; > *out1++ = temp1; > *out2++ = temp2; > *out3++ = temp3; > *out4++ = temp4; > *out5++ = temp5; > *out6++ = temp6; > *out7++ = temp7; > } >} > >void >stp_unpack_8(int length, > int bits, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7) >{ > if (bits == 1) > stpi_unpack_8_1(length, in, out0, out1, out2, out3, > out4, out5, out6, out7); > else > stpi_unpack_8_2(length, in, out0, out1, out2, out3, > out4, out5, out6, out7); >} > > >static void >stpi_unpack_16_1(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7, > unsigned char *out8, > unsigned char *out9, > unsigned char *out10, > unsigned char *out11, > unsigned char *out12, > unsigned char *out13, > unsigned char *out14, > unsigned char *out15) >{ > unsigned char tempin, bit; > unsigned char temp[16]; > > if (length <= 0) > return; > > (__builtin_constant_p (16) && (16) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (16), (void *) (temp)) : ((__builtin_object_size (temp, 0) != (size_t) -1) ? __builtin___memset_chk (temp, 0, 16, __builtin_object_size (temp, 0)) : __memset_ichk (temp, 0, 16))); > > for (bit = 128; length > 0; length--) > { > tempin = *in++; > > if (tempin & 128) > temp[0] |= bit; > if (tempin & 64) > temp[1] |= bit; > if (tempin & 32) > temp[2] |= bit; > if (tempin & 16) > temp[3] |= bit; > if (tempin & 8) > temp[4] |= bit; > if (tempin & 4) > temp[5] |= bit; > if (tempin & 2) > temp[6] |= bit; > if (tempin & 1) > temp[7] |= bit; > > tempin = *in++; > > if (tempin & 128) > temp[8] |= bit; > if (tempin & 64) > temp[9] |= bit; > if (tempin & 32) > temp[10] |= bit; > if (tempin & 16) > temp[11] |= bit; > if (tempin & 8) > temp[12] |= bit; > if (tempin & 4) > temp[13] |= bit; > if (tempin & 2) > temp[14] |= bit; > if (tempin & 1) > temp[15] |= bit; > > if (bit > 1) > bit >>= 1; > else > { > bit = 128; > *out0++ = temp[0]; > *out1++ = temp[1]; > *out2++ = temp[2]; > *out3++ = temp[3]; > *out4++ = temp[4]; > *out5++ = temp[5]; > *out6++ = temp[6]; > *out7++ = temp[7]; > *out8++ = temp[8]; > *out9++ = temp[9]; > *out10++ = temp[10]; > *out11++ = temp[11]; > *out12++ = temp[12]; > *out13++ = temp[13]; > *out14++ = temp[14]; > *out15++ = temp[15]; > > (__builtin_constant_p (16) && (16) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (16), (void *) (temp)) : ((__builtin_object_size (temp, 0) != (size_t) -1) ? __builtin___memset_chk (temp, 0, 16, __builtin_object_size (temp, 0)) : __memset_ichk (temp, 0, 16))); > } > } > > if (bit < 128) > { > *out0++ = temp[0]; > *out1++ = temp[1]; > *out2++ = temp[2]; > *out3++ = temp[3]; > *out4++ = temp[4]; > *out5++ = temp[5]; > *out6++ = temp[6]; > *out7++ = temp[7]; > *out8++ = temp[8]; > *out9++ = temp[9]; > *out10++ = temp[10]; > *out11++ = temp[11]; > *out12++ = temp[12]; > *out13++ = temp[13]; > *out14++ = temp[14]; > *out15++ = temp[15]; > } >} > >static void >stpi_unpack_16_2(int length, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7, > unsigned char *out8, > unsigned char *out9, > unsigned char *out10, > unsigned char *out11, > unsigned char *out12, > unsigned char *out13, > unsigned char *out14, > unsigned char *out15) >{ > unsigned char tempin, shift; > unsigned char temp[16]; > > if (length <= 0) > return; > > (__builtin_constant_p (16) && (16) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (16), (void *) (temp)) : ((__builtin_object_size (temp, 0) != (size_t) -1) ? __builtin___memset_chk (temp, 0, 16, __builtin_object_size (temp, 0)) : __memset_ichk (temp, 0, 16))); > > for (shift = 0; length > 0; length--) > { > > > > > > tempin = *in++; > > if (tempin & 192) > temp[0] |= (tempin & 192) >> shift; > if (tempin & 48) > temp[1] |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp[2] |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp[3] |= ((tempin & 3) << 6) >> shift; > > tempin = *in++; > > if (tempin & 192) > temp[4] |= (tempin & 192) >> shift; > if (tempin & 48) > temp[5] |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp[6] |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp[7] |= ((tempin & 3) << 6) >> shift; > > if (length-- > 0) > { > tempin = *in++; > > if (tempin & 192) > temp[8] |= (tempin & 192) >> shift; > if (tempin & 48) > temp[9] |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp[10] |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp[11] |= ((tempin & 3) << 6) >> shift; > > tempin = *in++; > > if (tempin & 192) > temp[12] |= (tempin & 192) >> shift; > if (tempin & 48) > temp[13] |= ((tempin & 48) << 2) >> shift; > if (tempin & 12) > temp[14] |= ((tempin & 12) << 4) >> shift; > if (tempin & 3) > temp[15] |= ((tempin & 3) << 6) >> shift; > } > > if (shift < 6) > shift += 2; > else > { > shift = 0; > *out0++ = temp[0]; > *out1++ = temp[1]; > *out2++ = temp[2]; > *out3++ = temp[3]; > *out4++ = temp[4]; > *out5++ = temp[5]; > *out6++ = temp[6]; > *out7++ = temp[7]; > *out8++ = temp[8]; > *out9++ = temp[9]; > *out10++ = temp[10]; > *out11++ = temp[11]; > *out12++ = temp[12]; > *out13++ = temp[13]; > *out14++ = temp[14]; > *out15++ = temp[15]; > > (__builtin_constant_p (16) && (16) == 0 ? (__warn_memset_zero_len (), (void) (0), (void) (16), (void *) (temp)) : ((__builtin_object_size (temp, 0) != (size_t) -1) ? __builtin___memset_chk (temp, 0, 16, __builtin_object_size (temp, 0)) : __memset_ichk (temp, 0, 16))); > } > } > > if (shift) > { > *out0++ = temp[0]; > *out1++ = temp[1]; > *out2++ = temp[2]; > *out3++ = temp[3]; > *out4++ = temp[4]; > *out5++ = temp[5]; > *out6++ = temp[6]; > *out7++ = temp[7]; > *out8++ = temp[8]; > *out9++ = temp[9]; > *out10++ = temp[10]; > *out11++ = temp[11]; > *out12++ = temp[12]; > *out13++ = temp[13]; > *out14++ = temp[14]; > *out15++ = temp[15]; > } >} > >void >stp_unpack_16(int length, > int bits, > const unsigned char *in, > unsigned char *out0, > unsigned char *out1, > unsigned char *out2, > unsigned char *out3, > unsigned char *out4, > unsigned char *out5, > unsigned char *out6, > unsigned char *out7, > unsigned char *out8, > unsigned char *out9, > unsigned char *out10, > unsigned char *out11, > unsigned char *out12, > unsigned char *out13, > unsigned char *out14, > unsigned char *out15) >{ > if (bits == 1) > stpi_unpack_16_1(length, in, > out0, out1, out2, out3, out4, out5, out6, out7, > out8, out9, out10, out11, out12, out13, out14, out15); > else > stpi_unpack_16_2(length, in, > out0, out1, out2, out3, out4, out5, out6, out7, > out8, out9, out10, out11, out12, out13, out14, out15); >} > >static void >find_first_and_last(const unsigned char *line, int length, > int *first, int *last) >{ > int i; > int found_first = 0; > if (!first || !last) > return; > *first = 0; > *last = 0; > for (i = 0; i < length; i++) > { > if (line[i] == 0) > { > if (!found_first) > (*first)++; > } > else > { > *last = i; > found_first = 1; > } > } >} > >int >stp_pack_uncompressed(stp_vars_t *v, > const unsigned char *line, > int length, > unsigned char *comp_buf, > unsigned char **comp_ptr, > int *first, > int *last) >{ > find_first_and_last(line, length, first, last); > ((__builtin_object_size (comp_buf, 0) != (size_t) -1) ? __builtin___memcpy_chk (comp_buf, line, length, __builtin_object_size (comp_buf, 0)) : __memcpy_ichk (comp_buf, line, length)); > *comp_ptr = comp_buf + length; > if (first && last && *first > *last) > return 0; > else > return 1; >} > >int >stp_pack_tiff(stp_vars_t *v, > const unsigned char *line, > int length, > unsigned char *comp_buf, > unsigned char **comp_ptr, > int *first, > int *last) >{ > const unsigned char *start; > unsigned char repeat; > int count; > int tcount; > register const unsigned char *xline = line; > register int xlength = length; > find_first_and_last(line, length, first, last); > > > > > > (*comp_ptr) = comp_buf; > > while (xlength > 0) > { > > > > > start = xline; > xline += 2; > xlength -= 2; > > while (xlength > 0 && (xline[-2] != xline[-1] || xline[-1] != xline[0])) > { > xline ++; > xlength --; > } > > xline -= 2; > xlength += 2; > > > > > > count = xline - start; > while (count > 0) > { > tcount = count > 128 ? 128 : count; > > (*comp_ptr)[0] = tcount - 1; > ((__builtin_object_size ((*comp_ptr) + 1, 0) != (size_t) -1) ? __builtin___memcpy_chk ((*comp_ptr) + 1, start, tcount, __builtin_object_size ((*comp_ptr) + 1, 0)) : __memcpy_ichk ((*comp_ptr) + 1, start, tcount)); > > (*comp_ptr) += tcount + 1; > start += tcount; > count -= tcount; > } > > if (xlength <= 0) > break; > > > > > > start = xline; > repeat = xline[0]; > > xline ++; > xlength --; > > if (xlength > 0) > { > int ylength = xlength; > while (ylength && *xline == repeat) > { > xline ++; > ylength --; > } > xlength = ylength; > } > > > > > > count = xline - start; > while (count > 0) > { > tcount = count > 128 ? 128 : count; > > (*comp_ptr)[0] = 1 - tcount; > (*comp_ptr)[1] = repeat; > > (*comp_ptr) += 2; > count -= tcount; > } > } > if (first && last && *first > *last) > return 0; > else > return 1; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 239003
: 154115