NCBI C++ ToolKit
|
#include "zutil_cf.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"
#include "inffixed.h"
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | UPDATE(check, buf, len) (state->flags ? crc32(check, buf, len) : adler32(check, buf, len)) |
#define | CRC2(check, word) |
#define | CRC4(check, word) |
#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 BYTEBITS | ( | ) |
#define CRC2 | ( | check, | |
word | |||
) |
#define CRC4 | ( | check, | |
word | |||
) |
#define DROPBITS | ( | n | ) |
#define INITBITS | ( | ) |
#define LOAD | ( | ) |
#define NEEDBITS | ( | n | ) |
#define PULLBYTE | ( | ) |
#define RESTORE | ( | ) |
void fixedtables | ( | struct inflate_state FAR * | state | ) |
Definition at line 269 of file inflate.c.
References inflate_state::bits, distfix, DISTS, inflate_table, lenfix, LENS, and next().
Definition at line 624 of file inflate.c.
References z_stream_s::adler, adler32, z_stream_s::avail_in, BAD, inflate_state::bits, code::bits, BITS, BYTEBITS, CHECK, chunkcopy_lapped_safe(), chunkcopy_safe(), CODELENS, CODES, COMMENT, COPY, copy(), COPY_, CRC2, crc32, CRC4, DICT, DICTID, DIST, DISTEXT, DISTS, DONE, DROPBITS, EXLEN, EXTRA, FAR, fixedtables(), FLAGS, GUNZIP, inflate_state::have, HCRC, HEAD, inflate_state::hold, if(), in(), inflate_fast, inflate_fast_chunk_(), INFLATE_FAST_MIN_INPUT, INFLATE_FAST_MIN_OUTPUT, inflate_table, inflateStateCheck(), INITBITS, int, last(), len, LEN, LEN_, LENEXT, LENGTH, LENLENS, LENS, LIT, LOAD, MATCH, MEM, z_stream_s::msg, NAME, NEEDBITS, next(), z_stream_s::next_in, z_stream_s::next_out, code::op, OS, out(), PULLBYTE, RESTORE, z_stream_s::state, STORED, inflate_state::strm, SYNC, TABLE, TIME, z_stream_s::total_out, Trace(), Tracev, Tracevv, TYPE, TYPEDO, UPDATE, code::val, Z_BLOCK, z_const, Z_DATA_ERROR, Z_DEFLATED, Z_MEM_ERROR, Z_NEED_DICT, Z_NULL, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_TREES, zmemcpy(), and ZSWAP32.
Definition at line 1515 of file inflate.c.
References copy(), ENOUGH, FAR, inflateStateCheck(), rapidjson::source, z_stream_s::state, inflate_state::window, inflate_state::wsize, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_ERROR, ZALLOC, ZFREE, and zmemcpy().
Definition at line 1341 of file inflate.c.
References FAR, if(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, Tracev, Z_NULL, Z_OK, Z_STREAM_ERROR, and ZFREE.
Definition at line 1354 of file inflate.c.
References FAR, if(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, Z_NULL, Z_OK, Z_STREAM_ERROR, and zmemcpy().
int ZEXPORT inflateGetHeader | ( | z_streamp | strm, |
gz_headerp | head | ||
) |
Definition at line 1406 of file inflate.c.
References FAR, head, if(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, Z_OK, and Z_STREAM_ERROR.
Definition at line 195 of file inflate.c.
References FAR, HEAD, inflateReset2(), z_stream_s::msg, z_stream_s::opaque, z_stream_s::state, internal_state::strm, inflate_state::strm, Tracev, dtl::version, voidpf, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_ERROR, Z_VERSION_ERROR, z_stream_s::zalloc, ZALLOC, zcalloc, zcfree, z_stream_s::zfree, ZFREE, and ZLIB_VERSION.
Definition at line 235 of file inflate.c.
References DEF_WBITS, inflateInit2_(), internal_state::strm, and dtl::version.
Definition at line 1585 of file inflate.c.
References COPY, FAR, inflateStateCheck(), MATCH, z_stream_s::state, and inflate_state::strm.
Definition at line 240 of file inflate.c.
References inflate_state::bits, FAR, if(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, rapidjson::value, Z_OK, and Z_STREAM_ERROR.
Definition at line 147 of file inflate.c.
References FAR, inflateResetKeep(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, and Z_STREAM_ERROR.
Definition at line 158 of file inflate.c.
References FAR, if(), inflateReset(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, inflate_state::wrap, Z_NULL, Z_STREAM_ERROR, and ZFREE.
Definition at line 123 of file inflate.c.
References z_stream_s::adler, FAR, HEAD, if(), inflateStateCheck(), z_stream_s::msg, z_stream_s::state, inflate_state::strm, z_stream_s::total_in, z_stream_s::total_out, Tracev, Z_NULL, Z_OK, and Z_STREAM_ERROR.
Definition at line 1374 of file inflate.c.
References adler32, DICT, FAR, if(), inflateStateCheck(), MEM, z_stream_s::state, inflate_state::strm, Tracev, updatewindow(), Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, Z_OK, and Z_STREAM_ERROR.
Definition at line 111 of file inflate.c.
References FAR, HEAD, if(), z_stream_s::state, inflate_state::strm, SYNC, Z_NULL, z_stream_s::zalloc, and z_stream_s::zfree.
Definition at line 1451 of file inflate.c.
References z_stream_s::avail_in, buf, FAR, flags, if(), in(), inflateReset(), inflateStateCheck(), len, z_stream_s::next_in, out(), z_stream_s::state, inflate_state::strm, SYNC, syncsearch(), z_stream_s::total_in, z_stream_s::total_out, TYPE, Z_BUF_ERROR, Z_DATA_ERROR, Z_OK, and Z_STREAM_ERROR.
Definition at line 1507 of file inflate.c.
References FAR, inflateStateCheck(), z_stream_s::state, STORED, inflate_state::strm, and Z_STREAM_ERROR.
Definition at line 1559 of file inflate.c.
References FAR, inflateStateCheck(), z_stream_s::state, inflate_state::strm, Z_DATA_ERROR, Z_OK, and Z_STREAM_ERROR.
Definition at line 1573 of file inflate.c.
References check, FAR, if(), inflateStateCheck(), z_stream_s::state, inflate_state::strm, Z_OK, and Z_STREAM_ERROR.
Definition at line 385 of file inflate.c.
References CHUNKCOPY_CHUNK_SIZE, copy(), FAR, if(), z_stream_s::state, inflate_state::strm, inflate_state::wsize, Z_NULL, ZALLOC, zmemcpy(), and zmemzero().