| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | lz4_zfs.c | 326 #define MINMATCH 4 macro 337 #define MFLIMIT (COPYLENGTH + MINMATCH) 390 #define LZ4_HASH_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH * 8) - \ 572 ip += MINMATCH; in LZ4_compressCtx() 573 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx() 670 #define LZ4_HASH64K_FUNCTION(i) (((i) * 2654435761U) >> ((MINMATCH*8) - \ 760 ip += MINMATCH; in LZ4_compress64kCtx() 761 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()
|
| /freebsd/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()
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | zstd_internal.h | 99 #define MINMATCH 3 macro
|
| /freebsd/sys/contrib/zstd/lib/common/ |
| H A D | zstd_internal.h | 98 #define MINMATCH 3 macro
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_superblock.c | 455 inSize = sp[0].litLength + (sp[0].mlBase+MINMATCH); in sizeBlockSequences() 461 inSize += sp[n].litLength + (sp[n].mlBase+MINMATCH); in sizeBlockSequences()
|
| H A D | zstd_compress_internal.h | 130 seqLen.matchLength = seq->mlBase + MINMATCH; in ZSTD_getSequenceLength() 756 assert(matchLength >= MINMATCH); in ZSTD_storeSeqOnly() 757 { size_t const mlBase = matchLength - MINMATCH; in ZSTD_storeSeqOnly()
|
| H A D | zstd_compress_sequences.c | 342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
|
| H A D | zstd_opt.c | 331 U32 const mlBase = matchLength - MINMATCH; in ZSTD_getMatchPrice() 332 assert(matchLength >= MINMATCH); in ZSTD_getMatchPrice() 382 { U32 const mlBase = matchLength - MINMATCH; in ZSTD_updateStats()
|
| H A D | zstd_compress.c | 3454 outSeqs[i].matchLength = inSeqs[i].mlBase + MINMATCH; in ZSTD_copyBlockSequences() 3991 matchBytes += seq.mlBase + MINMATCH; in ZSTD_countSeqStoreMatchBytes() 7143 ZSTD_REP_NUM, 0, -MINMATCH, 0, /* for sequence i */ in convertSequences_noRepcodes() 7144 ZSTD_REP_NUM, 0, -MINMATCH, 0 /* for sequence i+1 */ in convertSequences_noRepcodes() 7239 if (inSeqs[i].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7247 if (inSeqs[i+1].matchLength > 65535+MINMATCH) { in convertSequences_noRepcodes() 7264 dstSeqs[i].mlBase = (U16)(inSeqs[i].matchLength - MINMATCH); in convertSequences_noRepcodes() 7266 if (UNLIKELY(inSeqs[i].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes() 7295 dstSeqs[n].mlBase = (U16)(inSeqs[n].matchLength - MINMATCH); in convertSequences_noRepcodes() 7297 if (UNLIKELY(inSeqs[n].matchLength > 65535+MINMATCH)) { in convertSequences_noRepcodes()
|
| H A D | zstd_lazy.c | 231 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch() 382 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
|
| /freebsd/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()
|
| /freebsd/sys/contrib/zstd/lib/legacy/ |
| H A D | zstd_v01.c | 1287 #define MINMATCH 4 macro 1706 matchLength += MINMATCH; in ZSTD_decodeSequence() 1781 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v04.c | 309 #define MINMATCH 4 macro 2799 matchLength += MINMATCH; in ZSTD_decodeSequence() 2858 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTD_execSequence() 2882 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v05.c | 414 #define MINMATCH 4 macro 3152 matchLength += MINMATCH; in ZSTDv05_decodeSequence() 3218 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv05_execSequence() 3241 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv05_execSequence()
|
| H A D | zstd_v06.c | 435 #define MINMATCH 3 macro 3290 …seq->matchLength = ML_base[mlCode] + MINMATCH + ((mlCode>31) ? BITv06_readBits(&(seqState->DStream… in ZSTDv06_decodeSequence() 3348 if (op > oend_8 || sequence.matchLength < MINMATCH) { in ZSTDv06_execSequence() 3373 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv06_execSequence()
|
| H A D | zstd_v03.c | 2298 #define MINMATCH 4 macro 2672 matchLength += MINMATCH; in ZSTD_decodeSequence() 2738 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v02.c | 2658 #define MINMATCH 4 macro 3032 matchLength += MINMATCH; in ZSTD_decodeSequence() 3099 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
|
| H A D | zstd_v07.c | 2670 #define MINMATCH 3 macro 3573 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTDv07_execSequence() 3598 if (oMatchEnd > oend-(16-MINMATCH)) { in ZSTDv07_execSequence()
|
| /freebsd/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) 2402 copy_len = c - (UCHAR_MAX + 1) + MINMATCH; in lzh_decode_blocks()
|