Lines Matching refs:fParams
258 cctxParams->fParams.contentSizeFlag = 1; in ZSTD_CCtxParams_init()
273 cctxParams->fParams = params->fParams; in ZSTD_CCtxParams_init_internal()
297 cctxParams->fParams = params->fParams; in ZSTD_CCtxParams_setZstdParams()
650 CCtxParams->fParams.contentSizeFlag = value != 0; in ZSTD_CCtxParams_setParameter()
651 return CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_setParameter()
655 CCtxParams->fParams.checksumFlag = value != 0; in ZSTD_CCtxParams_setParameter()
656 return CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_setParameter()
660 CCtxParams->fParams.noDictIDFlag = !value; in ZSTD_CCtxParams_setParameter()
661 return !CCtxParams->fParams.noDictIDFlag; in ZSTD_CCtxParams_setParameter()
803 *value = CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_getParameter()
806 *value = CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_getParameter()
809 *value = !CCtxParams->fParams.noDictIDFlag; in ZSTD_CCtxParams_getParameter()
1644 zc->appliedParams.fParams.contentSizeFlag = 0; in ZSTD_resetCCtx_internal()
1646 (unsigned)pledgedSrcSize, zc->appliedParams.fParams.contentSizeFlag); in ZSTD_resetCCtx_internal()
1916 ZSTD_frameParameters fParams, in ZSTD_copyCCtx_internal() argument
1928 params.fParams = fParams; in ZSTD_copyCCtx_internal()
1983 ZSTD_frameParameters fParams = { 1 /*content*/, 0 /*checksum*/, 0 /*noDictID*/ }; in ZSTD_copyCCtx() local
1987 fParams.contentSizeFlag = (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_copyCCtx()
1990 fParams, pledgedSrcSize, in ZSTD_copyCCtx()
2802 if (cctx->appliedParams.fParams.checksumFlag && srcSize) in ZSTD_compress_frameChunk()
2866 … U32 const dictIDSizeCode = params->fParams.noDictIDFlag ? 0 : dictIDSizeCodeLength; /* 0-3 */ in ZSTD_writeFrameHeader()
2867 U32 const checksumFlag = params->fParams.checksumFlag>0; in ZSTD_writeFrameHeader()
2869 U32 const singleSegment = params->fParams.contentSizeFlag && (windowSize >= pledgedSrcSize); in ZSTD_writeFrameHeader()
2871 U32 const fcsCode = params->fParams.contentSizeFlag ? in ZSTD_writeFrameHeader()
2876 assert(!(params->fParams.contentSizeFlag && pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN)); in ZSTD_writeFrameHeader()
2880 !params->fParams.noDictIDFlag, (unsigned)dictID, (unsigned)dictIDSizeCode); in ZSTD_writeFrameHeader()
3007 assert(!(cctx->appliedParams.fParams.contentSizeFlag && cctx->pledgedSrcSizePlusOne == 0)); in ZSTD_compressContinue_internal()
3258 dictID = params->fParams.noDictIDFlag ? 0 : MEM_readLE32(dictPtr + 4 /* skip magic number */ ); in ZSTD_loadZstdDictionary()
3438 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_writeEpilogue()
3467 assert(!(cctx->appliedParams.fParams.contentSizeFlag && cctx->pledgedSrcSizePlusOne == 0)); in ZSTD_compressEnd()
3523 assert(params.fParams.contentSizeFlag == 1); in ZSTD_compress_usingDict()
3625 params.fParams.contentSizeFlag = 1; in ZSTD_initCDict_internal()
3847 ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize) in ZSTD_compressBegin_usingCDict_advanced() argument
3855 params.fParams = fParams; in ZSTD_compressBegin_usingCDict_advanced()
3887 ZSTD_frameParameters const fParams = { 0 /*content*/, 0 /*checksum*/, 0 /*noDictID*/ }; in ZSTD_compressBegin_usingCDict() local
3888 DEBUGLOG(4, "ZSTD_compressBegin_usingCDict : dictIDFlag == %u", !fParams.noDictIDFlag); in ZSTD_compressBegin_usingCDict()
3889 return ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_compressBegin_usingCDict()
3895 const ZSTD_CDict* cdict, ZSTD_frameParameters fParams) in ZSTD_compress_usingCDict_advanced() argument
3897 …FORWARD_IF_ERROR(ZSTD_compressBegin_usingCDict_advanced(cctx, cdict, fParams, srcSize), ""); /* … in ZSTD_compress_usingCDict_advanced()
3911 ZSTD_frameParameters const fParams = { 1 /*content*/, 0 /*checksum*/, 0 /*noDictID*/ }; in ZSTD_compress_usingCDict() local
3912 return ZSTD_compress_usingCDict_advanced(cctx, dst, dstCapacity, src, srcSize, cdict, fParams); in ZSTD_compress_usingCDict()
4004 ZSTD_frameParameters fParams, in ZSTD_initCStream_usingCDict_advanced() argument
4010 zcs->requestedParams.fParams = fParams; in ZSTD_initCStream_usingCDict_advanced()
4037 …U64 const pledgedSrcSize = (pss==0 && params.fParams.contentSizeFlag==0) ? ZSTD_CONTENTSIZE_UNKNOW… in ZSTD_initCStream_advanced()
4812 if (cctx->appliedParams.fParams.checksumFlag && srcSize) { in ZSTD_compressSequences()
4824 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_compressSequences()
4855 …size_t const checksumSize = (size_t)(zcs->frameEnded ? 0 : zcs->appliedParams.fParams.checksumFlag… in ZSTD_endStream()
5098 params.fParams.contentSizeFlag = 1; in ZSTD_getParams_internal()