|
Rizin
unix-like reverse engineering framework and cli tools
|
#include <stddef.h>Go to the source code of this file.
Macros | |
| #define | stdinmark "stdin" |
| #define | stdoutmark "stdout" |
| #define | NULL_OUTPUT "null" |
| #define | nulmark "/dev/null" |
| #define | LZIO_LEGACY_BLOCK_HEADER_SIZE 4 |
Typedefs | |
| typedef struct LZ4IO_prefs_s | LZ4IO_prefs_t |
Enumerations | |
| enum | LZ4IO_blockMode_t { LZ4IO_blockLinked =0 , LZ4IO_blockIndependent } |
| typedef struct LZ4IO_prefs_s LZ4IO_prefs_t |
| enum LZ4IO_blockMode_t |
| int LZ4IO_compressFilename | ( | const char * | input_filename, |
| const char * | output_filename, | ||
| int | compressionlevel, | ||
| const LZ4IO_prefs_t * | prefs | ||
| ) |
Definition at line 774 of file lz4io.c.
References compressionLevel, DISPLAYLEVEL, LZ4IO_compressFilename_extRess(), LZ4IO_createCResources(), LZ4IO_freeCResources(), UTIL_clockSpanNano(), and UTIL_getTime().
| int LZ4IO_compressMultipleFilenames | ( | const char ** | inFileNamesTable, |
| int | ifntSize, | ||
| const char * | suffix, | ||
| int | compressionlevel, | ||
| const LZ4IO_prefs_t * | prefs | ||
| ) |
Definition at line 798 of file lz4io.c.
References compressionLevel, FNSPACE, free(), i, LZ4IO_compressFilename_extRess(), LZ4IO_createCResources(), LZ4IO_freeCResources(), malloc(), NULL, stdoutmark, and suffix.
Referenced by main().
| int LZ4IO_decompressFilename | ( | const char * | input_filename, |
| const char * | output_filename, | ||
| const LZ4IO_prefs_t * | prefs | ||
| ) |
Definition at line 1292 of file lz4io.c.
References DISPLAYLEVEL, test_evm::end, LZ4IO_createDResources(), LZ4IO_decompressDstFile(), LZ4IO_freeDResources(), and start.
| int LZ4IO_decompressMultipleFilenames | ( | const char ** | inFileNamesTable, |
| int | ifntSize, | ||
| const char * | suffix, | ||
| const LZ4IO_prefs_t * | prefs | ||
| ) |
Definition at line 1308 of file lz4io.c.
References DISPLAYLEVEL, dRess_t::dstFile, EXM_THROW, FNSPACE, free(), i, LZ4IO_createDResources(), LZ4IO_decompressDstFile(), LZ4IO_decompressSrcFile(), LZ4IO_freeDResources(), LZ4IO_openDstFile(), malloc(), memcpy(), NULL, stdoutmark, and suffix.
Referenced by main().
| LZ4IO_prefs_t* LZ4IO_defaultPreferences | ( | void | ) |
Definition at line 160 of file lz4io.c.
References LZ4IO_prefs_s::blockChecksum, LZ4IO_prefs_s::blockIndependence, LZ4IO_prefs_s::blockSize, LZ4IO_prefs_s::blockSizeId, LZ4IO_prefs_s::contentSizeFlag, LZ4IO_prefs_s::dictionaryFilename, EXM_THROW, LZ4IO_prefs_s::favorDecSpeed, LZ4IO_BLOCKSIZEID_DEFAULT, malloc(), NULL, LZ4IO_prefs_s::overwrite, LZ4IO_prefs_s::passThrough, LZ4IO_prefs_s::removeSrcFile, LZ4IO_prefs_s::sparseFileSupport, LZ4IO_prefs_s::streamChecksum, LZ4IO_prefs_s::testMode, and LZ4IO_prefs_s::useDictionary.
Referenced by main().
Definition at line 1630 of file lz4io.c.
References LZ4IO_cFileInfo_t::allContentSize, assert(), LZ4F_frameInfo_t::blockMode, LZ4F_frameInfo_t::blockSizeID, LZ4F_frameInfo_t::contentSize, DISPLAYLEVEL, DISPLAYOUT, LZ4IO_cFileInfo_t::eqBlockTypes, LZ4IO_cFileInfo_t::eqFrameTypes, LZ4IO_cFileInfo_t::fileName, LZ4IO_cFileInfo_t::fileSize, LZ4IO_cFileInfo_t::frameCount, LZ4IO_cFileInfo_t::frameSummary, LZ4IO_frameInfo_t::frameType, g_displayLevel, setup::idx, LZ4IO_frameInfo_t::lz4FrameInfo, LZ4IO_baseName(), LZ4IO_blockTypeID(), LZ4IO_format_not_known, LZ4IO_frameTypeNames, LZ4IO_getCompressedFileInfo(), LZ4IO_INIT_CFILEINFO, LZ4IO_LZ4F_OK, LZ4IO_toHuman(), and UTIL_isRegFile().
Referenced by main().
| void LZ4IO_favorDecSpeed | ( | LZ4IO_prefs_t *const | prefs, |
| int | favor | ||
| ) |
Definition at line 288 of file lz4io.c.
References LZ4IO_prefs_s::favorDecSpeed.
Referenced by main().
| void LZ4IO_freePreferences | ( | LZ4IO_prefs_t * | prefs | ) |
| int LZ4IO_setBlockChecksumMode | ( | LZ4IO_prefs_t *const | prefs, |
| int | xxhash | ||
| ) |
Definition at line 253 of file lz4io.c.
References LZ4IO_prefs_s::blockChecksum.
Referenced by main().
| int LZ4IO_setBlockMode | ( | LZ4IO_prefs_t *const | prefs, |
| LZ4IO_blockMode_t | blockMode | ||
| ) |
Definition at line 246 of file lz4io.c.
References LZ4IO_prefs_s::blockIndependence, and LZ4IO_blockIndependent.
Referenced by main().
| size_t LZ4IO_setBlockSize | ( | LZ4IO_prefs_t *const | prefs, |
| size_t | blockSize | ||
| ) |
Definition at line 228 of file lz4io.c.
References LZ4IO_prefs_s::blockSize, LZ4IO_prefs_s::blockSizeId, int, and MB.
Referenced by main().
| size_t LZ4IO_setBlockSizeID | ( | LZ4IO_prefs_t *const | prefs, |
| unsigned | blockSizeID | ||
| ) |
Definition at line 217 of file lz4io.c.
References LZ4IO_prefs_s::blockSize, LZ4IO_prefs_s::blockSizeId, int, KB, MB, and unsigned.
Referenced by main().
| int LZ4IO_setContentSize | ( | LZ4IO_prefs_t *const | prefs, |
| int | enable | ||
| ) |
Definition at line 281 of file lz4io.c.
References LZ4IO_prefs_s::contentSizeFlag.
Referenced by main().
| int LZ4IO_setDictionaryFilename | ( | LZ4IO_prefs_t *const | prefs, |
| const char * | dictionaryFilename | ||
| ) |
Definition at line 187 of file lz4io.c.
References LZ4IO_prefs_s::dictionaryFilename, NULL, and LZ4IO_prefs_s::useDictionary.
Referenced by main().
| int LZ4IO_setOverwrite | ( | LZ4IO_prefs_t *const | prefs, |
| int | yes | ||
| ) |
| int LZ4IO_setPassThrough | ( | LZ4IO_prefs_t *const | prefs, |
| int | yes | ||
| ) |
Definition at line 195 of file lz4io.c.
References LZ4IO_prefs_s::passThrough.
Referenced by main().
| void LZ4IO_setRemoveSrcFile | ( | LZ4IO_prefs_t *const | prefs, |
| unsigned | flag | ||
| ) |
Definition at line 293 of file lz4io.c.
References LZ4IO_prefs_s::removeSrcFile.
Referenced by main().
| int LZ4IO_setSparseFile | ( | LZ4IO_prefs_t *const | prefs, |
| int | enable | ||
| ) |
Definition at line 274 of file lz4io.c.
References LZ4IO_prefs_s::sparseFileSupport.
Referenced by main().
| int LZ4IO_setStreamChecksumMode | ( | LZ4IO_prefs_t *const | prefs, |
| int | xxhash | ||
| ) |
Definition at line 260 of file lz4io.c.
References LZ4IO_prefs_s::streamChecksum.
Referenced by main().
| int LZ4IO_setTestMode | ( | LZ4IO_prefs_t *const | prefs, |
| int | yes | ||
| ) |