Lines Matching refs:minMatch

260 	const U32 minMatch = (mls == 3) ? 3 : 4;  in ZSTD_insertBtAndGetAllMatches()  local
263 if (minMatch == 3) { /* HC3 match finder */ in ZSTD_insertBtAndGetAllMatches()
421 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_generic() local
452 (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(ip - repCur, minMatch))) { in ZSTD_compressBlock_opt_generic()
453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
467 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
472 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, ip, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_generic()
488 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic()
500 if (last_pos < minMatch) { in ZSTD_compressBlock_opt_generic()
550 best_mlen = minMatch; in ZSTD_compressBlock_opt_generic()
556 (ZSTD_readMINMATCH(inr, minMatch) == ZSTD_readMINMATCH(inr - repCur, minMatch))) { in ZSTD_compressBlock_opt_generic()
557 mlen = (U32)ZSTD_count(inr + minMatch, inr + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
586 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
718 const U32 minMatch = (ctx->params.cParams.searchLength == 3) ? 3 : 4; in ZSTD_compressBlock_opt_extDict_generic() local
755 && (ZSTD_readMINMATCH(ip, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic()
758 …mlen = (U32)ZSTD_count_2segments(ip + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) + in ZSTD_compressBlock_opt_extDict_generic()
775 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_extDict_generic()
780 …tAllMatches_selectMLS_extDict(ctx, ip, iend, maxSearches, mls, matches, minMatch); /* first search… in ZSTD_compressBlock_opt_extDict_generic()
802 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_extDict_generic()
817 if (last_pos < minMatch) { in ZSTD_compressBlock_opt_extDict_generic()
858 best_mlen = minMatch; in ZSTD_compressBlock_opt_extDict_generic()
868 && (ZSTD_readMINMATCH(inr, minMatch) == ZSTD_readMINMATCH(repMatch, minMatch))) { in ZSTD_compressBlock_opt_extDict_generic()
871 …mlen = (U32)ZSTD_count_2segments(inr + minMatch, repMatch + minMatch, iend, repEnd, prefixStart) +… in ZSTD_compressBlock_opt_extDict_generic()
900 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_extDict_generic()
905 …_num = ZSTD_BtGetAllMatches_selectMLS_extDict(ctx, inr, iend, maxSearches, mls, matches, minMatch); in ZSTD_compressBlock_opt_extDict_generic()