Lines Matching refs:minMatch

250 	const U32 minMatch = (mls == 3) ? 3 : 4;  in ZSTD_insertBtAndGetAllMatches()  local
253 if (minMatch == 3) { /* HC3 match finder */ in ZSTD_insertBtAndGetAllMatches()
411 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() local
442 (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repCur, minMatch))) { in ZSTD_compressBlock_opt_generic()
443 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
457 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
462 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, ip, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_generic()
478 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic()
490 if (last_pos < minMatch) { in ZSTD_compressBlock_opt_generic()
540 best_mlen = minMatch; in ZSTD_compressBlock_opt_generic()
546 (ZSTD_readMINMATCH(inr, minMatch) == ZSTD_readMINMATCH(inr - repCur, minMatch))) { in ZSTD_compressBlock_opt_generic()
547 mlen = (U32)ZSTD_count(inr + minMatch, inr + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
576 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
708 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_extDict_generic() local
745 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic()
748 …mlen = (U32)ZSTD_count_2segments(ip + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) + in ZSTD_compressBlock_opt_extDict_generic()
765 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_extDict_generic()
770 …tAllMatches_selectMLS_extDict(ctx, ip, iend, maxSearches, mls, matches, minMatch); /* first search… in ZSTD_compressBlock_opt_extDict_generic()
792 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_extDict_generic()
807 if (last_pos < minMatch) { in ZSTD_compressBlock_opt_extDict_generic()
848 best_mlen = minMatch; in ZSTD_compressBlock_opt_extDict_generic()
858 && (ZSTD_readMINMATCH(inr, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic()
861 …mlen = (U32)ZSTD_count_2segments(inr + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) +… in ZSTD_compressBlock_opt_extDict_generic()
890 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_extDict_generic()
895 …_num = ZSTD_BtGetAllMatches_selectMLS_extDict(ctx, inr, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_extDict_generic()