123{
131
132
134
135
136 while (1)
switch (
s->mode)
137 {
143 {
144 case 0:
146 s->last ?
" (last)" :
""));
151 break;
152 case 1:
155 {
158
162 if (
s->sub.decode.codes ==
Z_NULL)
163 {
166 }
167 }
170 break;
171 case 2:
176 break;
177 case 3:
183 }
184 break;
187 if ((((~
b) >> 16) & 0xffff) != (
b & 0xffff))
188 {
190 z->msg = (
char*)
"invalid stored block lengths";
193 }
194 s->sub.left = (
uInt)
b & 0xffff;
196 Tracev((
stderr,
"inflate: stored length %u\n",
s->sub.left));
198 break;
209 if ((
s->sub.left -=
t) != 0)
210 break;
212 z->total_out + (
q >=
s->read ?
q -
s->read :
213 (
s->end -
s->read) + (
q -
s->window))));
215 break;
219#ifndef PKZIP_BUG_WORKAROUND
220 if ((
t & 0x1f) > 29 || ((
t >> 5) & 0x1f) > 29)
221 {
223 z->msg = (
char*)
"too many length or distance symbols";
226 }
227#endif
228 t = 258 + (
t & 0x1f) + ((
t >> 5) & 0x1f);
230 {
233 }
240 {
244 }
249 &
s->sub.trees.
tb,
s->hufts,
z);
251 {
254 {
257 }
259 }
260 s->sub.trees.index = 0;
264 while (
t =
s->sub.trees.table,
265 s->sub.trees.index < 258 + (
t & 0x1f) + ((
t >> 5) & 0x1f))
266 {
269
276 {
278 s->sub.trees.blens[
s->sub.trees.index++] =
c;
279 }
280 else
281 {
282 i =
c == 18 ? 7 :
c - 14;
283 j =
c == 18 ? 11 : 3;
288 i =
s->sub.trees.index;
289 t =
s->sub.trees.table;
290 if (
i +
j > 258 + (
t & 0x1f) + ((
t >> 5) & 0x1f) ||
292 {
295 z->msg = (
char*)
"invalid bit length repeat";
298 }
299 c =
c == 16 ?
s->sub.trees.blens[
i - 1] : 0;
300 do {
301 s->sub.trees.blens[
i++] =
c;
303 s->sub.trees.index =
i;
304 }
305 }
307 {
311
312 bl = 9;
313 bd = 6;
314 t =
s->sub.trees.table;
316 s->sub.trees.blens, &bl, &bd, &tl, &td,
319 {
321 {
324 }
327 }
330 {
333 }
334 s->sub.decode.codes =
c;
335 }
346 z->total_out + (
q >=
s->read ?
q -
s->read :
347 (
s->end -
s->read) + (
q -
s->window))));
349 {
351 break;
352 }
356 if (
s->read !=
s->write)
365 default:
368 }
369#ifdef NEED_DUMMY_RETURN
370 return 0;
371#endif
372}
ios_base &_STLP_CALL fixed(ios_base &__s)
while(CdLookupNextInitialFileDirent(IrpContext, Fcb, FileContext))
#define ZALLOC(strm, items, size)
#define UPDATE(check, buf, len)
#define ZFREE(strm, addr)
int inflate(z_streamp strm, int flush)
int inflate_trees_bits(uIntf *c, uIntf *bb, inflate_huft *FAR *tb, inflate_huft *hp, z_streamp z)
int inflate_trees_fixed(uIntf *bl, uIntf *bd, const inflate_huft *FAR *tl, const inflate_huft *FAR *td, z_streamp z)
int inflate_trees_dynamic(uInt nl, uInt nd, uIntf *c, uIntf *bl, uIntf *bd, inflate_huft *FAR *tl, inflate_huft *FAR *td, inflate_huft *hp, z_streamp z)
struct inflate_huft_s FAR inflate_huft
GLint GLint GLsizei GLsizei GLsizei GLint border
GLuint GLuint GLsizei GLenum type
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble GLdouble q
GLboolean GLboolean GLboolean b
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
void inflate_codes_free(inflate_codes_statef *c, z_streamp z)
inflate_codes_statef * inflate_codes_new(uInt bl, uInt bd, inflate_huft *tl, inflate_huft *td, z_streamp z)
int inflate_codes(inflate_blocks_statef *s, z_streamp z, int r)
struct inflate_codes_state FAR inflate_codes_statef
int inflate_flush(inflate_blocks_statef *s, z_streamp z, int r)
const uInt inflate_mask[17]
static const WCHAR invalid[]
static const struct @541 sizes[]
static unsigned int block