Lines Matching refs:prefixStartIndex

64     const U32   prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog);  in ZSTD_compressBlock_fast_generic()  local
65 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_generic()
123 if ((matchIndex0 > prefixStartIndex) && MEM_read32(match0) == val0) { in ZSTD_compressBlock_fast_generic()
127 if ((matchIndex1 > prefixStartIndex) && MEM_read32(match1) == val1) { in ZSTD_compressBlock_fast_generic()
220 const U32 prefixStartIndex = ms->window.dictLimit; in ZSTD_compressBlock_fast_dictMatchState_generic() local
221 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic()
234 const U32 dictIndexDelta = prefixStartIndex - (U32)(dictEnd - dictBase); in ZSTD_compressBlock_fast_dictMatchState_generic()
242 assert(endIndex - prefixStartIndex <= maxDistance); in ZSTD_compressBlock_fast_dictMatchState_generic()
247 assert(prefixStartIndex >= (U32)(dictEnd - dictBase)); in ZSTD_compressBlock_fast_dictMatchState_generic()
265 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic()
270 …if ( ((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex isn'… in ZSTD_compressBlock_fast_dictMatchState_generic()
272 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
276 } else if ( (matchIndex <= prefixStartIndex) ) { in ZSTD_compressBlock_fast_dictMatchState_generic()
327 const BYTE* repMatch2 = repIndex2 < prefixStartIndex ? in ZSTD_compressBlock_fast_dictMatchState_generic()
330 if ( ((U32)((prefixStartIndex-1) - (U32)repIndex2) >= 3 /* intentional overflow */) in ZSTD_compressBlock_fast_dictMatchState_generic()
332 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_dictMatchState_generic()
394 const U32 prefixStartIndex = dictLimit < lowLimit ? lowLimit : dictLimit; in ZSTD_compressBlock_fast_extDict_generic() local
395 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
396 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic()
404 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_fast_extDict_generic()
411 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
415 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
421 …if ( (((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > dict… in ZSTD_compressBlock_fast_extDict_generic()
423 const BYTE* const repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
436 { const BYTE* const matchEnd = matchIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
437 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_fast_extDict_generic()
455 …const BYTE* const repMatch2 = repIndex2 < prefixStartIndex ? dictBase + repIndex2 : base + repInde… in ZSTD_compressBlock_fast_extDict_generic()
456 …if ( (((U32)((prefixStartIndex-1) - repIndex2) >= 3) & (repIndex2 > dictStartIndex)) /* intention… in ZSTD_compressBlock_fast_extDict_generic()
458 const BYTE* const repEnd2 = repIndex2 < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()