| /f-stack/freebsd/contrib/zstd/lib/deprecated/ |
| H A D | zbuff_compress.c | 73 ZSTD_parameters params, unsigned long long pledgedSrcSize) in ZBUFF_compressInit_advanced() argument 75 …if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; /* preserve "0 == unknown" beha… in ZBUFF_compressInit_advanced() 76 return ZSTD_initCStream_advanced(zbc, dict, dictSize, params, pledgedSrcSize); in ZBUFF_compressInit_advanced()
|
| H A D | zbuff.h | 205 … ZSTD_parameters params, unsigned long long pledgedSrcSize);
|
| /f-stack/freebsd/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 1304 const U64 pledgedSrcSize) in ZSTD_estimateCCtxSize_usingCCtxParams_internal() argument 1798 || ( ( pledgedSrcSize <= cutoff in ZSTD_shouldAttachDict() 1810 U64 pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict() argument 1865 U64 pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict() argument 1931 U64 pledgedSrcSize, in ZSTD_resetCCtx_usingCDict() argument 1936 (unsigned)pledgedSrcSize); in ZSTD_resetCCtx_usingCDict() 1957 U64 pledgedSrcSize, in ZSTD_copyCCtx_internal() argument 2025 if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_copyCCtx() 2923 …(pledgedSrcSize>=256) + (pledgedSrcSize>=65536+256) + (pledgedSrcSize>=0xFFFFFFFFU) : 0; /* 0-3 */ in ZSTD_writeFrameHeader() 3894 pledgedSrcSize, in ZSTD_compressBegin_usingCDict_advanced() [all …]
|
| H A D | zstdmt_compress.h | 72 ZSTD_CCtx_params params, unsigned long long pledgedSrcSize);
|
| H A D | zstdmt_compress.c | 694 U64 const pledgedSrcSize = job->firstJob ? job->fullFrameSize : job->src.size; in ZSTDMT_compressionJob() local 702 &jobParams, pledgedSrcSize); in ZSTDMT_compressionJob() 1193 unsigned long long pledgedSrcSize) in ZSTDMT_initCStream_internal() argument 1196 (U32)pledgedSrcSize, params.nbWorkers, mtctx->cctxPool->totalCCtx); in ZSTDMT_initCStream_internal() 1218 mtctx->frameContentSize = pledgedSrcSize; in ZSTDMT_initCStream_internal()
|
| H A D | zstd_compress_internal.h | 1152 const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize); 1168 unsigned long long pledgedSrcSize);
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/lib/ |
| H A D | zstd.h | 487 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize); 1754 unsigned long long pledgedSrcSize); 1792 unsigned long long pledgedSrcSize); 1823 unsigned long long pledgedSrcSize); 1840 ZSTDLIB_API size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize); 1952 …d* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledged… 1954 … cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compres… 1955 …x(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: …
|
| H A D | zstd.c | 13933 cctx->pledgedSrcSizePlusOne = pledgedSrcSize+1; in ZSTD_CCtx_setPledgedSrcSize() 14702 U64 pledgedSrcSize) in ZSTD_shouldAttachDict() argument 14705 return ( pledgedSrcSize <= cutoff in ZSTD_shouldAttachDict() 14717 U64 pledgedSrcSize, in ZSTD_resetCCtx_byAttachingCDict() argument 14765 U64 pledgedSrcSize, in ZSTD_resetCCtx_byCopyingCDict() argument 14829 U64 pledgedSrcSize, in ZSTD_resetCCtx_usingCDict() argument 14834 (unsigned)pledgedSrcSize); in ZSTD_resetCCtx_usingCDict() 14855 U64 pledgedSrcSize, in ZSTD_copyCCtx_internal() argument 14923 if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_copyCCtx() 15751 …(pledgedSrcSize>=256) + (pledgedSrcSize>=65536+256) + (pledgedSrcSize>=0xFFFFFFFFU) : 0; /* 0-3 */ in ZSTD_writeFrameHeader() [all …]
|
| /f-stack/freebsd/contrib/zstd/lib/ |
| H A D | zstd.h | 483 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize); 2029 unsigned long long pledgedSrcSize); 2067 unsigned long long pledgedSrcSize); 2098 unsigned long long pledgedSrcSize); 2115 ZSTDLIB_API size_t ZSTD_resetCStream(ZSTD_CStream* zcs, unsigned long long pledgedSrcSize); 2228 …d* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize); /**< pledged… 2230 … cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize); /* compres… 2231 …x(ZSTD_CCtx* cctx, const ZSTD_CCtx* preparedCCtx, unsigned long long pledgedSrcSize); /**< note: …
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | zstd_zlibwrapper.c | 165 unsigned long long pledgedSrcSize; member 202 …alizeCStream(ZWRAP_CCtx* zwc, const void* dict, size_t dictSize, unsigned long long pledgedSrcSize) in ZWRAP_initializeCStream() argument 207 if (!pledgedSrcSize) pledgedSrcSize = zwc->pledgedSrcSize; in ZWRAP_initializeCStream() 208 …{ ZSTD_parameters const params = ZSTD_getParams(zwc->compressionLevel, pledgedSrcSize, dictSize); in ZWRAP_initializeCStream() 211 …(int)pledgedSrcSize, params.cParams.windowLog, params.cParams.chainLog, params.cParams.hashLog, pa… in ZWRAP_initializeCStream() 212 initErr = ZSTD_initCStream_advanced(zwc->zbc, dict, dictSize, params, pledgedSrcSize); in ZWRAP_initializeCStream() 239 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize) in ZWRAP_setPledgedSrcSize() argument 244 zwc->pledgedSrcSize = pledgedSrcSize; in ZWRAP_setPledgedSrcSize() 375 …resetErr = ZSTD_resetCStream(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pledgedSrcSize); in z_deflate()
|
| H A D | zstd_zlibwrapper.h | 52 int ZWRAP_setPledgedSrcSize(z_streamp strm, unsigned long long pledgedSrcSize);
|
| /f-stack/freebsd/contrib/zstd/ |
| H A D | CHANGELOG | 277 api : change : when setting `pledgedSrcSize`, use `ZSTD_CONTENTSIZE_UNKNOWN` macro value to mean "u… 349 API : fix : enforced consistent rules for pledgedSrcSize==0 (#641)
|