Lines Matching defs:inflate_state

83 struct inflate_state {  struct
84 z_streamp strm; /* pointer back to this zlib stream */
85 inflate_mode mode; /* current inflate mode */
86 int last; /* true if processing last block */
87 int wrap; /* bit 0 true for zlib, bit 1 true for gzip,
89 int havedict; /* true if dictionary provided */
90 int flags; /* gzip header method and flags, 0 if zlib, or
92 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
93 unsigned long check; /* protected copy of check value */
94 unsigned long total; /* protected copy of output count */
95 gz_headerp head; /* where to save gzip header information */
97 unsigned wbits; /* log base 2 of requested window size */
98 unsigned wsize; /* window size or zero if not using window */
99 unsigned whave; /* valid bytes in the window */
100 unsigned wnext; /* window write index */
101 unsigned char FAR *window; /* allocated sliding window, if needed */
103 unsigned long hold; /* input bit accumulator */
104 unsigned bits; /* number of bits in "in" */
106 unsigned length; /* literal or length of data to copy */
107 unsigned offset; /* distance back to copy string from */
109 unsigned extra; /* extra bits needed */
111 code const FAR *lencode; /* starting table for length/literal codes */
112 code const FAR *distcode; /* starting table for distance codes */
113 unsigned lenbits; /* index bits for lencode */
114 unsigned distbits; /* index bits for distcode */
116 unsigned ncode; /* number of code length code lengths */
117 unsigned nlen; /* number of length code lengths */
118 unsigned ndist; /* number of distance code lengths */
119 unsigned have; /* number of code lengths in lens[] */
120 code FAR *next; /* next available space in codes[] */
121 unsigned short lens[320]; /* temporary storage for code lengths */
122 unsigned short work[288]; /* work area for code table building */
123 code codes[ENOUGH]; /* space for code tables */
124 int sane; /* if false, allow invalid distance too far */
125 int back; /* bits back of last unprocessed length/lit */
126 unsigned was; /* initial length of match */