|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
#include "deflate.h"Go to the source code of this file.
Classes | |
| struct | config_s |
Macros | |
| #define | NIL 0 |
| #define | TOO_FAR 4096 |
| #define | RANK(f) |
| #define | UPDATE_HASH(s, h, c) |
| #define | INSERT_STRING(s, str, match_head) |
| #define | CLEAR_HASH(s) |
| #define | HCRC_UPDATE(beg) |
| #define | check_match(s, start, match, length) |
| #define | FLUSH_BLOCK_ONLY(s, last) |
| #define | FLUSH_BLOCK(s, last) |
| #define | MAX_STORED 65535 |
| #define | MIN(a, b) |
Typedefs | |
| typedef block_state(* | compress_func) (deflate_state *s, int flush) |
| typedef struct config_s | config |
Enumerations | |
| enum | block_state { need_more , block_done , finish_started , finish_done } |
Functions | |
| local block_state | deflate_stored (deflate_state *s, int flush) |
| local block_state | deflate_fast (deflate_state *s, int flush) |
| local block_state | deflate_slow (deflate_state *s, int flush) |
| local block_state | deflate_rle (deflate_state *s, int flush) |
| local block_state | deflate_huff (deflate_state *s, int flush) |
| local void | slide_hash (deflate_state *s) |
| local unsigned | read_buf (z_streamp strm, Bytef *buf, unsigned size) |
| local void | fill_window (deflate_state *s) |
| int ZEXPORT | deflateInit_ (z_streamp strm, int level, const char *version, int stream_size) |
| int ZEXPORT | deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) |
| local int | deflateStateCheck (z_streamp strm) |
| int ZEXPORT | deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength) |
| int ZEXPORT | deflateGetDictionary (z_streamp strm, Bytef *dictionary, uInt *dictLength) |
| int ZEXPORT | deflateResetKeep (z_streamp strm) |
| local void | lm_init (deflate_state *s) |
| int ZEXPORT | deflateReset (z_streamp strm) |
| int ZEXPORT | deflateSetHeader (z_streamp strm, gz_headerp head) |
| int ZEXPORT | deflatePending (z_streamp strm, unsigned *pending, int *bits) |
| int ZEXPORT | deflatePrime (z_streamp strm, int bits, int value) |
| int ZEXPORT | deflateParams (z_streamp strm, int level, int strategy) |
| int ZEXPORT | deflateTune (z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) |
| uLong ZEXPORT | deflateBound (z_streamp strm, uLong sourceLen) |
| local void | putShortMSB (deflate_state *s, uInt b) |
| local void | flush_pending (z_streamp strm) |
| int ZEXPORT | deflate (z_streamp strm, int flush) |
| int ZEXPORT | deflateEnd (z_streamp strm) |
| int ZEXPORT | deflateCopy (z_streamp dest, z_streamp source) |
| local uInt | longest_match (deflate_state *s, IPos cur_match) |
Variables | |
| const char | deflate_copyright [] |
| local const config | configuration_table [10] |
| #define check_match | ( | s, | |
| start, | |||
| match, | |||
| length ) |
Definition at line 1586 of file deflate.c.
Referenced by deflate_fast(), deflate_rle(), and deflate_slow().
| #define CLEAR_HASH | ( | s | ) |
Definition at line 170 of file deflate.c.
Referenced by deflate(), deflateParams(), deflateSetDictionary(), and lm_init().
| #define FLUSH_BLOCK | ( | s, | |
| last ) |
Definition at line 1605 of file deflate.c.
Referenced by deflate_fast(), deflate_huff(), deflate_rle(), and deflate_slow().
| #define FLUSH_BLOCK_ONLY | ( | s, | |
| last ) |
Definition at line 1593 of file deflate.c.
Referenced by deflate_slow().
| #define HCRC_UPDATE | ( | beg | ) |
Definition at line 942 of file deflate.c.
Referenced by deflate().
| #define INSERT_STRING | ( | s, | |
| str, | |||
| match_head ) |
Definition at line 160 of file deflate.c.
Referenced by deflate_fast(), and deflate_slow().
| #define MAX_STORED 65535 |
Definition at line 1611 of file deflate.c.
Referenced by deflate_stored().
| #define MIN | ( | a, | |
| b ) |
Definition at line 1614 of file deflate.c.
Referenced by deflate_stored().
| #define NIL 0 |
Definition at line 85 of file deflate.c.
Referenced by deflate_fast(), deflate_slow(), longest_match(), and slide_hash().
| #define RANK | ( | f | ) |
| #define TOO_FAR 4096 |
Definition at line 89 of file deflate.c.
Referenced by deflate_slow().
| #define UPDATE_HASH | ( | s, | |
| h, | |||
| c ) |
Definition at line 141 of file deflate.c.
Referenced by deflate_fast(), deflateSetDictionary(), and fill_window().
| typedef block_state(* compress_func) (deflate_state *s, int flush) |
| enum block_state |
| Enumerator | |
|---|---|
| need_more | |
| block_done | |
| finish_started | |
| finish_done | |
Definition at line 63 of file deflate.c.
| int ZEXPORT deflate | ( | z_streamp | strm, |
| int | flush ) |
Definition at line 950 of file deflate.c.
Referenced by compress2(), deflateParams(), and gz_comp().
| local block_state deflate_fast | ( | deflate_state * | s, |
| int | flush ) |
Definition at line 1815 of file deflate.c.
| local block_state deflate_huff | ( | deflate_state * | s, |
| int | flush ) |
Definition at line 2113 of file deflate.c.
Referenced by deflate().
| local block_state deflate_rle | ( | deflate_state * | s, |
| int | flush ) |
Definition at line 2042 of file deflate.c.
Referenced by deflate().
| local block_state deflate_slow | ( | deflate_state * | s, |
| int | flush ) |
Definition at line 1914 of file deflate.c.
| local block_state deflate_stored | ( | deflate_state * | s, |
| int | flush ) |
Definition at line 1631 of file deflate.c.
Referenced by deflate().
| uLong ZEXPORT deflateBound | ( | z_streamp | strm, |
| uLong | sourceLen ) |
Definition at line 838 of file deflate.c.
Definition at line 1286 of file deflate.c.
| int ZEXPORT deflateEnd | ( | z_streamp | strm | ) |
Definition at line 1262 of file deflate.c.
Referenced by compress2(), deflateCopy(), deflateInit2_(), and gzclose_w().
| int ZEXPORT deflateGetDictionary | ( | z_streamp | strm, |
| Bytef * | dictionary, | ||
| uInt * | dictLength ) |
Definition at line 620 of file deflate.c.
| int ZEXPORT deflateInit2_ | ( | z_streamp | strm, |
| int | level, | ||
| int | method, | ||
| int | windowBits, | ||
| int | memLevel, | ||
| int | strategy, | ||
| const char * | version, | ||
| int | stream_size ) |
Definition at line 379 of file deflate.c.
Referenced by deflateInit_().
| int ZEXPORT deflateInit_ | ( | z_streamp | strm, |
| int | level, | ||
| const char * | version, | ||
| int | stream_size ) |
Definition at line 371 of file deflate.c.
| int ZEXPORT deflateParams | ( | z_streamp | strm, |
| int | level, | ||
| int | strategy ) |
Definition at line 756 of file deflate.c.
Referenced by gzsetparams().
| int ZEXPORT deflatePending | ( | z_streamp | strm, |
| unsigned * | pending, | ||
| int * | bits ) |
| int ZEXPORT deflatePrime | ( | z_streamp | strm, |
| int | bits, | ||
| int | value ) |
Definition at line 727 of file deflate.c.
| int ZEXPORT deflateReset | ( | z_streamp | strm | ) |
Definition at line 699 of file deflate.c.
Referenced by deflateInit2_(), and gz_comp().
| int ZEXPORT deflateResetKeep | ( | z_streamp | strm | ) |
Definition at line 639 of file deflate.c.
Referenced by deflateReset().
| int ZEXPORT deflateSetDictionary | ( | z_streamp | strm, |
| const Bytef * | dictionary, | ||
| uInt | dictLength ) |
Definition at line 554 of file deflate.c.
| int ZEXPORT deflateSetHeader | ( | z_streamp | strm, |
| gz_headerp | head ) |
Definition at line 533 of file deflate.c.
Referenced by deflate(), deflateBound(), deflateCopy(), deflateEnd(), deflateGetDictionary(), deflateParams(), deflatePending(), deflatePrime(), deflateResetKeep(), deflateSetDictionary(), deflateSetHeader(), and deflateTune().
| int ZEXPORT deflateTune | ( | z_streamp | strm, |
| int | good_length, | ||
| int | max_lazy, | ||
| int | nice_length, | ||
| int | max_chain ) |
Definition at line 801 of file deflate.c.
| local void fill_window | ( | deflate_state * | s | ) |
Definition at line 251 of file deflate.c.
Referenced by deflate_fast(), deflate_huff(), deflate_rle(), deflate_slow(), and deflateSetDictionary().
Definition at line 919 of file deflate.c.
Referenced by deflate(), and deflate_stored().
| local void lm_init | ( | deflate_state * | s | ) |
Definition at line 677 of file deflate.c.
Referenced by deflateReset().
| local uInt longest_match | ( | deflate_state * | s, |
| IPos | cur_match ) |
Definition at line 1352 of file deflate.c.
Referenced by deflate_fast(), and deflate_slow().
| local void putShortMSB | ( | deflate_state * | s, |
| uInt | b ) |
Definition at line 218 of file deflate.c.
Referenced by deflate_stored(), and fill_window().
| local void slide_hash | ( | deflate_state * | s | ) |
Definition at line 187 of file deflate.c.
Referenced by deflateParams(), and fill_window().
Definition at line 112 of file deflate.c.
Referenced by deflate(), deflateParams(), and lm_init().