Searched refs:MINMATCH (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/lib/lz4/ |
D | lz4hc_compress.c | 47 #define OPTIMAL_ML (int)((ML_MASK - 1) + MINMATCH) 50 >> ((MINMATCH*8) - LZ4HC_HASH_LOG)) 130 size_t const mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch() 131 match + MINMATCH, iLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 148 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch() 149 match + MINMATCH, vLimit) + MINMATCH; in LZ4HC_InsertAndFindBestMatch() 204 int mlt = MINMATCH + LZ4_count( in LZ4HC_InsertAndGetWiderMatch() 205 ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 206 matchPtr + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() 235 mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndGetWiderMatch() [all …]
|
D | lz4_compress.c | 54 >> ((MINMATCH * 8) - (LZ4_HASHLOG + 1))); in LZ4_hash4() 57 >> ((MINMATCH * 8) - LZ4_HASHLOG)); in LZ4_hash4() 348 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 349 match + MINMATCH, limit); in LZ4_compress_generic() 351 ip += MINMATCH + matchCode; in LZ4_compress_generic() 362 matchCode = LZ4_count(ip + MINMATCH, in LZ4_compress_generic() 363 match + MINMATCH, matchlimit); in LZ4_compress_generic() 364 ip += MINMATCH + matchCode; in LZ4_compress_generic() 641 size_t matchLength = LZ4_count(ip + MINMATCH, in LZ4_compress_destSize_generic() 642 match + MINMATCH, matchlimit); in LZ4_compress_destSize_generic() [all …]
|
D | lz4defs.h | 73 #define MINMATCH 4 macro 77 #define MFLIMIT (WILDCOPYLENGTH + MINMATCH)
|
D | lz4_decompress.c | 230 length += MINMATCH; in LZ4_decompress_generic()
|
/linux-4.19.296/lib/zstd/ |
D | zstd_opt.h | 274 if (ZSTD_readMINMATCH(match, MINMATCH) == in ZSTD_insertBtAndGetAllMatches() 275 …ZSTD_readMINMATCH(ip, MINMATCH)) /* assumption : matchIndex3 <= dictLimit-4 (by table construction… in ZSTD_insertBtAndGetAllMatches() 276 …currMl = ZSTD_count_2segments(ip + MINMATCH, match + MINMATCH, iLimit, dictEnd, prefixStart) + MIN… in ZSTD_insertBtAndGetAllMatches() 463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 493 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 575 best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 577 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 580 … price = opt[cur].price + ZSTD_getPrice(seqStorePtr, 0, NULL, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 610 matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 612 … price = ZSTD_getPrice(seqStorePtr, litlen, anchor, matches[u].off - 1, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() [all …]
|
D | compress.c | 1046 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic() 1063 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH); in ZSTD_compressBlock_fast_generic() 1084 ZSTD_storeSeq(seqStorePtr, 0, anchor, 0, rLength - MINMATCH); in ZSTD_compressBlock_fast_generic() 1153 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 1172 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 1197 ZSTD_storeSeq(seqStorePtr, 0, anchor, 0, repLength2 - MINMATCH); in ZSTD_compressBlock_fast_extDict_generic() 1297 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 1339 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, offset + ZSTD_REP_MOVE, mLength - MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 1363 ZSTD_storeSeq(seqStorePtr, 0, anchor, 0, rLength - MINMATCH); in ZSTD_compressBlock_doubleFast_generic() 1440 ZSTD_storeSeq(seqStorePtr, ip - anchor, anchor, 0, mLength - MINMATCH); in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
D | zstd_internal.h | 97 #define MINMATCH 3 macro
|
D | decompress.c | 1050 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTD_execSequence() 1079 if (oMatchEnd > oend - (16 - MINMATCH)) { in ZSTD_execSequence() 1305 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTD_execSequenceLong() 1334 if (oMatchEnd > oend - (16 - MINMATCH)) { in ZSTD_execSequenceLong()
|