Geant4 9.6.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 |
struct | static_tree_desc_s |
Macros | |
#define | NIL 0 |
#define | TOO_FAR 4096 |
#define | MIN_LOOKAHEAD (MAX_MATCH+MIN_MATCH+1) |
#define | EQUAL 0 |
#define | UPDATE_HASH(s, h, c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
#define | INSERT_STRING(s, str, match_head) |
#define | CLEAR_HASH(s) |
#define | check_match(s, start, match, length) |
#define | FLUSH_BLOCK_ONLY(s, eof) |
#define | FLUSH_BLOCK(s, eof) |
Typedefs | |
typedef block_state compress_func | OF((deflate_state *s, int flush)) |
typedef struct config_s | config |
Enumerations | |
enum | block_state { need_more , block_done , finish_started , finish_done } |
Variables | |
const char | deflate_copyright [] |
const config | configuration_table [10] |
#define check_match | ( | s, | |
start, | |||
match, | |||
length | |||
) |
Definition at line 1038 of file deflate.cc.
#define CLEAR_HASH | ( | s | ) |
Definition at line 199 of file deflate.cc.
#define EQUAL 0 |
Definition at line 157 of file deflate.cc.
#define FLUSH_BLOCK | ( | s, | |
eof | |||
) |
Definition at line 1159 of file deflate.cc.
#define FLUSH_BLOCK_ONLY | ( | s, | |
eof | |||
) |
Definition at line 1147 of file deflate.cc.
#define INSERT_STRING | ( | s, | |
str, | |||
match_head | |||
) |
Definition at line 189 of file deflate.cc.
Definition at line 113 of file deflate.cc.
#define NIL 0 |
Definition at line 105 of file deflate.cc.
#define TOO_FAR 4096 |
Definition at line 109 of file deflate.cc.
#define UPDATE_HASH | ( | s, | |
h, | |||
c | |||
) | (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) |
Definition at line 170 of file deflate.cc.
typedef block_state compress_func OF((deflate_state *s, int flush)) |
Definition at line 73 of file deflate.cc.
enum block_state |
Enumerator | |
---|---|
need_more | |
block_done | |
finish_started | |
finish_done |
Definition at line 66 of file deflate.cc.
Definition at line 496 of file deflate.cc.
Referenced by compress2(), deflateParams(), cheprep::DeflateOutputStreamBuffer::finish(), and cheprep::DeflateOutputStreamBuffer::overflow().
block_state deflate_fast | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1229 of file deflate.cc.
block_state deflate_slow | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1333 of file deflate.cc.
block_state deflate_stored | ( | deflate_state * | s, |
int | flush | ||
) |
Definition at line 1173 of file deflate.cc.
Definition at line 438 of file deflate.cc.
Definition at line 699 of file deflate.cc.
Definition at line 670 of file deflate.cc.
Referenced by compress2(), deflateCopy(), deflateInit2_(), and cheprep::DeflateOutputStreamBuffer::finish().
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 212 of file deflate.cc.
Referenced by deflateInit_().
Definition at line 204 of file deflate.cc.
Definition at line 387 of file deflate.cc.
Definition at line 378 of file deflate.cc.
Definition at line 343 of file deflate.cc.
Referenced by deflateInit2_().
Definition at line 302 of file deflate.cc.
void fill_window | ( | deflate_state * | s | ) |
Definition at line 1051 of file deflate.cc.
Referenced by deflate_fast(), deflate_slow(), and deflate_stored().
void flush_pending | ( | z_streamp | strm | ) |
Definition at line 477 of file deflate.cc.
Referenced by deflate().
void lm_init | ( | deflate_state * | s | ) |
Definition at line 786 of file deflate.cc.
Referenced by deflateReset().
uInt longest_match | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
Definition at line 824 of file deflate.cc.
Referenced by deflate_fast(), and deflate_slow().
uInt longest_match_fast | ( | deflate_state * | s, |
IPos | cur_match | ||
) |
Definition at line 965 of file deflate.cc.
Referenced by deflate_fast(), and deflate_slow().
void fill_window OF | ( | (deflate_state *s) | ) |
uInt longest_match OF | ( | (deflate_state *s, IPos cur_match) | ) |
void putShortMSB OF | ( | (deflate_state *s, uInt b) | ) |
void flush_pending OF | ( | (z_streamp strm) | ) |
void putShortMSB | ( | deflate_state * | s, |
uInt | b | ||
) |
Definition at line 759 of file deflate.cc.
Referenced by fill_window().
Definition at line 137 of file deflate.cc.
Referenced by deflate(), deflateParams(), and lm_init().
const char deflate_copyright[] |
Definition at line 54 of file deflate.cc.