Lines Matching refs:prefixStartIndex
106 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()
437 …if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn'… in ZSTD_compressBlock_fast_dictMatchState_generic()
439 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
443 } else if ( (matchIndex <= prefixStartIndex) ) { in ZSTD_compressBlock_fast_dictMatchState_generic()
494 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? in ZSTD_compressBlock_fast_dictMatchState_generic()
497 if ( ((U32)((prefixStartIndex-1) - (U32)repIndex2) >= 3 /* intentional overflow */) in ZSTD_compressBlock_fast_dictMatchState_generic()
499 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local
568 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
569 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
579 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_fast_extDict_generic()
586 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
590 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
595 if ( ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */ in ZSTD_compressBlock_fast_extDict_generic()
598 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
611 { const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
612 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
630 …const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repInde… in ZSTD_compressBlock_fast_extDict_generic()
631 …if ( (((U32)((prefixStartIndex-1) - repIndex2) >= 3) & (offset_2 <= curr - dictStartIndex)) /* in… in ZSTD_compressBlock_fast_extDict_generic()
633 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()