Home
last modified time | relevance | path

Searched refs:MINMATCH (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4_zfs.c326 #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 Dlz4.c213 #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 Dlz4.c312 #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 Dzstd_internal.h99 #define MINMATCH 3 macro
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h98 #define MINMATCH 3 macro
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress_superblock.c455 inSize = sp[0].litLength + (sp[0].mlBase+MINMATCH); in sizeBlockSequences()
461 inSize += sp[n].litLength + (sp[n].mlBase+MINMATCH); in sizeBlockSequences()
H A Dzstd_compress_internal.h130 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 Dzstd_compress_sequences.c342 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
H A Dzstd_opt.c331 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 Dzstd_compress.c3454 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 Dzstd_lazy.c231 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 Dzstd_compress_superblock.c456 inSize = sp[0].litLength + (sp[0].mlBase+MINMATCH); in sizeBlockSequences()
462 inSize += sp[n].litLength + (sp[n].mlBase+MINMATCH); in sizeBlockSequences()
H A Dzstd_compress_internal.h131 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 Dzstd_compress_sequences.c343 (unsigned)sequences[n].mlBase + MINMATCH, in ZSTD_encodeSequences_body()
H A Dzstd_opt.c332 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 Dzstd_compress.c3455 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 Dzstd_lazy.c232 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBetterDictMatch()
383 if (bestLength >= MINMATCH) { in ZSTD_DUBT_findBestMatch()
/freebsd/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c1287 #define MINMATCH 4 macro
1706 matchLength += MINMATCH; in ZSTD_decodeSequence()
1781 if (endMatch > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v04.c309 #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 Dzstd_v05.c414 #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 Dzstd_v06.c435 #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 Dzstd_v03.c2298 #define MINMATCH 4 macro
2672 matchLength += MINMATCH; in ZSTD_decodeSequence()
2738 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v02.c2658 #define MINMATCH 4 macro
3032 matchLength += MINMATCH; in ZSTD_decodeSequence()
3099 if (oMatchEnd > oend-(16-MINMATCH)) in ZSTD_execSequence()
H A Dzstd_v07.c2670 #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 Darchive_read_support_format_lha.c51 #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()