Lines Matching defs:inflate_state

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