zenilib
0.5.3.0
|
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Go to the source code of this file.
Macros | |
#define | BITS(n) ((unsigned)hold & ((1U << (n)) - 1)) |
#define | BYTEBITS() |
#define | DROPBITS(n) |
#define | INITBITS() |
#define | LOAD() |
#define | NEEDBITS(n) |
#define | PULL() |
#define | PULLBYTE() |
#define | RESTORE() |
#define | ROOM() |
Functions | |
local void | fixedtables (struct inflate_state FAR *state) |
int ZEXPORT | inflateBack (z_streamp strm, in_func in, void FAR *in_desc, out_func out, void FAR *out_desc) |
int ZEXPORT | inflateBackEnd (z_streamp strm) |
int ZEXPORT | inflateBackInit_ (z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size) |
local void fixedtables | OF ((struct inflate_state FAR *state)) |
#define BITS | ( | n | ) | ((unsigned)hold & ((1U << (n)) - 1)) |
Definition at line 181 of file infback.c.
Referenced by inflateBack().
#define BYTEBITS | ( | ) |
Definition at line 192 of file infback.c.
Referenced by inflateBack().
#define DROPBITS | ( | n | ) |
#define INITBITS | ( | ) |
Definition at line 141 of file infback.c.
Referenced by inflateBack().
#define LOAD | ( | ) |
#define NEEDBITS | ( | n | ) |
Definition at line 174 of file infback.c.
Referenced by inflateBack().
#define PULL | ( | ) |
Definition at line 149 of file infback.c.
Referenced by inflateBack().
#define PULLBYTE | ( | ) |
#define RESTORE | ( | ) |
#define ROOM | ( | ) |
Definition at line 201 of file infback.c.
Referenced by inflateBack().
local void fixedtables | ( | struct inflate_state FAR * | state | ) |
int ZEXPORT inflateBack | ( | z_streamp | strm, |
in_func | in, | ||
void FAR * | in_desc, | ||
out_func | out, | ||
void FAR * | out_desc | ||
) |
Definition at line 241 of file infback.c.
References BAD, bits, code::bits, BITS, BYTEBITS, CODES, inflate_state::codes, inflate_state::distbits, inflate_state::distcode, DISTS, DONE, DROPBITS, inflate_state::extra, fixedtables(), for(), inflate_state::have, inflate_state::hold, if(), inflate_fast(), inflate_table(), INITBITS, inflate_state::last, LEN, inflate_state::lenbits, inflate_state::lencode, inflate_state::length, LENS, inflate_state::lens, LOAD, inflate_state::mode, inflate_state::ncode, inflate_state::ndist, NEEDBITS, inflate_state::next, inflate_state::nlen, inflate_state::offset, code::op, PULL, PULLBYTE, RESTORE, ret, ROOM, STORED, TABLE, Tracev, Tracevv, TYPE, code::val, inflate_state::whave, inflate_state::window, inflate_state::work, inflate_state::wsize, Z_BUF_ERROR, Z_DATA_ERROR, Z_NULL, Z_STREAM_END, Z_STREAM_ERROR, and zmemcpy().
int ZEXPORT inflateBackInit_ | ( | z_streamp | strm, |
int | windowBits, | ||
unsigned char FAR * | window, | ||
const char * | version, | ||
int | stream_size | ||
) |
Definition at line 28 of file infback.c.
References inflate_state::dmax, Tracev, inflate_state::wbits, inflate_state::whave, inflate_state::window, windowBits, inflate_state::wnext, inflate_state::wsize, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_ERROR, Z_VERSION_ERROR, ZALLOC, zcalloc(), zcfree(), and ZLIB_VERSION.
local void fixedtables OF | ( | (struct inflate_state FAR *state) | ) |