Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_lazy.c67 const ZSTD_dictMode_e dictMode) in ZSTD_insertDUBT1() argument
104 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1()
107 const BYTE* const mBase = ( (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()
235 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBestMatch() argument
261 assert(dictMode != ZSTD_dedicatedDictSearch); in ZSTD_DUBT_findBestMatch()
292 nbCandidates, unsortLimit, dictMode); in ZSTD_DUBT_findBestMatch()
317 if ((dictMode != ZSTD_extDict) || (matchIndex+matchLength >= dictLimit)) { in ZSTD_DUBT_findBestMatch()
[all …]
Dzstd_opt.c533 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument
539 idx, target, dictMode); in ZSTD_updateTree_internal()
542 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
560 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument
593 const ZSTD_matchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches()
595 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches()
596 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches()
597 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches()
598 U32 const dmsHighLimit = dictMode == ZSTD_dictMatchState ? (U32)(dmsEnd - dmsBase) : 0; in ZSTD_insertBtAndGetAllMatches()
599 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
[all …]
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); \
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); \
Dzstd_compress.c2633 …lockCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument
2681 …DEBUGLOG(4, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (i… in ZSTD_selectBlockCompressor()
2699 selectedCompressor = rowBasedBlockCompressors[(int)dictMode][(int)strat - (int)ZSTD_greedy]; in ZSTD_selectBlockCompressor()
2701 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor()
2758 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local
2794 dictMode); in ZSTD_buildSeqStore()
Dzstd_compress_internal.h454 …ckCompressor(ZSTD_strategy strat, ZSTD_paramSwitch_e rowMatchfinderMode, ZSTD_dictMode_e dictMode);