|
roo_display
API Documentation for roo_display
|
#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 | 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 | ( | ) |
| local void fixedtables | ( | struct inflate_state FAR * | state | ) |
Definition at line 282 of file inflate.c.
References inflate_state::bits, inflate_state::distbits, inflate_state::distcode, distfix, DISTS, inflate_table(), inflate_state::lenbits, inflate_state::lencode, lenfix, inflate_state::lens, LENS, inflate_state::next, and inflate_state::work.
Referenced by inflate().
Definition at line 627 of file inflate.c.
References adler32(), inflate_state::back, BAD, BITS, inflate_state::bits, code::bits, BYTEBITS, CHECK, inflate_state::check, CODELENS, inflate_state::codes, CODES, COMMENT, COPY, COPY_, CRC2, crc32(), CRC4, DICT, DICTID, DIST, inflate_state::distbits, inflate_state::distcode, DISTEXT, DISTS, inflate_state::dmax, DONE, DROPBITS, EXLEN, EXTRA, inflate_state::extra, FAR, fixedtables(), FLAGS, inflate_state::flags, GUNZIP, inflate_state::have, inflate_state::havedict, HCRC, HEAD, inflate_state::head, inflate_state::hold, inflate_fast(), inflate_table(), inflateStateCheck(), INITBITS, inflate_state::last, LEN, LEN_, inflate_state::lenbits, inflate_state::lencode, LENEXT, LENGTH, inflate_state::length, LENLENS, inflate_state::lens, LENS, LIT, LOAD, MATCH, MEM, inflate_state::mode, NAME, inflate_state::ncode, inflate_state::ndist, NEEDBITS, inflate_state::next, inflate_state::nlen, inflate_state::offset, code::op, OS, out, PULLBYTE, RESTORE, inflate_state::sane, STORED, inflate_state::strm, SYNC, TABLE, TIME, inflate_state::total, Trace, Tracev, Tracevv, TYPE, TYPEDO, UPDATE, updatewindow(), code::val, inflate_state::was, inflate_state::wbits, inflate_state::whave, inflate_state::window, inflate_state::wnext, inflate_state::work, inflate_state::wrap, inflate_state::wsize, Z_BLOCK, Z_BUF_ERROR, z_const, Z_DATA_ERROR, Z_DEFLATED, Z_FINISH, Z_MEM_ERROR, Z_NEED_DICT, Z_NULL, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_TREES, zmemcpy(), and ZSWAP32.
Definition at line 1568 of file inflate.c.
References inflate_state::codes, FAR, inflateStateCheck(), inflate_state::next, and inflate_state::strm.
Definition at line 1475 of file inflate.c.
References inflate_state::codes, inflate_state::distcode, ENOUGH, FAR, inflateStateCheck(), inflate_state::lencode, inflate_state::next, inflate_state::strm, inflate_state::wbits, inflate_state::window, inflate_state::wsize, Z_MEM_ERROR, Z_NULL, Z_OK, Z_STREAM_ERROR, ZALLOC, ZFREE, and zmemcpy().
Definition at line 1291 of file inflate.c.
References FAR, inflateStateCheck(), inflate_state::strm, Tracev, inflate_state::window, Z_NULL, Z_OK, Z_STREAM_ERROR, and ZFREE.
Definition at line 1305 of file inflate.c.
References FAR, inflateStateCheck(), inflate_state::strm, inflate_state::whave, inflate_state::window, inflate_state::wnext, Z_NULL, Z_OK, Z_STREAM_ERROR, and zmemcpy().
| int ZEXPORT inflateGetHeader | ( | z_streamp | strm, |
| gz_headerp | head | ||
| ) |
Definition at line 1363 of file inflate.c.
References FAR, inflate_state::head, inflateStateCheck(), inflate_state::strm, inflate_state::wrap, Z_OK, and Z_STREAM_ERROR.
Definition at line 196 of file inflate.c.
References FAR, HEAD, inflateReset2(), inflate_state::mode, inflate_state::strm, Z_NULL, Z_STREAM_ERROR, Z_VERSION_ERROR, zcalloc(), zcfree(), and ZLIB_VERSION.
Referenced by inflateInit_().
Definition at line 243 of file inflate.c.
References DEF_WBITS, inflateInit2_(), and inflate_state::strm.
Definition at line 1555 of file inflate.c.
References inflate_state::back, COPY, FAR, inflateStateCheck(), inflate_state::length, MATCH, inflate_state::mode, inflate_state::strm, and inflate_state::was.
Definition at line 251 of file inflate.c.
References inflate_state::bits, FAR, inflate_state::hold, inflateStateCheck(), inflate_state::strm, Z_OK, and Z_STREAM_ERROR.
Definition at line 144 of file inflate.c.
References FAR, inflateResetKeep(), inflateStateCheck(), inflate_state::strm, inflate_state::whave, inflate_state::wnext, inflate_state::wsize, and Z_STREAM_ERROR.
Referenced by inflateReset2(), and inflateSync().
Definition at line 157 of file inflate.c.
References FAR, inflateReset(), inflateStateCheck(), inflate_state::strm, inflate_state::wbits, inflate_state::wrap, and Z_STREAM_ERROR.
Referenced by inflateInit2_().
Definition at line 119 of file inflate.c.
References inflate_state::back, inflate_state::bits, inflate_state::codes, inflate_state::distcode, inflate_state::dmax, FAR, inflate_state::havedict, HEAD, inflate_state::head, inflate_state::hold, inflateStateCheck(), inflate_state::last, inflate_state::lencode, inflate_state::mode, inflate_state::next, inflate_state::sane, inflate_state::strm, inflate_state::total, Tracev, inflate_state::wrap, Z_NULL, Z_OK, and Z_STREAM_ERROR.
Referenced by inflateReset().
Definition at line 1328 of file inflate.c.
References adler32(), inflate_state::check, DICT, FAR, inflate_state::havedict, inflateStateCheck(), MEM, inflate_state::mode, inflate_state::strm, Tracev, updatewindow(), inflate_state::wrap, Z_DATA_ERROR, Z_MEM_ERROR, Z_NULL, Z_OK, and Z_STREAM_ERROR.
Definition at line 105 of file inflate.c.
References FAR, HEAD, inflate_state::mode, inflate_state::strm, SYNC, and Z_NULL.
Referenced by inflate(), inflateCodesUsed(), inflateCopy(), inflateEnd(), inflateGetDictionary(), inflateGetHeader(), inflateMark(), inflatePrime(), inflateReset(), inflateReset2(), inflateResetKeep(), inflateSetDictionary(), inflateSync(), inflateSyncPoint(), inflateUndermine(), and inflateValidate().
Definition at line 1414 of file inflate.c.
References inflate_state::bits, FAR, inflate_state::have, inflate_state::hold, inflateReset(), inflateStateCheck(), inflate_state::mode, out, inflate_state::strm, SYNC, syncsearch(), TYPE, Z_BUF_ERROR, Z_DATA_ERROR, Z_OK, and Z_STREAM_ERROR.
Definition at line 1465 of file inflate.c.
References inflate_state::bits, FAR, inflateStateCheck(), inflate_state::mode, STORED, inflate_state::strm, and Z_STREAM_ERROR.
Definition at line 1522 of file inflate.c.
References FAR, inflateStateCheck(), inflate_state::sane, inflate_state::strm, Z_DATA_ERROR, Z_OK, and Z_STREAM_ERROR.
Definition at line 1540 of file inflate.c.
References inflate_state::check, FAR, inflateStateCheck(), inflate_state::strm, inflate_state::wrap, Z_OK, and Z_STREAM_ERROR.
| local void fixedtables OF | ( | (struct inflate_state FAR *state) | ) |
| local unsigned syncsearch OF | ( | (unsigned FAR *have, const unsigned char FAR *buf, unsigned len) | ) |
| local int inflateStateCheck OF | ( | (z_streamp strm) | ) |
| local int updatewindow OF | ( | (z_streamp strm, const unsigned char FAR *end, unsigned copy) | ) |
Definition at line 1391 of file inflate.c.
References inflate_state::have, and inflate_state::next.
Referenced by inflateSync().
Definition at line 400 of file inflate.c.
References FAR, inflate_state::strm, inflate_state::wbits, inflate_state::whave, inflate_state::window, inflate_state::wnext, inflate_state::wsize, and zmemcpy().
Referenced by inflate(), and inflateSetDictionary().