Lines Matching defs:useRowMatchFinder

83     ZSTD_paramSwitch_e useRowMatchFinder; /* Indicates whether the CDict was created with params that would use
215 /* Returns true if the strategy and useRowMatchFinder mode indicate that we will use the row based matchfinder
251 const ZSTD_paramSwitch_e useRowMatchFinder,
253 assert(useRowMatchFinder != ZSTD_ps_auto);
257 return forDDSDict || ((strategy != ZSTD_fast) && !ZSTD_rowMatchFinderUsed(strategy, useRowMatchFinder));
286 cctxParams.useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(cctxParams.useRowMatchFinder, &cParams);
345 cctxParams->useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(cctxParams->useRowMatchFinder, &params->cParams);
348 DEBUGLOG(4, "ZSTD_CCtxParams_init_internal: useRowMatchFinder=%d, useBlockSplitter=%d ldm=%d",
349 cctxParams->useRowMatchFinder, cctxParams->useBlockSplitter, cctxParams->ldmParams.enableLdm);
861 CCtxParams->useRowMatchFinder = (ZSTD_paramSwitch_e)value;
862 return CCtxParams->useRowMatchFinder;
978 *value = (int)CCtxParams->useRowMatchFinder;
1349 const ZSTD_paramSwitch_e useRowMatchFinder,
1354 size_t const chainSize = ZSTD_allocateChainTable(cParams->strategy, useRowMatchFinder, enableDedicatedDictSearch && !forCCtx)
1372 size_t const lazyAdditionalSpace = ZSTD_rowMatchFinderUsed(cParams->strategy, useRowMatchFinder)
1382 assert(useRowMatchFinder != ZSTD_ps_auto);
1393 const ZSTD_paramSwitch_e useRowMatchFinder,
1407 size_t const matchStateSize = ZSTD_sizeof_matchState(cParams, useRowMatchFinder, /* enableDedicatedDictSearch */ 0, /* forCCtx */ 1);
1438 ZSTD_paramSwitch_e const useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(params->useRowMatchFinder,
1446 &cParams, &params->ldmParams, 1, useRowMatchFinder, 0, 0, ZSTD_CONTENTSIZE_UNKNOWN);
1456 initialParams.useRowMatchFinder = ZSTD_ps_disable;
1458 initialParams.useRowMatchFinder = ZSTD_ps_enable;
1503 ZSTD_paramSwitch_e const useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(params->useRowMatchFinder, &params->cParams);
1506 &cParams, &params->ldmParams, 1, useRowMatchFinder, inBuffSize, outBuffSize,
1518 initialParams.useRowMatchFinder = ZSTD_ps_disable;
1520 initialParams.useRowMatchFinder = ZSTD_ps_enable;
1645 const ZSTD_paramSwitch_e useRowMatchFinder,
1651 size_t const chainSize = ZSTD_allocateChainTable(cParams->strategy, useRowMatchFinder,
1660 assert(useRowMatchFinder != ZSTD_ps_auto);
1699 if (ZSTD_rowMatchFinderUsed(cParams->strategy, useRowMatchFinder)) {
1756 DEBUGLOG(4, "ZSTD_resetCCtx_internal: pledgedSrcSize=%u, wlog=%u, useRowMatchFinder=%d useBlockSplitter=%d",
1757 (U32)pledgedSrcSize, params->cParams.windowLog, (int)params->useRowMatchFinder, (int)params->useBlockSplitter);
1768 assert(params->useRowMatchFinder != ZSTD_ps_auto);
1797 &params->cParams, &params->ldmParams, zc->staticSize != 0, params->useRowMatchFinder,
1892 params->useRowMatchFinder,
1985 params.useRowMatchFinder = cdict->useRowMatchFinder; /* cdict overrides */
2039 params.useRowMatchFinder = cdict->useRowMatchFinder;
2049 assert(params.useRowMatchFinder != ZSTD_ps_auto);
2052 { size_t const chainSize = ZSTD_allocateChainTable(cdict_cParams->strategy, cdict->useRowMatchFinder, 0 /* DDS guaranteed disabled */)
2061 if (ZSTD_allocateChainTable(cctx->appliedParams.cParams.strategy, cctx->appliedParams.useRowMatchFinder, 0 /* forDDSDict */)) {
2067 if (ZSTD_rowMatchFinderUsed(cdict_cParams->strategy, cdict->useRowMatchFinder)) {
2143 assert(srcCCtx->appliedParams.useRowMatchFinder != ZSTD_ps_auto);
2146 params.useRowMatchFinder = srcCCtx->appliedParams.useRowMatchFinder;
2164 srcCCtx->appliedParams.useRowMatchFinder,
2276 if (ZSTD_allocateChainTable(params->cParams.strategy, params->useRowMatchFinder, (U32)ms->dedicatedDictSearch)) {
2633 ZSTD_blockCompressor ZSTD_selectBlockCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode)
2681 DEBUGLOG(4, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (int)strat, (int)useRowMatchFinder);
2682 if (ZSTD_rowMatchFinderUsed(strat, useRowMatchFinder)) {
2698 assert(useRowMatchFinder != ZSTD_ps_auto);
2771 zc->appliedParams.useRowMatchFinder,
2788 zc->appliedParams.useRowMatchFinder,
2793 zc->appliedParams.useRowMatchFinder,
4141 DEBUGLOG(4, "ZSTD_loadDictionaryContent(): useRowMatchFinder=%d", (int)params->useRowMatchFinder);
4175 assert(params->useRowMatchFinder != ZSTD_ps_auto);
4176 if (params->useRowMatchFinder == ZSTD_ps_enable) {
4700 params.useRowMatchFinder,
4725 ZSTD_paramSwitch_e useRowMatchFinder,
4734 ZSTD_sizeof_matchState(&cParams, useRowMatchFinder, enableDedicatedDictSearch, /* forCCtx */ 0) +
4753 cdict->useRowMatchFinder = useRowMatchFinder;
4807 cctxParams.useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(cctxParams.useRowMatchFinder, &cParams);
4811 cctxParams.useRowMatchFinder, cctxParams.enableDedicatedDictSearch,
4880 ZSTD_paramSwitch_e const useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(ZSTD_ps_auto, &cParams);
4882 size_t const matchStateSize = ZSTD_sizeof_matchState(&cParams, useRowMatchFinder, /* enableDedicatedDictSearch */ 1, /* forCCtx */ 0);
4907 params.useRowMatchFinder = useRowMatchFinder;
4908 cdict->useRowMatchFinder = useRowMatchFinder;
5453 params.useRowMatchFinder = ZSTD_resolveRowMatchFinderMode(params.useRowMatchFinder, &params.cParams);