Rizin
unix-like reverse engineering framework and cli tools
|
Encode files using LZMA_SYNC_FLUSH. More...
Go to the source code of this file.
Macros | |
#define | CHUNK 64 |
Functions | |
static void | encode (size_t size, lzma_action action) |
int | main (int argc, char **argv) |
Variables | |
static lzma_stream | strm = LZMA_STREAM_INIT |
static FILE * | file_in |
Encode files using LZMA_SYNC_FLUSH.
Definition in file sync_flush.c.
#define CHUNK 64 |
Definition at line 17 of file sync_flush.c.
|
static |
Definition at line 25 of file sync_flush.c.
References test-lz4-speed::action, lzma_stream::avail_in, lzma_stream::avail_out, CHUNK, test-lz4-list::exit, file_in, in, LZMA_OK, LZMA_RUN, LZMA_STREAM_END, my_min, lzma_stream::next_in, lzma_stream::next_out, out, and strm.
Referenced by main().
Definition at line 64 of file sync_flush.c.
References argv, lzma_options_lzma::dict_size, lzma_options_delta::dist, encode(), test-lz4-list::exit, file_in, filters, lzma_filter::id, LZMA_CHECK_CRC32, LZMA_FILTER_LZMA2, LZMA_FILTERS_MAX, LZMA_FINISH, LZMA_LC_DEFAULT, LZMA_LP_DEFAULT, LZMA_MF_HC3, LZMA_MODE_NORMAL, LZMA_OK, LZMA_PB_DEFAULT, LZMA_SYNC_FLUSH, LZMA_VLI_UNKNOWN, NULL, opt_lzma, lzma_filter::options, and strm.
|
static |
Definition at line 21 of file sync_flush.c.
|
static |
Definition at line 20 of file sync_flush.c.