#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Defines | |
#define | UPDATE(check, buf, len) adler32(check, buf, len) |
#define | LOAD() |
#define | RESTORE() |
#define | INITBITS() |
#define | PULLBYTE() |
#define | NEEDBITS(n) |
#define | BITS(n) ((unsigned)hold & ((1U << (n)) - 1)) |
#define | DROPBITS(n) |
#define | BYTEBITS() |
#define | REVERSE(q) |
Functions | |
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 (strm) z_streamp strm |
Variables | |
int | windowBits |
const char * | version |
int | stream_size |
unsigned | out |
int | flush |
const Bytef * | dictionary |
uInt | dictLength |
unsigned char FAR * | buf |
unsigned | len |
z_streamp | source |
|
|
|
Value: do { \ hold >>= bits & 7; \ bits -= bits & 7; \ } while (0) |
|
Value: do { \ hold >>= (n); \ bits -= (unsigned)(n); \ } while (0) |
|
Value: do { \ hold = 0; \ bits = 0; \ } while (0) |
|
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) |
|
Value: do { \ while (bits < (unsigned)(n)) \ PULLBYTE(); \ } while (0) |
|
Value: do { \ if (have == 0) goto inf_leave; \ have--; \ hold += (unsigned long)(*next++) << bits; \ bits += 8; \ } while (0) |
|
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) |
|
Value: ((((q) >> 24) & 0xff) + (((q) >> 8) & 0xff00) + \ (((q) & 0xff00) << 8) + (((q) & 0xff) << 24)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|