Searched refs:prefixStartIndex (Results 1 – 2 of 2) sorted by relevance
64 const U32 prefixStartIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_fast_generic() local65 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() local221 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()[all …]
377 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local378 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()381 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()387 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_doubleFast_extDict_generic()394 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()399 const BYTE* const matchLongBase = matchLongIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()404 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()409 …if ((((U32)((prefixStartIndex-1) - repIndex) >= 3) /* intentional underflow : ensure repIndex does… in ZSTD_compressBlock_doubleFast_extDict_generic()412 const BYTE* repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()418 const BYTE* const matchEnd = matchLongIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()[all …]