Home
last modified time | relevance | path

Searched refs:prefixLowestIndex (Results 1 – 3 of 3) sorted by relevance

/linux/lib/zstd/compress/
H A Dzstd_double_fast.c120 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_noDict_generic() local
121 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_doubleFast_noDict_generic()
204 …{ const BYTE* const matchl0_safe = ZSTD_selectAddr(idxl0, prefixLowestIndex, matchl0, &dummy[0]… in ZSTD_compressBlock_doubleFast_noDict_generic()
218 matchs0_safe = ZSTD_selectAddr(idxs0, prefixLowestIndex, matchs0, &dummy[0]); in ZSTD_compressBlock_doubleFast_noDict_generic()
261 if ((idxl1 > prefixLowestIndex) && (MEM_read64(matchl1) == MEM_read64(ip1))) { in ZSTD_compressBlock_doubleFast_noDict_generic()
345 const U32 prefixLowestIndex = ZSTD_getLowestPrefixIndex(ms, endIndex, cParams->windowLog); in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local
346 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
359 const U32 dictIndexDelta = prefixLowestIndex - (U32)(dictEnd - dictBase); in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
402 const BYTE* repMatch = (repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
408 if ((ZSTD_index_overlap_check(prefixLowestIndex, repIndex)) in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
[all …]
H A Dzstd_lazy.c1530 const U32 prefixLowestIndex = ms->window.dictLimit; in ZSTD_compressBlock_lazy_generic() local
1531 const BYTE* const prefixLowest = base + prefixLowestIndex; in ZSTD_compressBlock_lazy_generic()
1547 prefixLowestIndex - (U32)(dictEnd - dictBase) : in ZSTD_compressBlock_lazy_generic()
1591 && repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_lazy_generic()
1594 if ((ZSTD_index_overlap_check(prefixLowestIndex, repIndex)) in ZSTD_compressBlock_lazy_generic()
1596 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()
1643 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()
1646 if ((ZSTD_index_overlap_check(prefixLowestIndex, repIndex)) in ZSTD_compressBlock_lazy_generic()
1648 const BYTE* repMatchEnd = repIndex < prefixLowestIndex ? dictEnd : iend; in ZSTD_compressBlock_lazy_generic()
1679 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic()
[all …]
H A Dzstd_compress_internal.h1421 MEM_STATIC int ZSTD_index_overlap_check(const U32 prefixLowestIndex, const U32 repIndex) { in ZSTD_index_overlap_check() argument
1422 return ((U32)((prefixLowestIndex-1) - repIndex) >= 3); in ZSTD_index_overlap_check()