Home
last modified time | relevance | path

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

/external/lz4/programs/
Dlz4io.c83 #define LEGACY_BLOCKSIZE (8 MB) macro
339 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
354 in_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
367 size_t const inSize = (int) fread(in_buff, (size_t)1, (size_t)LEGACY_BLOCKSIZE, finput); in LZ4IO_compressFilename_Legacy()
369 …if (inSize > LEGACY_BLOCKSIZE) EXM_THROW(23, "Read error : wrong fread() size report "); /* shou… in LZ4IO_compressFilename_Legacy()
808 char* const in_buff = (char*)malloc(LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
809 char* const out_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()
821 if (blockSize > LZ4_COMPRESSBOUND(LEGACY_BLOCKSIZE)) { in LZ4IO_decodeLegacyStream()
832 … { int const decodeSize = LZ4_decompress_safe(in_buff, out_buff, blockSize, LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()