Rizin
unix-like reverse engineering framework and cli tools
|
Common stuff for Delta encoder and decoder. More...
Go to the source code of this file.
Functions | |
static void | delta_coder_end (void *coder_ptr, const lzma_allocator *allocator) |
lzma_ret | lzma_delta_coder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters) |
uint64_t | lzma_delta_coder_memusage (const void *options) |
Common stuff for Delta encoder and decoder.
Definition in file delta_common.c.
|
static |
Definition at line 18 of file delta_common.c.
References allocator, lzma_free(), lzma_next_end(), and lzma_delta_coder::next.
Referenced by lzma_delta_coder_init().
lzma_ret lzma_delta_coder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Definition at line 28 of file delta_common.c.
References allocator, lzma_next_coder_s::coder, delta_coder_end(), lzma_options_delta::dist, lzma_delta_coder::distance, lzma_next_coder_s::end, filters, lzma_delta_coder::history, lzma_alloc(), lzma_delta_coder_memusage(), LZMA_DELTA_DIST_MAX, LZMA_MEM_ERROR, LZMA_NEXT_CODER_INIT, lzma_next_filter_init(), LZMA_OPTIONS_ERROR, memzero, lzma_delta_coder::next, NULL, options, lzma_filter::options, lzma_delta_coder::pos, and UINT64_MAX.
Referenced by lzma_delta_decoder_init(), and lzma_delta_encoder_init().
Definition at line 63 of file delta_common.c.
References lzma_options_delta::dist, LZMA_DELTA_DIST_MAX, LZMA_DELTA_DIST_MIN, LZMA_DELTA_TYPE_BYTE, NULL, options, lzma_options_delta::type, and UINT64_MAX.
Referenced by lzma_delta_coder_init(), and lzma_delta_props_encode().