Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204195 Details for
Bug 285092
[4.4/ICE] GCC crashes when compiling ovdicopy.c from app-text/texlive-core-2008-r7 if -fsee is enabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessed source triggering the sigsev
odvicopy.i (text/plain), 288.01 KB, created by
Piojo
on 2009-09-15 14:19:03 UTC
(
hide
)
Description:
Preprocessed source triggering the sigsev
Filename:
MIME Type:
Creator:
Piojo
Created:
2009-09-15 14:19:03 UTC
Size:
288.01 KB
patch
obsolete
># 1 "odvicopy.c" ># 1 "<built-in>" ># 1 "<command-line>" ># 1 "odvicopy.c" > ># 1 "cpascal.h" 1 ># 16 "cpascal.h" ># 1 "config.h" 1 ># 32 "config.h" ># 1 "../kpathsea/config.h" 1 ># 63 "../kpathsea/config.h" ># 1 "../kpathsea/c-auto.h" 1 ># 64 "../kpathsea/config.h" 2 ># 76 "../kpathsea/config.h" ># 1 "../kpathsea/c-std.h" 1 ># 28 "../kpathsea/c-std.h" ># 1 "/usr/include/math.h" 1 3 4 ># 28 "/usr/include/math.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 347 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 353 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 354 "/usr/include/sys/cdefs.h" 2 3 4 ># 348 "/usr/include/features.h" 2 3 4 ># 371 "/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 ># 372 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/math.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/huge_val.h" 1 3 4 ># 35 "/usr/include/math.h" 2 3 4 > ># 1 "/usr/include/bits/huge_valf.h" 1 3 4 ># 37 "/usr/include/math.h" 2 3 4 ># 1 "/usr/include/bits/huge_vall.h" 1 3 4 ># 38 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/inf.h" 1 3 4 ># 41 "/usr/include/math.h" 2 3 4 > > ># 1 "/usr/include/bits/nan.h" 1 3 4 ># 44 "/usr/include/math.h" 2 3 4 > > > ># 1 "/usr/include/bits/mathdef.h" 1 3 4 ># 26 "/usr/include/bits/mathdef.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/mathdef.h" 2 3 4 > > > > >typedef float float_t; >typedef double double_t; ># 48 "/usr/include/math.h" 2 3 4 ># 71 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); > >extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); > >extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); > >extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); > > >extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); > >extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); > >extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); > > > > >extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); > >extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); > >extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); > >extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); > >extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); > > >extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); > > >extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); > > >extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); > > >extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); > > >extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); > > > > > > >extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); > > >extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); > > > > > > >extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); > > > > > >extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); >extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); >extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); >extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); >extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); >extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); > > > > > > >extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); >extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); >extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); > > > > > > >extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); > > > > > >extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); > > > > > > >extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); > > >extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); > > > > >extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); > > > >extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); >extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); > > > >extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); >extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); > > > >extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); > > >extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbit (double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); ># 72 "/usr/include/math.h" 2 3 4 ># 94 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); > >extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); > >extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); > >extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); > > >extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); > >extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); > >extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); > > > > >extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); > >extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); > >extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); > >extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); > >extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); > > > > > > > >extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); > > >extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); > > >extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); > > >extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); > > >extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); > > >extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); > > > > > > >extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); > > >extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > > > >extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); > > > > > >extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); >extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); >extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); >extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); >extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); >extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); > > > > > > >extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); >extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); >extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); > > > > > > >extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); > > > > > >extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); > > > > > > >extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); > > >extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); > > > > >extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); > > > >extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); >extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); > > > >extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); >extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); > > > >extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); > > >extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbitf (float __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); ># 95 "/usr/include/math.h" 2 3 4 ># 141 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathcalls.h" 1 3 4 ># 53 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); > > >extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); > ># 87 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); > >extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); > >extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > >extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); > > >extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); > > >extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); > ># 127 "/usr/include/bits/mathcalls.h" 3 4 > > >extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); > > > > > > >extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__)); > > >extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > > > >extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > > >extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); > > > > > >extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > > >extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > > >extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); >extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); >extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); >extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); >extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); >extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); >extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); >extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__)); > > > > > >extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); > > > > > > >extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); > > > > > > > >extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); > > >extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > >extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); > > > >extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); > > > > >extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); > > > >extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); > > > > > > >extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__)); >extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__)); >extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__)); > > > >extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > >extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); > > > >extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > >extern int __signbitl (long double __value) __attribute__ ((__nothrow__)) > __attribute__ ((__const__)); > > > >extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); > > > > > > > > >extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); ># 142 "/usr/include/math.h" 2 3 4 ># 157 "/usr/include/math.h" 3 4 >extern int signgam; ># 198 "/usr/include/math.h" 3 4 >enum > { > FP_NAN, > > FP_INFINITE, > > FP_ZERO, > > FP_SUBNORMAL, > > FP_NORMAL > > }; ># 284 "/usr/include/math.h" 3 4 >typedef enum >{ > _IEEE_ = -1, > _SVID_, > _XOPEN_, > _POSIX_, > _ISOC_ >} _LIB_VERSION_TYPE; > > > > >extern _LIB_VERSION_TYPE _LIB_VERSION; ># 309 "/usr/include/math.h" 3 4 >struct exception > > { > int type; > char *name; > double arg1; > double arg2; > double retval; > }; > > > > >extern int matherr (struct exception *__exc); ># 409 "/usr/include/math.h" 3 4 ># 1 "/usr/include/bits/mathinline.h" 1 3 4 ># 35 "/usr/include/bits/mathinline.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) __signbitf (float __x) >{ > __extension__ union { float __f; int __i; } __u = { __f: __x }; > return __u.__i < 0; >} >extern __inline int >__attribute__ ((__nothrow__)) __signbit (double __x) >{ > __extension__ union { double __d; int __i[2]; } __u = { __d: __x }; > return __u.__i[1] < 0; >} >extern __inline int >__attribute__ ((__nothrow__)) __signbitl (long double __x) >{ > __extension__ union { long double __l; int __i[3]; } __u = { __l: __x }; > return (__u.__i[2] & 0x8000) != 0; >} ># 410 "/usr/include/math.h" 2 3 4 ># 465 "/usr/include/math.h" 3 4 > ># 29 "../kpathsea/c-std.h" 2 > ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 211 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 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 > > >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; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/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 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 83 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/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; ># 53 "/usr/include/_G_config.h" 3 4 >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/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 1 3 4 ># 40 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 170 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 180 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 203 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 271 "/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; ># 319 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 328 "/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_; ># 364 "/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); ># 416 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 458 "/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__)); ># 488 "/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 int renameat (int __oldfd, __const char *__old, int __newfd, > __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > >extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__)); ># 186 "/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__)); ># 204 "/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); > ># 229 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 243 "/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__)); ># 272 "/usr/include/stdio.h" 3 4 > ># 283 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 296 "/usr/include/stdio.h" 3 4 >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >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))); > ># 394 "/usr/include/stdio.h" 3 4 >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >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__)); ># 425 "/usr/include/stdio.h" 3 4 >extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") __attribute__ ((__warn_unused_result__)); > > >extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") __attribute__ ((__warn_unused_result__)); > >extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__)); ># 445 "/usr/include/stdio.h" 3 4 > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 476 "/usr/include/stdio.h" 3 4 >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") > > > > __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)); >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") > > __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); >extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") > > > > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); ># 504 "/usr/include/stdio.h" 3 4 > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 532 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 543 "/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); > ># 576 "/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__)); > ># 638 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); > > > > > > > > >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__)); > ># 710 "/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); > ># 746 "/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__)); ># 765 "/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); ># 788 "/usr/include/stdio.h" 3 4 > ># 797 "/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[]; ># 827 "/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__)); ># 846 "/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__)); ># 886 "/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__)); ># 907 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 44 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_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 >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))); >} ># 125 "/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); >} ># 908 "/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__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...) >{ > return __builtin___sprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsprintf_chk (__s, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > >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__)); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...) > >{ > return __builtin___snprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); >} > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap) > >{ > return __builtin___vsnprintf_chk (__s, __n, 2 - 1, > __builtin_object_size (__s, 2 > 1), __fmt, __ap); >} > > > > > >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); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) >{ > return __fprintf_chk (__stream, 2 - 1, __fmt, > __builtin_va_arg_pack ()); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >printf (__const char *__restrict __fmt, ...) >{ > return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); >} > > > > > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap) >{ > > return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); > > > >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >vfprintf (FILE *__restrict __stream, > __const char *__restrict __fmt, __gnuc_va_list __ap) >{ > return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); >} ># 220 "/usr/include/bits/stdio2.h" 3 4 >extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__)); >extern char *__gets_warn (char *__str) __asm__ ("" "gets") > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __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_warn (__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 char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >fgets (char *__restrict __s, int __n, FILE *__restrict __stream) >{ > if (__builtin_object_size (__s, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__n) || __n <= 0) > return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > > if ((size_t) __n > __builtin_object_size (__s, 2 > 1)) > return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream); > } > return __fgets_alias (__s, __n, __stream); >} > >extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream); > } > return __fread_alias (__ptr, __size, __n, __stream); >} ># 319 "/usr/include/bits/stdio2.h" 3 4 >extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, > size_t __size, size_t __n, > FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)); >extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); > > > >extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") > > > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t >fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, > FILE *__restrict __stream) >{ > if (__builtin_object_size (__ptr, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__size) > || !__builtin_constant_p (__n) > || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) > return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > > if (__size * __n > __builtin_object_size (__ptr, 0)) > return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, > __stream); > } > > > if (__builtin_constant_p (__size) > && __builtin_constant_p (__n) > && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) > && __size * __n <= 8) > { > size_t __cnt = __size * __n; > char *__cptr = (char *) __ptr; > if (__cnt == 0) > return 0; > > for (; __cnt > 0; --__cnt) > { > int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++); > if (__c == (-1)) > break; > *__cptr++ = __c; > } > return (__cptr - (char *) __ptr) / __size; > } > > return __fread_unlocked_alias (__ptr, __size, __n, __stream); >} ># 911 "/usr/include/stdio.h" 2 3 4 > > > > > > ># 31 "../kpathsea/c-std.h" 2 > > ># 1 "../kpathsea/c-unistd.h" 1 ># 24 "../kpathsea/c-unistd.h" ># 1 "../kpathsea/systypes.h" 1 ># 22 "../kpathsea/systypes.h" ># 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 ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/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 ># 61 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 28 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/byteswap.h" 2 3 4 ># 62 "/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 ># 23 "/usr/include/bits/select.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/select.h" 2 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 ># 120 "/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 unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern 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 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 50 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 76 "/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; ># 101 "/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 __shared; > unsigned long int __pad1; > unsigned long int __pad2; > > > unsigned int __flags; > } __data; ># 187 "/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 > > > ># 23 "../kpathsea/systypes.h" 2 ># 25 "../kpathsea/c-unistd.h" 2 > > ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 175 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 199 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 200 "/usr/include/unistd.h" 2 3 4 ># 228 "/usr/include/unistd.h" 3 4 >typedef __useconds_t useconds_t; ># 240 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 260 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 277 "/usr/include/unistd.h" 3 4 >extern int faccessat (int __fd, __const char *__file, int __type, int __flag) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); ># 303 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); ># 322 "/usr/include/unistd.h" 3 4 >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__)); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__)); ># 386 "/usr/include/unistd.h" 3 4 >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 401 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 413 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 437 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int fchownat (int __fd, __const char *__file, __uid_t __owner, > __gid_t __group, int __flag) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 479 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 492 "/usr/include/unistd.h" 3 4 >extern char *getwd (char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)); > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); ># 510 "/usr/include/unistd.h" 3 4 >extern char **__environ; > > > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > __attribute__ ((__nothrow__)); > > > > >extern int execv (__const char *__path, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS, > > > _SC_V7_ILP32_OFF32, > > _SC_V7_ILP32_OFFBIG, > > _SC_V7_LP64_OFF64, > > _SC_V7_LPBIG_OFFBIG, > > > _SC_SS_REPL_MAX, > > > _SC_TRACE_EVENT_NAME_MAX, > > _SC_TRACE_NAME_MAX, > > _SC_TRACE_SYS_MAX, > > _SC_TRACE_USER_EVENT_MAX, > > > _SC_XOPEN_STREAMS, > > > _SC_THREAD_ROBUST_PRIO_INHERIT, > > _SC_THREAD_ROBUST_PRIO_PROTECT, > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_V5_WIDTH_RESTRICTED_ENVS, > > > > _CS_V7_WIDTH_RESTRICTED_ENVS, > > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V7_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFF32_LIBS, > > _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V7_LP64_OFF64_CFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V7_LP64_OFF64_LIBS, > > _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS > > }; ># 569 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); ># 605 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); ># 614 "/usr/include/unistd.h" 3 4 >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 631 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 648 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) __attribute__ ((__nothrow__)); > > > > > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 681 "/usr/include/unistd.h" 3 4 >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); ># 737 "/usr/include/unistd.h" 3 4 >extern __pid_t fork (void) __attribute__ ((__nothrow__)); > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__)); > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__)); > > > > >extern int link (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern int linkat (int __fromfd, __const char *__from, int __tofd, > __const char *__to, int __flags) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__)); > > > > >extern int symlink (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern ssize_t readlink (__const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); > > > > >extern int symlinkat (__const char *__from, int __tofd, > __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__)); > > >extern ssize_t readlinkat (int __fd, __const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); > > > >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int unlinkat (int __fd, __const char *__name, int __flag) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 851 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 852 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int setdomainname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__)); > > >extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) __attribute__ ((__nothrow__)); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__)); >extern void endusershell (void) __attribute__ ((__nothrow__)); >extern void setusershell (void) __attribute__ ((__nothrow__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > > >extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 937 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__)); > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__)); > > > > >extern int truncate (__const char *__file, __off_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 984 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); ># 1004 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 1025 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 1048 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len) __attribute__ ((__warn_unused_result__)); ># 1079 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes); ># 1114 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/unistd.h" 1 3 4 ># 24 "/usr/include/bits/unistd.h" 3 4 >extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, > size_t __buflen) __attribute__ ((__warn_unused_result__)); >extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__)); > >extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk") > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t >read (int __fd, void *__buf, size_t __nbytes) >{ > if (__builtin_object_size (__buf, 0) != (size_t) -1) > { > if (!__builtin_constant_p (__nbytes)) > return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > > if (__nbytes > __builtin_object_size (__buf, 0)) > return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0)); > } > return __read_alias (__fd, __buf, __nbytes); >} ># 124 "/usr/include/bits/unistd.h" 3 4 >extern ssize_t __readlink_chk (__const char *__restrict __path, > char *__restrict __buf, size_t __len, > size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__)) > > > > __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t >__attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) > >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if ( __len > __builtin_object_size (__buf, 2 > 1)) > return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __readlink_alias (__path, __buf, __len); >} > > > >extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path, > char *__restrict __buf, size_t __len, > size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__)) > > > > __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)); >extern ssize_t __readlinkat_chk_warn (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__)) > > > > __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer"))); > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t >__attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) > >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if (__len > __builtin_object_size (__buf, 2 > 1)) > return __readlinkat_chk_warn (__fd, __path, __buf, __len, > __builtin_object_size (__buf, 2 > 1)); > } > return __readlinkat_alias (__fd, __path, __buf, __len); >} > > >extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size)) > return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > > if (__size > __builtin_object_size (__buf, 2 > 1)) > return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1)); > } > return __getcwd_alias (__buf, __size); >} > > >extern char *__getwd_chk (char *__buf, size_t buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__)) > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char * >__attribute__ ((__nothrow__)) getwd (char *__buf) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1)); > return __getwd_warn (__buf); >} > > >extern size_t __confstr_chk (int __name, char *__buf, size_t __len, > size_t __buflen) __attribute__ ((__nothrow__)); >extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__)); > >extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__)) > > > __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t >__attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__len)) > return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > > if (__builtin_object_size (__buf, 2 > 1) < __len) > return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1)); > } > return __confstr_alias (__name, __buf, __len); >} > > >extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); >extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[]) >{ > if (__builtin_object_size (__list, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__size) || __size < 0) > return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1)); > > if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1)) > return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1)); > } > return __getgroups_alias (__size, __list); >} > > >extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, > size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2))); >extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __ttyname_r_alias (__fd, __buf, __buflen); >} > > > >extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nonnull__ (1))); >extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") __attribute__ ((__nonnull__ (1))); > >extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk") > > > __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >getlogin_r (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __getlogin_r_alias (__buf, __buflen); >} > > > > >extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > >extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __gethostname_alias (__buf, __buflen); >} > > > > >extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); >extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > >extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer"))); > > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > } > return __getdomainname_alias (__buf, __buflen); >} ># 1115 "/usr/include/unistd.h" 2 3 4 > > > ># 28 "../kpathsea/c-unistd.h" 2 > > ># 1 "../kpathsea/c-std.h" 1 ># 31 "../kpathsea/c-unistd.h" 2 ># 34 "../kpathsea/c-std.h" 2 > > ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 323 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 3 4 >typedef int wchar_t; ># 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; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_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__)); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); > > > > > >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__)); > ># 277 "/usr/include/stdlib.h" 3 4 > >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); >} > ># 311 "/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__)); ># 327 "/usr/include/stdlib.h" 3 4 >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > > > > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __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/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 498 "/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))); ># 530 "/usr/include/stdlib.h" 3 4 > > > > > >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__)); ># 553 "/usr/include/stdlib.h" 3 4 > > > > > > >extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > >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__)); ># 604 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 615 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 635 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); ># 661 "/usr/include/stdlib.h" 3 4 > > > > > >extern int system (__const char *__command) __attribute__ ((__warn_unused_result__)); > ># 683 "/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 *); ># 701 "/usr/include/stdlib.h" 3 4 > > > >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))); ># 720 "/usr/include/stdlib.h" 3 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__)); > > > >__extension__ extern long long int llabs (long 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__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); > ># 756 "/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__)); ># 861 "/usr/include/stdlib.h" 3 4 >extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__)); ># 896 "/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 char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)) > > > > __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __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 int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen) >{ > if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1) > { > if (!__builtin_constant_p (__buflen)) > return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)); > if (__buflen > __builtin_object_size (__buf, 2 > 1)) > return __ptsname_r_chk_warn (__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__ ((__artificial__)) __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 size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) 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) > { > if (!__builtin_constant_p (__len)) > return __mbstowcs_chk (__dst, __src, __len, > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)); > > if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t)) > return __mbstowcs_chk_warn (__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 size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__)) > > > > __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) 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) > { > if (!__builtin_constant_p (__len)) > return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > if (__len > __builtin_object_size (__dst, 2 > 1)) > return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)); > } > return __wcstombs_alias (__dst, __src, __len); >} ># 904 "/usr/include/stdlib.h" 2 3 4 ># 912 "/usr/include/stdlib.h" 3 4 > ># 37 "../kpathsea/c-std.h" 2 ># 71 "../kpathsea/c-std.h" ># 1 "../kpathsea/c-memstr.h" 1 ># 26 "../kpathsea/c-memstr.h" ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stddef.h" 1 3 4 ># 34 "/usr/include/string.h" 2 3 4 > > > > > > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 94 "/usr/include/string.h" 3 4 >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 125 "/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))); > > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; > > >typedef __locale_t locale_t; ># 162 "/usr/include/string.h" 2 3 4 > > >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 208 "/usr/include/string.h" 3 4 > ># 233 "/usr/include/string.h" 3 4 >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 260 "/usr/include/string.h" 3 4 >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > ># 279 "/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))); ># 312 "/usr/include/string.h" 3 4 >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 340 "/usr/include/string.h" 3 4 >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))); ># 395 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 425 "/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))); ># 443 "/usr/include/string.h" 3 4 >extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); > > > > > >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))); ># 487 "/usr/include/string.h" 3 4 >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 515 "/usr/include/string.h" 3 4 >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 534 "/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))); ># 557 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > >extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 632 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 633 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1172 "/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; >} ># 1204 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1222 "/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; >} ># 1303 "/usr/include/bits/string2.h" 3 4 >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1322 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 636 "/usr/include/string.h" 2 3 4 > > > > ># 1 "/usr/include/bits/string3.h" 1 3 4 ># 23 "/usr/include/bits/string3.h" 3 4 >extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters"))); ># 48 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__)) memmove (void *__restrict __dest, __const void *__restrict __src, size_t __len) > >{ > return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} ># 77 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void * >__attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len) >{ > if (__builtin_constant_p (__len) && __len == 0) > { > __warn_memset_zero_len (); > return __dest; > } > return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__)) bcopy (__const void *__restrict __src, void *__restrict __dest, size_t __len) > >{ > (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); >} > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void >__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len) >{ > (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} ># 118 "/usr/include/bits/string3.h" 3 4 >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__)) strncpy (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__)) __attribute__ ((__artificial__)) 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); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src) >{ > return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); >} > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char * >__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len) > >{ > return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); >} ># 641 "/usr/include/string.h" 2 3 4 > > > > ># 27 "../kpathsea/c-memstr.h" 2 ># 72 "../kpathsea/c-std.h" 2 > > ># 1 "../kpathsea/c-errno.h" 1 ># 22 "../kpathsea/c-errno.h" ># 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 ># 1 "/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 > ># 23 "../kpathsea/c-errno.h" 2 ># 75 "../kpathsea/c-std.h" 2 > > ># 1 "../kpathsea/c-minmax.h" 1 ># 23 "../kpathsea/c-minmax.h" ># 1 "../kpathsea/c-limits.h" 1 ># 23 "../kpathsea/c-limits.h" ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/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 ># 157 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 39 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 40 "/usr/include/bits/local_lim.h" 2 3 4 ># 158 "/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/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include-fixed/limits.h" 2 3 4 ># 24 "../kpathsea/c-limits.h" 2 ># 33 "../kpathsea/c-limits.h" ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/float.h" 1 3 4 ># 34 "../kpathsea/c-limits.h" 2 ># 24 "../kpathsea/c-minmax.h" 2 ># 78 "../kpathsea/c-std.h" 2 > > > ># 1 "/usr/include/assert.h" 1 3 4 ># 66 "/usr/include/assert.h" 3 4 > > > >extern void __assert_fail (__const char *__assertion, __const char *__file, > unsigned int __line, __const char *__function) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > >extern void __assert_perror_fail (int __errnum, __const char *__file, > unsigned int __line, > __const char *__function) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > >extern void __assert (const char *__assertion, const char *__file, int __line) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > ># 82 "../kpathsea/c-std.h" 2 ># 93 "../kpathsea/c-std.h" >extern FILE *popen (); >extern int pclose (); ># 77 "../kpathsea/config.h" 2 > ># 1 "../kpathsea/c-proto.h" 1 ># 79 "../kpathsea/config.h" 2 ># 88 "../kpathsea/config.h" ># 1 "../kpathsea/debug.h" 1 ># 27 "../kpathsea/debug.h" ># 1 "../kpathsea/types.h" 1 ># 25 "../kpathsea/types.h" >typedef int boolean; ># 43 "../kpathsea/types.h" >typedef char *string; > > > >typedef const char *const_string; > > >typedef void *address; ># 28 "../kpathsea/debug.h" 2 ># 56 "../kpathsea/debug.h" >extern unsigned kpathsea_debug; ># 90 "../kpathsea/debug.h" >extern FILE *kpse_fopen_trace (const_string filename, const_string mode); > > >extern int kpse_fclose_trace (FILE *); ># 89 "../kpathsea/config.h" 2 ># 1 "../kpathsea/lib.h" 1 ># 96 "../kpathsea/lib.h" >extern string concat (const_string s1, const_string s2); >extern string concat3 (const_string, const_string, const_string); > > > > >extern string xstrdup (const_string s); > > >extern string uppercasify (const_string s); > > >extern unsigned atou (const_string); > > > > >extern boolean same_file_p (const_string filename1, const_string filename2); > > > > >extern const_string xbasename (const_string name); > > >extern string xdirname (const_string name); > > > > > > > >extern string find_suffix (const_string name); > > >extern string remove_suffix (const_string name); > > > > >extern string make_suffix (const_string s, const_string suffix); > > > > >extern string make_prefix (string stem_prefix, string name); > > > >extern string extend_filename (const_string name, const_string suffix); > > > >extern void xputenv (const_string var, const_string value); >extern void xputenv_int (const_string var, int value); > > >extern string xgetcwd (void); > > >extern boolean dir_p (const_string fn); > > > >extern int dir_links (const_string fn, long nlinks); > > > >extern FILE *xfopen (const_string filename, const_string mode); >extern void xfclose (FILE *, const_string filename); >extern void xfseek (FILE *, long, int, string filename); >extern void xfseeko (FILE *, off_t, int, string filename); >extern unsigned long xftell (FILE *, string filename); >extern off_t xftello (FILE *, string filename); > > > > >extern address xmalloc (unsigned size); >extern address xrealloc (address old_address, unsigned new_size); >extern address xcalloc (unsigned nelem, unsigned elsize); ># 90 "../kpathsea/config.h" 2 > ># 1 "../kpathsea/progname.h" 1 ># 25 "../kpathsea/progname.h" >extern string program_invocation_name; >extern string program_invocation_short_name; >extern string kpse_program_name; > > > > > > > >extern void kpse_set_program_name (const_string argv0, const_string progname); ># 50 "../kpathsea/progname.h" >extern void kpse_set_progname (const_string argv0); ># 92 "../kpathsea/config.h" 2 ># 33 "config.h" 2 ># 1 "../web2c/c-auto.h" 1 ># 34 "config.h" 2 ># 42 "config.h" ># 1 "../kpathsea/c-vararg.h" 1 ># 29 "../kpathsea/c-vararg.h" ># 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 1 3 4 ># 102 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 30 "../kpathsea/c-vararg.h" 2 ># 43 "config.h" 2 > > ># 1 "../kpathsea/c-fopen.h" 1 ># 53 "../kpathsea/c-fopen.h" ># 1 "/usr/include/fcntl.h" 1 3 4 ># 30 "/usr/include/fcntl.h" 3 4 > > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 25 "/usr/include/bits/fcntl.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/fcntl.h" 2 3 4 ># 158 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > __off_t l_start; > __off_t l_len; > > > > > __pid_t l_pid; > }; ># 225 "/usr/include/bits/fcntl.h" 3 4 > ># 270 "/usr/include/bits/fcntl.h" 3 4 > ># 35 "/usr/include/fcntl.h" 2 3 4 ># 76 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 85 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 109 "/usr/include/fcntl.h" 3 4 >extern int openat (int __fd, __const char *__file, int __oflag, ...) > __attribute__ ((__nonnull__ (2))); ># 120 "/usr/include/fcntl.h" 3 4 >extern int openat64 (int __fd, __const char *__file, int __oflag, ...) > __attribute__ ((__nonnull__ (2))); ># 130 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 176 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, > int __advise) __attribute__ ((__nothrow__)); ># 198 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); ># 217 "/usr/include/fcntl.h" 3 4 ># 1 "/usr/include/bits/fcntl2.h" 1 3 4 ># 27 "/usr/include/bits/fcntl2.h" 3 4 >extern int __open_2 (__const char *__path, int __oflag) __attribute__ ((__nonnull__ (1))); >extern int __open_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open") __attribute__ ((__nonnull__ (1))); > > > > > > > >extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more"))); > >extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT in second argument needs 3 arguments"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >open (__const char *__path, int __oflag, ...) >{ > if (__builtin_va_arg_pack_len () > 1) > __open_too_many_args (); > > if (__builtin_constant_p (__oflag)) > { > if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) > { > __open_missing_mode (); > return __open_2 (__path, __oflag); > } > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); > } > > if (__builtin_va_arg_pack_len () < 1) > return __open_2 (__path, __oflag); > > return __open_alias (__path, __oflag, __builtin_va_arg_pack ()); >} ># 99 "/usr/include/bits/fcntl2.h" 3 4 >extern int __openat_2 (int __fd, __const char *__path, int __oflag) > __attribute__ ((__nonnull__ (2))); >extern int __openat_alias (int __fd, __const char *__path, int __oflag, ...) __asm__ ("" "openat") > > __attribute__ ((__nonnull__ (2))); ># 112 "/usr/include/bits/fcntl2.h" 3 4 >extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more"))); > >extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT in third argument needs 4 arguments"))); > > >extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int >openat (int __fd, __const char *__path, int __oflag, ...) >{ > if (__builtin_va_arg_pack_len () > 1) > __openat_too_many_args (); > > if (__builtin_constant_p (__oflag)) > { > if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1) > { > __openat_missing_mode (); > return __openat_2 (__fd, __path, __oflag); > } > return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); > } > > if (__builtin_va_arg_pack_len () < 1) > return __openat_2 (__fd, __path, __oflag); > > return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ()); >} ># 218 "/usr/include/fcntl.h" 2 3 4 > > > ># 54 "../kpathsea/c-fopen.h" 2 ># 46 "config.h" 2 ># 60 "config.h" >typedef signed char schar; ># 91 "config.h" >typedef int integer; > > >typedef off_t longinteger; ># 121 "config.h" >extern void uexit (int status); > > >extern void usage (const_string progname); >extern void usagehelp (const_string *message, const_string bug_email); ># 17 "cpascal.h" 2 > > > ># 1 "../kpathsea/getopt.h" 1 ># 53 "../kpathsea/getopt.h" >extern char *optarg; ># 67 "../kpathsea/getopt.h" >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 99 "../kpathsea/getopt.h" >struct option >{ > > const char *name; > > > > > > int has_arg; > int *flag; > int val; >}; ># 124 "../kpathsea/getopt.h" >extern int getopt (int argc, char *const *argv, const char *shortopts); > > > >extern int getopt_long (int argc, char *const *argv, const char *shortopts, > const struct option *longopts, int *longind); >extern int getopt_long_only (int argc, char *const *argv, > const char *shortopts, > const struct option *longopts, int *longind); > > >extern int _getopt_internal (int argc, char *const *argv, > const char *shortopts, > const struct option *longopts, int *longind, > int long_only); ># 21 "cpascal.h" 2 > > > > ># 1 "../kpathsea/proginit.h" 1 ># 30 "../kpathsea/proginit.h" >extern void >kpse_init_prog (const_string prefix, unsigned dpi, const_string mode, const_string fallback); ># 26 "cpascal.h" 2 ># 1 "../kpathsea/tex-file.h" 1 ># 28 "../kpathsea/tex-file.h" >extern const_string kpse_fallback_font; > > > > > >extern const_string kpse_fallback_resolutions_string; > > > >extern unsigned *kpse_fallback_resolutions; > > > > >extern void kpse_init_fallback_resolutions (string envvar); > > > > >typedef enum >{ > kpse_gf_format, > kpse_pk_format, > kpse_any_glyph_format, > kpse_tfm_format, > kpse_afm_format, > kpse_base_format, > kpse_bib_format, > kpse_bst_format, > kpse_cnf_format, > kpse_db_format, > kpse_fmt_format, > kpse_fontmap_format, > kpse_mem_format, > kpse_mf_format, > kpse_mfpool_format, > kpse_mft_format, > kpse_mp_format, > kpse_mppool_format, > kpse_mpsupport_format, > kpse_ocp_format, > kpse_ofm_format, > kpse_opl_format, > kpse_otp_format, > kpse_ovf_format, > kpse_ovp_format, > kpse_pict_format, > kpse_tex_format, > kpse_texdoc_format, > kpse_texpool_format, > kpse_texsource_format, > kpse_tex_ps_header_format, > kpse_troff_font_format, > kpse_type1_format, > kpse_vf_format, > kpse_dvips_config_format, > kpse_ist_format, > kpse_truetype_format, > kpse_type42_format, > kpse_web2c_format, > kpse_program_text_format, > kpse_program_binary_format, > kpse_miscfonts_format, > kpse_web_format, > kpse_cweb_format, > kpse_enc_format, > kpse_cmap_format, > kpse_sfd_format, > kpse_opentype_format, > kpse_pdftex_config_format, > kpse_lig_format, > kpse_texmfscripts_format, > kpse_lua_format, > kpse_last_format >} kpse_file_format_type; > > > > >typedef enum >{ > kpse_src_implicit, > kpse_src_compile, > kpse_src_texmf_cnf, > kpse_src_client_cnf, > kpse_src_env, > kpse_src_x, > kpse_src_cmdline >} kpse_src_type; ># 127 "../kpathsea/tex-file.h" >typedef struct >{ > const_string type; > const_string path; > const_string raw_path; > const_string path_source; > const_string override_path; > const_string client_path; > const_string cnf_path; > const_string default_path; > const_string *suffix; > const_string *alt_suffix; > boolean suffix_search_only; > const_string program; > int argc; > const_string *argv; > boolean program_enabled_p; > kpse_src_type program_enable_level; > boolean binmode; >} kpse_format_info_type; > > > >extern kpse_format_info_type kpse_format_info[kpse_last_format]; > > > > >extern void kpse_set_program_enabled (kpse_file_format_type fmt, boolean value, kpse_src_type level); > > > >extern void kpse_maketex_option (const_string fmtname, boolean value); > > > >extern void kpse_set_suffixes (kpse_file_format_type format, boolean alternate, ...); > > > > > >extern const_string kpse_init_format (kpse_file_format_type); > > > > >extern string kpse_find_file (const_string name, kpse_file_format_type format, boolean must_exist); > > > > >extern string *kpse_find_file_generic > (const_string name, kpse_file_format_type format, boolean must_exist, boolean all); ># 198 "../kpathsea/tex-file.h" >extern FILE *kpse_open_file (const_string, kpse_file_format_type); > > > > >extern void kpse_reset_program_name (const_string progname); ># 27 "cpascal.h" 2 ># 1 "../kpathsea/variable.h" 1 ># 27 "../kpathsea/variable.h" >extern string kpse_var_value (const_string var); ># 39 "../kpathsea/variable.h" >extern string kpse_var_expand (const_string src); ># 28 "cpascal.h" 2 > > ># 1 "help.h" 1 ># 192 "help.h" >const_string ODVICOPYHELP[] = { > "Usage: odvicopy [OPTION]... [INDVI[.dvi] [OUTDVI[.dvi]]]", > " Expand virtual font references in INDVI to OUTDVI.", > " Defaults are standard input and standard output, respectively.", > "", > "-magnification=NUMBER override existing magnification with NUMBER", > "-max-pages=NUMBER process NUMBER pages; default one million", > "-page-start=PAGE-SPEC start at PAGE-SPEC, for example `2' or `5.*.-2'", > "-help display this help and exit", > "-version output version information and exit", > ((void *)0) >}; ># 31 "cpascal.h" 2 ># 96 "cpascal.h" >typedef double real; > > >typedef FILE *text; ># 144 "cpascal.h" >typedef unsigned char *pointertobyte; ># 264 "cpascal.h" >typedef struct option getoptstruct; ># 279 "cpascal.h" >extern string basenamechangesuffix (const_string, const_string, const_string); >extern string chartostring (char); >extern boolean eof (FILE *); >extern boolean eoln (FILE *); >extern void readln (FILE *); >extern void fprintreal (FILE *, double, int, int); >extern integer inputint (FILE *); >extern int loadpoolstrings (integer); >extern void printversionandexit (const_string, const_string, const_string, char*); >extern void zinput2ints (integer *, integer *); >extern void zinput3ints (integer *, integer *, integer *); >extern integer zround (double); > > >extern int argc; >extern string *argv; >extern string cmdline (int); >extern void mainbody (void); > > >extern boolean open_input (FILE **, int, const_string fopen_mode); >extern boolean open_output (FILE **, const_string fopen_mode); >extern void close_file (FILE *); >extern void recorder_change_filename (string); >extern boolean recorder_enabled; >extern string output_directory; >extern void recorder_record_input (const_string); >extern void recorder_record_output (const_string); > > >extern string versionstring; ># 3 "odvicopy.c" 2 ># 13 "odvicopy.c" >typedef integer int31 ; >typedef integer int24u ; >typedef integer int24 ; >typedef integer int23 ; >typedef unsigned short int16u ; >typedef short int16 ; >typedef short int15 ; >typedef unsigned char int8u ; >typedef schar int8odvicopy ; >typedef char int7 ; >typedef unsigned char ASCIIcode ; >typedef text textfile ; >typedef schar signedbyte ; >typedef unsigned char eightbits ; >typedef short signedpair ; >typedef unsigned short sixteenbits ; >typedef integer signedtrio ; >typedef integer twentyfourbits ; >typedef integer signedquad ; >typedef text bytefile ; >typedef eightbits packedbyte ; >typedef integer bytepointer ; >typedef integer pcktpointer ; >typedef short hashcode ; >typedef integer widthpointer ; >typedef integer charoffset ; >typedef integer charpointer ; >typedef char ftype ; >typedef integer fontnumber ; >typedef char typeflag ; >typedef char cmdpar ; >typedef char cmdcl ; >typedef boolean vfstate [2][2] ; >typedef char vftype ; >typedef integer stackpointer ; >typedef integer stackindex ; >typedef integer pair32 [2] ; >typedef struct { > integer hfield ; > integer vfield ; > pair32 wxfield ; > pair32 yzfield ; >} stackrecord ; >typedef integer recurpointer ; >ASCIIcode xord[256] ; >ASCIIcode xchr[256] ; >char history ; >packedbyte bytemem[( 3000000L ) + 1] ; >bytepointer pcktstart[( 100000L ) + 1] ; >bytepointer byteptr ; >pcktpointer pcktptr ; >pcktpointer plink[( 100000L ) + 1] ; >pcktpointer phash[354] ; >pcktpointer strfonts, strchars, strwidths, strpackets, strbytes, strrecursion, >strstack, strnamelength ; >pcktpointer curpckt ; >bytepointer curloc ; >bytepointer curlimit ; >char * curname ; >int15 lcurname ; >integer widths[( 10000 ) + 1] ; >widthpointer wlink[( 10000 ) + 1] ; >widthpointer whash[354] ; >widthpointer nwidths ; >widthpointer charwidths[( 750000L ) + 1] ; >pcktpointer charpackets[( 750000L ) + 1] ; >charpointer nchars ; >fontnumber nf ; >integer fntcheck[( 1000 ) + 1] ; >int31 fntscaled[( 1000 ) + 1] ; >int31 fntdesign[( 1000 ) + 1] ; >pcktpointer fntname[( 1000 ) + 1] ; >int31 fntbc[( 1000 ) + 1] ; >int31 fntec[( 1000 ) + 1] ; >charoffset fntchars[( 1000 ) + 1] ; >ftype fnttype[( 1000 ) + 1] ; >fontnumber fntfont[( 1000 ) + 1] ; >boolean fntextended[( 1000 ) + 1] ; >fontnumber curfnt ; >int24 curext ; >integer curres ; >typeflag curtype ; >int24 pcktext ; >integer pcktres ; >boolean pcktdup ; >pcktpointer pcktprev ; >int7 pcktmmsg, pcktsmsg, pcktdmsg ; >bytefile tfmfile ; >pcktpointer tfmext ; >pcktpointer ofmext ; >eightbits tfmb0, tfmb1, tfmb2, tfmb3 ; >real tfmconv ; >bytefile dvifile ; >integer dviloc ; >char * fullname ; >cmdpar dvipar[256] ; >cmdcl dvicl[256] ; >eightbits dvicharcmd[2] ; >eightbits dvirulecmd[2] ; >eightbits > > zzzaa[3] ; >eightbits > > zzzab[3] ; >eightbits curcmd ; >integer curparm ; >cmdcl curclass ; >charpointer curcp ; >widthpointer curwp ; >boolean curupd ; >integer curvdimen ; >integer curhdimen ; >integer dviefnts[( 1000 ) + 1] ; >fontnumber dviifnts[( 1000 ) + 1] ; >fontnumber dvinf ; >bytefile vffile ; >integer vfloc ; >integer vflimit ; >pcktpointer vfext ; >pcktpointer ovfext ; >fontnumber vfcurfnt ; >integer z ; >integer alpha ; >int15 beta ; >integer vfefnts[( 1000 ) + 1] ; >fontnumber vfifnts[( 1000 ) + 1] ; >fontnumber vfnf ; >fontnumber lclnf ; >vfstate vfmove[( 100 ) + 1] ; >bytepointer vfpushloc[( 100 ) + 1] ; >bytepointer vflastloc[( 100 ) + 1] ; >bytepointer vflastend[( 100 ) + 1] ; >eightbits vfpushnum[( 100 ) + 1] ; >vftype vflast[( 100 ) + 1] ; >stackpointer vfptr ; >stackpointer stackused ; >vftype vfchartype[2] ; >vftype vfruletype[2] ; >integer widthdimen ; >int16 nopt ; >int16 kopt ; >bytepointer scanptr ; >ASCIIcode sepchar ; >boolean typesetting ; >integer selectcount[10][10] ; >boolean selectthere[10][10] ; >char selectvals[10] ; >integer selectmax[10] ; >integer outmag ; >integer count[10] ; >char numselect ; >char curselect ; >boolean selected ; >boolean alldone ; >pcktpointer strmag, strselect ; >stackrecord stack[( 100 ) + 1] ; >stackrecord curstack ; >stackrecord zerostack ; >stackpointer stackptr ; >fontnumber recurfnt[( 10 ) + 1] ; >int24 recurext[( 10 ) + 1] ; >integer recurres[( 10 ) + 1] ; >pcktpointer recurpckt[( 10 ) + 1] ; >bytepointer recurloc[( 10 ) + 1] ; >recurpointer nrecur ; >recurpointer recurused ; >int31 dvinum ; >int31 dviden ; >int31 dvimag ; >bytefile outfile ; >integer outloc ; >integer outback ; >int31 outmaxv ; >int31 outmaxh ; >int16u outstack ; >int16u outpages ; >fontnumber outfnts[( 1000 ) + 1] ; >fontnumber outnf ; >fontnumber outfnt ; >text termout ; > ># 1 "odvicopy.h" 1 >void zprintpacket (pcktpointer p); > >void zprintfont (fontnumber f); > >void printoptions (void); >void jumpout (void); >void zconfusion (pcktpointer p); > >void zoverflow (pcktpointer p,int16u n); > >void badtfm (void); >void badfont (void); >void baddvi (void); >void parsearguments (void); >void initialize (void); >pcktpointer makepacket (void); >pcktpointer newpacket (void); >void flushpacket (void); >int8odvicopy pcktsbyte (void); >int8u pcktubyte (void); >int16 pcktspair (void); >int16u pcktupair (void); >int24 pcktstrio (void); >int24u pcktutrio (void); >integer pcktsquad (void); >void zpcktfour (integer x); > >void zpcktchar (boolean upd,integer ext,integer res); > >void zpcktunsigned (eightbits o,integer x); > >void zpcktsigned (eightbits o,integer x); > >void zmakename (pcktpointer e); > >widthpointer zmakewidth (integer w); > >boolean findpacket (void); >void zstartpacket (typeflag t); > >void buildpacket (void); >void readtfmword (void); >void zcheckchecksum (integer c,boolean u); > >void zcheckdesignsize (integer d); > >void zprinthex (int31 num); > >widthpointer zcheckwidth (integer w); > >void loadfont (void); >fontnumber zdefinefont (boolean load); > >integer dvilength (void); >void zdvimove (integer n); > >int8odvicopy dvisbyte (void); >int8u dviubyte (void); >int16 dvispair (void); >int16u dviupair (void); >int24 dvistrio (void); >int24u dviutrio (void); >integer dvisquad (void); >int31 dviuquad (void); >int31 dvipquad (void); >integer dvipointer (void); >void dvifirstpar (void); >void dvifont (void); >void zdvidofont (boolean second); > >int8u vfubyte (void); >int16u vfupair (void); >int24 vfstrio (void); >int24u vfutrio (void); >integer vfsquad (void); >integer vffix1 (void); >integer vffix2 (void); >integer vffix3 (void); >integer vffix3u (void); >integer vffix4 (void); >int31 vfuquad (void); >int31 vfpquad (void); >int31 vffixp (void); >void vffirstpar (void); >void vffont (void); >void vfdofont (void); >boolean dovf (void); >void inputln (void); >boolean zscankeyword (pcktpointer p,int7 l); > >integer scanint (void); >void scancount (void); >void dialog (void); >void zoutpacket (pcktpointer p); > >void zoutfour (integer x); > >void zoutchar (boolean upd,integer ext,integer res); > >void zoutunsigned (eightbits o,integer x); > >void zoutsigned (eightbits o,integer x); > >void zoutfntdef (fontnumber f); > >boolean startmatch (void); >void dopre (void); >void dobop (void); >void doeop (void); >void dopush (void); >void dopop (void); >void doxxx (void); >void doright (void); >void dodown (void); >void dowidth (void); >void dorule (void); >void dochar (void); >void dofont (void); >void pcktfirstpar (void); >void dovfpacket (void); >void dodvi (void); >void closefilesandterminate (void); ># 196 "odvicopy.c" 2 >void > >zprintpacket ( pcktpointer p ) > > > > >{ > bytepointer k ; > {register integer for_end; k = pcktstart [p ];for_end = pcktstart [p + > 1 ]- 1 ; if ( k <= for_end) do > _IO_putc (xchr [bytemem [k ]], termout); > while ( k++ < for_end ) ;} >} >void > >zprintfont ( fontnumber f ) > > > > >{ > pcktpointer p ; > bytepointer k ; > int31 m ; > (void) fputs (" = ", termout) ; > p = fntname [f ]; > {register integer for_end; k = pcktstart [p ]+ 1 ;for_end = pcktstart [ > p + 1 ]- 1 ; if ( k <= for_end) do > _IO_putc (xchr [bytemem [k ]], termout); > while ( k++ < for_end ) ;} > m = zround ((double) (( fntscaled [f ]/ ((double) fntdesign [f ]) ) * outmag)) ; > if ( m != 1000 ) > fprintf ( termout , "%s%ld", " scaled " , (long)m ) ; >} >void > >printoptions ( void ) > > > >{ > fprintf ( termout , "%s\n", "Valid options are:" ) ; > fprintf ( termout , "%s%ld%s\n", " mag" , (long)sepchar , "<new_mag>" ) ; > fprintf ( termout , "%s%ld%s%ld%s%ld%s\n", " select" , (long)sepchar , "<start_count>" , (long)sepchar , "[<max_pages>] (up to " , (long)10 , " ranges)" ) ; >} >void > >jumpout ( void ) > > > >{ > history = 3 ; > closefilesandterminate () ; > uexit ( 1 ) ; >} >void > >zconfusion ( pcktpointer p ) > > > > >{ > (void) fputs (" !This can't happen (", termout) ; > zprintpacket((pcktpointer) (p)) ; > fprintf ( termout , "%s\n", ")." ) ; > jumpout () ; >} >void > >zoverflow ( pcktpointer p , int16u n ) > > > > > >{ > fprintf ( termout , "%s%s%s", " !Sorry, " , "ODVIcopy" , " capacity exceeded [" ) ; > zprintpacket((pcktpointer) (p)) ; > fprintf ( termout , "%c%ld%s\n", '=' , (long)n , "]." ) ; > jumpout () ; >} >void > >badtfm ( void ) > > > >{ > (void) fputs ("Bad TFM or OFM file", termout) ; > zprintfont((fontnumber) (curfnt)) ; > fprintf ( termout , "%c\n", '!' ) ; > { > fprintf ( stderr , "%c%s%c\n", ' ' , "Use OFM2OPL/OPL2OFM/TFtoPL/PLtoTF to diagnose and correct the problem" , '.' ) ; > jumpout () ; > } >} >void > >badfont ( void ) > > > >{ > _IO_putc ('\n', termout); > switch ( fnttype [curfnt ]) > {case 0 : > zconfusion((pcktpointer) (strfonts)) ; > break ; > case 1 : > badtfm () ; > break ; > case 2 : > { > (void) fputs ("Bad (O)VF file", termout) ; > zprintfont((fontnumber) (curfnt)) ; > fprintf ( termout , "%s%ld\n", " loc=" , (long)vfloc ) ; > { > fprintf ( stderr , "%c%s%c\n", ' ' , "Use OVF2OVP/OVP2OVF/VFtoVP/VPtoVF to diagnose and correct the problem" , '.' ) ; > jumpout () ; > } > } > break ; > } >} >void > >baddvi ( void ) > > > >{ > _IO_putc ('\n', termout); > fprintf ( termout , "%s%ld%c\n", "Bad DVI file: loc=" , (long)dviloc , '!' ) ; > (void) fputs (" Use DVItype with output level", termout) ; > if ( 1 ) > (void) fputs ("=4", termout) ; > else > (void) fputs ("<4", termout) ; > { > fprintf ( stderr , "%c%s%c\n", ' ' , "to diagnose the problem" , '.' ) ; > jumpout () ; > } >} >void > >parsearguments ( void ) > > > >{ > > > getoptstruct longoptions[( 5 ) + 1] ; > integer getoptreturnval ; > int optionindex ; > integer currentoption ; > int k, m ; > char * endnum ; > currentoption = 0 ; > longoptions [0 ].name = "help" ; > longoptions [0 ].has_arg = 0 ; > longoptions [0 ].flag = 0 ; > longoptions [0 ].val = 0 ; > currentoption = currentoption + 1 ; > longoptions [currentoption ].name = "version" ; > longoptions [currentoption ].has_arg = 0 ; > longoptions [currentoption ].flag = 0 ; > longoptions [currentoption ].val = 0 ; > currentoption = currentoption + 1 ; > longoptions [currentoption ].name = "magnification" ; > longoptions [currentoption ].has_arg = 1 ; > longoptions [currentoption ].flag = 0 ; > longoptions [currentoption ].val = 0 ; > currentoption = currentoption + 1 ; > longoptions [currentoption ].name = "max-pages" ; > longoptions [currentoption ].has_arg = 1 ; > longoptions [currentoption ].flag = 0 ; > longoptions [currentoption ].val = 0 ; > currentoption = currentoption + 1 ; > longoptions [currentoption ].name = "page-start" ; > longoptions [currentoption ].has_arg = 1 ; > longoptions [currentoption ].flag = 0 ; > longoptions [currentoption ].val = 0 ; > currentoption = currentoption + 1 ; > longoptions [currentoption ].name = 0 ; > longoptions [currentoption ].has_arg = 0 ; > longoptions [currentoption ].flag = 0 ; > longoptions [currentoption ].val = 0 ; > outmag = 0 ; > curselect = 0 ; > selectmax [curselect ]= 0 ; > selected = 1 ; > do { > getoptreturnval = getopt_long_only ( argc , argv , "" , longoptions , > (&(optionindex)) ) ; > if ( getoptreturnval == -1 ) > { > ; > } > else if ( getoptreturnval == 63 ) > { > usage ( "odvicopy" ) ; > } > else if ( ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (longoptions [optionindex ].name) && __builtin_constant_p ("help") && (__s1_len = strlen (longoptions [optionindex ].name), __s2_len = strlen ("help"), (!((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) || __s2_len >= 4)) ? __builtin_strcmp (longoptions [optionindex ].name, "help") : (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) && (__s1_len = strlen (longoptions [optionindex ].name), __s1_len < 4) ? (__builtin_constant_p ("help") && ((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "help") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("help"); register int __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("help") && ((size_t)(const void *)(("help") + 1) - (size_t)(const void *)("help") == 1) && (__s2_len = strlen ("help"), __s2_len < 4) ? (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "help") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (longoptions [optionindex ].name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("help"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("help"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("help"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("help"))[3]); } } __result; }))) : __builtin_strcmp (longoptions [optionindex ].name, "help")))); }) == 0 ) ) > { > usagehelp ( ODVICOPYHELP , ((void *)0) ) ; > } > else if ( ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (longoptions [optionindex ].name) && __builtin_constant_p ("version") && (__s1_len = strlen (longoptions [optionindex ].name), __s2_len = strlen ("version"), (!((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("version") + 1) - (size_t)(const void *)("version") == 1) || __s2_len >= 4)) ? __builtin_strcmp (longoptions [optionindex ].name, "version") : (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) && (__s1_len = strlen (longoptions [optionindex ].name), __s1_len < 4) ? (__builtin_constant_p ("version") && ((size_t)(const void *)(("version") + 1) - (size_t)(const void *)("version") == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "version") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("version"); register int __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("version") && ((size_t)(const void *)(("version") + 1) - (size_t)(const void *)("version") == 1) && (__s2_len = strlen ("version"), __s2_len < 4) ? (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "version") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (longoptions [optionindex ].name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("version"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("version"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("version"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("version"))[3]); } } __result; }))) : __builtin_strcmp (longoptions [optionindex ].name, "version")))); }) == 0 > ) ) > { > printversionandexit ( "This is ODVIcopy, Version 1.5" , > "J. Plaice, Y. Haralambous, P. Breitenlohner" , ((void *)0) , ((void *)0) ) ; > } > else if ( ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (longoptions [optionindex ].name) && __builtin_constant_p ("magnification") && (__s1_len = strlen (longoptions [optionindex ].name), __s2_len = strlen ("magnification"), (!((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("magnification") + 1) - (size_t)(const void *)("magnification") == 1) || __s2_len >= 4)) ? __builtin_strcmp (longoptions [optionindex ].name, "magnification") : (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) && (__s1_len = strlen (longoptions [optionindex ].name), __s1_len < 4) ? (__builtin_constant_p ("magnification") && ((size_t)(const void *)(("magnification") + 1) - (size_t)(const void *)("magnification") == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "magnification") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("magnification"); register int __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("magnification") && ((size_t)(const void *)(("magnification") + 1) - (size_t)(const void *)("magnification") == 1) && (__s2_len = strlen ("magnification"), __s2_len < 4) ? (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "magnification") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (longoptions [optionindex ].name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("magnification"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("magnification"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("magnification"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("magnification"))[3]); } } __result; }))) : __builtin_strcmp (longoptions [optionindex ].name, "magnification")))); }) > == 0 ) ) > { > outmag = atou ( optarg ) ; > } > else if ( ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (longoptions [optionindex ].name) && __builtin_constant_p ("max-pages") && (__s1_len = strlen (longoptions [optionindex ].name), __s2_len = strlen ("max-pages"), (!((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("max-pages") + 1) - (size_t)(const void *)("max-pages") == 1) || __s2_len >= 4)) ? __builtin_strcmp (longoptions [optionindex ].name, "max-pages") : (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) && (__s1_len = strlen (longoptions [optionindex ].name), __s1_len < 4) ? (__builtin_constant_p ("max-pages") && ((size_t)(const void *)(("max-pages") + 1) - (size_t)(const void *)("max-pages") == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "max-pages") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("max-pages"); register int __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("max-pages") && ((size_t)(const void *)(("max-pages") + 1) - (size_t)(const void *)("max-pages") == 1) && (__s2_len = strlen ("max-pages"), __s2_len < 4) ? (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "max-pages") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (longoptions [optionindex ].name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("max-pages"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("max-pages"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("max-pages"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("max-pages"))[3]); } } __result; }))) : __builtin_strcmp (longoptions [optionindex ].name, "max-pages")))); }) == > 0 ) ) > { > selectmax [curselect ]= atou ( optarg ) ; > } > else if ( ( __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (longoptions [optionindex ].name) && __builtin_constant_p ("page-start") && (__s1_len = strlen (longoptions [optionindex ].name), __s2_len = strlen ("page-start"), (!((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("page-start") + 1) - (size_t)(const void *)("page-start") == 1) || __s2_len >= 4)) ? __builtin_strcmp (longoptions [optionindex ].name, "page-start") : (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) && (__s1_len = strlen (longoptions [optionindex ].name), __s1_len < 4) ? (__builtin_constant_p ("page-start") && ((size_t)(const void *)(("page-start") + 1) - (size_t)(const void *)("page-start") == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "page-start") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("page-start"); register int __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (longoptions [optionindex ].name))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("page-start") && ((size_t)(const void *)(("page-start") + 1) - (size_t)(const void *)("page-start") == 1) && (__s2_len = strlen ("page-start"), __s2_len < 4) ? (__builtin_constant_p (longoptions [optionindex ].name) && ((size_t)(const void *)((longoptions [optionindex ].name) + 1) - (size_t)(const void *)(longoptions [optionindex ].name) == 1) ? __builtin_strcmp (longoptions [optionindex ].name, "page-start") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (longoptions [optionindex ].name); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("page-start"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("page-start"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("page-start"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("page-start"))[3]); } } __result; }))) : __builtin_strcmp (longoptions [optionindex ].name, "page-start")))); }) == > 0 ) ) > { > k = 0 ; > m = 0 ; > while ( optarg [m ]) { > > if ( optarg [m ]== 42 ) > { > selectthere [curselect ][k ]= 0 ; > m = m + 1 ; > } > else if ( optarg [m ]== 46 ) > { > k = k + 1 ; > if ( k >= 10 ) > { > fprintf ( stderr , "%s\n", "odvicopy: More than ten count registers specified." ) ; > uexit ( 1 ) ; > } > m = m + 1 ; > } > else { > > selectcount [curselect ][k ]= strtol ( optarg + m , (&(endnum)) , 10 ) ; > > if ( endnum == optarg + m ) > { > fprintf ( stderr , "%s\n", "odvicopy: -page-start values must be numeric or *." ) ; > uexit ( 1 ) ; > } > selectthere [curselect ][k ]= 1 ; > m = m + endnum - ( optarg + m ) ; > } > } > selectvals [curselect ]= k ; > } > } while ( ! ( getoptreturnval == -1 ) ) ; > if ( optind == argc ) > { > dvifile = (stdin) ; > outfile = (stdout) ; > termout = stderr ; > } > else if ( optind + 1 == argc ) > { > dvifile = xfopen (extend_filename ( cmdline ( optind ) , "dvi" ), "rb") ; > outfile = (stdout) ; > termout = stderr ; > } > else if ( optind + 2 == argc ) > { > dvifile = xfopen (extend_filename ( cmdline ( optind ) , "dvi" ), "rb") ; > outfile = xfopen (extend_filename ( cmdline ( optind + 1 ) , "dvi" ), "wb") > ; > termout = stdout ; > } > else { > > fprintf ( stderr , "%s\n", "odvicopy: Need at most two file arguments." ) ; > usage ( "odvicopy" ) ; > } >} >void > >initialize ( void ) > > > >{ > int16 i ; > hashcode h ; > kpse_set_progname ( argv [0 ]) ; > parsearguments () ; > (void) fputs ("This is ODVIcopy, Version 1.5", termout) ; > fprintf ( termout , "%s\n", versionstring ) ; > fprintf ( termout , "%s\n", "(C) 1990,95 P. Breitenlohner, 1994,97 J. Plaice and Y. Haralambous" ) ; > fprintf ( termout , "%s\n", "Distributed under terms of GNU General Public License" ) ; > {register integer for_end; i = 0 ;for_end = 31 ; if ( i <= for_end) do > xchr [i ]= '?' ; > while ( i++ < for_end ) ;} > xchr [32 ]= ' ' ; > xchr [33 ]= '!' ; > xchr [34 ]= '"' ; > xchr [35 ]= '#' ; > xchr [36 ]= '$' ; > xchr [37 ]= '%' ; > xchr [38 ]= '&' ; > xchr [39 ]= '\'' ; > xchr [40 ]= '(' ; > xchr [41 ]= ')' ; > xchr [42 ]= '*' ; > xchr [43 ]= '+' ; > xchr [44 ]= ',' ; > xchr [45 ]= '-' ; > xchr [46 ]= '.' ; > xchr [47 ]= '/' ; > xchr [48 ]= '0' ; > xchr [49 ]= '1' ; > xchr [50 ]= '2' ; > xchr [51 ]= '3' ; > xchr [52 ]= '4' ; > xchr [53 ]= '5' ; > xchr [54 ]= '6' ; > xchr [55 ]= '7' ; > xchr [56 ]= '8' ; > xchr [57 ]= '9' ; > xchr [58 ]= ':' ; > xchr [59 ]= ';' ; > xchr [60 ]= '<' ; > xchr [61 ]= '=' ; > xchr [62 ]= '>' ; > xchr [63 ]= '?' ; > xchr [64 ]= '@' ; > xchr [65 ]= 'A' ; > xchr [66 ]= 'B' ; > xchr [67 ]= 'C' ; > xchr [68 ]= 'D' ; > xchr [69 ]= 'E' ; > xchr [70 ]= 'F' ; > xchr [71 ]= 'G' ; > xchr [72 ]= 'H' ; > xchr [73 ]= 'I' ; > xchr [74 ]= 'J' ; > xchr [75 ]= 'K' ; > xchr [76 ]= 'L' ; > xchr [77 ]= 'M' ; > xchr [78 ]= 'N' ; > xchr [79 ]= 'O' ; > xchr [80 ]= 'P' ; > xchr [81 ]= 'Q' ; > xchr [82 ]= 'R' ; > xchr [83 ]= 'S' ; > xchr [84 ]= 'T' ; > xchr [85 ]= 'U' ; > xchr [86 ]= 'V' ; > xchr [87 ]= 'W' ; > xchr [88 ]= 'X' ; > xchr [89 ]= 'Y' ; > xchr [90 ]= 'Z' ; > xchr [91 ]= '[' ; > xchr [92 ]= '\\' ; > xchr [93 ]= ']' ; > xchr [94 ]= '^' ; > xchr [95 ]= '_' ; > xchr [96 ]= '`' ; > xchr [97 ]= 'a' ; > xchr [98 ]= 'b' ; > xchr [99 ]= 'c' ; > xchr [100 ]= 'd' ; > xchr [101 ]= 'e' ; > xchr [102 ]= 'f' ; > xchr [103 ]= 'g' ; > xchr [104 ]= 'h' ; > xchr [105 ]= 'i' ; > xchr [106 ]= 'j' ; > xchr [107 ]= 'k' ; > xchr [108 ]= 'l' ; > xchr [109 ]= 'm' ; > xchr [110 ]= 'n' ; > xchr [111 ]= 'o' ; > xchr [112 ]= 'p' ; > xchr [113 ]= 'q' ; > xchr [114 ]= 'r' ; > xchr [115 ]= 's' ; > xchr [116 ]= 't' ; > xchr [117 ]= 'u' ; > xchr [118 ]= 'v' ; > xchr [119 ]= 'w' ; > xchr [120 ]= 'x' ; > xchr [121 ]= 'y' ; > xchr [122 ]= 'z' ; > xchr [123 ]= '{' ; > xchr [124 ]= '|' ; > xchr [125 ]= '}' ; > xchr [126 ]= '~' ; > {register integer for_end; i = 127 ;for_end = 255 ; if ( i <= for_end) do > xchr [i ]= '?' ; > while ( i++ < for_end ) ;} > {register integer for_end; i = 0 ;for_end = 255 ; if ( i <= for_end) do > xord [(i) ]= 32 ; > while ( i++ < for_end ) ;} > {register integer for_end; i = 32 ;for_end = 126 ; if ( i <= for_end) do > xord [xchr [i ]]= i ; > while ( i++ < for_end ) ;} > history = 0 ; > pcktptr = 1 ; > byteptr = 1 ; > pcktstart [0 ]= 1 ; > pcktstart [1 ]= 1 ; > {register integer for_end; h = 0 ;for_end = 352 ; if ( h <= for_end) do > phash [h ]= 0 ; > while ( h++ < for_end ) ;} > whash [0 ]= 1 ; > wlink [1 ]= 0 ; > widths [0 ]= 0 ; > widths [1 ]= 0 ; > nwidths = 2 ; > {register integer for_end; h = 1 ;for_end = 352 ; if ( h <= for_end) do > whash [h ]= 0 ; > while ( h++ < for_end ) ;} > nchars = 0 ; > nf = 0 ; > curfnt = ( 1000 ) ; > pcktmmsg = 0 ; > pcktsmsg = 0 ; > pcktdmsg = 0 ; > {register integer for_end; i = 0 ;for_end = 136 ; if ( i <= for_end) do > dvipar [i ]= 0 ; > while ( i++ < for_end ) ;} > {register integer for_end; i = 138 ;for_end = 255 ; if ( i <= for_end) do > dvipar [i ]= 1 ; > while ( i++ < for_end ) ;} > dvipar [132 ]= 11 ; > dvipar [137 ]= 11 ; > dvipar [143 ]= 2 ; > dvipar [144 ]= 4 ; > dvipar [145 ]= 6 ; > dvipar [146 ]= 8 ; > {register integer for_end; i = 171 ;for_end = 234 ; if ( i <= for_end) do > dvipar [i ]= 12 ; > while ( i++ < for_end ) ;} > dvipar [235 ]= 3 ; > dvipar [236 ]= 5 ; > dvipar [237 ]= 7 ; > dvipar [238 ]= 9 ; > dvipar [239 ]= 3 ; > dvipar [240 ]= 5 ; > dvipar [241 ]= 7 ; > dvipar [242 ]= 10 ; > {register integer for_end; i = 0 ;for_end = 3 ; if ( i <= for_end) do > { > dvipar [i + 148 ]= dvipar [i + 143 ]; > dvipar [i + 153 ]= dvipar [i + 143 ]; > dvipar [i + 157 ]= dvipar [i + 143 ]; > dvipar [i + 162 ]= dvipar [i + 143 ]; > dvipar [i + 167 ]= dvipar [i + 143 ]; > dvipar [i + 243 ]= dvipar [i + 235 ]; > } > while ( i++ < for_end ) ;} > {register integer for_end; i = 0 ;for_end = 136 ; if ( i <= for_end) do > dvicl [i ]= 0 ; > while ( i++ < for_end ) ;} > dvicl [132 ]= 1 ; > dvicl [137 ]= 1 ; > dvicl [138 ]= 17 ; > dvicl [139 ]= 17 ; > dvicl [140 ]= 17 ; > dvicl [141 ]= 3 ; > dvicl [142 ]= 4 ; > dvicl [147 ]= 5 ; > dvicl [152 ]= 6 ; > dvicl [161 ]= 10 ; > dvicl [166 ]= 11 ; > {register integer for_end; i = 0 ;for_end = 3 ; if ( i <= for_end) do > { > dvicl [i + 143 ]= 7 ; > dvicl [i + 148 ]= 8 ; > dvicl [i + 153 ]= 9 ; > dvicl [i + 157 ]= 12 ; > dvicl [i + 162 ]= 13 ; > dvicl [i + 167 ]= 14 ; > dvicl [i + 239 ]= 2 ; > dvicl [i + 243 ]= 16 ; > } > while ( i++ < for_end ) ;} > {register integer for_end; i = 171 ;for_end = 238 ; if ( i <= for_end) do > dvicl [i ]= 15 ; > while ( i++ < for_end ) ;} > {register integer for_end; i = 247 ;for_end = 255 ; if ( i <= for_end) do > dvicl [i ]= 17 ; > while ( i++ < for_end ) ;} > dvicharcmd [0 ]= 133 ; > dvicharcmd [1 ]= 128 ; > dvirulecmd [0 ]= 137 ; > dvirulecmd [1 ]= 132 ; > (zzzaa -7) [7 ]= 143 ; > (zzzaa -7) [8 ]= 148 ; > (zzzaa -7) [9 ]= 153 ; > (zzzab -12) [12 ]= 157 ; > (zzzab -12) [13 ]= 162 ; > (zzzab -12) [14 ]= 167 ; > curcp = 0 ; > curwp = 0 ; > dvinf = 0 ; > lclnf = 0 ; > vfmove [0 ][0 ][0 ]= 0 ; > vfmove [0 ][0 ][1 ]= 0 ; > vfmove [0 ][1 ][0 ]= 0 ; > vfmove [0 ][1 ][1 ]= 0 ; > stackused = 0 ; > vfchartype [0 ]= 3 ; > vfchartype [1 ]= 0 ; > vfruletype [0 ]= 4 ; > vfruletype [1 ]= 1 ; > widthdimen = -1073741824L ; > widthdimen = widthdimen - 1073741824L ; > nopt = 0 ; > kopt = 0 ; > typesetting = 0 ; > zerostack .hfield = 0 ; > zerostack .vfield = 0 ; > {register integer for_end; i = 0 ;for_end = 1 ; if ( i <= for_end) do > { > zerostack .wxfield [i ]= 0 ; > zerostack .yzfield [i ]= 0 ; > } > while ( i++ < for_end ) ;} > nrecur = 0 ; > recurused = 0 ; > outloc = 0 ; > outback = -1 ; > outmaxv = 0 ; > outmaxh = 0 ; > outstack = 0 ; > outpages = 0 ; > outnf = 0 ; >} >pcktpointer > >makepacket ( void ) > > > >{ > register pcktpointer Result; bytepointer i, k ; > hashcode h ; > bytepointer s, l ; > pcktpointer p ; > s = pcktstart [pcktptr ]; > l = byteptr - s ; > if ( l == 0 ) > p = 0 ; > else { > > h = bytemem [s ]; > i = s + 1 ; > while ( i < byteptr ) { > > h = ( h + h + bytemem [i ]) % 353 ; > i = i + 1 ; > } > p = phash [h ]; > while ( p != 0 ) { > > if ( ( pcktstart [p + 1 ]- pcktstart [p ]) == l ) > { > i = s ; > k = pcktstart [p ]; > while ( ( i < byteptr ) && ( bytemem [i ]== bytemem [k ]) ) { > > i = i + 1 ; > k = k + 1 ; > } > if ( i == byteptr ) > { > byteptr = pcktstart [pcktptr ]; > goto lab31 ; > } > } > p = plink [p ]; > } > p = pcktptr ; > plink [p ]= phash [h ]; > phash [h ]= p ; > if ( pcktptr == ( 100000L ) ) > zoverflow((pcktpointer) (strpackets), (int16u) (( 100000L ))) ; > pcktptr = pcktptr + 1 ; > pcktstart [pcktptr ]= byteptr ; > } > lab31: Result = p ; > return Result ; >} >pcktpointer > >newpacket ( void ) > > > >{ > register pcktpointer Result; if ( pcktptr == ( 100000L ) ) > zoverflow((pcktpointer) (strpackets), (int16u) (( 100000L ))) ; > Result = pcktptr ; > pcktptr = pcktptr + 1 ; > pcktstart [pcktptr ]= byteptr ; > return Result ; >} >void > >flushpacket ( void ) > > > >{ > pcktptr = pcktptr - 1 ; > byteptr = pcktstart [pcktptr ]; >} >int8odvicopy > >pcktsbyte ( void ) > > > >{ > register int8odvicopy Result; eightbits a ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > if ( a < 128 ) > Result = a ; > else Result = a - 256 ; > return Result ; >} >int8u > >pcktubyte ( void ) > > > >{ > register int8u Result; eightbits a ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > Result = a ; > return Result ; >} >int16 > >pcktspair ( void ) > > > >{ > register int16 Result; eightbits a, b ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > if ( a < 128 ) > Result = a * ((integer) (256)) + b ; > else Result = ( a - ((integer) (256)) ) * ((integer) (256)) + b ; > return Result ; >} >int16u > >pcktupair ( void ) > > > >{ > register int16u Result; eightbits a, b ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > Result = a * ((integer) (256)) + b ; > return Result ; >} >int24 > >pcktstrio ( void ) > > > >{ > register int24 Result; eightbits a, b, c ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > c = bytemem [curloc ]; > curloc = curloc + 1 ; > } > if ( a < 128 ) > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > else Result = ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ; > > return Result ; >} >int24u > >pcktutrio ( void ) > > > >{ > register int24u Result; eightbits a, b, c ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > c = bytemem [curloc ]; > curloc = curloc + 1 ; > } > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > return Result ; >} >integer > >pcktsquad ( void ) > > > >{ > register integer Result; eightbits a, b, c, d ; > { > a = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > c = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > d = bytemem [curloc ]; > curloc = curloc + 1 ; > } > if ( a < 128 ) > Result = ( ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > else Result = ( ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > return Result ; >} >void > >zpcktfour ( integer x ) > > > > >{ > ; > if ( ( 3000000L ) - byteptr < 4 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > if ( x >= 0 ) > { > bytemem [byteptr ]= x / 16777216L ; > byteptr = byteptr + 1 ; > } > else { > > x = x + 1073741824L ; > x = x + 1073741824L ; > { > bytemem [byteptr ]= ( x / 16777216L ) + 128 ; > byteptr = byteptr + 1 ; > } > } > x = x % 16777216L ; > { > bytemem [byteptr ]= x / 65536L ; > byteptr = byteptr + 1 ; > } > x = x % 65536L ; > { > bytemem [byteptr ]= x / 256 ; > byteptr = byteptr + 1 ; > } > { > bytemem [byteptr ]= x % 256 ; > byteptr = byteptr + 1 ; > } >} >void > >zpcktchar ( boolean upd , integer ext , integer res ) > > > > > > >{ > eightbits o ; > if ( ( 3000000L ) - byteptr < 5 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > if ( ( res >= 0 ) && ( res < 256 ) ) > { > if ( ( ! upd ) || ( res > 127 ) || ( ext != 0 ) ) > { > o = dvicharcmd [upd ]; > if ( ext < 0 ) > ext = ext + 16777216L ; > if ( ext == 0 ) > { > bytemem [byteptr ]= o ; > byteptr = byteptr + 1 ; > } > else { > > if ( ext < 256 ) > { > bytemem [byteptr ]= o + 1 ; > byteptr = byteptr + 1 ; > } > else { > > if ( ext < 65536L ) > { > bytemem [byteptr ]= o + 2 ; > byteptr = byteptr + 1 ; > } > else { > > { > bytemem [byteptr ]= o + 3 ; > byteptr = byteptr + 1 ; > } > { > bytemem [byteptr ]= ext / 65536L ; > byteptr = byteptr + 1 ; > } > ext = ext % 65536L ; > } > { > bytemem [byteptr ]= ext / 256 ; > byteptr = byteptr + 1 ; > } > ext = ext % 256 ; > } > { > bytemem [byteptr ]= ext ; > byteptr = byteptr + 1 ; > } > } > } > { > bytemem [byteptr ]= res ; > byteptr = byteptr + 1 ; > } > } > else { > > if ( ( res >= 0 ) && ( res < 65536L ) ) > { > bytemem [byteptr ]= o + 1 ; > byteptr = byteptr + 1 ; > } > else { > > if ( ( res >= 0 ) && ( res < 16777216L ) ) > { > bytemem [byteptr ]= o + 2 ; > byteptr = byteptr + 1 ; > } > else { > > { > bytemem [byteptr ]= o + 3 ; > byteptr = byteptr + 1 ; > } > if ( res >= 0 ) > { > bytemem [byteptr ]= res / 16777216L ; > byteptr = byteptr + 1 ; > } > else { > > res = res + 1073741824L ; > res = res + 1073741824L ; > { > bytemem [byteptr ]= ( res / 16777216L ) + 128 ; > byteptr = byteptr + 1 ; > } > res = res % 16777216L ; > } > res = res % 16777216L ; > } > { > bytemem [byteptr ]= res / 65536L ; > byteptr = byteptr + 1 ; > } > res = res % 65536L ; > } > { > bytemem [byteptr ]= res / 256 ; > byteptr = byteptr + 1 ; > } > res = res % 256 ; > { > bytemem [byteptr ]= res ; > byteptr = byteptr + 1 ; > } > } >} >void > >zpcktunsigned ( eightbits o , integer x ) > > > > > >{ > ; > if ( ( 3000000L ) - byteptr < 5 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > if ( ( x < 256 ) && ( x >= 0 ) ) > if ( ( o == 235 ) && ( x < 64 ) ) > x = x + 171 ; > else { > > bytemem [byteptr ]= o ; > byteptr = byteptr + 1 ; > } > else { > > if ( ( x < 65536L ) && ( x >= 0 ) ) > { > bytemem [byteptr ]= o + 1 ; > byteptr = byteptr + 1 ; > } > else { > > if ( ( x < 16777216L ) && ( x >= 0 ) ) > { > bytemem [byteptr ]= o + 2 ; > byteptr = byteptr + 1 ; > } > else { > > { > bytemem [byteptr ]= o + 3 ; > byteptr = byteptr + 1 ; > } > if ( x >= 0 ) > { > bytemem [byteptr ]= x / 16777216L ; > byteptr = byteptr + 1 ; > } > else { > > x = x + 1073741824L ; > x = x + 1073741824L ; > { > bytemem [byteptr ]= ( x / 16777216L ) + 128 ; > byteptr = byteptr + 1 ; > } > } > x = x % 16777216L ; > } > { > bytemem [byteptr ]= x / 65536L ; > byteptr = byteptr + 1 ; > } > x = x % 65536L ; > } > { > bytemem [byteptr ]= x / 256 ; > byteptr = byteptr + 1 ; > } > x = x % 256 ; > } > { > bytemem [byteptr ]= x ; > byteptr = byteptr + 1 ; > } >} >void > >zpcktsigned ( eightbits o , integer x ) > > > > > >{ > int31 xx ; > if ( ( 3000000L ) - byteptr < 5 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > if ( x >= 0 ) > xx = x ; > else xx = - (integer) ( x + 1 ) ; > if ( xx < 128 ) > { > { > bytemem [byteptr ]= o ; > byteptr = byteptr + 1 ; > } > if ( x < 0 ) > x = x + 256 ; > } > else { > > if ( xx < 32768L ) > { > { > bytemem [byteptr ]= o + 1 ; > byteptr = byteptr + 1 ; > } > if ( x < 0 ) > x = x + 65536L ; > } > else { > > if ( xx < 8388608L ) > { > { > bytemem [byteptr ]= o + 2 ; > byteptr = byteptr + 1 ; > } > if ( x < 0 ) > x = x + 16777216L ; > } > else { > > { > bytemem [byteptr ]= o + 3 ; > byteptr = byteptr + 1 ; > } > if ( x >= 0 ) > { > bytemem [byteptr ]= x / 16777216L ; > byteptr = byteptr + 1 ; > } > else { > > x = 2147483647L - xx ; > { > bytemem [byteptr ]= ( x / 16777216L ) + 128 ; > byteptr = byteptr + 1 ; > } > } > x = x % 16777216L ; > } > { > bytemem [byteptr ]= x / 65536L ; > byteptr = byteptr + 1 ; > } > x = x % 65536L ; > } > { > bytemem [byteptr ]= x / 256 ; > byteptr = byteptr + 1 ; > } > x = x % 256 ; > } > { > bytemem [byteptr ]= x ; > byteptr = byteptr + 1 ; > } >} >void > >zmakename ( pcktpointer e ) > > > > >{ > eightbits b ; > pcktpointer n ; > bytepointer curloc, curlimit ; > char c ; > n = fntname [curfnt ]; > curname = ((char*)xmalloc((( pcktstart [n + 1 ]- pcktstart [n ]) + ( pcktstart [e + 1 ]- pcktstart [e ])+1)*sizeof(char))) ; > > curloc = pcktstart [n ]; > curlimit = pcktstart [n + 1 ]; > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > if ( b > 0 ) > lcurname = 0 ; > while ( curloc < curlimit ) { > > { > b = bytemem [curloc ]; > curloc = curloc + 1 ; > } > { > curname [lcurname ]= xchr [b ]; > lcurname = lcurname + 1 ; > } > } > curname [lcurname ]= 0 ; >} >widthpointer > >zmakewidth ( integer w ) > > > > >{ > register widthpointer Result; hashcode h ; > widthpointer p ; > int16 x ; > widths [nwidths ]= w ; > if ( w >= 0 ) > x = w / 16777216L ; > else { > > w = w + 1073741824L ; > w = w + 1073741824L ; > x = ( w / 16777216L ) + 128 ; > } > w = w % 16777216L ; > x = x + x + ( w / 65536L ) ; > w = w % 65536L ; > x = x + x + ( w / 256 ) ; > h = ( x + x + ( w % 256 ) ) % 353 ; > p = whash [h ]; > while ( p != 0 ) { > > if ( widths [p ]== widths [nwidths ]) > goto lab31 ; > p = wlink [p ]; > } > p = nwidths ; > wlink [p ]= whash [h ]; > whash [h ]= p ; > if ( nwidths == ( 10000 ) ) > zoverflow((pcktpointer) (strwidths), (int16u) (( 10000 ))) ; > nwidths = nwidths + 1 ; > lab31: Result = p ; > return Result ; >} >boolean > >findpacket ( void ) > > > >{ > register boolean Result; pcktpointer p, q ; > eightbits f ; > int24 e ; > q = charpackets [fntchars [curfnt ]+ curres ]; > while ( q != ( 100000L ) ) { > > p = q ; > q = ( 100000L ) ; > curloc = pcktstart [p ]; > curlimit = pcktstart [p + 1 ]; > if ( p == 0 ) > { > e = 0 ; > f = 0 ; > } > else { > > { > f = bytemem [curloc ]; > curloc = curloc + 1 ; > } > switch ( ( f / 64 ) ) > {case 0 : > e = 0 ; > break ; > case 1 : > e = pcktubyte () ; > break ; > case 2 : > e = pcktupair () ; > break ; > case 3 : > e = pcktstrio () ; > break ; > } > if ( ( f % 64 ) >= 32 ) > q = pcktupair () ; > f = f % 32 ; > } > if ( e == curext ) > goto lab31 ; > } > if ( charpackets [fntchars [curfnt ]+ curres ]== ( 100000L ) ) > { > if ( pcktmmsg < 10 ) > { > fprintf ( termout , "%s%ld%s%ld\n", "---missing character packet for character " , (long)curres , " font " , (long)curfnt ) ; > pcktmmsg = pcktmmsg + 1 ; > history = 2 ; > if ( pcktmmsg == 10 ) > fprintf ( termout , "%s\n", "---further messages suppressed." ) ; > } > Result = 0 ; > goto lab10 ; > } > if ( pcktsmsg < 10 ) > { > fprintf ( termout , "%s%ld%s%ld%s%ld%s%ld\n", "---substituted character packet with extension " , (long)e , " instead of " , (long)curext , " for character " , (long)curres , " font " , (long)curfnt ) ; > pcktsmsg = pcktsmsg + 1 ; > history = 2 ; > if ( pcktsmsg == 10 ) > fprintf ( termout , "%s\n", "---further messages suppressed." ) ; > } > curext = e ; > lab31: curpckt = p ; > curtype = f ; > Result = 1 ; > lab10: ; > return Result ; >} >void > >zstartpacket ( typeflag t ) > > > > >{ > pcktpointer p, q ; > int8u f ; > integer e ; > bytepointer curloc ; > bytepointer curlimit ; > q = charpackets [fntchars [curfnt ]+ curres ]; > while ( q != ( 100000L ) ) { > > p = q ; > q = ( 100000L ) ; > curloc = pcktstart [p ]; > curlimit = pcktstart [p + 1 ]; > if ( p == 0 ) > { > e = 0 ; > f = 0 ; > } > else { > > { > f = bytemem [curloc ]; > curloc = curloc + 1 ; > } > switch ( ( f / 64 ) ) > {case 0 : > e = 0 ; > break ; > case 1 : > e = pcktubyte () ; > break ; > case 2 : > e = pcktupair () ; > break ; > case 3 : > e = pcktstrio () ; > break ; > } > if ( ( f % 64 ) >= 32 ) > q = pcktupair () ; > f = f % 32 ; > } > if ( e == curext ) > goto lab31 ; > } > q = charpackets [fntchars [curfnt ]+ curres ]; > pcktdup = 0 ; > goto lab32 ; > lab31: pcktdup = 1 ; > pcktprev = p ; > lab32: pcktext = curext ; > pcktres = curres ; > if ( ( 3000000L ) - byteptr < 6 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > if ( q == ( 100000L ) ) > f = t ; > else f = t + 32 ; > e = curext ; > if ( e < 0 ) > e = e + 16777216L ; > if ( e == 0 ) > { > bytemem [byteptr ]= f ; > byteptr = byteptr + 1 ; > } > else { > > if ( e < 256 ) > { > bytemem [byteptr ]= f + 64 ; > byteptr = byteptr + 1 ; > } > else { > > if ( e < 65536L ) > { > bytemem [byteptr ]= f + 128 ; > byteptr = byteptr + 1 ; > } > else { > > { > bytemem [byteptr ]= f + 192 ; > byteptr = byteptr + 1 ; > } > { > bytemem [byteptr ]= e / 65536L ; > byteptr = byteptr + 1 ; > } > e = e % 65536L ; > } > { > bytemem [byteptr ]= e / 256 ; > byteptr = byteptr + 1 ; > } > e = e % 256 ; > } > { > bytemem [byteptr ]= e ; > byteptr = byteptr + 1 ; > } > } > if ( q != ( 100000L ) ) > { > { > bytemem [byteptr ]= q / 256 ; > byteptr = byteptr + 1 ; > } > { > bytemem [byteptr ]= q % 256 ; > byteptr = byteptr + 1 ; > } > } >} >void > >buildpacket ( void ) > > > >{ > bytepointer k, l ; > if ( pcktdup ) > { > k = pcktstart [pcktprev + 1 ]; > l = pcktstart [pcktptr ]; > if ( ( byteptr - l ) != ( k - pcktstart [pcktprev ]) ) > pcktdup = 0 ; > while ( pcktdup && ( byteptr > l ) ) { > > byteptr = byteptr - 1 ; > k = k - 1 ; > if ( bytemem [byteptr ]!= bytemem [k ]) > pcktdup = 0 ; > } > if ( ( ! pcktdup ) && ( pcktdmsg < 10 ) ) > { > fprintf ( termout , "%s%ld", "---duplicate packet for character " , (long)pcktres ) ; > if ( pcktext != 0 ) > fprintf ( termout , "%c%ld", '.' , (long)pcktext ) ; > fprintf ( termout , "%s%ld\n", " font " , (long)curfnt ) ; > pcktdmsg = pcktdmsg + 1 ; > history = 2 ; > if ( pcktdmsg == 10 ) > fprintf ( termout , "%s\n", "---further messages suppressed." ) ; > } > byteptr = l ; > } > else charpackets [fntchars [curfnt ]+ pcktres ]= makepacket () ; >} >void > >readtfmword ( void ) > > > >{ > ((tfmb0) = _IO_getc (tfmfile)) ; > ((tfmb1) = _IO_getc (tfmfile)) ; > ((tfmb2) = _IO_getc (tfmfile)) ; > ((tfmb3) = _IO_getc (tfmfile)) ; > if ( eof ( tfmfile ) ) > badfont () ; >} >void > >zcheckchecksum ( integer c , boolean u ) > > > > > >{ > if ( ( c != fntcheck [curfnt ]) && ( c != 0 ) ) > { > if ( fntcheck [curfnt ]!= 0 ) > { > _IO_putc ('\n', termout); > fprintf ( termout , "%s%ld%s%ld%c\n", "---beware: check sums do not agree! (" , (long)c , " vs. " , (long)fntcheck [curfnt ], ')' ) ; > if ( history == 0 ) > history = 1 ; > } > if ( u ) > fntcheck [curfnt ]= c ; > } >} >void > >zcheckdesignsize ( integer d ) > > > > >{ > if ( ((integer)(d - fntdesign [curfnt ]) >= 0 ? (integer)(d - fntdesign [curfnt ]) : (integer)-(d - fntdesign [curfnt ])) > 2 ) > { > _IO_putc ('\n', termout); > fprintf ( termout , "%s%ld%s%ld%c\n", "---beware: design sizes do not agree! (" , (long)d , " vs. " , (long)fntdesign [curfnt ], ')' ) ; > history = 2 ; > } >} >void > >zprinthex ( int31 num ) > > > > >{ > int31 c ; > _IO_putc ('"', termout); > c = num / 268435456L ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 268435456L ; > c = num / 16777216L ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 16777216L ; > c = num / 1048576L ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 1048576L ; > c = num / 65536L ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 65536L ; > c = num / 4096 ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 4096 ; > c = num / 256 ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 256 ; > c = num / 16 ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); > num = num % 16 ; > c = num ; > if ( ( c < 10 ) ) > _IO_putc (xchr [c + '0' ], termout); > else > _IO_putc (xchr [c - 10 + 'a' ], termout); >} >widthpointer > >zcheckwidth ( integer w ) > > > > >{ > register widthpointer Result; widthpointer wp ; > if ( ( curres >= fntbc [curfnt ]) && ( curres <= fntec [curfnt ]) ) > wp = charwidths [fntchars [curfnt ]+ curres ]; > else wp = 0 ; > if ( wp == 0 ) > { > { > _IO_putc ('\n', termout); > fprintf ( termout , "%s%ld", "Bad char " , (long)curres ) ; > } > if ( curext != 0 ) > fprintf ( termout , "%c%ld", '.' , (long)curext ) ; > fprintf ( termout , "%s%ld", " font " , (long)curfnt ) ; > zprintfont((fontnumber) (curfnt)) ; > { > fprintf ( stderr , "%c%s%c\n", ' ' , " (compare TFM or OFM file)" , '.' ) ; > jumpout () ; > } > } > if ( w != widths [wp ]) > { > zprinthex((int31) (curext)) ; > _IO_putc (' ', termout); > zprinthex((int31) (curres)) ; > (void) fputs (": char widths do not agree! (", termout) ; > zprinthex((int31) (w)) ; > (void) fputs (" vs. ", termout) ; > zprinthex((int31) (widths [wp ])) ; > fprintf ( termout , "%c\n", ')' ) ; > history = 2 ; > } > Result = wp ; > return Result ; >} >void > >loadfont ( void ) > > > >{ > integer l, j, lprime ; > charpointer p ; > widthpointer q ; > int31 bc, ec ; > int31 lf ; > int31 lh ; > int31 nw ; > integer w ; > int31 firsttwo ; > integer ofmlevel ; > int31 nco, extrawords ; > int31 tfmwidth ; > integer z ; > integer alpha ; > int15 beta ; > fprintf ( termout , "%s%ld", "TFM: font " , (long)curfnt ) ; > zprintfont((fontnumber) (curfnt)) ; > fnttype [curfnt ]= 1 ; > lcurname = 0 ; > zmakename((pcktpointer) (tfmext)) ; > fullname = kpse_find_file (curname, kpse_tfm_format, 1) ; > if ( fullname ) > { > tfmfile = xfopen (fullname, "rb") ; > free ( curname ) ; > free ( fullname ) ; > fntextended [curfnt ]= 0 ; > } > else { > > lcurname = 0 ; > zmakename((pcktpointer) (ofmext)) ; > fullname = kpse_find_file (curname, kpse_ofm_format, 1) ; > if ( fullname ) > { > tfmfile = xfopen (fullname, "rb") ; > free ( curname ) ; > free ( fullname ) ; > fntextended [curfnt ]= 1 ; > } > else { > > fprintf ( stderr , "%c%s%c\n", ' ' , "---not loaded, TFM or OFM file can't be opened!" , '.' ) ; > jumpout () ; > } > } > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else firsttwo = tfmb0 * ((integer) (256)) + tfmb1 ; > if ( ( firsttwo != 0 ) ) > { > ofmlevel = -1 ; > if ( tfmb2 > 127 ) > badfont () ; > else lh = tfmb2 * ((integer) (256)) + tfmb3 ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else bc = tfmb0 * ((integer) (256)) + tfmb1 ; > if ( tfmb2 > 127 ) > badfont () ; > else ec = tfmb2 * ((integer) (256)) + tfmb3 ; > if ( ec < bc ) > { > bc = 1 ; > ec = 0 ; > } > else if ( ec > 255 ) > badfont () ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else nw = tfmb0 * ((integer) (256)) + tfmb1 ; > if ( ( nw == 0 ) || ( nw > 256 ) ) > badfont () ; > {register integer for_end; l = -2 ;for_end = lh ; if ( l <= for_end) do > { > readtfmword () ; > if ( l == 1 ) > { > if ( tfmb0 < 128 ) > w = ( ( tfmb0 * ((integer) (256)) + tfmb1 ) * ((integer) (256)) + tfmb2 > ) * ((integer) (256)) + tfmb3 ; > else w = ( ( ( tfmb0 - ((integer) (256)) ) * ((integer) (256)) + tfmb1 ) > * ((integer) (256)) + tfmb2 ) * ((integer) (256)) + tfmb3 ; > zcheckchecksum((integer) (w), (boolean) (1)) ; > } > else if ( l == 2 ) > { > if ( tfmb0 > 127 ) > badfont () ; > zcheckdesignsize((integer) (zround ((double) (tfmconv * ( ( ( tfmb0 * ((integer) (256)) + tfmb1 ) * ((integer) (256)) + tfmb2 ) * ((integer) (256)) + tfmb3 ))))) > > ; > } > } > while ( l++ < for_end ) ;} > } > else { > > if ( tfmb2 > 127 ) > badfont () ; > else ofmlevel = tfmb2 * ((integer) (256)) + tfmb3 ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else lf = tfmb0 * 16777216L + tfmb1 * 65536L + tfmb2 * 256 + tfmb3 ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else lh = tfmb0 * 16777216L + tfmb1 * 65536L + tfmb2 * 256 + tfmb3 ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else bc = tfmb0 * 16777216L + tfmb1 * 65536L + tfmb2 * 256 + tfmb3 ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else ec = tfmb0 * 16777216L + tfmb1 * 65536L + tfmb2 * 256 + tfmb3 ; > if ( ec < bc ) > { > bc = 1 ; > ec = 0 ; > } > else if ( ec > 65535L ) > badfont () ; > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else nw = tfmb0 * 16777216L + tfmb1 * 65536L + tfmb2 * 256 + tfmb3 ; > if ( ( nw == 0 ) || ( nw > 65536L ) ) > badfont () ; > {register integer for_end; l = 1 ;for_end = 8 ; if ( l <= for_end) do > { > if ( eof ( tfmfile ) ) > badfont () ; > readtfmword () ; > } > while ( l++ < for_end ) ;} > if ( ofmlevel == 1 ) > { > readtfmword () ; > nco = ( ( ( tfmb0 * 256 + tfmb1 ) * 256 + tfmb2 ) * 256 + tfmb3 ) / 2 ; > readtfmword () ; > readtfmword () ; > extrawords = ( ( ( tfmb0 * 256 + tfmb1 ) * 256 + tfmb2 ) * 256 + tfmb3 ) > / 2 ; > {register integer for_end; l = 1 ;for_end = 12 ; if ( l <= for_end) do > { > if ( eof ( tfmfile ) ) > badfont () ; > readtfmword () ; > } > while ( l++ < for_end ) ;} > } > {register integer for_end; l = 1 ;for_end = lh ; if ( l <= for_end) do > { > readtfmword () ; > if ( l == 1 ) > { > if ( tfmb0 < 128 ) > w = ( ( tfmb0 * ((integer) (256)) + tfmb1 ) * ((integer) (256)) + tfmb2 > ) * ((integer) (256)) + tfmb3 ; > else w = ( ( ( tfmb0 - ((integer) (256)) ) * ((integer) (256)) + tfmb1 ) > * ((integer) (256)) + tfmb2 ) * ((integer) (256)) + tfmb3 ; > zcheckchecksum((integer) (w), (boolean) (1)) ; > } > else if ( l == 2 ) > { > if ( tfmb0 > 127 ) > badfont () ; > zcheckdesignsize((integer) (zround ((double) (tfmconv * ( ( ( tfmb0 * ((integer) (256)) + tfmb1 ) * ((integer) (256)) + tfmb2 ) * ((integer) (256)) + tfmb3 ))))) > > ; > } > } > while ( l++ < for_end ) ;} > if ( ofmlevel > 0 ) > {register integer for_end; l = 1 ;for_end = ( nco - 29 - lh ) ; if ( l > <= for_end) do > readtfmword () ; > while ( l++ < for_end ) ;} > } > if ( ofmlevel <= 0 ) > { > { > readtfmword () ; > if ( firsttwo != 0 ) > tfmwidth = tfmb0 ; > else { > > if ( 0 ) > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else tfmwidth = tfmb0 * ((integer) (256)) + tfmb1 ; > } > } > while ( ( tfmwidth == 0 ) && ( bc <= ec ) ) { > > bc = bc + 1 ; > { > readtfmword () ; > if ( firsttwo != 0 ) > tfmwidth = tfmb0 ; > else { > > if ( 1 ) > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else tfmwidth = tfmb0 * ((integer) (256)) + tfmb1 ; > } > } > } > fntbc [curfnt ]= bc ; > fntchars [curfnt ]= nchars - bc ; > if ( ec >= ( 750000L ) - fntchars [curfnt ]) > zoverflow((pcktpointer) (strchars), (int16u) (( 750000L ))) ; > {register integer for_end; l = bc ;for_end = ec ; if ( l <= for_end) do > { > charwidths [nchars ]= tfmwidth ; > nchars = nchars + 1 ; > { > readtfmword () ; > if ( firsttwo != 0 ) > tfmwidth = tfmb0 ; > else { > > if ( 1 ) > readtfmword () ; > if ( tfmb0 > 127 ) > badfont () ; > else tfmwidth = tfmb0 * ((integer) (256)) + tfmb1 ; > } > } > } > while ( l++ < for_end ) ;} > while ( ( charwidths [nchars - 1 ]== 0 ) && ( ec >= bc ) ) { > > nchars = nchars - 1 ; > ec = ec - 1 ; > } > fntec [curfnt ]= ec ; > } > else { > > fntbc [curfnt ]= bc ; > fntchars [curfnt ]= nchars - bc ; > if ( ec >= ( 750000L ) - fntchars [curfnt ]) > zoverflow((pcktpointer) (strchars), (int16u) (( 750000L ))) ; > fntec [curfnt ]= ec ; > l = bc ; > while ( l < ec ) { > > readtfmword () ; > tfmwidth = tfmb0 * 256 + tfmb1 ; > charwidths [nchars ]= tfmwidth ; > nchars = nchars + 1 ; > readtfmword () ; > readtfmword () ; > lprime = l + ( tfmb0 * 256 + tfmb1 ) ; > {register integer for_end; j = l + 1 ;for_end = lprime ; if ( j <= > for_end) do > { > charwidths [nchars ]= tfmwidth ; > nchars = nchars + 1 ; > } > while ( j++ < for_end ) ;} > l = lprime ; > {register integer for_end; j = 1 ;for_end = extrawords ; if ( j <= > for_end) do > readtfmword () ; > while ( j++ < for_end ) ;} > } > readtfmword () ; > } > if ( nw - 1 > ( 750000L ) - nchars ) > zoverflow((pcktpointer) (strchars), (int16u) (( 750000L ))) ; > if ( ( tfmb0 != 0 ) || ( tfmb1 != 0 ) || ( tfmb2 != 0 ) || ( tfmb3 != 0 ) ) > badfont () ; > else charwidths [nchars ]= 0 ; > z = fntscaled [curfnt ]; > alpha = 16 ; > while ( z >= 8388608L ) { > > z = z / 2 ; > alpha = alpha + alpha ; > } > beta = 256 / alpha ; > alpha = alpha * z ; > {register integer for_end; p = nchars + 1 ;for_end = nchars + nw - 1 > ; if ( p <= for_end) do > { > readtfmword () ; > w = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * > z ) ) / beta ; > if ( tfmb0 > 0 ) > if ( tfmb0 == 255 ) > w = w - alpha ; > else badfont () ; > charwidths [p ]= zmakewidth((integer) (w)) ; > } > while ( p++ < for_end ) ;} > {register integer for_end; p = fntchars [curfnt ]+ bc ;for_end = nchars > - 1 ; if ( p <= for_end) do > { > q = charwidths [nchars + charwidths [p ]]; > charwidths [p ]= q ; > charpackets [p ]= ( 100000L ) ; > } > while ( p++ < for_end ) ;} > xfclose ( tfmfile , curname ) ; > fprintf ( termout , "%c\n", '.' ) ; >} >fontnumber > >zdefinefont ( boolean load ) > > > > >{ > register fontnumber Result; fontnumber savefnt ; > savefnt = curfnt ; > curfnt = 0 ; > while ( ( fntname [curfnt ]!= fntname [nf ]) || ( fntscaled [curfnt ] > != fntscaled [nf ]) ) curfnt = curfnt + 1 ; > zprintfont((fontnumber) (curfnt)) ; > if ( curfnt < nf ) > { > zcheckchecksum((integer) (fntcheck [nf ]), (boolean) (1)) ; > zcheckdesignsize((integer) (fntdesign [nf ])) ; > } > else { > > if ( nf == ( 1000 ) ) > zoverflow((pcktpointer) (strfonts), (int16u) (( 1000 ))) ; > nf = nf + 1 ; > fntfont [curfnt ]= ( 1000 ) ; > fnttype [curfnt ]= 0 ; > } > fprintf ( termout , "%c\n", '.' ) ; > if ( load && ( fnttype [curfnt ]== 0 ) ) > loadfont () ; > Result = curfnt ; > curfnt = savefnt ; > return Result ; >} >integer > >dvilength ( void ) > > > >{ > register integer Result; xfseek ( dvifile , 0 , 2 , "odvicopy" ) ; > dviloc = xftell ( dvifile , "odvicopy" ) ; > Result = dviloc ; > return Result ; >} >void > >zdvimove ( integer n ) > > > > >{ > xfseek ( dvifile , n , 0 , "odvicopy" ) ; > dviloc = n ; >} >int8odvicopy > >dvisbyte ( void ) > > > >{ > register int8odvicopy Result; eightbits a ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > dviloc = dviloc + 1 ; > if ( a < 128 ) > Result = a ; > else Result = a - 256 ; > return Result ; >} >int8u > >dviubyte ( void ) > > > >{ > register int8u Result; eightbits a ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > dviloc = dviloc + 1 ; > Result = a ; > return Result ; >} >int16 > >dvispair ( void ) > > > >{ > register int16 Result; eightbits a, b ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((b) = _IO_getc (dvifile)) ; > dviloc = dviloc + 2 ; > if ( a < 128 ) > Result = a * ((integer) (256)) + b ; > else Result = ( a - ((integer) (256)) ) * ((integer) (256)) + b ; > return Result ; >} >int16u > >dviupair ( void ) > > > >{ > register int16u Result; eightbits a, b ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((b) = _IO_getc (dvifile)) ; > dviloc = dviloc + 2 ; > Result = a * ((integer) (256)) + b ; > return Result ; >} >int24 > >dvistrio ( void ) > > > >{ > register int24 Result; eightbits a, b, c ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((b) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((c) = _IO_getc (dvifile)) ; > dviloc = dviloc + 3 ; > if ( a < 128 ) > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > else Result = ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ; > > return Result ; >} >int24u > >dviutrio ( void ) > > > >{ > register int24u Result; eightbits a, b, c ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((b) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((c) = _IO_getc (dvifile)) ; > dviloc = dviloc + 3 ; > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > return Result ; >} >integer > >dvisquad ( void ) > > > >{ > register integer Result; eightbits a, b, c, d ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((a) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((b) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((c) = _IO_getc (dvifile)) ; > if ( eof ( dvifile ) ) > baddvi () ; > else ((d) = _IO_getc (dvifile)) ; > dviloc = dviloc + 4 ; > if ( a < 128 ) > Result = ( ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > else Result = ( ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > return Result ; >} >int31 > >dviuquad ( void ) > > > >{ > register int31 Result; integer x ; > x = dvisquad () ; > if ( x < 0 ) > baddvi () ; > else Result = x ; > return Result ; >} >int31 > >dvipquad ( void ) > > > >{ > register int31 Result; integer x ; > x = dvisquad () ; > if ( x <= 0 ) > baddvi () ; > else Result = x ; > return Result ; >} >integer > >dvipointer ( void ) > > > >{ > register integer Result; integer x ; > x = dvisquad () ; > if ( ( x <= 0 ) && ( x != -1 ) ) > baddvi () ; > else Result = x ; > return Result ; >} >void > >dvifirstpar ( void ) > > > >{ > do { > curcmd = dviubyte () ; > } while ( ! ( curcmd != 138 ) ) ; > switch ( dvipar [curcmd ]) > {case 0 : > { > curext = 0 ; > if ( curcmd < 128 ) > { > curres = curcmd ; > curupd = 1 ; > } > else { > > curres = dviubyte () ; > curupd = ( curcmd < 133 ) ; > curcmd = curcmd - dvicharcmd [curupd ]; > if ( fntextended [curfnt ]) > { > curext = 0 ; > while ( curcmd > 0 ) { > > curres = curres * 256 + dviubyte () ; > curcmd = curcmd - 1 ; > } > } > else while ( curcmd > 0 ) { > > if ( curcmd == 3 ) > if ( curres > 127 ) > curext = -1 ; > curext = curext * 256 + curres ; > curres = dviubyte () ; > curcmd = curcmd - 1 ; > } > } > } > break ; > case 1 : > ; > break ; > case 2 : > curparm = dvisbyte () ; > break ; > case 3 : > curparm = dviubyte () ; > break ; > case 4 : > curparm = dvispair () ; > break ; > case 5 : > curparm = dviupair () ; > break ; > case 6 : > curparm = dvistrio () ; > break ; > case 7 : > curparm = dviutrio () ; > break ; > case 8 : > case 9 : > curparm = dvisquad () ; > break ; > case 10 : > curparm = dviuquad () ; > break ; > case 11 : > { > curvdimen = dvisquad () ; > curhdimen = dvisquad () ; > curupd = ( curcmd == 132 ) ; > } > break ; > case 12 : > curparm = curcmd - 171 ; > break ; > } > curclass = dvicl [curcmd ]; >} >void > >dvifont ( void ) > > > >{ > fontnumber f ; > f = 0 ; > dviefnts [dvinf ]= curparm ; > while ( curparm != dviefnts [f ]) f = f + 1 ; > if ( f == dvinf ) > baddvi () ; > curfnt = dviifnts [f ]; > if ( fnttype [curfnt ]== 0 ) > loadfont () ; >} >void > >zdvidofont ( boolean second ) > > > > >{ > fontnumber f ; > int15 k ; > fprintf ( termout , "%s%ld", "DVI: font " , (long)curparm ) ; > f = 0 ; > dviefnts [dvinf ]= curparm ; > while ( curparm != dviefnts [f ]) f = f + 1 ; > if ( ( f == dvinf ) == second ) > baddvi () ; > fntcheck [nf ]= dvisquad () ; > fntscaled [nf ]= dvipquad () ; > fntdesign [nf ]= dvipquad () ; > k = dviubyte () ; > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= k ; > byteptr = byteptr + 1 ; > } > k = k + dviubyte () ; > if ( ( 3000000L ) - byteptr < k ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( k > 0 ) { > > { > bytemem [byteptr ]= dviubyte () ; > byteptr = byteptr + 1 ; > } > k = k - 1 ; > } > fntname [nf ]= makepacket () ; > dviifnts [dvinf ]= zdefinefont((boolean) (0)) ; > if ( ! second ) > { > if ( dvinf == ( 1000 ) ) > zoverflow((pcktpointer) (strfonts), (int16u) (( 1000 ))) ; > dvinf = dvinf + 1 ; > } > else if ( dviifnts [f ]!= dviifnts [dvinf ]) > baddvi () ; >} >int8u > >vfubyte ( void ) > > > >{ > register int8u Result; eightbits a ; > if ( eof ( vffile ) ) > badfont () ; > else ((a) = _IO_getc (vffile)) ; > vfloc = vfloc + 1 ; > Result = a ; > return Result ; >} >int16u > >vfupair ( void ) > > > >{ > register int16u Result; eightbits a, b ; > if ( eof ( vffile ) ) > badfont () ; > else ((a) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((b) = _IO_getc (vffile)) ; > vfloc = vfloc + 2 ; > Result = a * ((integer) (256)) + b ; > return Result ; >} >int24 > >vfstrio ( void ) > > > >{ > register int24 Result; eightbits a, b, c ; > if ( eof ( vffile ) ) > badfont () ; > else ((a) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((b) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((c) = _IO_getc (vffile)) ; > vfloc = vfloc + 3 ; > if ( a < 128 ) > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > else Result = ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ; > > return Result ; >} >int24u > >vfutrio ( void ) > > > >{ > register int24u Result; eightbits a, b, c ; > if ( eof ( vffile ) ) > badfont () ; > else ((a) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((b) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((c) = _IO_getc (vffile)) ; > vfloc = vfloc + 3 ; > Result = ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ; > return Result ; >} >integer > >vfsquad ( void ) > > > >{ > register integer Result; eightbits a, b, c, d ; > if ( eof ( vffile ) ) > badfont () ; > else ((a) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((b) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((c) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((d) = _IO_getc (vffile)) ; > vfloc = vfloc + 4 ; > if ( a < 128 ) > Result = ( ( a * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > else Result = ( ( ( a - ((integer) (256)) ) * ((integer) (256)) + b ) * ((integer) (256)) + c ) * ((integer) (256)) + d ; > > return Result ; >} >integer > >vffix1 ( void ) > > > >{ > register integer Result; integer x ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 1 ; > if ( tfmb3 > 127 ) > tfmb1 = 255 ; > else tfmb1 = 0 ; > tfmb2 = tfmb1 ; > x = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * z ) > ) / beta ; > if ( tfmb1 > 127 ) > x = x - alpha ; > Result = x ; > return Result ; >} >integer > >vffix2 ( void ) > > > >{ > register integer Result; integer x ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb2) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 2 ; > if ( tfmb2 > 127 ) > tfmb1 = 255 ; > else tfmb1 = 0 ; > x = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * z ) > ) / beta ; > if ( tfmb1 > 127 ) > x = x - alpha ; > Result = x ; > return Result ; >} >integer > >vffix3 ( void ) > > > >{ > register integer Result; integer x ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb1) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb2) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 3 ; > x = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * z ) > ) / beta ; > if ( tfmb1 > 127 ) > x = x - alpha ; > Result = x ; > return Result ; >} >integer > >vffix3u ( void ) > > > >{ > register integer Result; if ( eof ( vffile ) ) > badfont () ; > else ((tfmb1) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb2) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 3 ; > Result = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * > z ) ) / beta ; > return Result ; >} >integer > >vffix4 ( void ) > > > >{ > register integer Result; integer x ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb0) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb1) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb2) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 4 ; > x = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * z ) > ) / beta ; > if ( tfmb0 > 0 ) > if ( tfmb0 == 255 ) > x = x - alpha ; > else badfont () ; > Result = x ; > return Result ; >} >int31 > >vfuquad ( void ) > > > >{ > register int31 Result; integer x ; > x = vfsquad () ; > if ( x < 0 ) > badfont () ; > else Result = x ; > return Result ; >} >int31 > >vfpquad ( void ) > > > >{ > register int31 Result; integer x ; > x = vfsquad () ; > if ( x <= 0 ) > badfont () ; > else Result = x ; > return Result ; >} >int31 > >vffixp ( void ) > > > >{ > register int31 Result; integer x ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb0) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb1) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb2) = _IO_getc (vffile)) ; > if ( eof ( vffile ) ) > badfont () ; > else ((tfmb3) = _IO_getc (vffile)) ; > vfloc = vfloc + 4 ; > if ( tfmb0 > 0 ) > badfont () ; > Result = ( ( ( ( ( tfmb3 * z ) / 256 ) + ( tfmb2 * z ) ) / 256 ) + ( tfmb1 * > z ) ) / beta ; > return Result ; >} >void > >vffirstpar ( void ) > > > >{ > curcmd = vfubyte () ; > switch ( dvipar [curcmd ]) > {case 0 : > { > { > curext = 0 ; > if ( curcmd < 128 ) > { > curres = curcmd ; > curupd = 1 ; > } > else { > > curres = vfubyte () ; > curupd = ( curcmd < 133 ) ; > curcmd = curcmd - dvicharcmd [curupd ]; > if ( fntextended [curfnt ]) > { > curext = 0 ; > while ( curcmd > 0 ) { > > curres = curres * 256 + vfubyte () ; > curcmd = curcmd - 1 ; > } > } > else while ( curcmd > 0 ) { > > if ( curcmd == 3 ) > if ( curres > 127 ) > curext = -1 ; > curext = curext * 256 + curres ; > curres = vfubyte () ; > curcmd = curcmd - 1 ; > } > } > } > curwp = 0 ; > if ( vfcurfnt != ( 1000 ) ) > if ( ( curres >= fntbc [vfcurfnt ]) && ( curres <= fntec [vfcurfnt ] > ) ) > { > curcp = fntchars [vfcurfnt ]+ curres ; > curwp = charwidths [curcp ]; > } > if ( curwp == 0 ) > badfont () ; > } > break ; > case 1 : > ; > break ; > case 2 : > curparm = vffix1 () ; > break ; > case 3 : > curparm = vfubyte () ; > break ; > case 4 : > curparm = vffix2 () ; > break ; > case 5 : > curparm = vfupair () ; > break ; > case 6 : > curparm = vffix3 () ; > break ; > case 7 : > curparm = vfutrio () ; > break ; > case 8 : > curparm = vffix4 () ; > break ; > case 9 : > curparm = vfsquad () ; > break ; > case 10 : > curparm = vfuquad () ; > break ; > case 11 : > { > curvdimen = vffix4 () ; > curhdimen = vffix4 () ; > curupd = ( curcmd == 132 ) ; > } > break ; > case 12 : > curparm = curcmd - 171 ; > break ; > } > curclass = dvicl [curcmd ]; >} >void > >vffont ( void ) > > > >{ > fontnumber f ; > f = 0 ; > vfefnts [vfnf ]= curparm ; > while ( curparm != vfefnts [f ]) f = f + 1 ; > if ( f == vfnf ) > badfont () ; > vfcurfnt = vfifnts [f ]; >} >void > >vfdofont ( void ) > > > >{ > fontnumber f ; > int31 k ; > fprintf ( termout , "%s%ld", "VF: font " , (long)curparm ) ; > f = 0 ; > vfefnts [vfnf ]= curparm ; > while ( curparm != vfefnts [f ]) f = f + 1 ; > if ( f != vfnf ) > badfont () ; > fntcheck [nf ]= vfsquad () ; > fntscaled [nf ]= vffixp () ; > fntdesign [nf ]= zround ((double) (tfmconv * vfpquad ())) ; > k = vfubyte () ; > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= k ; > byteptr = byteptr + 1 ; > } > k = k + vfubyte () ; > if ( ( 3000000L ) - byteptr < k ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( k > 0 ) { > > { > bytemem [byteptr ]= vfubyte () ; > byteptr = byteptr + 1 ; > } > k = k - 1 ; > } > fntname [nf ]= makepacket () ; > vfifnts [vfnf ]= zdefinefont((boolean) (1)) ; > if ( vfnf == lclnf ) > if ( lclnf == ( 1000 ) ) > zoverflow((pcktpointer) (strfonts), (int16u) (( 1000 ))) ; > else lclnf = lclnf + 1 ; > vfnf = vfnf + 1 ; >} >boolean > >dovf ( void ) > > > >{ > register boolean Result; integer tempint ; > int8u tempbyte ; > bytepointer k ; > int15 l ; > int24 saveext ; > integer saveres ; > widthpointer savecp ; > widthpointer savewp ; > boolean saveupd ; > widthpointer vfwp ; > fontnumber vffnt ; > boolean movezero ; > boolean lastpop ; > lcurname = 0 ; > zmakename((pcktpointer) (vfext)) ; > fullname = kpse_find_file (curname, kpse_vf_format, 0) ; > if ( fullname ) > { > vffile = xfopen (fullname, "rb") ; > free ( curname ) ; > free ( fullname ) ; > } > else { > > lcurname = 0 ; > zmakename((pcktpointer) (ovfext)) ; > fullname = kpse_find_file (curname, kpse_ovf_format, 0) ; > if ( fullname ) > { > vffile = xfopen (fullname, "rb") ; > free ( curname ) ; > free ( fullname ) ; > } > else goto lab32 ; > } > vfloc = 0 ; > saveext = curext ; > saveres = curres ; > savecp = curcp ; > savewp = curwp ; > saveupd = curupd ; > fnttype [curfnt ]= 2 ; > if ( vfubyte () != 247 ) > badfont () ; > if ( vfubyte () != 202 ) > badfont () ; > tempbyte = vfubyte () ; > if ( ( 3000000L ) - byteptr < tempbyte ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > {register integer for_end; l = 1 ;for_end = tempbyte ; if ( l <= for_end) > do > { > bytemem [byteptr ]= vfubyte () ; > byteptr = byteptr + 1 ; > } > while ( l++ < for_end ) ;} > if ( fntextended [curfnt ]) > _IO_putc ('O', termout); > (void) fputs ("VF file: '", termout) ; > zprintpacket((pcktpointer) (newpacket ())) ; > (void) fputs ("',", termout) ; > flushpacket () ; > zcheckchecksum((integer) (vfsquad ()), (boolean) (0)) ; > zcheckdesignsize((integer) (zround ((double) (tfmconv * vfpquad ())))) ; > z = fntscaled [curfnt ]; > alpha = 16 ; > while ( z >= 8388608L ) { > > z = z / 2 ; > alpha = alpha + alpha ; > } > beta = 256 / alpha ; > alpha = alpha * z ; > { > _IO_putc ('\n', termout); > fprintf ( termout , "%s%ld", " for font " , (long)curfnt ) ; > } > zprintfont((fontnumber) (curfnt)) ; > fprintf ( termout , "%c\n", '.' ) ; > vfifnts [0 ]= ( 1000 ) ; > vfnf = 0 ; > curcmd = vfubyte () ; > while ( ( curcmd >= 243 ) && ( curcmd <= 246 ) ) { > > switch ( curcmd - 243 ) > {case 0 : > curparm = vfubyte () ; > break ; > case 1 : > curparm = vfupair () ; > break ; > case 2 : > curparm = vfutrio () ; > break ; > case 3 : > curparm = vfsquad () ; > break ; > } > vfdofont () ; > curcmd = vfubyte () ; > } > fntfont [curfnt ]= vfifnts [0 ]; > while ( curcmd <= 242 ) { > > if ( curcmd < 242 ) > { > vflimit = curcmd ; > curext = 0 ; > curres = vfubyte () ; > vfwp = zcheckwidth((integer) (vffix3u ())) ; > } > else if ( fntextended [curfnt ]) > { > vflimit = vfuquad () ; > curext = 0 ; > curres = vfsquad () ; > vfwp = zcheckwidth((integer) (vffix4 ())) ; > } > else { > > vflimit = vfuquad () ; > curext = vfstrio () ; > curres = vfubyte () ; > vfwp = zcheckwidth((integer) (vffix4 ())) ; > } > vflimit = vflimit + vfloc ; > vfpushloc [0 ]= byteptr ; > vflastend [0 ]= byteptr ; > vflast [0 ]= 4 ; > vfptr = 0 ; > zstartpacket((typeflag) (1)) ; > vfcurfnt = fntfont [curfnt ]; > vffnt = vfcurfnt ; > lastpop = 0 ; > curclass = 3 ; > while ( 1 ) { > > lab21: switch ( curclass ) > {case 0 : > case 1 : > case 2 : > { > if ( ( vfptr == 0 ) || ( byteptr > vfpushloc [vfptr ]) ) > movezero = 0 ; > else switch ( curclass ) > {case 0 : > movezero = ( ! curupd ) || ( vfcurfnt != vffnt ) ; > break ; > case 1 : > movezero = ! curupd ; > break ; > case 2 : > movezero = 1 ; > break ; > } > if ( movezero ) > { > byteptr = byteptr - 1 ; > vfptr = vfptr - 1 ; > } > switch ( curclass ) > {case 0 : > { > if ( vfcurfnt != vffnt ) > { > vflast [vfptr ]= 4 ; > zpcktunsigned((eightbits) (235), (integer) (vfcurfnt)) ; > vffnt = vfcurfnt ; > } > if ( ( ! movezero ) || ( ! curupd ) ) > { > vflast [vfptr ]= vfchartype [curupd ]; > vflastloc [vfptr ]= byteptr ; > zpcktchar((boolean) (curupd), (integer) (curext), (integer) (curres)) ; > } > } > break ; > case 1 : > { > vflast [vfptr ]= vfruletype [curupd ]; > vflastloc [vfptr ]= byteptr ; > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= dvirulecmd [curupd ]; > byteptr = byteptr + 1 ; > } > } > zpcktfour((integer) (curvdimen)) ; > zpcktfour((integer) (curhdimen)) ; > } > break ; > case 2 : > { > vflast [vfptr ]= 4 ; > zpcktunsigned((eightbits) (239), (integer) (curparm)) ; > if ( ( 3000000L ) - byteptr < curparm ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( curparm > 0 ) { > > { > bytemem [byteptr ]= vfubyte () ; > byteptr = byteptr + 1 ; > } > curparm = curparm - 1 ; > } > } > break ; > } > vflastend [vfptr ]= byteptr ; > if ( movezero ) > { > vfptr = vfptr + 1 ; > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= 141 ; > byteptr = byteptr + 1 ; > } > } > vfpushloc [vfptr ]= byteptr ; > vflastend [vfptr ]= byteptr ; > if ( curclass == 0 ) > if ( curupd ) > goto lab21 ; > } > } > break ; > case 3 : > if ( ( vfptr > 0 ) && ( vfpushloc [vfptr ]== byteptr ) ) > { > if ( vfpushnum [vfptr ]== 255 ) > zoverflow((pcktpointer) (strstack), (int16u) (255)) ; > vfpushnum [vfptr ]= vfpushnum [vfptr ]+ 1 ; > } > else { > > if ( vfptr == stackused ) > if ( stackused == ( 100 ) ) > zoverflow((pcktpointer) (strstack), (int16u) (( 100 ))) ; > else stackused = stackused + 1 ; > vfptr = vfptr + 1 ; > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= 141 ; > byteptr = byteptr + 1 ; > } > } > { > vfmove [vfptr ][0 ][0 ]= vfmove [vfptr - 1 ][0 ][0 ]; > vfmove [vfptr ][0 ][1 ]= vfmove [vfptr - 1 ][0 ][1 ]; > vfmove [vfptr ][1 ][0 ]= vfmove [vfptr - 1 ][1 ][0 ]; > vfmove [vfptr ][1 ][1 ]= vfmove [vfptr - 1 ][1 ][1 ]; > } > vfpushloc [vfptr ]= byteptr ; > vflastend [vfptr ]= byteptr ; > vflast [vfptr ]= 4 ; > vfpushnum [vfptr ]= 0 ; > } > break ; > case 4 : > { > if ( vfptr < 1 ) > badfont () ; > byteptr = vflastend [vfptr ]; > if ( vflast [vfptr ]<= 1 ) > if ( vflastloc [vfptr ]== vfpushloc [vfptr ]) > { > curclass = vflast [vfptr ]; > curupd = 0 ; > byteptr = vfpushloc [vfptr ]; > } > if ( byteptr == vfpushloc [vfptr ]) > { > if ( vfpushnum [vfptr ]> 0 ) > { > vfpushnum [vfptr ]= vfpushnum [vfptr ]- 1 ; > { > vfmove [vfptr ][0 ][0 ]= vfmove [vfptr - 1 ][0 ][0 > ]; > vfmove [vfptr ][0 ][1 ]= vfmove [vfptr - 1 ][0 ][1 > ]; > vfmove [vfptr ][1 ][0 ]= vfmove [vfptr - 1 ][1 ][0 > ]; > vfmove [vfptr ][1 ][1 ]= vfmove [vfptr - 1 ][1 ][1 > ]; > } > } > else { > > byteptr = byteptr - 1 ; > vfptr = vfptr - 1 ; > } > if ( curclass != 4 ) > goto lab21 ; > } > else { > > if ( vflast [vfptr ]== 2 ) > { > byteptr = byteptr - 2 ; > {register integer for_end; k = vflastloc [vfptr ]+ 1 ; > for_end = byteptr ; if ( k <= for_end) do > bytemem [k - 1 ]= bytemem [k ]; > while ( k++ < for_end ) ;} > vflast [vfptr ]= 4 ; > vflastend [vfptr ]= byteptr ; > } > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= 142 ; > byteptr = byteptr + 1 ; > } > } > vfptr = vfptr - 1 ; > vflast [vfptr ]= 2 ; > vflastloc [vfptr ]= vfpushloc [vfptr + 1 ]- 1 ; > vflastend [vfptr ]= byteptr ; > if ( vfpushnum [vfptr + 1 ]> 0 ) > { > vfptr = vfptr + 1 ; > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= 141 ; > byteptr = byteptr + 1 ; > } > } > { > vfmove [vfptr ][0 ][0 ]= vfmove [vfptr - 1 ][0 ][0 > ]; > vfmove [vfptr ][0 ][1 ]= vfmove [vfptr - 1 ][0 ][1 > ]; > vfmove [vfptr ][1 ][0 ]= vfmove [vfptr - 1 ][1 ][0 > ]; > vfmove [vfptr ][1 ][1 ]= vfmove [vfptr - 1 ][1 ][1 > ]; > } > vfpushloc [vfptr ]= byteptr ; > vflastend [vfptr ]= byteptr ; > vflast [vfptr ]= 4 ; > vfpushnum [vfptr ]= vfpushnum [vfptr ]- 1 ; > } > } > } > break ; > case 5 : > case 6 : > if ( vfmove [vfptr ][0 ][curclass - 5 ]) > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= curcmd ; > byteptr = byteptr + 1 ; > } > } > break ; > case 7 : > case 8 : > case 9 : > { > zpcktsigned((eightbits) ((zzzaa -7) [curclass ]), (integer) (curparm)) ; > if ( curclass >= 8 ) > vfmove [vfptr ][0 ][curclass - 8 ]= 1 ; > } > break ; > case 10 : > case 11 : > if ( vfmove [vfptr ][1 ][curclass - 10 ]) > { > if ( ( 3000000L ) - byteptr < 1 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > { > bytemem [byteptr ]= curcmd ; > byteptr = byteptr + 1 ; > } > } > break ; > case 12 : > case 13 : > case 14 : > { > zpcktsigned((eightbits) ((zzzab -12) [curclass ]), (integer) (curparm)) ; > if ( curclass >= 13 ) > vfmove [vfptr ][1 ][curclass - 13 ]= 1 ; > } > break ; > case 15 : > vffont () ; > break ; > case 16 : > badfont () ; > break ; > case 17 : > if ( curcmd != 138 ) > badfont () ; > break ; > } > if ( vfloc < vflimit ) > vffirstpar () ; > else if ( lastpop ) > goto lab30 ; > else { > > curclass = 4 ; > lastpop = 1 ; > } > } > lab30: if ( ( vfptr != 0 ) || ( vfloc != vflimit ) ) > badfont () ; > k = pcktstart [pcktptr ]; > if ( vflast [0 ]== 3 ) > if ( curwp == vfwp ) > { > bytemem [k ]= bytemem [k ]- 1 ; > if ( ( bytemem [k ]== 0 ) && ( vfpushloc [0 ]== vflastloc [0 ]) && > ( curext == 0 ) && ( curres == pcktres ) ) > byteptr = k ; > } > buildpacket () ; > curcmd = vfubyte () ; > } > if ( curcmd != 248 ) > badfont () ; > xfclose ( vffile , curname ) ; > curext = saveext ; > curres = saveres ; > curcp = savecp ; > curwp = savewp ; > curupd = saveupd ; > Result = 1 ; > goto lab10 ; > lab32: Result = 0 ; > lab10: ; > return Result ; >} >void > >inputln ( void ) > > > >{ > integer k ; > (void) fputs ("Enter option: ", termout) ; > fflush ( stdout ) ; > k = 0 ; > if ( ( 3000000L ) - byteptr < ( 256 ) ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( ( k < ( 256 ) ) && ! eoln ( stdin ) ) { > > { > bytemem [byteptr ]= xord [_IO_getc (stdin) ]; > byteptr = byteptr + 1 ; > } > k = k + 1 ; > } >} >boolean > >zscankeyword ( pcktpointer p , int7 l ) > > > > > >{ > register boolean Result; bytepointer i, j, k ; > i = pcktstart [p ]; > j = pcktstart [p + 1 ]; > k = scanptr ; > while ( ( i < j ) && ( ( bytemem [k ]== bytemem [i ]) || ( bytemem [k ] > == bytemem [i ]- 32 ) ) ) { > > i = i + 1 ; > k = k + 1 ; > } > if ( ( ( bytemem [k ]== 32 ) || ( bytemem [k ]== 47 ) ) && ( i - > pcktstart [p ]>= l ) ) > { > scanptr = k ; > while ( ( ( bytemem [scanptr ]== 32 ) || ( bytemem [scanptr ]== 47 ) ) > && ( scanptr < byteptr ) ) scanptr = scanptr + 1 ; > Result = 1 ; > } > else Result = 0 ; > return Result ; >} >integer > >scanint ( void ) > > > >{ > register integer Result; integer x ; > boolean negative ; > if ( bytemem [scanptr ]== 45 ) > { > negative = 1 ; > scanptr = scanptr + 1 ; > } > else negative = 0 ; > x = 0 ; > while ( ( bytemem [scanptr ]>= 48 ) && ( bytemem [scanptr ]<= 57 ) ) { > > x = 10 * x + bytemem [scanptr ]- 48 ; > scanptr = scanptr + 1 ; > } > while ( ( ( bytemem [scanptr ]== 32 ) || ( bytemem [scanptr ]== 47 ) ) > && ( scanptr < byteptr ) ) scanptr = scanptr + 1 ; > if ( negative ) > Result = - (integer) x ; > else Result = x ; > return Result ; >} >void > >scancount ( void ) > > > >{ > if ( bytemem [scanptr ]== 42 ) > { > selectthere [curselect ][selectvals [curselect ]]= 0 ; > scanptr = scanptr + 1 ; > while ( ( ( bytemem [scanptr ]== 32 ) || ( bytemem [scanptr ]== 47 ) ) > && ( scanptr < byteptr ) ) scanptr = scanptr + 1 ; > } > else { > > selectthere [curselect ][selectvals [curselect ]]= 1 ; > selectcount [curselect ][selectvals [curselect ]]= scanint () ; > if ( curselect == 0 ) > selected = 0 ; > } >} >void > >dialog ( void ) > > > >{ > pcktpointer p ; > outmag = 0 ; > curselect = 0 ; > selectmax [curselect ]= 0 ; > selected = 1 ; > while ( 1 ) { > > inputln () ; > p = newpacket () ; > bytemem [byteptr ]= 32 ; > scanptr = pcktstart [pcktptr - 1 ]; > while ( ( ( bytemem [scanptr ]== 32 ) || ( bytemem [scanptr ]== 47 ) ) > && ( scanptr < byteptr ) ) scanptr = scanptr + 1 ; > if ( scanptr == byteptr ) > { > flushpacket () ; > goto lab10 ; > } > else if ( zscankeyword((pcktpointer) (strmag), (int7) (3)) ) > outmag = scanint () ; > else if ( zscankeyword((pcktpointer) (strselect), (int7) (3)) ) > if ( curselect == 10 ) > fprintf ( termout , "%s\n", "Too many page selections" ) ; > else { > > selectvals [curselect ]= 0 ; > scancount () ; > while ( ( selectvals [curselect ]< 9 ) && ( bytemem [scanptr ]== 46 > ) ) { > > selectvals [curselect ]= selectvals [curselect ]+ 1 ; > scanptr = scanptr + 1 ; > scancount () ; > } > selectmax [curselect ]= scanint () ; > curselect = curselect + 1 ; > } > else { > > if ( nopt == 0 ) > sepchar = ' ' ; > else sepchar = xchr [47 ]; > printoptions () ; > if ( nopt > 0 ) > { > (void) fputs ("Bad command line option: ", termout) ; > zprintpacket((pcktpointer) (p)) ; > { > fprintf ( stderr , "%c%s%c\n", ' ' , "---run terminated" , '.' ) ; > jumpout () ; > } > } > } > flushpacket () ; > } > lab10: ; >} >void > >zoutpacket ( pcktpointer p ) > > > > >{ > bytepointer k ; > outloc = outloc + ( pcktstart [p + 1 ]- pcktstart [p ]) ; > {register integer for_end; k = pcktstart [p ];for_end = pcktstart [p + > 1 ]- 1 ; if ( k <= for_end) do > do { if (_IO_putc ((char) (bytemem [k ]) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) bytemem [k ]); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > while ( k++ < for_end ) ;} >} >void > >zoutfour ( integer x ) > > > > >{ > ; > if ( x >= 0 ) > do { if (_IO_putc ((char) (x / 16777216L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 16777216L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > else { > > x = x + 1073741824L ; > x = x + 1073741824L ; > do { if (_IO_putc ((char) (( x / 16777216L ) + 128) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ( x / 16777216L ) + 128); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > } > x = x % 16777216L ; > do { if (_IO_putc ((char) (x / 65536L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 65536L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > x = x % 65536L ; > do { if (_IO_putc ((char) (x / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > do { if (_IO_putc ((char) (x % 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x % 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 4 ; >} >void > >zoutchar ( boolean upd , integer ext , integer res ) > > > > > > >{ > eightbits o ; > if ( ( res >= 0 ) && ( res < 256 ) ) > { > if ( ( ! upd ) || ( res > 127 ) || ( ext != 0 ) ) > { > o = dvicharcmd [upd ]; > if ( ext < 0 ) > ext = ext + 16777216L ; > if ( ext == 0 ) > { > do { if (_IO_putc ((char) (o) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > if ( ext < 256 ) > { > do { if (_IO_putc ((char) (o + 1) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 1); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > if ( ext < 65536L ) > { > do { if (_IO_putc ((char) (o + 2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > { > do { if (_IO_putc ((char) (o + 3) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 3); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > { > do { if (_IO_putc ((char) (ext / 65536L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ext / 65536L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > ext = ext % 65536L ; > } > { > do { if (_IO_putc ((char) (ext / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ext / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > ext = ext % 256 ; > } > { > do { if (_IO_putc ((char) (ext) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ext); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } > } > { > do { if (_IO_putc ((char) (res) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) res); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } > else { > > if ( ( res >= 0 ) && ( res < 65536L ) ) > { > do { if (_IO_putc ((char) (o + 1) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 1); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > if ( ( res >= 0 ) && ( res < 16777216L ) ) > { > do { if (_IO_putc ((char) (o + 2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > { > do { if (_IO_putc ((char) (o + 3) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 3); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( res >= 0 ) > { > do { if (_IO_putc ((char) (res / 16777216L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) res / 16777216L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > res = res + 1073741824L ; > res = res + 1073741824L ; > { > do { if (_IO_putc ((char) (( res / 16777216L ) + 128) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ( res / 16777216L ) + 128); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > res = res % 16777216L ; > } > res = res % 16777216L ; > } > { > do { if (_IO_putc ((char) (res / 65536L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) res / 65536L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > res = res % 65536L ; > } > { > do { if (_IO_putc ((char) (res / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) res / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > res = res % 256 ; > { > do { if (_IO_putc ((char) (res) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) res); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } >} >void > >zoutunsigned ( eightbits o , integer x ) > > > > > >{ > ; > if ( ( x < 256 ) && ( x >= 0 ) ) > if ( ( o == 235 ) && ( x < 64 ) ) > x = x + 171 ; > else { > > do { if (_IO_putc ((char) (o) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > if ( ( x < 65536L ) && ( x >= 0 ) ) > { > do { if (_IO_putc ((char) (o + 1) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 1); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > if ( ( x < 16777216L ) && ( x >= 0 ) ) > { > do { if (_IO_putc ((char) (o + 2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > { > do { if (_IO_putc ((char) (o + 3) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 3); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( x >= 0 ) > { > do { if (_IO_putc ((char) (x / 16777216L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 16777216L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > x = x + 1073741824L ; > x = x + 1073741824L ; > { > do { if (_IO_putc ((char) (( x / 16777216L ) + 128) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ( x / 16777216L ) + 128); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } > x = x % 16777216L ; > } > { > do { if (_IO_putc ((char) (x / 65536L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 65536L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > x = x % 65536L ; > } > { > do { if (_IO_putc ((char) (x / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > x = x % 256 ; > } > { > do { if (_IO_putc ((char) (x) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } >} >void > >zoutsigned ( eightbits o , integer x ) > > > > > >{ > int31 xx ; > if ( x >= 0 ) > xx = x ; > else xx = - (integer) ( x + 1 ) ; > if ( xx < 128 ) > { > { > do { if (_IO_putc ((char) (o) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( x < 0 ) > x = x + 256 ; > } > else { > > if ( xx < 32768L ) > { > { > do { if (_IO_putc ((char) (o + 1) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 1); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( x < 0 ) > x = x + 65536L ; > } > else { > > if ( xx < 8388608L ) > { > { > do { if (_IO_putc ((char) (o + 2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( x < 0 ) > x = x + 16777216L ; > } > else { > > { > do { if (_IO_putc ((char) (o + 3) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) o + 3); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( x >= 0 ) > { > do { if (_IO_putc ((char) (x / 16777216L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 16777216L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else { > > x = 2147483647L - xx ; > { > do { if (_IO_putc ((char) (( x / 16777216L ) + 128) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) ( x / 16777216L ) + 128); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } > x = x % 16777216L ; > } > { > do { if (_IO_putc ((char) (x / 65536L) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 65536L); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > x = x % 65536L ; > } > { > do { if (_IO_putc ((char) (x / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > x = x % 256 ; > } > { > do { if (_IO_putc ((char) (x) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) x); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } >} >void > >zoutfntdef ( fontnumber f ) > > > > >{ > pcktpointer p ; > bytepointer k, l ; > eightbits a ; > zoutunsigned((eightbits) (243), (integer) (fntfont [f ])) ; > zoutfour((integer) (fntcheck [f ])) ; > zoutfour((integer) (fntscaled [f ])) ; > zoutfour((integer) (fntdesign [f ])) ; > p = fntname [f ]; > k = pcktstart [p ]; > l = pcktstart [p + 1 ]- 1 ; > a = bytemem [k ]; > outloc = outloc + l - k + 2 ; > do { if (_IO_putc ((char) (a) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) a); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > do { if (_IO_putc ((char) (l - k - a) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) l - k - a); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > while ( k < l ) { > > k = k + 1 ; > do { if (_IO_putc ((char) (bytemem [k ]) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) bytemem [k ]); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > } >} >boolean > >startmatch ( void ) > > > >{ > register boolean Result; char k ; > boolean match ; > match = 1 ; > {register integer for_end; k = 0 ;for_end = selectvals [curselect ] > ; if ( k <= for_end) do > if ( selectthere [curselect ][k ]&& ( selectcount [curselect ][k ] > != count [k ]) ) > match = 0 ; > while ( k++ < for_end ) ;} > Result = match ; > return Result ; >} >void > >dopre ( void ) > > > >{ > int15 k ; > bytepointer p, q, r ; > char * comment ; > alldone = 0 ; > numselect = curselect ; > curselect = 0 ; > if ( numselect == 0 ) > selectmax [curselect ]= 0 ; > { > do { if (_IO_putc ((char) (247) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 247); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > { > do { if (_IO_putc ((char) (2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (dvinum)) ; > zoutfour((integer) (dviden)) ; > zoutfour((integer) (outmag)) ; > p = pcktstart [pcktptr - 1 ]; > q = byteptr ; > comment = "ODVIcopy 1.5 output from " ; > if ( ( 3000000L ) - byteptr < 25 ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > {register integer for_end; k = 0 ;for_end = 24 ; if ( k <= for_end) do > { > bytemem [byteptr ]= xord [comment [k ]]; > byteptr = byteptr + 1 ; > } > while ( k++ < for_end ) ;} > while ( bytemem [p ]== 32 ) p = p + 1 ; > if ( p == q ) > byteptr = byteptr - 6 ; > else { > > k = 0 ; > while ( ( k < 25 ) && ( bytemem [p + k ]== bytemem [q + k ]) ) k = k + > 1 ; > if ( k == 25 ) > p = p + 25 ; > } > k = byteptr - p ; > if ( k > 255 ) > { > k = 255 ; > q = p + 230 ; > } > { > do { if (_IO_putc ((char) (k) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) k); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutpacket((pcktpointer) (newpacket ())) ; > flushpacket () ; > {register integer for_end; r = p ;for_end = q - 1 ; if ( r <= for_end) do > { > do { if (_IO_putc ((char) (bytemem [r ]) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) bytemem [r ]); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > while ( r++ < for_end ) ;} >} >void > >dobop ( void ) > > > >{ > char i, j ; > if ( ! selected ) > selected = startmatch () ; > typesetting = selected ; > (void) fputs ("DVI: ", termout) ; > if ( typesetting ) > (void) fputs ("process", termout) ; > else > (void) fputs ("skipp", termout) ; > fprintf ( termout , "%s%ld", "ing page " , (long)count [0 ]) ; > j = 9 ; > while ( ( j > 0 ) && ( count [j ]== 0 ) ) j = j - 1 ; > {register integer for_end; i = 1 ;for_end = j ; if ( i <= for_end) do > fprintf ( termout , "%c%ld", '.' , (long)count [i ]) ; > while ( i++ < for_end ) ;} > fprintf ( termout , "%c\n", '.' ) ; > if ( typesetting ) > { > stackptr = 0 ; > curstack = zerostack ; > curfnt = ( 1000 ) ; > { > do { if (_IO_putc ((char) (139) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 139); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > outpages = outpages + 1 ; > {register integer for_end; i = 0 ;for_end = 9 ; if ( i <= for_end) do > zoutfour((integer) (count [i ])) ; > while ( i++ < for_end ) ;} > zoutfour((integer) (outback)) ; > outback = outloc - 45 ; > outfnt = ( 1000 ) ; > } >} >void > >doeop ( void ) > > > >{ > if ( stackptr != 0 ) > baddvi () ; > { > do { if (_IO_putc ((char) (140) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 140); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > if ( selectmax [curselect ]> 0 ) > { > selectmax [curselect ]= selectmax [curselect ]- 1 ; > if ( selectmax [curselect ]== 0 ) > { > selected = 0 ; > curselect = curselect + 1 ; > if ( curselect == numselect ) > alldone = 1 ; > } > } > typesetting = 0 ; >} >void > >dopush ( void ) > > > >{ > if ( stackptr == stackused ) > if ( stackused == ( 100 ) ) > zoverflow((pcktpointer) (strstack), (int16u) (( 100 ))) ; > else stackused = stackused + 1 ; > stackptr = stackptr + 1 ; > stack [stackptr ]= curstack ; > if ( stackptr > outstack ) > outstack = stackptr ; > { > do { if (_IO_putc ((char) (141) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 141); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } >} >void > >dopop ( void ) > > > >{ > if ( stackptr == 0 ) > baddvi () ; > curstack = stack [stackptr ]; > stackptr = stackptr - 1 ; > { > do { if (_IO_putc ((char) (142) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 142); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } >} >void > >doxxx ( void ) > > > >{ > pcktpointer p ; > p = newpacket () ; > zoutunsigned((eightbits) (239), (integer) (( pcktstart [p + 1 ]- pcktstart [p ]))) ; > zoutpacket((pcktpointer) (p)) ; > flushpacket () ; >} >void > >doright ( void ) > > > >{ > if ( curclass >= 8 ) > curstack .wxfield [curclass - 8 ]= curparm ; > else if ( curclass < 7 ) > curparm = curstack .wxfield [curclass - 5 ]; > if ( curclass < 7 ) > { > do { if (_IO_putc ((char) (curcmd) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) curcmd); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else zoutsigned((eightbits) ((zzzaa -7) [curclass ]), (integer) (curparm)) ; > curstack .hfield = curstack .hfield + curparm ; > if ( ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) > outmaxh ) > outmaxh = ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) ; >} >void > >dodown ( void ) > > > >{ > if ( curclass >= 13 ) > curstack .yzfield [curclass - 13 ]= curparm ; > else if ( curclass < 12 ) > curparm = curstack .yzfield [curclass - 10 ]; > if ( curclass < 12 ) > { > do { if (_IO_putc ((char) (curcmd) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) curcmd); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > else zoutsigned((eightbits) ((zzzab -12) [curclass ]), (integer) (curparm)) ; > curstack .vfield = curstack .vfield + curparm ; > if ( ((integer)(curstack .vfield) >= 0 ? (integer)(curstack .vfield) : (integer)-(curstack .vfield)) > outmaxv ) > outmaxv = ((integer)(curstack .vfield) >= 0 ? (integer)(curstack .vfield) : (integer)-(curstack .vfield)) ; >} >void > >dowidth ( void ) > > > >{ > { > do { if (_IO_putc ((char) (132) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 132); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (widthdimen)) ; > zoutfour((integer) (curhdimen)) ; > curstack .hfield = curstack .hfield + curhdimen ; > if ( ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) > outmaxh ) > outmaxh = ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) ; >} >void > >dorule ( void ) > > > >{ > boolean visible ; > if ( ( curhdimen > 0 ) && ( curvdimen > 0 ) ) > { > visible = 1 ; > { > do { if (_IO_putc ((char) (dvirulecmd [curupd ]) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) dvirulecmd [curupd ]); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (curvdimen)) ; > zoutfour((integer) (curhdimen)) ; > } > else { > > visible = 0 ; > { > do { if (_IO_putc ((char) (dvirulecmd [curupd ]) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) dvirulecmd [curupd ]); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (curvdimen)) ; > zoutfour((integer) (curhdimen)) ; > } > if ( curupd ) > { > curstack .hfield = curstack .hfield + curhdimen ; > if ( ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) > outmaxh ) > outmaxh = ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) ; > } >} >void > >dochar ( void ) > > > >{ > if ( curfnt != outfnt ) > { > zoutunsigned((eightbits) (235), (integer) (fntfont [curfnt ])) ; > outfnt = curfnt ; > } > zoutchar((boolean) (curupd), (integer) (curext), (integer) (curres)) ; > if ( curupd ) > { > curstack .hfield = curstack .hfield + widths [curwp ]; > if ( ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) > outmaxh ) > outmaxh = ((integer)(curstack .hfield) >= 0 ? (integer)(curstack .hfield) : (integer)-(curstack .hfield)) ; > } >} >void > >dofont ( void ) > > > >{ > charpointer p ; > if ( dovf () ) > goto lab30 ; > if ( ( outnf >= ( 1000 ) ) ) > zoverflow((pcktpointer) (strfonts), (int16u) (( 1000 ))) ; > fprintf ( termout , "%s%ld", "OUT: font " , (long)curfnt ) ; > zprintfont((fontnumber) (curfnt)) ; > fprintf ( termout , "%c\n", '.' ) ; > fnttype [curfnt ]= 3 ; > fntfont [curfnt ]= outnf ; > outfnts [outnf ]= curfnt ; > outnf = outnf + 1 ; > zoutfntdef((fontnumber) (curfnt)) ; > lab30: ; >} >void > >pcktfirstpar ( void ) > > > >{ > curcmd = pcktubyte () ; > switch ( dvipar [curcmd ]) > {case 0 : > { > curext = 0 ; > if ( curcmd < 128 ) > { > curres = curcmd ; > curupd = 1 ; > } > else { > > curres = pcktubyte () ; > curupd = ( curcmd < 133 ) ; > curcmd = curcmd - dvicharcmd [curupd ]; > if ( fntextended [curfnt ]) > { > curext = 0 ; > while ( curcmd > 0 ) { > > curres = curres * 256 + pcktubyte () ; > curcmd = curcmd - 1 ; > } > } > else while ( curcmd > 0 ) { > > if ( curcmd == 3 ) > if ( curres > 127 ) > curext = -1 ; > curext = curext * 256 + curres ; > curres = pcktubyte () ; > curcmd = curcmd - 1 ; > } > } > } > break ; > case 1 : > ; > break ; > case 2 : > curparm = pcktsbyte () ; > break ; > case 3 : > curparm = pcktubyte () ; > break ; > case 4 : > curparm = pcktspair () ; > break ; > case 5 : > curparm = pcktupair () ; > break ; > case 6 : > curparm = pcktstrio () ; > break ; > case 7 : > curparm = pcktutrio () ; > break ; > case 8 : > case 9 : > case 10 : > curparm = pcktsquad () ; > break ; > case 11 : > { > curvdimen = pcktsquad () ; > curhdimen = pcktsquad () ; > curupd = ( curcmd == 132 ) ; > } > break ; > case 12 : > curparm = curcmd - 171 ; > break ; > } > curclass = dvicl [curcmd ]; >} >void > >dovfpacket ( void ) > > > >{ > recurpointer k ; > int8u f ; > boolean saveupd ; > widthpointer savecp ; > widthpointer savewp ; > bytepointer savelimit ; > saveupd = curupd ; > savecp = curcp ; > savewp = curwp ; > recurfnt [nrecur ]= curfnt ; > recurext [nrecur ]= curext ; > recurres [nrecur ]= curres ; > if ( findpacket () ) > f = curtype ; > else goto lab30 ; > recurpckt [nrecur ]= curpckt ; > savelimit = curlimit ; > curfnt = fntfont [curfnt ]; > if ( curpckt == 0 ) > { > curclass = 0 ; > goto lab31 ; > } > if ( curloc >= curlimit ) > goto lab30 ; > lab22: pcktfirstpar () ; > lab31: switch ( curclass ) > {case 0 : > { > if ( fnttype [curfnt ]<= 1 ) > dofont () ; > curcp = fntchars [curfnt ]+ curres ; > curwp = charwidths [curcp ]; > if ( ( curloc == curlimit ) && ( f == 0 ) && saveupd ) > { > saveupd = 0 ; > curupd = 1 ; > } > if ( fnttype [curfnt ]== 2 ) > { > recurloc [nrecur ]= curloc ; > if ( curloc < curlimit ) > if ( bytemem [curloc ]== 142 ) > curupd = 0 ; > if ( nrecur == recurused ) > if ( recurused == ( 10 ) ) > { > fprintf ( termout , "%s\n", " !Infinite VF recursion?" ) ; > {register integer for_end; k = ( 10 ) ;for_end = 0 ; if ( k > >= for_end) do > { > fprintf ( termout , "%s%ld%s", "level=" , (long)k , " font" ) ; > zprintfont((fontnumber) (recurfnt [k ])) ; > fprintf ( termout , "%s%ld", " char=" , (long)recurres [k ]) ; > if ( recurext [k ]!= 0 ) > fprintf ( termout , "%c%ld", '.' , (long)recurext [k ]) ; > _IO_putc ('\n', termout); > } > while ( k-- > for_end ) ;} > zoverflow((pcktpointer) (strrecursion), (int16u) (( 10 ))) ; > } > else recurused = recurused + 1 ; > nrecur = nrecur + 1 ; > dovfpacket () ; > nrecur = nrecur - 1 ; > curloc = recurloc [nrecur ]; > curlimit = savelimit ; > } > else dochar () ; > } > break ; > case 1 : > dorule () ; > break ; > case 2 : > { > if ( ( 3000000L ) - byteptr < curparm ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( curparm > 0 ) { > > { > bytemem [byteptr ]= pcktubyte () ; > byteptr = byteptr + 1 ; > } > curparm = curparm - 1 ; > } > doxxx () ; > } > break ; > case 3 : > dopush () ; > break ; > case 4 : > dopop () ; > break ; > case 5 : > case 6 : > case 7 : > case 8 : > case 9 : > doright () ; > break ; > case 10 : > case 11 : > case 12 : > case 13 : > case 14 : > dodown () ; > break ; > case 15 : > curfnt = curparm ; > break ; > default: > zconfusion((pcktpointer) (strpackets)) ; > break ; > } > if ( curloc < curlimit ) > goto lab22 ; > lab30: if ( saveupd ) > { > curhdimen = widths [savewp ]; > { > dowidth () ; > } > } > curfnt = recurfnt [nrecur ]; >} >void > >dodvi ( void ) > > > >{ > int8u tempbyte ; > integer tempint ; > integer dvistart ; > integer dviboppost ; > integer dviback ; > int15 k ; > if ( dviubyte () != 247 ) > baddvi () ; > if ( dviubyte () != 2 ) > baddvi () ; > dvinum = dvipquad () ; > dviden = dvipquad () ; > dvimag = dvipquad () ; > tfmconv = ( 25400000.0 / ((double) dvinum ) ) * ( dviden / ((double) > 473628672L ) ) / ((double) 16.0 ) ; > tempbyte = dviubyte () ; > if ( ( 3000000L ) - byteptr < tempbyte ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > {register integer for_end; k = 1 ;for_end = tempbyte ; if ( k <= for_end) > do > { > bytemem [byteptr ]= dviubyte () ; > byteptr = byteptr + 1 ; > } > while ( k++ < for_end ) ;} > (void) fputs ("DVI file: '", termout) ; > zprintpacket((pcktpointer) (newpacket ())) ; > fprintf ( termout , "%s\n", "'," ) ; > fprintf ( termout , "%s%ld%s%ld%s%ld", " num=" , (long)dvinum , ", den=" , (long)dviden , ", mag=" , (long)dvimag ) ; > if ( outmag <= 0 ) > outmag = dvimag ; > else > fprintf ( termout , "%s%ld", " => " , (long)outmag ) ; > fprintf ( termout , "%c\n", '.' ) ; > dopre () ; > flushpacket () ; > if ( 1 ) > { > dvistart = dviloc ; > tempint = dvilength () - 5 ; > do { > if ( tempint < 49 ) > baddvi () ; > zdvimove((integer) (tempint)) ; > tempbyte = dviubyte () ; > tempint = tempint - 1 ; > } while ( ! ( tempbyte != 223 ) ) ; > if ( tempbyte != 2 ) > baddvi () ; > zdvimove((integer) (tempint - 4)) ; > if ( dviubyte () != 249 ) > baddvi () ; > dviboppost = dvipointer () ; > if ( ( dviboppost < 15 ) || ( dviboppost > dviloc - 34 ) ) > baddvi () ; > zdvimove((integer) (dviboppost)) ; > if ( dviubyte () != 248 ) > baddvi () ; > dviback = dvipointer () ; > if ( dvinum != dvipquad () ) > baddvi () ; > if ( dviden != dvipquad () ) > baddvi () ; > if ( dvimag != dvipquad () ) > baddvi () ; > tempint = dvisquad () ; > tempint = dvisquad () ; > if ( ( 100 ) < dviupair () ) > zoverflow((pcktpointer) (strstack), (int16u) (( 100 ))) ; > tempint = dviupair () ; > dvifirstpar () ; > while ( curclass == 16 ) { > > zdvidofont((boolean) (0)) ; > dvifirstpar () ; > } > if ( curcmd != 249 ) > baddvi () ; > if ( ! selected ) > { > dvistart = dviboppost ; > while ( dviback != -1 ) { > > if ( ( dviback < 15 ) || ( dviback > dviboppost - 46 ) ) > baddvi () ; > dviboppost = dviback ; > zdvimove((integer) (dviback)) ; > if ( dviubyte () != 139 ) > baddvi () ; > {register integer for_end; k = 0 ;for_end = 9 ; if ( k <= for_end) > do > count [k ]= dvisquad () ; > while ( k++ < for_end ) ;} > if ( startmatch () ) > dvistart = dviboppost ; > dviback = dvipointer () ; > } > } > zdvimove((integer) (dvistart)) ; > } > do { > dvifirstpar () ; > while ( curclass == 16 ) { > > zdvidofont((boolean) (1)) ; > dvifirstpar () ; > } > if ( curcmd == 139 ) > { > {register integer for_end; k = 0 ;for_end = 9 ; if ( k <= for_end) do > count [k ]= dvisquad () ; > while ( k++ < for_end ) ;} > tempint = dvipointer () ; > dobop () ; > dvifirstpar () ; > if ( typesetting ) > while ( 1 ) { > > switch ( curclass ) > {case 0 : > { > if ( fnttype [curfnt ]<= 1 ) > dofont () ; > curwp = 0 ; > if ( curfnt != ( 1000 ) ) > if ( ( curres >= fntbc [curfnt ]) && ( curres <= fntec [curfnt > ]) ) > { > curcp = fntchars [curfnt ]+ curres ; > curwp = charwidths [curcp ]; > } > if ( curwp == 0 ) > baddvi () ; > if ( fnttype [curfnt ]== 2 ) > dovfpacket () ; > else dochar () ; > } > break ; > case 1 : > if ( curupd && ( curvdimen == widthdimen ) ) > { > dowidth () ; > } > else dorule () ; > break ; > case 2 : > { > if ( ( 3000000L ) - byteptr < curparm ) > zoverflow((pcktpointer) (strbytes), (int16u) (( 3000000L ))) ; > while ( curparm > 0 ) { > > { > bytemem [byteptr ]= dviubyte () ; > byteptr = byteptr + 1 ; > } > curparm = curparm - 1 ; > } > doxxx () ; > } > break ; > case 3 : > dopush () ; > break ; > case 4 : > dopop () ; > break ; > case 5 : > case 6 : > case 7 : > case 8 : > case 9 : > doright () ; > break ; > case 10 : > case 11 : > case 12 : > case 13 : > case 14 : > dodown () ; > break ; > case 15 : > dvifont () ; > break ; > case 16 : > zdvidofont((boolean) (1)) ; > break ; > case 17 : > goto lab30 ; > break ; > } > dvifirstpar () ; > } > else while ( 1 ) { > > switch ( curclass ) > {case 2 : > while ( curparm > 0 ) { > > tempbyte = dviubyte () ; > curparm = curparm - 1 ; > } > break ; > case 16 : > zdvidofont((boolean) (1)) ; > break ; > case 17 : > goto lab30 ; > break ; > default: > ; > break ; > } > dvifirstpar () ; > } > lab30: if ( curcmd != 140 ) > baddvi () ; > if ( selected ) > { > doeop () ; > if ( alldone ) > goto lab10 ; > } > } > } while ( ! ( curcmd != 140 ) ) ; > if ( curcmd != 248 ) > baddvi () ; > lab10: ; >} >void > >closefilesandterminate ( void ) > > > >{ > int15 k ; > if ( history < 3 ) > { > if ( typesetting ) > { > while ( stackptr > 0 ) { > > { > do { if (_IO_putc ((char) (142) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 142); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > stackptr = stackptr - 1 ; > } > { > do { if (_IO_putc ((char) (140) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 140); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > } > if ( outloc > 0 ) > { > { > do { if (_IO_putc ((char) (248) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 248); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (outback)) ; > outback = outloc - 5 ; > zoutfour((integer) (dvinum)) ; > zoutfour((integer) (dviden)) ; > zoutfour((integer) (outmag)) ; > zoutfour((integer) (outmaxv)) ; > zoutfour((integer) (outmaxh)) ; > { > do { if (_IO_putc ((char) (outstack / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) outstack / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > { > do { if (_IO_putc ((char) (outstack % 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) outstack % 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > { > do { if (_IO_putc ((char) (outpages / 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) outpages / 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > { > do { if (_IO_putc ((char) (outpages % 256) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) outpages % 256); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > k = outnf ; > while ( k > 0 ) { > > k = k - 1 ; > zoutfntdef((fontnumber) (outfnts [k ])) ; > } > { > do { if (_IO_putc ((char) (249) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 249); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > zoutfour((integer) (outback)) ; > { > do { if (_IO_putc ((char) (2) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 2); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > k = 7 - ( ( outloc - 1 ) % 4 ) ; > while ( k > 0 ) { > > { > do { if (_IO_putc ((char) (223) & 255, outfile) == (-1)) do { fprintf (stderr, "%s: fatal: ", program_invocation_name);; fprintf (stderr, "putbyte(%ld) failed", (long) 223); fputs (".\n", stderr); exit (1); } while (0); } while (0) ; > outloc = outloc + 1 ; > } > k = k - 1 ; > } > fprintf ( termout , "%s%ld%s%ld%s", "OUT file: " , (long)outloc , " bytes, " , (long)outpages , " page" ) ; > if ( outpages != 1 ) > _IO_putc ('s', termout); > } > else > (void) fputs ("OUT file: no output", termout) ; > fprintf ( termout , "%s\n", " written." ) ; > if ( outpages == 0 ) > if ( history == 0 ) > history = 1 ; > } > switch ( history ) > {case 0 : > fprintf ( termout , "%s\n", "(No errors were found.)" ) ; > break ; > case 1 : > fprintf ( termout , "%s\n", "(Did you see the warning message above?)" ) ; > break ; > case 2 : > fprintf ( termout , "%s\n", "(Pardon me, but I think I spotted something wrong.)" ) ; > break ; > case 3 : > fprintf ( termout , "%s\n", "(That was a fatal error, my friend.)" ) ; > break ; > } >} >void mainbody() { > > initialize () ; > byteptr = byteptr + 5 ; > bytemem [byteptr - 5 ]= 102 ; > bytemem [byteptr - 4 ]= 111 ; > bytemem [byteptr - 3 ]= 110 ; > bytemem [byteptr - 2 ]= 116 ; > bytemem [byteptr - 1 ]= 115 ; > strfonts = makepacket () ; > byteptr = byteptr + 5 ; > bytemem [byteptr - 5 ]= 99 ; > bytemem [byteptr - 4 ]= 104 ; > bytemem [byteptr - 3 ]= 97 ; > bytemem [byteptr - 2 ]= 114 ; > bytemem [byteptr - 1 ]= 115 ; > strchars = makepacket () ; > byteptr = byteptr + 6 ; > bytemem [byteptr - 6 ]= 119 ; > bytemem [byteptr - 5 ]= 105 ; > bytemem [byteptr - 4 ]= 100 ; > bytemem [byteptr - 3 ]= 116 ; > bytemem [byteptr - 2 ]= 104 ; > bytemem [byteptr - 1 ]= 115 ; > strwidths = makepacket () ; > byteptr = byteptr + 7 ; > bytemem [byteptr - 7 ]= 112 ; > bytemem [byteptr - 6 ]= 97 ; > bytemem [byteptr - 5 ]= 99 ; > bytemem [byteptr - 4 ]= 107 ; > bytemem [byteptr - 3 ]= 101 ; > bytemem [byteptr - 2 ]= 116 ; > bytemem [byteptr - 1 ]= 115 ; > strpackets = makepacket () ; > byteptr = byteptr + 5 ; > bytemem [byteptr - 5 ]= 98 ; > bytemem [byteptr - 4 ]= 121 ; > bytemem [byteptr - 3 ]= 116 ; > bytemem [byteptr - 2 ]= 101 ; > bytemem [byteptr - 1 ]= 115 ; > strbytes = makepacket () ; > byteptr = byteptr + 9 ; > bytemem [byteptr - 9 ]= 114 ; > bytemem [byteptr - 8 ]= 101 ; > bytemem [byteptr - 7 ]= 99 ; > bytemem [byteptr - 6 ]= 117 ; > bytemem [byteptr - 5 ]= 114 ; > bytemem [byteptr - 4 ]= 115 ; > bytemem [byteptr - 3 ]= 105 ; > bytemem [byteptr - 2 ]= 111 ; > bytemem [byteptr - 1 ]= 110 ; > strrecursion = makepacket () ; > byteptr = byteptr + 5 ; > bytemem [byteptr - 5 ]= 115 ; > bytemem [byteptr - 4 ]= 116 ; > bytemem [byteptr - 3 ]= 97 ; > bytemem [byteptr - 2 ]= 99 ; > bytemem [byteptr - 1 ]= 107 ; > strstack = makepacket () ; > byteptr = byteptr + 10 ; > bytemem [byteptr - 10 ]= 110 ; > bytemem [byteptr - 9 ]= 97 ; > bytemem [byteptr - 8 ]= 109 ; > bytemem [byteptr - 7 ]= 101 ; > bytemem [byteptr - 6 ]= 108 ; > bytemem [byteptr - 5 ]= 101 ; > bytemem [byteptr - 4 ]= 110 ; > bytemem [byteptr - 3 ]= 103 ; > bytemem [byteptr - 2 ]= 116 ; > bytemem [byteptr - 1 ]= 104 ; > strnamelength = makepacket () ; > byteptr = byteptr + 4 ; > bytemem [byteptr - 4 ]= 46 ; > bytemem [byteptr - 3 ]= 116 ; > bytemem [byteptr - 2 ]= 102 ; > bytemem [byteptr - 1 ]= 109 ; > tfmext = makepacket () ; > byteptr = byteptr + 4 ; > bytemem [byteptr - 4 ]= 46 ; > bytemem [byteptr - 3 ]= 111 ; > bytemem [byteptr - 2 ]= 102 ; > bytemem [byteptr - 1 ]= 109 ; > ofmext = makepacket () ; > byteptr = byteptr + 3 ; > bytemem [byteptr - 3 ]= 46 ; > bytemem [byteptr - 2 ]= 118 ; > bytemem [byteptr - 1 ]= 102 ; > vfext = makepacket () ; > byteptr = byteptr + 4 ; > bytemem [byteptr - 4 ]= 46 ; > bytemem [byteptr - 3 ]= 111 ; > bytemem [byteptr - 2 ]= 118 ; > bytemem [byteptr - 1 ]= 102 ; > ovfext = makepacket () ; > byteptr = byteptr + 3 ; > bytemem [byteptr - 3 ]= 109 ; > bytemem [byteptr - 2 ]= 97 ; > bytemem [byteptr - 1 ]= 103 ; > strmag = makepacket () ; > byteptr = byteptr + 6 ; > bytemem [byteptr - 6 ]= 115 ; > bytemem [byteptr - 5 ]= 101 ; > bytemem [byteptr - 4 ]= 108 ; > bytemem [byteptr - 3 ]= 101 ; > bytemem [byteptr - 2 ]= 99 ; > bytemem [byteptr - 1 ]= 116 ; > strselect = makepacket () ; > dviloc = 0 ; > dodvi () ; > closefilesandterminate () ; >}
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 285092
: 204195 |
204196