Home
last modified time | relevance | path

Searched refs:ZSTD_compressionParameters (Results 1 – 23 of 23) sorted by relevance

/external/zstd/contrib/linux-kernel/
Dzstd_compress_module.c16 ZSTD_STATIC_ASSERT(sizeof(ZSTD_compressionParameters) == in zstd_check_structs()
25 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, windowLog) == in zstd_check_structs()
27 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, chainLog) == in zstd_check_structs()
29 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, hashLog) == in zstd_check_structs()
31 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, searchLog) == in zstd_check_structs()
33 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, minMatch) == in zstd_check_structs()
35 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, targetLength) == in zstd_check_structs()
37 ZSTD_STATIC_ASSERT(offsetof(ZSTD_compressionParameters, strategy) == in zstd_check_structs()
96 ZSTD_compressionParameters p; in zstd_cctx_workspace_bound()
124 ZSTD_compressionParameters p; in zstd_cstream_workspace_bound()
/external/zstd/programs/
Dbenchzstd.h97 int cLevel, const ZSTD_compressionParameters* compressionParams,
131 int cLevel, const ZSTD_compressionParameters* compressionParams,
153 const ZSTD_compressionParameters* compressionParams,
187 int cLevel, const ZSTD_compressionParameters* comprParams,
201 int cLevel, const ZSTD_compressionParameters* comprParams,
Dbenchzstd.c168 const ZSTD_compressionParameters* comprParams, in BMK_initCCtx()
206 const ZSTD_compressionParameters* comprParams;
311 const ZSTD_compressionParameters* comprParams, in BMK_benchMemAdvancedNoAlloc()
560 int cLevel, const ZSTD_compressionParameters* comprParams, in BMK_benchMemAdvanced()
649 int cLevel, const ZSTD_compressionParameters* comprParams, in BMK_benchMem()
664 int cLevel, const ZSTD_compressionParameters* comprParams, in BMK_benchCLevel()
692 const ZSTD_compressionParameters* compressionParams, in BMK_syntheticTest()
787 const ZSTD_compressionParameters* compressionParams, in BMK_benchFilesAdvanced()
883 int cLevel, const ZSTD_compressionParameters* compressionParams, in BMK_benchFiles()
Dfileio.h121 ZSTD_compressionParameters comprParams);
143 ZSTD_compressionParameters comprParams);
Dzstdcli.c538 static unsigned parseCompressionParameters(const char* stringPtr, ZSTD_compressionParameters* param… in parseCompressionParameters()
723 ZSTD_compressionParameters compressionParams; in main()
1337 … const ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, fileSize, dictSize); in main()
Dfileio.c901 ZSTD_compressionParameters* comprParams, in FIO_adjustParamsForPatchFromMode()
907ZSTD_compressionParameters const cParams = ZSTD_getCParams(cLevel, (size_t)maxSrcFileSize, (size_t… in FIO_adjustParamsForPatchFromMode()
928 int cLevel, ZSTD_compressionParameters comprParams) { in FIO_createCResources()
1718 int compressionLevel, ZSTD_compressionParameters comprParams) in FIO_compressFilename()
1793 ZSTD_compressionParameters comprParams) in FIO_compressMultipleFilenames()
/external/zstd/lib/
Dzstd.h1171 } ZSTD_compressionParameters; typedef
1180 ZSTD_compressionParameters cParams;
1403 ZSTDLIB_API size_t ZSTD_estimateCCtxSize_usingCParams(ZSTD_compressionParameters cParams);
1421 ZSTDLIB_API size_t ZSTD_estimateCStreamSize_usingCParams(ZSTD_compressionParameters cParams);
1432 ZSTDLIB_API size_t ZSTD_estimateCDictSize_advanced(size_t dictSize, ZSTD_compressionParameters cPar…
1467 ZSTD_compressionParameters cParams);
1498 ZSTD_compressionParameters cParams,
1552 ZSTDLIB_API ZSTD_compressionParameters ZSTD_getCParams(int compressionLevel, unsigned long long est…
1562 ZSTDLIB_API size_t ZSTD_checkCParams(ZSTD_compressionParameters params);
1570 ZSTDLIB_API ZSTD_compressionParameters ZSTD_adjustCParams(ZSTD_compressionParameters cPar, unsigned…
/external/zstd/tests/fuzz/
Dzstd_helpers.c35 ZSTD_compressionParameters FUZZ_randomCParams(size_t srcSize, FUZZ_dataProducer_t *producer) in FUZZ_randomCParams()
38 ZSTD_compressionParameters cParams; in FUZZ_randomCParams()
70 ZSTD_compressionParameters cParams = FUZZ_randomCParams(srcSize, producer); in FUZZ_setRandomParameters()
Dzstd_helpers.h32 ZSTD_compressionParameters FUZZ_randomCParams(size_t srcSize, FUZZ_dataProducer_t *producer);
/external/zstd/tests/
Dfullbench.c108 p.cParams = *(ZSTD_compressionParameters*)payload; in local_ZSTD_compress()
210 p.cParams = *(ZSTD_compressionParameters*)payload; in local_ZSTD_compressStream()
342 p.cParams = *(ZSTD_compressionParameters*)payload; in local_ZSTD_compressContinue()
358 p.cParams = *(ZSTD_compressionParameters*)payload; in local_ZSTD_compressContinue_extDict()
409 int cLevel, ZSTD_compressionParameters cparams) in benchMem()
672 int cLevel, ZSTD_compressionParameters cparams) in benchSample()
698 int cLevel, ZSTD_compressionParameters cparams) in benchFiles()
838 ZSTD_compressionParameters cparams = ZSTD_getCParams(cLevel, 0, 0); in main()
Dfuzzer.c384 ZSTD_compressionParameters params; in basicUnitTests()
1297ZSTD_compressionParameters const cparams_small = ZSTD_getCParams(STATIC_CCTX_LEVEL, smallInSize, 0… in basicUnitTests()
1909 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBuffSize, dictSize); in basicUnitTests()
1915 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBuffSize, dictSize); in basicUnitTests()
1950ZSTD_compressionParameters const cParams = ZSTD_getCParams(level, CNBuffSize, dictSize); in basicUnitTests()
1976 ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBuffSize, dictSize); in basicUnitTests()
2041 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBuffSize, dictSize); in basicUnitTests()
2049 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBuffSize, dictSize); in basicUnitTests()
2310 ZSTD_compressionParameters const cParams = ZSTD_getCParams(19, CNBuffSize, dictSize); in basicUnitTests()
3274 static ZSTD_parameters FUZ_makeParams(ZSTD_compressionParameters cParams, ZSTD_frameParameters fPar… in FUZ_makeParams()
[all …]
Dparamgrill.c332 static ZSTD_compressionParameters pvalsToCParams(paramValues_t p) in pvalsToCParams()
334 ZSTD_compressionParameters c; in pvalsToCParams()
335 memset(&c, 0, sizeof(ZSTD_compressionParameters)); in pvalsToCParams()
347 static paramValues_t cParamsToPVals(ZSTD_compressionParameters c) in cParamsToPVals()
1934 ZSTD_compressionParameters const cParams = pvalsToCParams(sanitizeParams(p)); in NB_TESTS_PLAYED()
Dzstreamtest.c342 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBufferSize, dictSize); in basicUnitTests()
1179 …{ ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBufferSize, dictionary.filled); in basicUnitTests()
1352 …{ ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, 4 KB, dictionary.filled); /* i… in basicUnitTests()
1387 ZSTD_compressionParameters cParams = ZSTD_getCParams(3, 1U << kMaxWindowLog, 1024); in basicUnitTests()
2137 … { ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, pledgedSrcSize, dictSize); in fuzzerTests_newAPI()
DREADME.md169 … parameter names and 'cParams' as a shorthand for all parameters used in ZSTD_compressionParameters
/external/zstd/lib/compress/
Dzstd_compress.c209 static U32 ZSTD_CParams_shouldEnableLdm(const ZSTD_compressionParameters* const cParams) { in ZSTD_CParams_shouldEnableLdm()
214 ZSTD_compressionParameters cParams) in ZSTD_makeCCtxParamsFromCParams()
953 static ZSTD_compressionParameters ZSTD_dedicatedDictSearch_getCParams(
957 const ZSTD_compressionParameters* cParams);
959 ZSTD_compressionParameters* cParams);
1098 size_t ZSTD_checkCParams(ZSTD_compressionParameters cParams) in ZSTD_checkCParams()
1113 static ZSTD_compressionParameters
1114 ZSTD_clampCParams(ZSTD_compressionParameters cParams) in ZSTD_clampCParams()
1181 static ZSTD_compressionParameters
1182 ZSTD_adjustCParams_internal(ZSTD_compressionParameters cPar, in ZSTD_adjustCParams_internal()
[all …]
Dzstd_ldm.h110 ZSTD_compressionParameters const* cParams);
Dzstd_fast.c19 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillHashTable()
52 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_generic()
211 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_dictMatchState_generic()
228 const ZSTD_compressionParameters* const dictCParams = &dms->cParams ; in ZSTD_compressBlock_fast_dictMatchState_generic()
379 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_fast_extDict_generic()
Dzstd_double_fast.c18 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_fillDoubleHashTable()
56 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_generic()
75 const ZSTD_compressionParameters* const dictCParams = in ZSTD_compressBlock_doubleFast_generic()
364 ZSTD_compressionParameters const* cParams = &ms->cParams; in ZSTD_compressBlock_doubleFast_extDict_generic()
Dzstd_compress_internal.h171 ZSTD_compressionParameters cParams;
213 ZSTD_compressionParameters cParams;
1141 ZSTD_compressionParameters ZSTD_getCParamsFromCCtxParams(
1158 ZSTD_compressionParameters ZSTD_getCParamsFromCDict(const ZSTD_CDict* cdict);
Dzstd_lazy.c24 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_updateDUBT()
69 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertDUBT1()
163 const ZSTD_compressionParameters* const dmsCParams = &dms->cParams; in ZSTD_DUBT_findBetterDictMatch()
237 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_DUBT_findBestMatch()
452 const ZSTD_compressionParameters* const cParams, in ZSTD_insertAndFindFirstIndex_internal()
475 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertAndFindFirstIndex()
603 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_HcFindBestMatch_generic()
Dzstd_opt.c374 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBt1()
519 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_insertBtAndGetAllMatches()
547 const ZSTD_compressionParameters* const dmsCParams = in ZSTD_insertBtAndGetAllMatches()
751 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_BtGetAllMatches()
945 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_compressBlock_opt_generic()
Dzstd_ldm.c23 ZSTD_compressionParameters const* cParams) in ZSTD_ldm_adjustParameters()
601 const ZSTD_compressionParameters* const cParams = &ms->cParams; in ZSTD_ldm_blockCompress()
Dzstdmt_compress.c1043 …{ ZSTD_compressionParameters cParams = ZSTD_getCParamsFromCCtxParams(cctxParams, ZSTD_CONTENTSIZ… in ZSTDMT_updateCParams_whileCompressing()