Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/examples/
H A Dmultiple_streaming_compression.c27 size_t buffOutSize; member
35 ress.buffOutSize= ZSTD_CStreamOutSize(); /* can always flush a full block */ in createResources_orDie()
37 ress.buffOut= malloc_orDie(ress.buffOutSize); in createResources_orDie()
81 ZSTD_outBuffer output = { ress.buffOut, ress.buffOutSize, 0 }; in compressFile_orDie()
H A Dstreaming_decompression.c23 …size_t const buffOutSize = ZSTD_DStreamOutSize(); /* Guarantee to successfully flush at least one… in decompressFile_orDie() local
24 void* const buffOut = malloc_orDie(buffOutSize); in decompressFile_orDie()
48 ZSTD_outBuffer output = { buffOut, buffOutSize, 0 }; in decompressFile_orDie()
H A Dstreaming_compression.c33 size_t const buffOutSize = ZSTD_CStreamOutSize(); in compressFile_orDie() local
34 void* const buffOut = malloc_orDie(buffOutSize); in compressFile_orDie()
71 ZSTD_outBuffer output = { buffOut, buffOutSize, 0 }; in compressFile_orDie()
H A Dstreaming_compression_thread_pool.c44 size_t const buffOutSize = ZSTD_CStreamOutSize(); in compressFile_orDie() local
45 void* const buffOut = malloc_orDie(buffOutSize); in compressFile_orDie()
87 ZSTD_outBuffer output = { buffOut, buffOutSize, 0 }; in compressFile_orDie()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c1464 const size_t buffOutSize, in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument
1485 + ZSTD_cwksp_alloc_size(buffOutSize); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1861 … size_t const buffOutSize = (zbuff == ZSTDb_buffered && params->outBufferMode == ZSTD_bm_buffered) in ZSTD_resetCCtx_internal() local
1877 buffInSize, buffOutSize, pledgedSrcSize); in ZSTD_resetCCtx_internal()
1946 zc->outBuffSize = buffOutSize; in ZSTD_resetCCtx_internal()
1947 zc->outBuff = (char*)ZSTD_cwksp_reserve_buffer(ws, buffOutSize); in ZSTD_resetCCtx_internal()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c1447 size_t const buffOutSize = (zbuff==ZSTDb_buffered) ? ZSTD_compressBound(blockSize)+1 : 0; in ZSTD_resetCCtx_internal() local
1464 … size_t const bufferSpace = ZSTD_cwksp_alloc_size(buffInSize) + ZSTD_cwksp_alloc_size(buffOutSize); in ZSTD_resetCCtx_internal()
1539 zc->outBuffSize = buffOutSize; in ZSTD_resetCCtx_internal()
1540 zc->outBuff = (char*)ZSTD_cwksp_reserve_buffer(ws, buffOutSize); in ZSTD_resetCCtx_internal()