Lines Matching refs:fuzz

69   /* The fuzz factor used when matching this hunk, i.e. how many
1564 svn_diff_hunk_t *hunk, svn_linenum_t fuzz,
1587 if (fuzz_penalty > fuzz)
1590 fuzz -= fuzz_penalty;
1640 if ((lines_read <= fuzz && leading_context > fuzz) ||
1641 (lines_read > hunk_length - fuzz && trailing_context > fuzz))
1670 * up to but not including the specified UPPER_LINE. Use fuzz factor FUZZ.
1687 svn_linenum_t upper_line, svn_linenum_t fuzz,
1707 SVN_ERR(match_hunk(&matched, content, hunk, fuzz, ignore_whitespace,
1812 * RESULT_POOL. Use fuzz factor FUZZ. Set HI->FUZZ to FUZZ. If no correct
1825 svn_diff_hunk_t *hunk, svn_linenum_t fuzz,
1844 if (original_start == 0 && fuzz > 0)
1846 matched_line = 0; /* reject any fuzz for new files */
1927 original_start + 1, fuzz,
1936 * for already applied patches with offset/fuzz, because such a
1938 if (fuzz == 0)
1961 fuzz, ignore_whitespace, TRUE,
2003 original_start, fuzz,
2016 TRUE, search_end, fuzz, ignore_whitespace,
2045 search_start - 1, fuzz,
2055 && fuzz == 0
2070 fuzz, ignore_whitespace, TRUE,
2098 (*hi)->report_fuzz = fuzz;
2099 (*hi)->match_fuzz = fuzz - svn_diff_hunk__get_fuzz_penalty(hunk);
2221 svn_linenum_t fuzz = hi->match_fuzz;
2230 * Also copy leading lines of context which matched with fuzz.
2233 SVN_ERR(copy_lines_to_target(content, hi->matched_line + fuzz,
2237 * Don't skip trailing lines which matched with fuzz. */
2239 svn_diff_hunk_get_original_length(hi->hunk) - (2 * fuzz);
2251 * Don't write the lines which matched with fuzz. */
2266 if (lines_read > fuzz &&
2267 lines_read <= svn_diff_hunk_get_modified_length(hi->hunk) - fuzz)
2563 svn_linenum_t fuzz = 0;
2573 * If no match is found initially, try with fuzz. */
2576 SVN_ERR(get_hunk_info(&hi, target, target->content, hunk, fuzz,
2582 fuzz++;
2584 while (hi->rejected && fuzz <= MAX_FUZZ && ! hi->already_applied);
2655 the patch... So we can write the result stream; no fuzz,
2768 svn_linenum_t fuzz = 0;
2778 * If no match is found initially, try with fuzz. */
2782 hunk, fuzz, 0,
2787 fuzz++;
2789 while (hi->rejected && fuzz <= MAX_FUZZ && ! hi->already_applied);
2823 hunk, 0 /* fuzz */, 0 /* previous_offset */,
2865 hunk, 0 /* fuzz */, 0 /* previous_offset */,