• Home
  • Raw
  • Download

Lines Matching refs:cParams

228 …  CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_windowLog, (int*)&savedParams->cParams.windowLog));  in getCCtxParams()
229 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_hashLog, (int*)&savedParams->cParams.hashLog)); in getCCtxParams()
230 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_chainLog, (int*)&savedParams->cParams.chainLog)); in getCCtxParams()
231 … CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_searchLog, (int*)&savedParams->cParams.searchLog)); in getCCtxParams()
232 CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_minMatch, (int*)&savedParams->cParams.minMatch)); in getCCtxParams()
233 …CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_targetLength, (int*)&savedParams->cParams.targetLeng… in getCCtxParams()
235 savedParams->cParams.strategy = value; in getCCtxParams()
248 CHECK_RET(1, params.cParams.windowLog != savedParams.cParams.windowLog, "windowLog"); in badParameters()
249 CHECK_RET(2, params.cParams.hashLog != savedParams.cParams.hashLog, "hashLog"); in badParameters()
250 CHECK_RET(3, params.cParams.chainLog != savedParams.cParams.chainLog, "chainLog"); in badParameters()
251 CHECK_RET(4, params.cParams.searchLog != savedParams.cParams.searchLog, "searchLog"); in badParameters()
252 CHECK_RET(5, params.cParams.minMatch != savedParams.cParams.minMatch, "minMatch"); in badParameters()
253 CHECK_RET(6, params.cParams.targetLength != savedParams.cParams.targetLength, "targetLength"); in badParameters()
342 { ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBufferSize, dictSize); in basicUnitTests() local
343 size_t const cstreamSize = ZSTD_estimateCStreamSize_usingCParams(cParams); in basicUnitTests()
344 …size_t const cdictSize = ZSTD_estimateCDictSize_advanced(dictSize, cParams, ZSTD_dlm_byCopy); /* u… in basicUnitTests()
374 params.cParams.minMatch = 2; in basicUnitTests()
1179 …{ ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, CNBufferSize, dictionary.filled); in basicUnitTests() local
1181 …nced(dictionary.start, dictionary.filled, ZSTD_dlm_byRef, ZSTD_dct_auto, cParams, ZSTD_defaultCMem… in basicUnitTests()
1352 …{ ZSTD_compressionParameters const cParams = ZSTD_getCParams(1, 4 KB, dictionary.filled); /* i… in basicUnitTests() local
1353 …(dictionary.start, dictionary.filled, ZSTD_dlm_byRef, ZSTD_dct_fullDict, cParams, ZSTD_defaultCMem… in basicUnitTests()
1354 DISPLAYLEVEL(5, "cParams.windowLog = %u : ", cParams.windowLog); in basicUnitTests()
1387 ZSTD_compressionParameters cParams = ZSTD_getCParams(3, 1U << kMaxWindowLog, 1024); in basicUnitTests() local
1395 cParams.windowLog = kMaxWindowLog; in basicUnitTests()
1396 …(dictionary.start, dictionary.filled, ZSTD_dlm_byRef, ZSTD_dct_fullDict, cParams, ZSTD_defaultCMem… in basicUnitTests()
2137 … { ZSTD_compressionParameters cParams = ZSTD_getCParams(cLevel, pledgedSrcSize, dictSize); in fuzzerTests_newAPI() local
2144 cParams.windowLog += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2145 cParams.windowLog = MIN(windowLogMax, cParams.windowLog); in fuzzerTests_newAPI()
2146 cParams.hashLog += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2147 cParams.chainLog += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2148 cParams.searchLog += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2149 cParams.searchLog = MIN(searchLogMax, cParams.searchLog); in fuzzerTests_newAPI()
2150 cParams.minMatch += (FUZ_rand(&lseed) & 3) - 1; in fuzzerTests_newAPI()
2151cParams.targetLength = (U32)((cParams.targetLength + 1 ) * (0.5 + ((double)(FUZ_rand(&lseed) & 127… in fuzzerTests_newAPI()
2152 cParams = ZSTD_adjustCParams(cParams, pledgedSrcSize, dictSize); in fuzzerTests_newAPI()
2155 DISPLAYLEVEL(5, "t%u: windowLog : %u \n", testNb, cParams.windowLog); in fuzzerTests_newAPI()
2156 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_windowLog, cParams.windowLog, opaqueAPI) ); in fuzzerTests_newAPI()
2157 … assert(cParams.windowLog >= ZSTD_WINDOWLOG_MIN); /* guaranteed by ZSTD_adjustCParams() */ in fuzzerTests_newAPI()
2158 windowLogMalus = (cParams.windowLog - ZSTD_WINDOWLOG_MIN) / 5; in fuzzerTests_newAPI()
2161 DISPLAYLEVEL(5, "t%u: hashLog : %u \n", testNb, cParams.hashLog); in fuzzerTests_newAPI()
2162 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_hashLog, cParams.hashLog, opaqueAPI) ); in fuzzerTests_newAPI()
2165 DISPLAYLEVEL(5, "t%u: chainLog : %u \n", testNb, cParams.chainLog); in fuzzerTests_newAPI()
2166 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_chainLog, cParams.chainLog, opaqueAPI) ); in fuzzerTests_newAPI()
2168 …&lseed) & 1) CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_searchLog, cParams.searchLog, opaque… in fuzzerTests_newAPI()
2169 …(&lseed) & 1) CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_minMatch, cParams.minMatch, opaqueA… in fuzzerTests_newAPI()
2170 …eed) & 1) CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_targetLength, cParams.targetLength, opa… in fuzzerTests_newAPI()