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
421 const int outBuffSize = LZ4_compressBound(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
438 in_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
452 size_t const inSize = fread(in_buff, (size_t)1, (size_t)LEGACY_BLOCKSIZE, finput); in LZ4IO_compressFilename_Legacy()
454 assert(inSize <= LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
968 char* const in_buff = (char*)malloc((size_t)LZ4_compressBound(LEGACY_BLOCKSIZE)); in LZ4IO_decodeLegacyStream()
969 char* const out_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()
982 if (blockSize > LZ4_COMPRESSBOUND(LEGACY_BLOCKSIZE)) { in LZ4IO_decodeLegacyStream()
993 … int const decodeSize = LZ4_decompress_safe(in_buff, out_buff, (int)blockSize, LEGACY_BLOCKSIZE); in LZ4IO_decodeLegacyStream()