/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_lazy.c | 698 const BYTE* repMatch = (dictMode == ZSTD_dictMatchState in ZSTD_compressBlock_lazy_generic() local 703 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_lazy_generic() 705 … matchLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 741 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 745 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 747 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 776 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 780 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 782 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 832 const BYTE* repMatch = dictMode == ZSTD_dictMatchState in ZSTD_compressBlock_lazy_generic() local [all …]
|
H A D | zstd_fast.c | 101 BYTE const* repMatch = ip2 - offset_1; in ZSTD_compressBlock_fast_generic() local 115 if ((offset_1 > 0) & (MEM_read32(repMatch) == MEM_read32(ip2))) { in ZSTD_compressBlock_fast_generic() 116 mLength = (ip2[-1] == repMatch[-1]) ? 1 : 0; in ZSTD_compressBlock_fast_generic() 118 match0 = repMatch - mLength; in ZSTD_compressBlock_fast_generic() 265 const BYTE* repMatch = (repIndex < prefixStartIndex) ? in ZSTD_compressBlock_fast_dictMatchState_generic() local 271 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_fast_dictMatchState_generic() 273 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic() 416 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_fast_extDict_generic() local 422 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_fast_extDict_generic() 424 …size_t const rLength = ZSTD_count_2segments(ip+1 +4, repMatch +4, iend, repMatchEnd, prefixStart) … in ZSTD_compressBlock_fast_extDict_generic()
|
H A D | zstd_double_fast.c | 138 const BYTE* repMatch = (dictMode == ZSTD_dictMatchState in ZSTD_compressBlock_doubleFast_generic() local 147 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_generic() 149 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_doubleFast_generic() 407 const BYTE* const repMatch = repBase + repIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local 413 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_doubleFast_extDict_generic() 415 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 | 579 const BYTE* const repMatch = dictMode == ZSTD_dictMatchState ? in ZSTD_insertBtAndGetAllMatches() local 586 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 587 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) +… in ZSTD_insertBtAndGetAllMatches() 592 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch)) ) { in ZSTD_insertBtAndGetAllMatches() 593 …repLen = (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + … in ZSTD_insertBtAndGetAllMatches()
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_lazy.c | 1549 … const BYTE* repMatch = ((dictMode == ZSTD_dictMatchState || dictMode == ZSTD_dedicatedDictSearch) in ZSTD_compressBlock_lazy_generic() local 1554 && (MEM_read32(repMatch) == MEM_read32(ip+1)) ) { in ZSTD_compressBlock_lazy_generic() 1556 … matchLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1593 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 1597 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 1599 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1629 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_generic() local 1633 && (MEM_read32(repMatch) == MEM_read32(ip)) ) { in ZSTD_compressBlock_lazy_generic() 1635 … size_t const mlRep = ZSTD_count_2segments(ip+4, repMatch+4, iend, repMatchEnd, prefixLowest) + 4; in ZSTD_compressBlock_lazy_generic() 1684 const BYTE* repMatch = repIndex < prefixLowestIndex ? in ZSTD_compressBlock_lazy_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) … 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) +… 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) + … in ZSTD_insertBtAndGetAllMatches()
|