#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Go to the source code of this file.
|
local int inflateStateCheck | OF ((z_streamp strm)) |
|
local void fixedtables | OF ((struct inflate_state FAR *state)) |
|
local int updatewindow | OF ((z_streamp strm, const unsigned char FAR *end, unsigned copy)) |
|
local unsigned syncsearch | OF ((unsigned FAR *have, const unsigned char FAR *buf, unsigned len)) |
|
local int | inflateStateCheck (z_streamp strm) |
|
int ZEXPORT | inflateResetKeep (z_streamp strm) |
|
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, const Bytef *end, unsigned copy) |
|
int ZEXPORT | inflate (z_streamp strm, int flush) |
|
int ZEXPORT | inflateEnd (z_streamp strm) |
|
int ZEXPORT | inflateGetDictionary (z_streamp strm, Bytef *dictionary, uInt *dictLength) |
|
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, const 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) |
|
int ZEXPORT | inflateValidate (z_streamp strm, int check) |
|
long ZEXPORT | inflateMark (z_streamp strm) |
|
unsigned long ZEXPORT | inflateCodesUsed (z_streamp strm) |
|
◆ BITS
Value: ((unsigned)hold & ((1U << (n)) - 1))
Definition at line 526 of file inflate.c.
◆ BYTEBITS
Value: do { \
hold >>= bits & 7; \
bits -= bits & 7; \
} while (0)
Definition at line 537 of file inflate.c.
◆ DROPBITS
Value: do { \
hold >>= (n); \
bits -= (unsigned)(n); \
} while (0)
Definition at line 530 of file inflate.c.
◆ INITBITS
Value: do { \
hold = 0; \
bits = 0; \
} while (0)
Definition at line 501 of file inflate.c.
◆ LOAD
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 479 of file inflate.c.
◆ NEEDBITS
Value: do { \
while (bits < (unsigned)(n)) \
PULLBYTE(); \
} while (0)
Definition at line 519 of file inflate.c.
◆ PULLBYTE
Value: do { \
if (have == 0) goto inf_leave; \
have--; \
hold += (unsigned long)(*next++) << bits; \
bits += 8; \
} while (0)
Definition at line 509 of file inflate.c.
◆ RESTORE
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 490 of file inflate.c.
◆ UPDATE_CHECK
#define UPDATE_CHECK |
( |
| check, |
|
|
| buf, |
|
|
| len ) |
Value:
uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len)
Definition at line 456 of file inflate.c.
◆ fixedtables()
◆ inflate()
◆ inflateCodesUsed()
◆ inflateCopy()
◆ inflateEnd()
◆ inflateGetDictionary()
◆ inflateGetHeader()
◆ inflateInit2_()
int ZEXPORT inflateInit2_ |
( |
z_streamp | strm, |
|
|
int | windowBits, |
|
|
const char * | version, |
|
|
int | stream_size ) |
◆ inflateInit_()
int ZEXPORT inflateInit_ |
( |
z_streamp | strm, |
|
|
const char * | version, |
|
|
int | stream_size ) |
◆ inflateMark()
◆ inflatePrime()
◆ inflateReset()
◆ inflateReset2()
◆ inflateResetKeep()
◆ inflateSetDictionary()
◆ inflateStateCheck()
◆ inflateSync()
◆ inflateSyncPoint()
◆ inflateUndermine()
◆ inflateValidate()
◆ OF() [1/4]
◆ OF() [2/4]
◆ OF() [3/4]
◆ OF() [4/4]
◆ syncsearch()
local unsigned syncsearch |
( |
unsigned FAR * | have, |
|
|
const unsigned char FAR * | buf, |
|
|
unsigned | len ) |
◆ updatewindow()