Lines Matching refs:dictMode
498 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()
565 … U32 const dmsIndexDelta = dictMode == ZSTD_dictMatchState ? windowLow - dmsHighLimit : 0; in ZSTD_insertBtAndGetAllMatches()
566 … U32 const dmsHashLog = dictMode == ZSTD_dictMatchState ? dmsCParams->hashLog : hashLog; in ZSTD_insertBtAndGetAllMatches()
567 …U32 const dmsBtLog = dictMode == ZSTD_dictMatchState ? dmsCParams->chainLog - 1 : btL… in ZSTD_insertBtAndGetAllMatches()
568 U32 const dmsBtMask = dictMode == ZSTD_dictMatchState ? (1U << dmsBtLog) - 1 : 0; in ZSTD_insertBtAndGetAllMatches()
569 …U32 const dmsBtLow = dictMode == ZSTD_dictMatchState && dmsBtMask < dmsHighLimit - dm… in ZSTD_insertBtAndGetAllMatches()
591 const BYTE* const repMatch = dictMode == ZSTD_dictMatchState ? in ZSTD_insertBtAndGetAllMatches()
595 if ( dictMode == ZSTD_extDict in ZSTD_insertBtAndGetAllMatches()
601 if (dictMode == ZSTD_dictMatchState in ZSTD_insertBtAndGetAllMatches()
626 …if ((dictMode == ZSTD_noDict) /*static*/ || (dictMode == ZSTD_dictMatchState) /*static*/ || (match… in ZSTD_insertBtAndGetAllMatches()
660 …if ((dictMode == ZSTD_noDict) || (dictMode == ZSTD_dictMatchState) || (matchIndex+matchLength >= d… in ZSTD_insertBtAndGetAllMatches()
685 … if (dictMode == ZSTD_dictMatchState) nbCompares = 0; /* break should also skip searching dms */ in ZSTD_insertBtAndGetAllMatches()
708 if (dictMode == ZSTD_dictMatchState && nbCompares) { in ZSTD_insertBtAndGetAllMatches()
759 … const BYTE* ip, const BYTE* const iHighLimit, const ZSTD_dictMode_e dictMode, in ZSTD_BtGetAllMatches() argument
768 ZSTD_updateTree_internal(ms, ip, iHighLimit, matchLengthSearch, dictMode); in ZSTD_BtGetAllMatches()
771 …TD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, length… in ZSTD_BtGetAllMatches()
773 …TD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, length… in ZSTD_BtGetAllMatches()
774 …TD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, length… in ZSTD_BtGetAllMatches()
776 …TD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, length… in ZSTD_BtGetAllMatches()
948 const ZSTD_dictMode_e dictMode) in ZSTD_compressBlock_opt_generic() argument
987 …U32 nbMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, ip, iend, dictMode, rep, ll0, mi… in ZSTD_compressBlock_opt_generic()
1102 …bMatches = ZSTD_BtGetAllMatches(matches, ms, &nextToUpdate3, inr, iend, dictMode, opt[cur].rep, ll… in ZSTD_compressBlock_opt_generic()