Home
last modified time | relevance | path

Searched refs:prefixStartIndex (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_fast.c106 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() local
107 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_noDict_generic()
189 if (idx >= prefixStartIndex) { in ZSTD_compressBlock_fast_noDict_generic()
218 if (idx >= prefixStartIndex) { in ZSTD_compressBlock_fast_noDict_generic()
385 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() local
386 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
399 const U32 dictIndexDelta = prefixStartIndex - (U32)(dictEnd - dictBase); in ZSTD_compressBlock_fast_dictMatchState_generic()
407 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
414 assert(prefixStartIndex >= (U32)(dictEnd - dictBase)); in ZSTD_compressBlock_fast_dictMatchState_generic()
432 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()
[all …]
Dzstd_double_fast.c550 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
551 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
554 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
560 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_doubleFast_extDict_generic()
567 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
572 const BYTE* const matchLongBase = matchLongIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
577 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
582 …if ((((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex does… in ZSTD_compressBlock_doubleFast_extDict_generic()
585 const BYTE* repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
591 const BYTE* const matchEnd = matchLongIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]