Lines Matching refs:ZSTD_CONTENTSIZE_UNKNOWN
94 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN==(0ULL - 1)); in ZSTD_createCCtx_advanced()
1104 assert(srcSize != ZSTD_CONTENTSIZE_UNKNOWN); /* Handled in ZSTD_adjustCParams_internal() */ in ZSTD_dictAndWindowLog()
1151 if (dictSize && srcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_adjustCParams_internal()
1175 if (srcSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_adjustCParams_internal()
1195 if (srcSize == 0) srcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_adjustCParams()
1219 if (srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN && CCtxParams->srcSizeHint > 0) { in ZSTD_getCParamsFromCCtxParams()
1305 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCCtxSize_usingCCtxParams()
1312 &cParams, ¶ms->ldmParams, 1, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateCCtxSize_usingCCtxParams()
1325 …tatic const unsigned long long srcSizeTiers[4] = {16 KB, 128 KB, 256 KB, ZSTD_CONTENTSIZE_UNKNOWN}; in ZSTD_estimateCCtxSize_internal()
1350 … ZSTD_getCParamsFromCCtxParams(params, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_cpm_noAttachDict); in ZSTD_estimateCStreamSize_usingCCtxParams()
1361 ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_estimateCStreamSize_usingCCtxParams()
1373 …ters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, 0, ZSTD_… in ZSTD_estimateCStreamSize_internal()
1643 if (pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN) in ZSTD_resetCCtx_internal()
1757 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_shouldAttachDict()
1986 if (pledgedSrcSize==0) pledgedSrcSize = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_copyCCtx()
1987 fParams.contentSizeFlag = (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_copyCCtx()
2876 assert(!(params->fParams.contentSizeFlag && pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN)); in ZSTD_writeFrameHeader()
3009 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN == (unsigned long long)-1); in ZSTD_compressContinue_internal()
3332 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_compressBegin_internal()
3394 …meters const params = ZSTD_getParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_compressBegin_usingDict()
3399 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, ZSTDb_not_buffered); in ZSTD_compressBegin_usingDict()
3469 ZSTD_STATIC_ASSERT(ZSTD_CONTENTSIZE_UNKNOWN == (unsigned long long)-1); in ZSTD_compressEnd()
3571 …ters const cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_estimateCDictSize()
3709 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, dictSize, ZSTD_cpm_createCDict); in ZSTD_createCDict_advanced2()
3716 &cctxParams, ZSTD_CONTENTSIZE_UNKNOWN, dictSize, ZSTD_cpm_createCDict); in ZSTD_createCDict_advanced2()
3738 …Parameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_createCDict()
3749 …Parameters cParams = ZSTD_getCParams_internal(compressionLevel, ZSTD_CONTENTSIZE_UNKNOWN, dictSize… in ZSTD_createCDict_byReference()
3858 || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN in ZSTD_compressBegin_usingCDict_advanced()
3870 if (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN) { in ZSTD_compressBegin_usingCDict_advanced()
3889 return ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_compressBegin_usingCDict()
3969 U64 const pledgedSrcSize = (pss==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_resetCStream()
4037 …st pledgedSrcSize = (pss==0 && params.fParams.contentSizeFlag==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_initCStream_advanced()
4062 U64 const pledgedSrcSize = (pss==0) ? ZSTD_CONTENTSIZE_UNKNOWN : pss; in ZSTD_initCStream_srcSize()
5044 { int const unknown = srcSizeHint == ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParamRowSize()
5046 return unknown && dictSize == 0 ? ZSTD_CONTENTSIZE_UNKNOWN : srcSizeHint+dictSize+addedSize; in ZSTD_getCParamRowSize()
5084 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getCParams()
5107 if (srcSizeHint == 0) srcSizeHint = ZSTD_CONTENTSIZE_UNKNOWN; in ZSTD_getParams()