Geant4.10
|
#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 | LOAD() |
#define | RESTORE() |
#define | INITBITS() |
#define | PULL() |
#define | PULLBYTE() |
#define | NEEDBITS(n) |
#define | BITS(n) ((unsigned)hold & ((1U << (n)) - 1)) |
#define | DROPBITS(n) |
#define | BYTEBITS() |
#define | ROOM() |
Functions | |
local void fixedtables | OF ((struct inflate_state FAR *state)) |
int ZEXPORT | inflateBackInit_ (z_streamp strm, int windowBits, unsigned char FAR *window, const char *version, int stream_size) |
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) |
#define BITS | ( | n | ) | ((unsigned)hold & ((1U << (n)) - 1)) |
Definition at line 184 of file infback.cc.
Referenced by inflateBack().
#define BYTEBITS | ( | ) |
Definition at line 195 of file infback.cc.
Referenced by inflateBack().
#define DROPBITS | ( | n | ) |
Definition at line 188 of file infback.cc.
Referenced by inflateBack().
#define INITBITS | ( | ) |
Definition at line 144 of file infback.cc.
Referenced by inflateBack().
#define LOAD | ( | ) |
Definition at line 122 of file infback.cc.
Referenced by inflateBack().
#define NEEDBITS | ( | n | ) |
Definition at line 177 of file infback.cc.
Referenced by inflateBack().
#define PULL | ( | ) |
Definition at line 152 of file infback.cc.
Referenced by inflateBack().
#define PULLBYTE | ( | ) |
Definition at line 166 of file infback.cc.
Referenced by inflateBack().
#define RESTORE | ( | ) |
Definition at line 133 of file infback.cc.
Referenced by inflateBack().
#define ROOM | ( | ) |
Definition at line 204 of file infback.cc.
Referenced by inflateBack().
local void fixedtables | ( | struct inflate_state FAR * | state | ) |
Definition at line 77 of file infback.cc.
References DISTS, inflate_table(), and LENS.
Referenced by inflateBack().
int ZEXPORT inflateBack | ( | z_streamp | strm, |
in_func | in, | ||
void FAR * | in_desc, | ||
out_func | out, | ||
void FAR * | out_desc | ||
) |
Definition at line 244 of file infback.cc.
References BAD, code::bits, inflate_state::bits, BITS, BYTEBITS, CODES, inflate_state::codes, copy(), inflate_state::distbits, inflate_state::distcode, DISTS, DONE, DROPBITS, inflate_state::extra, fixedtables(), inflate_state::have, inflate_state::hold, inflate_fast(), inflate_table(), INITBITS, inflate_state::last, left, 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, 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().
Definition at line 620 of file infback.cc.
References Tracev, Z_NULL, Z_OK, Z_STREAM_ERROR, and ZFREE.
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.cc.
References inflate_state::dmax, Tracev, inflate_state::wbits, inflate_state::whave, inflate_state::window, internal_state::window, 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) | ) |