Home
last modified time | relevance | path

Searched refs:contentSizeFlag (Results 1 – 11 of 11) sorted by relevance

/external/zstd/contrib/pzstd/
DOptions.h57 params.fParams.contentSizeFlag = 0; in determineParameters()
/external/lz4/programs/
Dlz4io.c122 int contentSizeFlag; member
172 ret->contentSizeFlag = 0; in LZ4IO_defaultPreferences()
281 prefs->contentSizeFlag = (enable!=0); in LZ4IO_setContentSize()
282 return prefs->contentSizeFlag; in LZ4IO_setContentSize()
633 if (io_prefs->contentSizeFlag) { in LZ4IO_compressFilename_extRess()
/external/zstd/tests/fuzz/
Dzstd_helpers.c54 fParams.contentSizeFlag = FUZZ_dataProducer_uint32Range(producer, 0, 1); in FUZZ_randomFParams()
/external/lz4/lib/
Dlz4frame.c1111 …unsigned blockMode, blockChecksumFlag, contentSizeFlag, contentChecksumFlag, dictIDFlag, blockSize… in LZ4F_decodeHeader() local
1145 contentSizeFlag = (FLG>>3) & _1BIT; in LZ4F_decodeHeader()
1154 frameHeaderSize = minFHSize + (contentSizeFlag?8:0) + (dictIDFlag?4:0); in LZ4F_decodeHeader()
1189 if (contentSizeFlag) in LZ4F_decodeHeader()
1225 U32 const contentSizeFlag = (FLG>>3) & _1BIT; in LZ4F_headerSize() local
1227 return minFHSize + (contentSizeFlag?8:0) + (dictIDFlag?4:0); in LZ4F_headerSize()
/external/zstd/tests/
Ddecodecorpus.c267 int contentSizeFlag = 0; in writeFrameHeader() local
298 contentSizeFlag = opts.contentSize | (RAND(seed) & 1); in writeFrameHeader()
300 if (contentSizeFlag && (fh.contentSize == 0 || !(RAND(seed) & 7))) { in writeFrameHeader()
307 if (contentSizeFlag) { in writeFrameHeader()
344 if (contentSizeFlag) { in writeFrameHeader()
356 DISPLAYLEVEL(3, " content size flag:\t%d\n", contentSizeFlag); in writeFrameHeader()
Dzstreamtest.c238 …K_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_contentSizeFlag, &savedParams->fParams.contentSizeFlag)); in getCCtxParams()
256 …CHECK_RET(8, params.fParams.contentSizeFlag != savedParams.fParams.contentSizeFlag, "contentSizeFl… in badParameters()
591 params.fParams.contentSizeFlag = 0; in basicUnitTests()
1262 params.fParams.contentSizeFlag = 1; in basicUnitTests()
1279 params.fParams.contentSizeFlag = 1; in basicUnitTests()
1861 params.fParams.contentSizeFlag = FUZ_rand(&lseed) & 1; in fuzzerTests()
Dfuzzer.c1069 …assert(params.fParams.contentSizeFlag == 1); /* block size will be adapted if pledgedSrcSize is e… in basicUnitTests()
1237 params.fParams.contentSizeFlag = 0; in basicUnitTests()
1685 p.fParams.contentSizeFlag = 1; in basicUnitTests()
2405 params.fParams.contentSizeFlag = 1; in basicUnitTests()
/external/zstd/tests/regression/
Dconfig.c244 zparams.fParams.contentSizeFlag = value; in config_get_zstd_params()
/external/zstd/contrib/linux-kernel/
Dzstd_compress_module.c39 ZSTD_STATIC_ASSERT(offsetof(ZSTD_frameParameters, contentSizeFlag) == in zstd_check_structs()
/external/zstd/lib/compress/
Dzstd_compress.c268 cctxParams->fParams.contentSizeFlag = 1; in ZSTD_CCtxParams_init()
656 CCtxParams->fParams.contentSizeFlag = value != 0; in ZSTD_CCtxParams_setParameter()
657 return CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_setParameter()
837 *value = CCtxParams->fParams.contentSizeFlag; in ZSTD_CCtxParams_getParameter()
1687 zc->appliedParams.fParams.contentSizeFlag = 0; in ZSTD_resetCCtx_internal()
1689 (unsigned)pledgedSrcSize, zc->appliedParams.fParams.contentSizeFlag); in ZSTD_resetCCtx_internal()
2026 fParams.contentSizeFlag = (pledgedSrcSize != ZSTD_CONTENTSIZE_UNKNOWN); in ZSTD_copyCCtx()
2920 U32 const singleSegment = params->fParams.contentSizeFlag && (windowSize >= pledgedSrcSize); in ZSTD_writeFrameHeader()
2922 U32 const fcsCode = params->fParams.contentSizeFlag ? in ZSTD_writeFrameHeader()
2927 assert(!(params->fParams.contentSizeFlag && pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN)); in ZSTD_writeFrameHeader()
[all …]
/external/zstd/lib/
Dzstd.h1174 int contentSizeFlag; /**< 1: content size will be in frame header (when known) */ member