Lines Matching refs:prefixStartIndex
203 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_noDict_generic() local
204 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_noDict_generic()
291 if (matchFound(ip0, base + matchIdx, matchIdx, prefixStartIndex)) { in ZSTD_compressBlock_fast_noDict_generic()
316 if (matchFound(ip0, base + matchIdx, matchIdx, prefixStartIndex)) { in ZSTD_compressBlock_fast_noDict_generic()
496 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() local
497 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
509 const U32 dictIndexDelta = prefixStartIndex - (U32)(dictEnd - dictBase); in ZSTD_compressBlock_fast_dictMatchState_generic()
517 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
524 assert(prefixStartIndex >= (U32)(dictEnd - dictBase)); in ZSTD_compressBlock_fast_dictMatchState_generic()
559 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()
566 if ((ZSTD_index_overlap_check(prefixStartIndex, repIndex)) in ZSTD_compressBlock_fast_dictMatchState_generic()
568 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
582 if (matchIndex <= prefixStartIndex) { in ZSTD_compressBlock_fast_dictMatchState_generic()
599 if (ZSTD_match4Found_cmov(ip0, match, matchIndex, prefixStartIndex)) { in ZSTD_compressBlock_fast_dictMatchState_generic()
647 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? in ZSTD_compressBlock_fast_dictMatchState_generic()
650 if ( (ZSTD_index_overlap_check(prefixStartIndex, repIndex2)) in ZSTD_compressBlock_fast_dictMatchState_generic()
652 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
726 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local
727 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
728 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
760 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_fast_extDict_generic()
788 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
794 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
796 if ( ((U32)(prefixStartIndex - repIndex) >= 4) /* intentional underflow */ in ZSTD_compressBlock_fast_extDict_generic()
811 matchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
834 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
862 idxBase = idx < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
903 const BYTE* const lowMatchPtr = idx < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
904 matchEnd = idx < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
943 …const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repInde… in ZSTD_compressBlock_fast_extDict_generic()
944 if ( ((ZSTD_index_overlap_check(prefixStartIndex, repIndex2)) & (offset_2 > 0)) in ZSTD_compressBlock_fast_extDict_generic()
946 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()