Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/contrib/seekable_format/examples/
H A Dseekable_compression.c69 size_t const buffOutSize = ZSTD_CStreamOutSize(); /* can always flush a full block */ in compressFile_orDie() local
70 void* const buffOut = malloc_orDie(buffOutSize); in compressFile_orDie()
81 ZSTD_outBuffer output = { buffOut, buffOutSize, 0 }; in compressFile_orDie()
90 ZSTD_outBuffer output = { buffOut, buffOutSize, 0 }; in compressFile_orDie()
H A Dseekable_decompression.c91 …size_t const buffOutSize = ZSTD_DStreamOutSize(); /* Guarantee to successfully flush at least one… in decompressFile_orDie() local
92 void* const buffOut = malloc_orDie(buffOutSize); in decompressFile_orDie()
101 …STD_seekable_decompress(seekable, buffOut, MIN(endOffset - startOffset, buffOutSize), startOffset); in decompressFile_orDie()
/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c980 size_t const buffOutSize = (zbuff==ZSTDb_buffered) ? ZSTD_compressBound(blockSize)+1 : 0; in ZSTD_resetCCtx_internal() local
989 size_t const bufferSpace = buffInSize + buffOutSize; in ZSTD_resetCCtx_internal()
1084 zc->outBuffSize = buffOutSize; in ZSTD_resetCCtx_internal()