#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
Go to the source code of this file.
◆ inflate_fast()
Definition at line 50 of file inffast.c.
58 unsigned char FAR *beg;
96 lcode =
state->lencode;
97 dcode =
state->distcode;
98 lmask = (1
U <<
state->lenbits) - 1;
99 dmask = (1
U <<
state->distbits) - 1;
110 here = lcode[
hold & lmask];
118 "inflate: literal '%c'\n" :
119 "inflate: literal 0x%02x\n", here.
val));
141 here = dcode[
hold & dmask];
159 #ifdef INFLATE_STRICT 161 strm->msg = (
char *)
"invalid distance too far back";
175 (
char *)
"invalid distance too far back";
179 #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR 266 else if ((
op & 64) == 0) {
267 here = dcode[here.
val + (
hold & ((1
U <<
op) - 1))];
271 strm->msg = (
char *)
"invalid distance code";
276 else if ((
op & 64) == 0) {
277 here = lcode[here.
val + (
hold & ((1
U <<
op) - 1))];
286 strm->msg = (
char *)
"invalid literal/length code";
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
static IHTMLWindow2 * window
static unsigned(__cdecl *hash_bstr)(bstr_t s)
Referenced by inflate(), inflate_codes(), and inflateBack().