HomeSort by: relevance | last modified time | path
    Searched defs:first_guess (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/patch/
patch.c 656 LINENUM first_guess = pch_first() + last_offset; local in function:locate_hunk
659 LINENUM max_pos_offset = input_lines - first_guess - pat_lines + 1;
660 LINENUM max_neg_offset = first_guess - last_frozen_line - 1 + pch_context();
668 return (first_guess);
670 if (max_neg_offset >= first_guess) /* do not try lines < 0 */
671 max_neg_offset = first_guess - 1;
672 if (first_guess <= input_lines && patch_match(first_guess, 0, fuzz))
673 return first_guess;
678 if (check_after && patch_match(first_guess, offset, fuzz))
    [all...]
patch.c 656 LINENUM first_guess = pch_first() + last_offset; local in function:locate_hunk
659 LINENUM max_pos_offset = input_lines - first_guess - pat_lines + 1;
660 LINENUM max_neg_offset = first_guess - last_frozen_line - 1 + pch_context();
668 return (first_guess);
670 if (max_neg_offset >= first_guess) /* do not try lines < 0 */
671 max_neg_offset = first_guess - 1;
672 if (first_guess <= input_lines && patch_match(first_guess, 0, fuzz))
673 return first_guess;
678 if (check_after && patch_match(first_guess, offset, fuzz))
    [all...]

Completed in 61 milliseconds