Lines Matching refs:ZSTD_CONTENTSIZE_UNKNOWN
115 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced()
1383 assert(srcSize != ZSTD_CONTENTSIZE_UNKNOWN); /* Handled in ZSTD_adjustCParams_internal() */ in ZSTD_dictAndWindowLog()
1473 if (dictSize && srcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_adjustCParams_internal()
1497 if (srcSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_adjustCParams_internal()
1553 if (srcSize == 0) srcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_adjustCParams()
1577 if (srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN && CCtxParams->srcSizeHint > 0) { in ZSTD_getCParamsFromCCtxParams()
1693 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCCtxSize_usingCCtxParams()
1702 …&cParams, ¶ms->ldmParams, 1, useRowMatchFinder, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN, ZSTD_hasExtSeq… in ZSTD_estimateCCtxSize_usingCCtxParams()
1726 …tatic const unsigned long long srcSizeTiers[4] = {16 KB, 128 KB, 256 KB, ZSTD_CONTENTSIZE_UNKNOWN}; in ZSTD_estimateCCtxSize_internal()
1751 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCStreamSize_usingCCtxParams()
1763 ZSTD_CONTENTSIZE_UNKNOWN, ZSTD_hasExtSeqProd(params), params->maxBlockSize); in ZSTD_estimateCStreamSize_usingCCtxParams()
1786 …ters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_… in ZSTD_estimateCStreamSize_internal()
2123 if (pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_resetCCtx_internal()
2243 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_shouldAttachDict()
2522 if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_copyCCtx()
2523 fParams.contentSizeFlag = (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_copyCCtx()
4625 assert(!(params->fParams.contentSizeFlag && pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN)); in ZSTD_writeFrameHeader()
4755 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN == (unsigned long long)-1); in ZSTD_compressContinue_internal()
5169 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_compressBegin_internal()
5232 …meters const params = ZSTD_getParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_compressBegin_usingDict_deprecated()
5237 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, ZSTDb_not_buffered); in ZSTD_compressBegin_usingDict_deprecated()
5313 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN == (unsigned long long)-1); in ZSTD_compressEnd_public()
5424 …ters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_estimateCDictSize()
5566 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, dictSize, ZSTD_cpm_createCDict); in ZSTD_createCDict_advanced2()
5573 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, dictSize, ZSTD_cpm_createCDict); in ZSTD_createCDict_advanced2()
5598 …Parameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_createCDict()
5609 …Parameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_createCDict_byReference()
5722 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_compressBegin_usingCDict_internal()
5734 if (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_compressBegin_usingCDict_internal()
5762 return ZSTD_compressBegin_usingCDict_internal(cctx, cdict, fParams, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_compressBegin_usingCDict_deprecated()
5861 U64 const pledgedSrcSize = (pss==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_resetCStream()
5929 …st pledgedSrcSize = (pss==0 && params.fParams.contentSizeFlag==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_initCStream_advanced()
5954 U64 const pledgedSrcSize = (pss==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_initCStream_srcSize()
7539 { int const unknown = srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParamRowSize()
7541 return unknown && dictSize == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : srcSizeHint+dictSize+addedSize; in ZSTD_getCParamRowSize()
7580 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParams()
7606 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getParams()