Searched refs:dictLimit (Results 1 – 9 of 9) sorted by relevance
38 idx, target, ms->window.dictLimit); in ZSTD_updateDUBT()76 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local78 const BYTE* const iend = (curr>=dictLimit) ? inputEnd : dictBase + dictLimit; in ZSTD_insertDUBT1()79 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertDUBT1()80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1()92 curr, dictLimit, windowLow); in ZSTD_insertDUBT1()111 || (curr < dictLimit) ); in ZSTD_insertDUBT1()117 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertDUBT1()300 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local609 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch_generic() local[all …]
795 window->dictLimit = end; in ZSTD_window_clear()804 return window.lowLimit < window.dictLimit; in ZSTD_window_hasExtDict()881 if (window->dictLimit <= correction) window->dictLimit = 1; in ZSTD_window_correctOverflow()882 else window->dictLimit -= correction; in ZSTD_window_correctOverflow()889 assert(window->dictLimit <= newCurrent); in ZSTD_window_correctOverflow()947 if (window->dictLimit < window->lowLimit) { in ZSTD_window_enforceMaxDist()950 window->dictLimit = window->lowLimit; in ZSTD_window_enforceMaxDist()1024 window->lowLimit = window->dictLimit; in ZSTD_window_update()1026 window->dictLimit = (U32)distanceFromBase; in ZSTD_window_update()1030 …if (window->dictLimit - window->lowLimit < HASH_READ_SIZE) window->lowLimit = window->dictLimit; … in ZSTD_window_update()[all …]
385 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local386 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBt1()387 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1()444 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBt1()533 U32 const dictLimit = ms->window.dictLimit; in ZSTD_insertBtAndGetAllMatches() local534 const BYTE* const dictEnd = dictBase + dictLimit; in ZSTD_insertBtAndGetAllMatches()570 assert(curr >= dictLimit); in ZSTD_insertBtAndGetAllMatches()657 if (matchIndex+matchLength >= dictLimit) in ZSTD_insertBtAndGetAllMatches()1271 ms->window.dictLimit += (U32)srcSize; in ZSTD_initStats_ultra()1272 ms->window.lowLimit = ms->window.dictLimit; in ZSTD_initStats_ultra()[all …]
283 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local284 U32 const lowestIndex = extDict ? ldmState->window.lowLimit : dictLimit; in ZSTD_ldm_generateSequences_internal()288 BYTE const* const dictEnd = extDict ? dictBase + dictLimit : NULL; in ZSTD_ldm_generateSequences_internal()289 BYTE const* const lowPrefixPtr = base + dictLimit; in ZSTD_ldm_generateSequences_internal()339 cur->offset < dictLimit ? dictBase : base; in ZSTD_ldm_generateSequences_internal()342 cur->offset < dictLimit ? dictEnd : iend; in ZSTD_ldm_generateSequences_internal()344 cur->offset < dictLimit ? dictStart : lowPrefixPtr; in ZSTD_ldm_generateSequences_internal()
220 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()230 const U32 dictStartIndex = dms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic()393 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local394 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()
83 dms->window.dictLimit : 0; in ZSTD_compressBlock_doubleFast_generic()105 assert(ms->window.dictLimit + (1U << cParams->windowLog) >= endIndex); in ZSTD_compressBlock_doubleFast_generic()378 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local379 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic()
1492 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_invalidateMatchState()1835 const U32 cdictLen = cdictEnd - cdict->matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()1845 if (cctx->blockState.matchState.window.dictLimit < cdictEnd) { in ZSTD_resetCCtx_byAttachingCDict()1851 … cctx->blockState.matchState.loadedDictEnd = cctx->blockState.matchState.window.dictLimit; in ZSTD_resetCCtx_byAttachingCDict()2465 assert(ms->dictMatchState == NULL || ms->loadedDictEnd == ms->window.dictLimit); in ZSTD_buildSeqStore()2676 (unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, in ZSTD_compressBlock_internal()2795 …(unsigned)dstCapacity, (unsigned)zc->blockState.matchState.window.dictLimit, (unsigned)zc->blockSt… in ZSTD_compressBlock_targetCBlockSize()3014 ms->nextToUpdate = ms->window.dictLimit; in ZSTD_compressContinue_internal()
1551 extDict.size = window.dictLimit - window.lowLimit; in ZSTDMT_doesOverlapWindow()1553 prefix.start = window.base + window.dictLimit; in ZSTDMT_doesOverlapWindow()1554 prefix.size = window.nextSrc - (window.base + window.dictLimit); in ZSTDMT_doesOverlapWindow()
10720 if (window->dictLimit <= correction) window->dictLimit = 1; in ZSTD_window_correctOverflow()17742 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local18280 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local18281 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic()18461 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertDUBT1() local18684 const U32 dictLimit = ms->window.dictLimit; in ZSTD_DUBT_findBestMatch() local18878 const U32 dictLimit = ms->window.dictLimit; in ZSTD_HcFindBestMatch_generic() local19326 const U32 dictLimit = ms->window.dictLimit; in ZSTD_compressBlock_lazy_extDict_generic() local19794 U32 const dictLimit = ldmState->window.dictLimit; in ZSTD_ldm_generateSequences_internal() local20531 const U32 dictLimit = ms->window.dictLimit; in ZSTD_insertBt1() local[all …]