Go to the source code of this file.
|
| local void fixedtables | OF ((struct inflate_state FAR *state)) |
| |
| local int updatewindow | OF ((z_streamp strm, unsigned out)) |
| |
| local unsigned syncsearch | OF ((unsigned FAR *have, unsigned char FAR *buf, unsigned len)) |
| |
| int ZEXPORT | inflateReset (z_streamp strm) |
| |
| int ZEXPORT | inflateReset2 (z_streamp strm, int windowBits) |
| |
| int ZEXPORT | inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size) |
| |
| int ZEXPORT | inflateInit_ (z_streamp strm, const char *version, int stream_size) |
| |
| int ZEXPORT | inflatePrime (z_streamp strm, int bits, int value) |
| |
| local void | fixedtables (struct inflate_state FAR *state) |
| |
| local int | updatewindow (z_streamp strm, unsigned out) |
| |
| int ZEXPORT | inflate (z_streamp strm, int flush) |
| |
| int ZEXPORT | inflateEnd (z_streamp strm) |
| |
| int ZEXPORT | inflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
| |
| int ZEXPORT | inflateGetHeader (z_streamp strm, gz_headerp head) |
| |
| local unsigned | syncsearch (unsigned FAR *have, unsigned char FAR *buf, unsigned len) |
| |
| int ZEXPORT | inflateSync (z_streamp strm) |
| |
| int ZEXPORT | inflateSyncPoint (z_streamp strm) |
| |
| int ZEXPORT | inflateCopy (z_streamp dest, z_streamp source) |
| |
| int ZEXPORT | inflateUndermine (z_streamp strm, int subvert) |
| |
| long ZEXPORT | inflateMark (z_streamp strm) |
| |
| #define BITS |
( |
|
n | ) |
((unsigned)hold & ((1U << (n)) - 1)) |
Value:do { \
hold >>= bits & 7; \
bits -= bits & 7; \
} while (0)
Definition at line 508 of file inflate.c.
Value:do { \
hold = 0; \
bits = 0; \
} while (0)
Definition at line 472 of file inflate.c.
Value:do { \
put = strm->next_out; \
left = strm->avail_out; \
next = strm->next_in; \
have = strm->avail_in; \
hold = state->hold; \
bits = state->bits; \
} while (0)
Definition at line 450 of file inflate.c.
Value:do { \
while (bits < (
unsigned)(
n)) \
PULLBYTE(); \
} while (0)
Definition at line 490 of file inflate.c.
Value:do { \
if (have == 0) goto inf_leave; \
have--; \
hold += (unsigned long)(*next++) << bits; \
bits += 8; \
} while (0)
Definition at line 480 of file inflate.c.
Value:do { \
strm->next_out = put; \
strm->avail_out = left; \
strm->next_in = next; \
strm->avail_in = have; \
state->hold = hold; \
state->bits = bits; \
} while (0)
Definition at line 461 of file inflate.c.
Value:((((q) >> 24) & 0xff) + (((q) >> 8) & 0xff00) + \
(((q) & 0xff00) << 8) + (((q) & 0xff) << 24))
Definition at line 515 of file inflate.c.
| #define UPDATE |
( |
|
check, |
|
|
|
buf, |
|
|
|
len |
|
) |
| adler32(check, buf, len) |
| local unsigned syncsearch |
( |
unsigned FAR * |
have, |
|
|
unsigned char FAR * |
buf, |
|
|
unsigned |
len |
|
) |
| |