Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c104 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1()
160 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBetterDictMatch() argument
185 (void)dictMode; in ZSTD_DUBT_findBetterDictMatch()
365 mls, dictMode); in ZSTD_DUBT_findBestMatch()
1379 X(dictMode, mls, 6)
1384 ZSTD_FOR_EACH_ROWLOG(X, dictMode, 6)
1389 X(dictMode, 6)
1512 if (dictMode == ZSTD_noDict) { in ZSTD_compressBlock_lazy_generic()
1549 … const BYTE* repMatch = ((dictMode == ZSTD_dictMatchState || dictMode == ZSTD_dedicatedDictSearch) in ZSTD_compressBlock_lazy_generic()
1560 if ( dictMode == ZSTD_noDict in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_opt.c539 idx, target, dictMode); in ZSTD_updateTree_internal()
630 if ( dictMode == ZSTD_extDict in ZSTD_insertBtAndGetAllMatches()
695 …if ((dictMode == ZSTD_noDict) || (dictMode == ZSTD_dictMatchState) || (matchIndex+matchLength >= d… in ZSTD_insertBtAndGetAllMatches()
804 const ZSTD_dictMode_e dictMode, in ZSTD_btGetAllMatches_internal() argument
815 #define ZSTD_BT_GET_ALL_MATCHES_FN(dictMode, mls) ZSTD_btGetAllMatches_##dictMode##_##mls argument
833 #define GEN_ZSTD_BT_GET_ALL_MATCHES(dictMode) \ argument
834 GEN_ZSTD_BT_GET_ALL_MATCHES_(dictMode, 3) \
835 GEN_ZSTD_BT_GET_ALL_MATCHES_(dictMode, 4) \
836 GEN_ZSTD_BT_GET_ALL_MATCHES_(dictMode, 5) \
837 GEN_ZSTD_BT_GET_ALL_MATCHES_(dictMode, 6)
[all …]
H A Dzstd_fast.c317 #define ZSTD_GEN_FAST_FN(dictMode, mls, step) … argument
318 …static size_t ZSTD_compressBlock_fast_##dictMode##_##mls##_##step( …
322 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls, step); \
H A Dzstd_double_fast.c471 #define ZSTD_GEN_DFAST_FN(dictMode, mls) … argument
472 …static size_t ZSTD_compressBlock_doubleFast_##dictMode##_##mls( …
476 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
H A Dzstd_compress.c2724 …lockCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument
2772 …DEBUGLOG(4, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (i… in ZSTD_selectBlockCompressor()
2790 selectedCompressor = rowBasedBlockCompressors[(int)dictMode][(int)strat - (int)ZSTD_greedy]; in ZSTD_selectBlockCompressor()
2792 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor()
2849 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local
2885 dictMode); in ZSTD_buildSeqStore()
H A Dzstd_compress_internal.h466 …ckCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e rowMatchfinderMode, ZSTD_dictMode_e dictMode);
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_double_fast.c101 assert(dictMode == ZSTD_noDict || dictMode == ZSTD_dictMatchState); in ZSTD_compressBlock_doubleFast_generic()
104 if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
110 if (dictMode == ZSTD_noDict) { in ZSTD_compressBlock_doubleFast_generic()
117 if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
145 if (dictMode == ZSTD_dictMatchState in ZSTD_compressBlock_doubleFast_generic()
156 if ( dictMode == ZSTD_noDict in ZSTD_compressBlock_doubleFast_generic()
172 } else if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
190 } else if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
223 } else if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
271 if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_doubleFast_generic()
[all …]
H A Dzstd_lazy.c104 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1()
160 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBetterDictMatch() argument
185 (void)dictMode; in ZSTD_DUBT_findBetterDictMatch()
186 assert(dictMode == ZSTD_dictMatchState); in ZSTD_DUBT_findBetterDictMatch()
363 mls, dictMode); in ZSTD_DUBT_findBestMatch()
534 if (dictMode == ZSTD_dictMatchState) { in ZSTD_HcFindBestMatch_generic()
669 if (dictMode == ZSTD_noDict) { in ZSTD_compressBlock_lazy_generic()
676 if (dictMode == ZSTD_dictMatchState) { in ZSTD_compressBlock_lazy_generic()
709 if ( dictMode == ZSTD_noDict in ZSTD_compressBlock_lazy_generic()
731 if ( (dictMode == ZSTD_noDict) in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_opt.c486 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument
492 idx, target, dictMode); in ZSTD_updateTree_internal()
548 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches()
579 const BYTE* const repMatch = dictMode == ZSTD_dictMatchState ? in ZSTD_insertBtAndGetAllMatches()
583 if ( dictMode == ZSTD_extDict in ZSTD_insertBtAndGetAllMatches()
589 if (dictMode == ZSTD_dictMatchState in ZSTD_insertBtAndGetAllMatches()
614 …if ((dictMode == ZSTD_noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (match… in ZSTD_insertBtAndGetAllMatches()
648 …if ((dictMode == ZSTD_noDict) || (dictMode == ZSTD_dictMatchState) || (matchIndex+matchLength >= d… in ZSTD_insertBtAndGetAllMatches()
695 if (dictMode == ZSTD_dictMatchState && nbCompares) { in ZSTD_insertBtAndGetAllMatches()
755 ZSTD_updateTree_internal(ms, ip, iHighLimit, matchLengthSearch, dictMode); in ZSTD_BtGetAllMatches()
[all …]
H A Dzstd_compress_internal.h295 ZSTD_blockCompressor ZSTD_selectBlockCompressor(ZSTD_strategy strat, ZSTD_dictMode_e dictMode);
H A Dzstd_compress.c2183 ZSTD_blockCompressor ZSTD_selectBlockCompressor(ZSTD_strategy strat, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument
2221 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor()
2273 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local
2305 …r const blockCompressor = ZSTD_selectBlockCompressor(zc->appliedParams.cParams.strategy, dictMode); in ZSTD_buildSeqStore()