| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | lz4_zfs.c | 319 #define MINMATCH 4 macro 330 #define MFLIMIT (COPYLENGTH + MINMATCH) 383 #define LZ4_HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH * 8) - \ 565 ip += MINMATCH; in LZ4_compressCtx() 566 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx() 663 #define LZ4_HASH64K_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8) - \ 753 ip += MINMATCH; in LZ4_compress64kCtx() 754 ref += MINMATCH; /* MinMatch verified */ in LZ4_compress64kCtx()
|
| H A D | lz4.c | 213 #define MINMATCH 4 macro 218 #define MATCH_SAFEGUARD_DISTANCE ((2*WILDCOPYLENGTH) - MINMATCH) /* ensure it's possible to writ… 427 assert(dstEnd >= dstPtr + MINMATCH); in LZ4_memcpy_using_offset() 650 length += MINMATCH; in LZ4_decompress_generic() 655 length += MINMATCH; in LZ4_decompress_generic() 759 op += length + MINMATCH; in LZ4_decompress_generic() 861 length += MINMATCH; in LZ4_decompress_generic()
|
| /src/sys/cddl/contrib/opensolaris/common/lz4/ |
| H A D | lz4.c | 312 #define MINMATCH 4 macro 328 #define MFLIMIT (COPYLENGTH + MINMATCH) 381 #define LZ4_HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH * 8) - \ 564 ip += MINMATCH; in LZ4_compressCtx() 565 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx() 662 #define LZ4_HASH64K_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8) - \ 757 ip += MINMATCH; in LZ4_compress64kCtx() 758 ref += MINMATCH; /* MinMatch verified */ in LZ4_compress64kCtx()
|
| /src/sys/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 103 #define MINMATCH 3 macro 331 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength()
|
| /src/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | zstd_internal.h | 99 #define MINMATCH 3 macro
|
| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_superblock.c | 456 inSize = sp[0].litLength + (sp[0].mlBase+MINMATCH); in sizeBlockSequences() 462 inSize += sp[n].litLength + (sp[n].mlBase+MINMATCH); in sizeBlockSequences()
|
| H A D | zstd_compress_internal.h | 131 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength() 757 assert(matchLength >= MINMATCH); in ZSTD_storeSeqOnly() 758 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeqOnly()
|
| H A D | zstd_compress_sequences.c | 343 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
| H A D | zstd_opt.c | 332 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 333 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 383 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats()
|
| H A D | zstd_compress.c | 3455 outSeqs[i].matchLength = inSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3992 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 7144 ZSTD_REP_NUM, 0, -MINMATCH, 0, /* for sequence i */ in convertSequences_noRepcodes() 7145 ZSTD_REP_NUM, 0, -MINMATCH, 0 /* for sequence i+1 */ in convertSequences_noRepcodes() 7240 if (inSeqs[i].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7248 if (inSeqs[i+1].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7265 dstSeqs[i].mlBase = (U16)(inSeqs[i].matchLength - MINMATCH); in convertSequences_noRepcodes() 7267 if (UNLIKELY(inSeqs[i].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes() 7296 dstSeqs[n].mlBase = (U16)(inSeqs[n].matchLength - MINMATCH); in convertSequences_noRepcodes() 7298 if (UNLIKELY(inSeqs[n].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes()
|
| H A D | zstd_lazy.c | 232 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 383 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|
| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_opt.c | 305 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 306 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 355 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats() 969 || candidateMatchLength < MINMATCH) { in ZSTD_optLdm_maybeAddMatch()
|
| H A D | zstd_compress_sequences.c | 342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
| H A D | zstd_compress_internal.h | 646 assert(matchLength >= MINMATCH); in ZSTD_storeSeq() 647 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeq()
|
| H A D | zstd_lazy.c | 220 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 370 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|
| H A D | zstd_compress.c | 2915 outSeqs[i].matchLength = seqStoreSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3388 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 5774 RETURN_ERROR_IF(matchLength < MINMATCH, corruption_detected, "Matchlength too small"); in ZSTD_validateSequence()
|
| /src/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 1325 #define MINMATCH 4 macro 1744 matchLength += MINMATCH; in ZSTD_decodeSequence() 1813 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v04.c | 365 #define MINMATCH 4 macro 2855 matchLength += MINMATCH; in ZSTD_decodeSequence() 2908 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTD_execSequence() 2932 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v06.c | 491 #define MINMATCH 3 macro 3346 …seq->matchLength = ML_base[mlCode] + MINMATCH + ((mlCode>31) ? BITv06_readBits(&(seqState->DStream… in ZSTDv06_decodeSequence() 3398 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv06_execSequence() 3423 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
|
| H A D | zstd_v05.c | 466 #define MINMATCH 4 macro 3204 matchLength += MINMATCH; in ZSTDv05_decodeSequence() 3264 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv05_execSequence() 3287 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
|
| H A D | zstd_v03.c | 2360 #define MINMATCH 4 macro 2734 matchLength += MINMATCH; in ZSTD_decodeSequence() 2794 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v02.c | 2719 #define MINMATCH 4 macro 3093 matchLength += MINMATCH; in ZSTD_decodeSequence() 3153 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v07.c | 2725 #define MINMATCH 3 macro 3625 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence() 3650 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
|
| /src/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_lha.c | 51 #define MINMATCH 3 /* Minimum match length. */ macro 62 #define LT_BITLEN_SIZE (UCHAR_MAX + 1 + MAXMATCH - MINMATCH + 1) 2395 copy_len = c - (UCHAR_MAX + 1) + MINMATCH; in lzh_decode_blocks()
|