Lines Matching refs:best_mlen

441 		U32 u, mlen, best_mlen, best_off, litLength;  in ZSTD_compressBlock_opt_generic()  local
455 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
480 best_mlen = matches[match_num - 1].len; in ZSTD_compressBlock_opt_generic()
488 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_generic()
490 mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; in ZSTD_compressBlock_opt_generic()
491 best_mlen = matches[u].len; in ZSTD_compressBlock_opt_generic()
492 while (mlen <= best_mlen) { in ZSTD_compressBlock_opt_generic()
550 best_mlen = minMatch; in ZSTD_compressBlock_opt_generic()
560 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
567 if (mlen > best_mlen) in ZSTD_compressBlock_opt_generic()
568 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
591 match_num = ZSTD_BtGetAllMatches_selectMLS(ctx, inr, iend, maxSearches, mls, matches, best_mlen); in ZSTD_compressBlock_opt_generic()
594 best_mlen = matches[match_num - 1].len; in ZSTD_compressBlock_opt_generic()
602 mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; in ZSTD_compressBlock_opt_generic()
603 best_mlen = matches[u].len; in ZSTD_compressBlock_opt_generic()
605 while (mlen <= best_mlen) { in ZSTD_compressBlock_opt_generic()
626 best_mlen = opt[last_pos].mlen; in ZSTD_compressBlock_opt_generic()
628 cur = last_pos - best_mlen; in ZSTD_compressBlock_opt_generic()
637 opt[cur].mlen = best_mlen; in ZSTD_compressBlock_opt_generic()
639 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
739 U32 u, mlen, best_mlen, best_off, litLength; in ZSTD_compressBlock_opt_extDict_generic() local
761 best_mlen = mlen; in ZSTD_compressBlock_opt_extDict_generic()
795 best_mlen = matches[match_num - 1].len; in ZSTD_compressBlock_opt_extDict_generic()
802 best_mlen = (last_pos) ? last_pos : minMatch; in ZSTD_compressBlock_opt_extDict_generic()
806 mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; in ZSTD_compressBlock_opt_extDict_generic()
807 best_mlen = matches[u].len; in ZSTD_compressBlock_opt_extDict_generic()
809 while (mlen <= best_mlen) { in ZSTD_compressBlock_opt_extDict_generic()
858 best_mlen = minMatch; in ZSTD_compressBlock_opt_extDict_generic()
874 best_mlen = mlen; in ZSTD_compressBlock_opt_extDict_generic()
881 if (mlen > best_mlen) in ZSTD_compressBlock_opt_extDict_generic()
882 best_mlen = mlen; in ZSTD_compressBlock_opt_extDict_generic()
908 best_mlen = matches[match_num - 1].len; in ZSTD_compressBlock_opt_extDict_generic()
916 mlen = (u > 0) ? matches[u - 1].len + 1 : best_mlen; in ZSTD_compressBlock_opt_extDict_generic()
917 best_mlen = matches[u].len; in ZSTD_compressBlock_opt_extDict_generic()
919 while (mlen <= best_mlen) { in ZSTD_compressBlock_opt_extDict_generic()
940 best_mlen = opt[last_pos].mlen; in ZSTD_compressBlock_opt_extDict_generic()
942 cur = last_pos - best_mlen; in ZSTD_compressBlock_opt_extDict_generic()
951 opt[cur].mlen = best_mlen; in ZSTD_compressBlock_opt_extDict_generic()
953 best_mlen = mlen; in ZSTD_compressBlock_opt_extDict_generic()