Home
last modified time | relevance | path

Searched refs:repIndex (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/sys/contrib/zstd/lib/compress/
H A Dzstd_lazy.c665 { const U32 repIndex = (U32)(current+1 - offset_1); in ZSTD_compressBlock_lazy_extDict_generic() local
667 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_lazy_extDict_generic()
668 …if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */ in ZSTD_compressBlock_lazy_extDict_generic()
695 const U32 repIndex = (U32)(current - offset_1); in ZSTD_compressBlock_lazy_extDict_generic() local
697 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_lazy_extDict_generic()
698 … if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */ in ZSTD_compressBlock_lazy_extDict_generic()
725 const U32 repIndex = (U32)(current - offset_1); in ZSTD_compressBlock_lazy_extDict_generic() local
728 … if (((U32)((dictLimit-1) - repIndex) >= 3) & (repIndex > lowestIndex)) /* intentional overflow */ in ZSTD_compressBlock_lazy_extDict_generic()
769 const U32 repIndex = (U32)((ip-base) - offset_2); in ZSTD_compressBlock_lazy_extDict_generic() local
771 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_lazy_extDict_generic()
[all …]
H A Dzstd_fast.c174 const U32 repIndex = current + 1 - offset_1; /* offset_1 expected <= current +1 */ in ZSTD_compressBlock_fast_extDict_generic() local
175 const BYTE* repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_fast_extDict_generic()
176 const BYTE* repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic()
180 …if ( (((U32)((dictLimit-1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > lowestIndex… in ZSTD_compressBlock_fast_extDict_generic()
182 const BYTE* repMatchEnd = repIndex < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_fast_extDict_generic()
H A Dzstd_double_fast.c217 const U32 repIndex = current + 1 - offset_1; /* offset_1 expected <= current +1 */ in ZSTD_compressBlock_doubleFast_extDict_generic() local
218 const BYTE* repBase = repIndex < dictLimit ? dictBase : base; in ZSTD_compressBlock_doubleFast_extDict_generic()
219 const BYTE* repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic()
223 …if ( (((U32)((dictLimit-1) - repIndex) >= 3) /* intentional underflow */ & (repIndex > lowestIndex… in ZSTD_compressBlock_doubleFast_extDict_generic()
225 const BYTE* repMatchEnd = repIndex < dictLimit ? dictEnd : iend; in ZSTD_compressBlock_doubleFast_extDict_generic()
H A Dzstd_opt.c444 U32 const repIndex = current - repOffset; in ZSTD_insertBtAndGetAllMatches() local
452 const BYTE* const repMatch = dictBase + repIndex; in ZSTD_insertBtAndGetAllMatches()
456 …& (((U32)((dictLimit-1) - repIndex) >= 3) ) /* intentional overflow : do not test positions overla… in ZSTD_insertBtAndGetAllMatches()
/freebsd-12.1/sys/contrib/zstd/tests/
H A Ddecodecorpus.c671 U32 offset, offsetCode, repIndex; in generateSequences() local
709 repIndex = 2; in generateSequences()
715 repIndex = offsetCode; in generateSequences()
720 repIndex = MIN(2, offsetCode + 1); in generateSequences()
742 for (r = repIndex; r > 0; r--) { in generateSequences()
753 DISPLAYLEVEL(7, " repeat offset: %d\n", repIndex); in generateSequences()