Lines Matching defs:prefixStartIndex

106     const U32   prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);
107 const BYTE* const prefixStart = base + prefixStartIndex;
189 if (idx >= prefixStartIndex) {
218 if (idx >= prefixStartIndex) {
385 const U32 prefixStartIndex = ms->window.dictLimit;
386 const BYTE* const prefixStart = base + prefixStartIndex;
399 const U32 dictIndexDelta = prefixStartIndex - (U32)(dictEnd - dictBase);
407 assert(endIndex - prefixStartIndex <= maxDistance);
414 assert(prefixStartIndex >= (U32)(dictEnd - dictBase));
432 const BYTE* repMatch = (repIndex < prefixStartIndex) ?
437 if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn't overlapping dict + prefix */
439 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend;
443 } else if ( (matchIndex <= prefixStartIndex) ) {
494 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ?
497 if ( ((U32)((prefixStartIndex-1) - (U32)repIndex2) >= 3 /* intentional overflow */)
499 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend;
567 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit;
568 const BYTE* const prefixStart = base + prefixStartIndex;
569 const BYTE* const dictEnd = dictBase + prefixStartIndex;
579 if (prefixStartIndex == dictStartIndex)
586 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base;
590 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base;
595 if ( ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */
598 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend;
611 { const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend;
612 const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart;
630 const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repIndex2;
631 if ( (((U32)((prefixStartIndex-1) - repIndex2) >= 3) & (offset_2 <= curr - dictStartIndex)) /* intentional overflow */
633 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend;