Home
last modified time | relevance | path

Searched refs:LEGACY_BLOCKSIZE (Results 1 – 1 of 1) sorted by relevance

/third_party/lz4/programs/
Dlz4io.c83 #define LEGACY_BLOCKSIZE (8 MB) macro
408 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
425 in_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
439 size_t const inSize = fread(in_buff, (size_t)1, (size_t)LEGACY_BLOCKSIZE, finput); in LZ4IO_compressFilename_Legacy()
441 assert(inSize <= LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
953 char* const in_buff = (char*)malloc((size_t)LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
954 char* const out_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()
966 if (blockSize > LZ4_COMPRESSBOUND(LEGACY_BLOCKSIZE)) { in LZ4IO_decodeLegacyStream()
977 … int const decodeSize = LZ4_decompress_safe(in_buff, out_buff, (int)blockSize, LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()