/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_lazy.c | 1547 const BYTE* repMatch = ((dictMode == ZSTD_dictMatchState || dictMode == ZSTD_dedicatedDictSearch) in ZSTD_compressBlock_lazy_generic() local 1552 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_lazy_generic() 1554 matchLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1591 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 1595 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 1597 size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1627 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 1631 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 1633 size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1682 const BYTE* repMatch in ZSTD_compressBlock_lazy_generic() local 1914 const BYTE* const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local 1946 const BYTE* const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local 1978 const BYTE* const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local 2025 const BYTE* const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local [all...] |
H A D | zstd_fast.c | 432 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic() local 438 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_fast_dictMatchState_generic() 440 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic() 591 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic() local 597 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_fast_extDict_generic() 599 size_t const rLength = ZSTD_count_2segments(ip+1 +4, repMatch +4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_extDict_generic()
|
H A D | zstd_double_fast.c | 320 const BYTE* repMatch = (repIndex < prefixLowestIndex) ? in ZSTD_compressBlock_doubleFast_dictMatchState_generic() local 327 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 329 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 578 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 584 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic() 586 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic()
|
H A D | zstd_opt.c | 626 const BYTE* const repMatch = dictMode == ZSTD_dictMatchState ? in ZSTD_insertBtAndGetAllMatches() local 633 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 634 repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches() 639 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 640 repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches()
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 1144 const BYTE *repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic() local 1149 (ZSTD_read32(repMatch) == ZSTD_read32(ip + 1))) { in ZSTD_compressBlock_fast_extDict_generic() 1151 mLength = ZSTD_count_2segments(ip + 1 + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repMatchEnd, lowPrefixPtr) + EQUAL_READ32; in ZSTD_compressBlock_fast_extDict_generic() 1431 const BYTE *repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 1436 (ZSTD_read32(repMatch) == ZSTD_read32(ip + 1))) { in ZSTD_compressBlock_doubleFast_extDict_generic() 1438 mLength = ZSTD_count_2segments(ip + 1 + 4, repMatch + 4, iend, repMatchEnd, lowPrefixPtr) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic() 2097 const BYTE *const repMatch = repBase + repIndex; in ZSTD_compressBlock_lazy_extDict_generic() local 2099 if (ZSTD_read32(ip + 1) == ZSTD_read32(repMatch)) { in ZSTD_compressBlock_lazy_extDict_generic() 2103 ZSTD_count_2segments(ip + 1 + EQUAL_READ32, repMatch + EQUAL_READ32, iend, repEnd, prefixStart) + EQUAL_READ32; in ZSTD_compressBlock_lazy_extDict_generic() 2131 const BYTE *const repMatch in ZSTD_compressBlock_lazy_extDict_generic() local 2166 const BYTE *const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local 2221 const BYTE *const repMatch = repBase + repIndex; ZSTD_compressBlock_lazy_extDict_generic() local [all...] |
H A D | zstd_opt.h | 752 const BYTE *const repMatch = repBase + repIndex; in ZSTD_compressBlock_opt_extDict_generic() 755 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic() 758 mlen = (U32)ZSTD_count_2segments(ip + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) + minMatch; in ZSTD_compressBlock_opt_extDict_generic() 865 const BYTE *const repMatch = repBase + repIndex; in ZSTD_compressBlock_opt_extDict_generic() 868 && (ZSTD_readMINMATCH(inr, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic() 871 mlen = (U32)ZSTD_count_2segments(inr + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) + minMatch; in ZSTD_compressBlock_opt_extDict_generic()
|