Home
last modified time | relevance | path

Searched full:dictmode (Results 1 – 7 of 7) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_lazy.c78 const ZSTD_dictMode_e dictMode) in ZSTD_insertDUBT1() argument
115 if ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1()
118 const BYTE* const mBase = ( (dictMode != ZSTD_extDict) in ZSTD_insertDUBT1()
172 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBetterDictMatch() argument
197 (void)dictMode; in ZSTD_DUBT_findBetterDictMatch()
198 assert(dictMode == ZSTD_dictMatchState); in ZSTD_DUBT_findBetterDictMatch()
248 const ZSTD_dictMode_e dictMode) in ZSTD_DUBT_findBestMatch() argument
274 assert(dictMode != ZSTD_dedicatedDictSearch); in ZSTD_DUBT_findBestMatch()
305 nbCandidates, unsortLimit, dictMode); in ZSTD_DUBT_findBestMatch()
330 if ((dictMode != ZSTD_extDict) || (matchIndex+matchLength >= dictLimit)) { in ZSTD_DUBT_findBestMatch()
[all …]
H A Dzstd_opt.c566 const U32 mls, const ZSTD_dictMode_e dictMode) in ZSTD_updateTree_internal() argument
571 DEBUGLOG(7, "ZSTD_updateTree_internal, from %u to %u (dictMode:%u)", in ZSTD_updateTree_internal()
572 idx, target, dictMode); in ZSTD_updateTree_internal()
575 … U32 const forward = ZSTD_insertBt1(ms, base+idx, iend, target, mls, dictMode == ZSTD_extDict); in ZSTD_updateTree_internal()
596 const ZSTD_dictMode_e dictMode, in ZSTD_insertBtAndGetAllMatches() argument
629 const ZSTD_MatchState_t* dms = dictMode == ZSTD_dictMatchState ? ms->dictMatchState : NULL; in ZSTD_insertBtAndGetAllMatches()
631 dictMode == ZSTD_dictMatchState ? &dms->cParams : NULL; in ZSTD_insertBtAndGetAllMatches()
632 const BYTE* const dmsBase = dictMode == ZSTD_dictMatchState ? dms->window.base : NULL; in ZSTD_insertBtAndGetAllMatches()
633 const BYTE* const dmsEnd = dictMode == ZSTD_dictMatchState ? dms->window.nextSrc : NULL; in ZSTD_insertBtAndGetAllMatches()
634 U32 const dmsHighLimit = dictMode == ZSTD_dictMatchState ? (U32)(dmsEnd - dmsBase) : 0; in ZSTD_insertBtAndGetAllMatches()
[all …]
H A Dzstd_double_fast.c550 #define ZSTD_GEN_DFAST_FN(dictMode, mls) … argument
551 …static size_t ZSTD_compressBlock_doubleFast_##dictMode##_##mls( …
555 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
H A Dzstd_fast.c424 #define ZSTD_GEN_FAST_FN(dictMode, mml, cmov) … argument
425 … static size_t ZSTD_compressBlock_fast_##dictMode##_##mml##_##cmov( \
429 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \
H A Dzstd_compress_internal.h573 …ckCompressor(ZSTD_strategy strat, ZSTD_ParamSwitch_e rowMatchfinderMode, ZSTD_dictMode_e dictMode);
1060 * Inspects the provided matchState and figures out what dictMode should be
H A Dzstd_compress.c2983 …lockCompressor(ZSTD_strategy strat, ZSTD_ParamSwitch_e useRowMatchFinder, ZSTD_dictMode_e dictMode) in ZSTD_selectBlockCompressor() argument
3034 …DEBUGLOG(5, "Selected block compressor: dictMode=%d strat=%d rowMatchfinder=%d", (int)dictMode, (i… in ZSTD_selectBlockCompressor()
3060 selectedCompressor = rowBasedBlockCompressors[(int)dictMode][(int)strat - (int)ZSTD_greedy]; in ZSTD_selectBlockCompressor()
3062 selectedCompressor = blockCompressor[(int)dictMode][(int)strat]; in ZSTD_selectBlockCompressor()
3215 { ZSTD_dictMode_e const dictMode = ZSTD_matchState_dictMode(ms); in ZSTD_buildSeqStore() local
3319 dictMode); in ZSTD_buildSeqStore()
3332 dictMode); in ZSTD_buildSeqStore()
/linux/include/linux/
H A Dzstd_lib.h1173 * Use ZSTD_CCtx_refPrefix_advanced() to alter dictMode (Experimental section)