Go to the SVN repository for this file.
12 # pragma message("Assembler code may have bugs -- use at your own risk")
58 unsigned char FAR*beg;
59 unsigned char FAR*end;
78 unsigned char FAR*from;
96lcode =
state->lencode;
97dcode =
state->distcode;
98lmask = (1U <<
state->lenbits) - 1;
99dmask = (1U <<
state->distbits) - 1;
110here = lcode + (
hold& lmask);
112op = (unsigned)(here->
bits);
115op = (unsigned)(here->
op);
118 "inflate: literal '%c'\n":
119 "inflate: literal 0x%02x\n", here->
val));
120*
out++ = (
unsignedchar)(here->
val);
123 len= (unsigned)(here->
val);
130 len+= (unsigned)
hold& ((1U << op) - 1);
134 Tracevv((stderr,
"inflate: length %u\n",
len));
141here = dcode + (
hold& dmask);
143op = (unsigned)(here->
bits);
146op = (unsigned)(here->
op);
148dist = (unsigned)(here->
val);
158dist += (unsigned)
hold& ((1U << op) - 1);
159 #ifdef INFLATE_STRICT 161 strm->
msg= (
char*)
"invalid distance too far back";
168 Tracevv((stderr,
"inflate: distance %u\n", dist));
169op = (unsigned)(
out- beg);
175(
char*)
"invalid distance too far back";
179 #ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR 189}
while(--op >
whave);
210 else if(
wnext< op) {
266 else if((op & 64) == 0) {
267here = dcode + here->
val+ (
hold& ((1U << op) - 1));
271 strm->
msg= (
char*)
"invalid distance code";
276 else if((op & 64) == 0) {
277here = lcode + here->
val+ (
hold& ((1U << op) - 1));
281 Tracevv((stderr,
"inflate: end of block\n"));
286 strm->
msg= (
char*)
"invalid literal/length code";
303257 + (end -
out) : 257 - (
out- end));
std::ofstream out("events_result.xml")
main entry point for tests
static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)
std::istream & in(std::istream &in_, double &x_)
unsigned char FAR * window
struct internal_state * state
void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4