Home
last modified time | relevance | path

Searched refs:prefixStartIndex (Results 1 – 2 of 2) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_fast.c203 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()
[all …]
H A Dzstd_double_fast.c631 const U32 prefixStartIndex = (dictLimit > lowLimit) ? dictLimit : lowLimit; in ZSTD_compressBlock_doubleFast_extDict_generic() local
632 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
635 const BYTE* const dictEnd = dictBase + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
641 if (prefixStartIndex == dictStartIndex) in ZSTD_compressBlock_doubleFast_extDict_generic()
648 const BYTE* const matchBase = matchIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
653 const BYTE* const matchLongBase = matchLongIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
658 const BYTE* const repBase = repIndex < prefixStartIndex ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
663 if (((ZSTD_index_overlap_check(prefixStartIndex, repIndex)) in ZSTD_compressBlock_doubleFast_extDict_generic()
666 const BYTE* repMatchEnd = repIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
672 const BYTE* const matchEnd = matchLongIndex < prefixStartIndex ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
[all …]