Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/examples/
H A Dsimple_compression.c21 size_t const cBuffSize = ZSTD_compressBound(fSize); in compress_orDie()
H A Ddictionary_compression.c34 size_t const cBuffSize = ZSTD_compressBound(fSize); in compress()
H A Dmultiple_simple_compression.c46 ress.cBufferSize = ZSTD_compressBound(maxFileSize); in createResources_orDie()
/freebsd/usr.bin/mkuzip/
H A Dmkuz_zstd.c43 return (ZSTD_compressBound(blksz)); in mkuz_zstd_cbound()
/freebsd/sys/geom/uzip/
H A Dg_uzip_zstd.c147 sc->guz_pub.max_blen = ZSTD_compressBound(blksz); in g_uzip_zstd_ctor()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp187 unsigned long CompressedBufferSize = ZSTD_compressBound(Input.size()); in compress()
/freebsd/sys/contrib/openzfs/module/zstd/include/
H A Dzstd_compat_wrapper.h191 #define ZSTD_compressBound zfs_ZSTD_compressBound macro
/freebsd/sys/contrib/zstd/programs/
H A Dbenchzstd.c371 …cities[nbBlocks] = (adv->mode == BMK_decodeOnly) ? thisBlockSize : ZSTD_compressBound(thisBlockSiz… in BMK_benchMemAdvancedNoAlloc()
588 …const size_t maxCompressedSize = dstCapacity ? dstCapacity : ZSTD_compressBound(srcSize) + (maxNbB… in BMK_benchMemAdvanced()
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c160 …size_t const maxCompressedSize = ZSTD_compressBound(srcSize) + (maxNbBlocks * 1024); /* add some… in BMK_benchMem()
189 blockTable[nbBlocks].cRoom = ZSTD_compressBound(thisBlockSize); in BMK_benchMem()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c45 size_t ZSTD_compressBound(size_t srcSize) { in ZSTD_compressBound() function
1199 size_t const outBuffSize = ZSTD_compressBound(blockSize) + 1; in ZSTD_estimateCStreamSize_usingCCtxParams()
1448 size_t const buffOutSize = (zbuff==ZSTDb_buffered) ? ZSTD_compressBound(blockSize)+1 : 0; in ZSTD_resetCCtx_internal()
2369 const size_t dstCapacity = ZSTD_compressBound(srcSize); in ZSTD_getSequences()
3641 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
3834 && ((size_t)(oend-op) >= ZSTD_compressBound(iend-ip)) /* enough dstCapacity */ in ZSTD_compressStream_generic()
3873 if (oSize >= ZSTD_compressBound(iSize)) in ZSTD_compressStream_generic()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c492 return ZSTD_compressBound(sourceLen); in z_deflateBound()
1139 return ZSTD_compressBound(sourceLen); in z_compressBound()
/freebsd/sys/contrib/openzfs/module/zstd/lib/
H A Dzstd.h176 ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst c…
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c67 size_t ZSTD_compressBound(size_t srcSize) { in ZSTD_compressBound() function
1570 ? ZSTD_compressBound(blockSize) + 1 in ZSTD_estimateCStreamSize_usingCCtxParams()
1862 ? ZSTD_compressBound(blockSize) + 1 in ZSTD_resetCCtx_internal()
2962 const size_t dstCapacity = ZSTD_compressBound(srcSize); in ZSTD_generateSequences()
5185 return ZSTD_compressBound(ZSTD_BLOCKSIZE_MAX) + ZSTD_blockHeaderSize + 4 /* 32-bits hash */ ; in ZSTD_CStreamOutSize()
5363 && ( (size_t)(oend-op) >= ZSTD_compressBound(iend-ip) /* Enough output space */ in ZSTD_compressStream_generic()
5406 … if (oSize >= ZSTD_compressBound(iSize) || zcs->appliedParams.outBufferMode == ZSTD_bm_stable) in ZSTD_compressStream_generic()
H A Dzstdmt_compress.c1283 ZSTDMT_setBufferSize(mtctx->bufPool, ZSTD_compressBound(mtctx->targetSectionSize)); in ZSTDMT_initCStream_internal()
/freebsd/sys/contrib/zstd/lib/
H A Dzstd.h181 ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst c…
/freebsd/sys/contrib/zstd/lib/dictBuilder/
H A Dcover.c815 dstCapacity = ZSTD_compressBound(maxSampleSize); in COVER_checkTotalCompressedSize()