Lines Matching refs:LINENUM

92 LINENUM		input_lines = 0;	/* how long is input file in lines */
98 static LINENUM locate_hunk(LINENUM);
100 static void rej_line(int, LINENUM);
102 static void apply_hunk(LINENUM);
105 static void copy_till(LINENUM, bool);
107 static void dump_line(LINENUM, bool);
108 static bool patch_match(LINENUM, LINENUM, LINENUM);
125 static LINENUM last_frozen_line = 0;
136 static LINENUM last_offset = 0;
137 static LINENUM maxfuzz = 2;
157 LINENUM where = 0, newwhere, fuzz, mymaxfuzz; in main()
653 static LINENUM
654 locate_hunk(LINENUM fuzz) in locate_hunk()
656 LINENUM first_guess = pch_first() + last_offset; in locate_hunk()
657 LINENUM offset; in locate_hunk()
658 LINENUM pat_lines = pch_ptrn_lines(); in locate_hunk()
659 LINENUM max_pos_offset = input_lines - first_guess - pat_lines + 1; in locate_hunk()
660 LINENUM max_neg_offset = first_guess - last_frozen_line - 1 + pch_context(); in locate_hunk()
704 LINENUM i; in abort_context_hunk()
705 const LINENUM pat_end = pch_end(); in abort_context_hunk()
710 const LINENUM oldfirst = pch_first() + last_offset; in abort_context_hunk()
711 const LINENUM newfirst = pch_newfirst() + last_offset; in abort_context_hunk()
712 const LINENUM oldlast = oldfirst + pch_ptrn_lines() - 1; in abort_context_hunk()
713 const LINENUM newlast = newfirst + pch_repl_lines() - 1; in abort_context_hunk()
754 rej_line(int ch, LINENUM i) in rej_line()
769 LINENUM i, j, split; in abort_hunk()
771 const LINENUM pat_end = pch_end(); in abort_hunk()
772 const LINENUM oldfirst = pch_first() + last_offset; in abort_hunk()
773 const LINENUM newfirst = pch_newfirst() + last_offset; in abort_hunk()
834 apply_hunk(LINENUM where) in apply_hunk()
836 LINENUM old = 1; in apply_hunk()
837 const LINENUM lastline = pch_ptrn_lines(); in apply_hunk()
838 LINENUM new = lastline + 1; in apply_hunk()
844 const LINENUM pat_end = pch_end(); in apply_hunk()
970 copy_till(LINENUM lastline, bool endoffile) in copy_till()
1005 dump_line(LINENUM line, bool write_newline) in dump_line()
1023 patch_match(LINENUM base, LINENUM offset, LINENUM fuzz) in patch_match()
1025 LINENUM pline = 1 + fuzz; in patch_match()
1026 LINENUM iline; in patch_match()
1027 LINENUM pat_lines = pch_ptrn_lines() - fuzz; in patch_match()