Lines Matching refs:p_first
55 static LINENUM p_first; /* 1st line number */ variable
93 p_first = 0; in re_patch()
603 p_first = getskiplinenum(&s); in another_hunk()
609 p_ptrn_lines = (getlinenum(s)) - p_first + 1; in another_hunk()
612 } else if (p_first) in another_hunk()
616 p_first = 1; in another_hunk()
618 if (p_first >= LINENUM_MAX - p_ptrn_lines || in another_hunk()
821 p_first++; /* do append rather than insert */ in another_hunk()
826 (fillcnt || (p_first > 1 && ptrn_copiable > 2 * p_context))) { in another_hunk()
884 p_first = getskiplinenum(&s); in another_hunk()
890 if (p_first >= LINENUM_MAX - p_ptrn_lines) in another_hunk()
906 if (p_first >= LINENUM_MAX - p_ptrn_lines || in another_hunk()
911 p_first++; /* do append rather than insert */ in another_hunk()
918 snprintf(buf, bufsz, "*** %ld,%ld ****\n", p_first, in another_hunk()
919 p_first + p_ptrn_lines - 1); in another_hunk()
1050 p_first = getskiplinenum(&s); in another_hunk()
1053 p_ptrn_lines = getskiplinenum(&s) - p_first + 1; in another_hunk()
1056 if (p_first >= LINENUM_MAX - p_ptrn_lines) in another_hunk()
1060 p_first++; /* do append rather than insert */ in another_hunk()
1082 snprintf(buf, bufsz, "*** %ld,%ld\n", p_first, in another_hunk()
1083 p_first + p_ptrn_lines - 1); in another_hunk()
1217 i = p_first; in pch_swap()
1218 p_first = p_newfirst; in pch_swap()
1316 return p_first; in pch_first()