Lines Matching defs:mf
273 helper1(lzma_coder *restrict coder, lzma_mf *restrict mf,
277 const uint32_t nice_len = mf->nice_len;
282 if (mf->read_ahead == 0) {
283 len_main = mf_find(mf, &matches_count, coder->matches);
285 assert(mf->read_ahead == 1);
290 const uint32_t buf_avail = my_min(mf_avail(mf) + 1, MATCH_LEN_MAX);
297 const uint8_t *const buf = mf_ptr(mf) - 1;
323 mf_skip(mf, *len_res - 1);
332 mf_skip(mf, len_main - 1);
814 lzma_lzma_optimum_normal(lzma_coder *restrict coder, lzma_mf *restrict mf,
820 assert(mf->read_ahead > 0);
832 if (mf->read_ahead == 0) {
844 uint32_t len_end = helper1(coder, mf, back_res, len_res, position);
856 mf, &coder->matches_count, coder->matches);
858 if (coder->longest_match_length >= mf->nice_len)
861 len_end = helper2(coder, reps, mf_ptr(mf) - 1, len_end,
862 position + cur, cur, mf->nice_len,
863 my_min(mf_avail(mf) + 1, OPTS - 1 - cur));