#include "zutil.h"
#include "inftrees.h"
#include "infblock.h"
#include "infcodes.h"
#include "infutil.h"
Go to the source code of this file.
◆ bits
◆ exop
◆ inflate_codes_mode
Enumerator |
---|
START | |
LEN | |
LENEXT | |
DIST | |
DISTEXT | |
COPY | |
LIT | |
WASH | |
END | |
BADCODE | |
Definition at line 16 of file infcodes.c.
◆ inflate_codes()
Definition at line 80 of file infcodes.c.
84{
96
97
99
100
101 while (1)
switch (
c->mode)
102 {
104#ifndef SLOW
105 if (
m >= 258 &&
n >= 10)
106 {
111 {
113 break;
114 }
115 }
116#endif
117 c->sub.code.need =
c->lbits;
118 c->sub.code.tree =
c->ltree;
121 j =
c->sub.code.need;
127 {
128 c->sub.lit =
t->base;
130 "inflate: literal '%c'\n" :
131 "inflate: literal 0x%02x\n",
t->base));
133 break;
134 }
136 {
137 c->sub.copy.get =
e & 15;
140 break;
141 }
143 {
144 c->sub.code.need =
e;
145 c->sub.code.tree =
t +
t->base;
146 break;
147 }
149 {
152 break;
153 }
155 z->msg = (
char*)
"invalid literal/length code";
163 c->sub.code.need =
c->dbits;
164 c->sub.code.tree =
c->dtree;
168 j =
c->sub.code.need;
174 {
175 c->sub.copy.get =
e & 15;
176 c->sub.copy.dist =
t->base;
178 break;
179 }
181 {
182 c->sub.code.need =
e;
183 c->sub.code.tree =
t +
t->base;
184 break;
185 }
187 z->msg = (
char*)
"invalid distance code";
198 f =
q -
c->sub.copy.dist;
200 f +=
s->end -
s->window;
202 {
208 }
210 break;
215 break;
218 {
219 Assert(
k < 16,
"inflate_codes grabbed too many bytes")
223 }
234 default:
237 }
238#ifdef NEED_DUMMY_RETURN
240#endif
241}
static void inflate_fast(z_streamp strm, unsigned start)
#define Assert(cond, msg)
#define UPDATE(check, buf, len)
struct inflate_huft_s FAR inflate_huft
GLdouble GLdouble GLdouble r
GLdouble GLdouble GLdouble GLdouble q
GLboolean GLboolean GLboolean b
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
struct inflate_codes_state FAR inflate_codes_statef
const uInt inflate_mask[17]
static IHTMLWindow2 * window
Referenced by inflate_blocks().
◆ inflate_codes_free()
◆ inflate_codes_new()