Home
last modified time | relevance | path

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

/linux-5.19.10/lib/zstd/compress/
Dzstd_double_fast.c54 U32 const mls /* template */, ZSTD_dictMode_e const dictMode) in ZSTD_compressBlock_doubleFast_generic() argument
76 dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
78 const U32* const dictHashLong = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
80 const U32* const dictHashSmall = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
82 const U32 dictStartIndex = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
84 const BYTE* const dictBase = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
86 const BYTE* const dictStart = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
88 const BYTE* const dictEnd = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
90 const U32 dictIndexDelta = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
93 const U32 dictHBitsL = dictMode == ZSTD_dictMatchState ? in ZSTD_compressBlock_doubleFast_generic()
[all …]
Dzstd_opt.c498 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument
504 idx, target, dictMode); in ZSTD_updateTree_internal()
507 U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
525 const BYTE* const ip, const BYTE* const iLimit, const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument
558 const ZSTD_matchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches()
560 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches()
561 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches()
562 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches()
563 U32 const dmsHighLimit = dictMode == ZSTD_dictMatchState ? (U32)(dmsEnd - dmsBase) : 0; in ZSTD_insertBtAndGetAllMatches()
564 U32 const dmsLowLimit = dictMode == ZSTD_dictMatchState ? dms->window.lowLimit : 0; in ZSTD_insertBtAndGetAllMatches()
[all …]
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_compress_internal.h361 ZSTD_blockCompressor ZSTD_selectBlockCompressor(ZSTD_strategy strat, ZSTD_dictMode_e dictMode);
Dzstd_compress.c2322 ZSTD_blockCompressor ZSTD_selectBlockCompressor(ZSTD_strategy strat, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument
2370 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor()
2426 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local
2458 …r const blockCompressor = ZSTD_selectBlockCompressor(zc->appliedParams.cParams.strategy, dictMode); in ZSTD_buildSeqStore()