/freebsd-9.3-release/contrib/cvs/diff/ |
H A D | ed.c | 34 /* Print a hunk of an ed diff */ 37 print_ed_hunk (hunk) 38 struct change *hunk; 44 hunk = flip_script (hunk); 47 debug_script (hunk); 51 analyze_hunk (hunk, &f0, &l0, &f1, &l1, &deletes, &inserts); 57 /* Print out the line number header for this hunk */ 113 pr_forward_ed_hunk (hunk) 114 struct change *hunk; [all...] |
H A D | normal.c | 33 /* Print a hunk of a normal diff. 38 print_normal_hunk (hunk) 39 struct change *hunk; 45 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts); 51 /* Print out the line number header for this hunk */
|
H A D | context.c | 133 pr_context_hunk (hunk) 134 struct change *hunk; 144 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &show_from, &show_to); 180 next = hunk; 209 next = hunk; 267 pr_unidiff_hunk (hunk) 268 struct change *hunk; 277 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &show_from, &show_to); 313 next = hunk; 352 /* We're done with this hunk, s [all...] |
H A D | ifdef.c | 57 /* Print a hunk of an ifdef diff. 62 print_ifdef_hunk (hunk) 63 struct change *hunk; 69 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
|
H A D | side.c | 245 /* Print a hunk of an sdiff diff. 250 print_sdiff_hunk (hunk) 251 struct change *hunk; 257 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
|
H A D | util.c | 578 making them a hunk, and remember the rest for next iteration. */ 585 /* Print this hunk. */ 742 /* Look at a hunk of edit script and report the range of lines in each file 743 that it applies to. HUNK is the start of the hunk, which is a chain 756 analyze_hunk (hunk, first0, last0, first1, last1, deletes, inserts) 757 struct change *hunk; 768 *first0 = hunk->line0; 769 *first1 = hunk->line1; 771 next = hunk; 817 tell the caller to ignore this hunk [all...] |
/freebsd-9.3-release/contrib/diff/src/ |
H A D | ed.c | 38 /* Print a hunk of an ed diff */ 41 print_ed_hunk (struct change *hunk) 47 debug_script (hunk); 51 changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); 57 /* Print out the line number header for this hunk */ 95 pr_forward_ed_hunk (struct change *hunk) 100 enum changes changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); 135 /* Print a hunk of an RCS diff */ argument 138 print_rcs_hunk (struct change *hunk) 144 enum changes changes = analyze_hunk (hunk, 40 print_ed_hunk(struct change *hunk) argument 93 pr_forward_ed_hunk(struct change *hunk) argument [all...] |
H A D | normal.c | 36 /* Print a hunk of a normal diff. 41 print_normal_hunk (struct change *hunk) argument 47 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); 53 /* Print out the line number header for this hunk */
|
H A D | context.c | 160 pr_context_hunk (struct change *hunk) 169 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); 206 struct change *next = hunk; 235 struct change *next = hunk; 292 pr_unidiff_hunk (struct change *hunk) 302 if (! analyze_hunk (hunk, &first0, &last0, &first1, &last1)) 338 next = hunk; 377 /* We're done with this hunk, so on to the next! */ 437 /* Turn this change into a hunk: detach it from the others. */ 157 pr_context_hunk(struct change *hunk) argument 287 pr_unidiff_hunk(struct change *hunk) argument
|
H A D | util.c | 500 making them a hunk, and remember the rest for next iteration. */ 507 /* Print this hunk. */ 648 /* Look at a hunk of edit script and report the range of lines in each file 649 that it applies to. HUNK is the start of the hunk, which is a chain 662 analyze_hunk (struct change *hunk, 682 *first0 = hunk->line0; 683 *first1 = hunk->line1; 685 next = hunk; 729 tell the caller to ignore this hunk. */ 653 analyze_hunk(struct change *hunk, lin *first0, lin *last0, lin *first1, lin *last1) argument
|
H A D | ifdef.c | 64 /* Print a hunk of an ifdef diff. 69 print_ifdef_hunk (struct change *hunk) argument 74 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1);
|
H A D | side.c | 230 /* Print a hunk of an sdiff diff. 235 print_sdiff_hunk (struct change *hunk) argument 242 analyze_hunk (hunk, &first0, &last0, &first1, &last1);
|
/freebsd-9.3-release/gnu/usr.bin/patch/ |
H A D | patch.c | 77 * Failed hunk count not reset on multiple patch file. 148 int hunk = 0; local 251 /* apply each hunk of patch */ 252 hunk = 0; 257 hunk++; 265 if (hunk == 1 && where == Nulline && !(force|rev_okayed)) { 270 "Not enough memory to try swapped hunk! Assuming unswapped.\n"); 277 fatal1("lost hunk on alloc error!\n"); 282 fatal1("lost hunk on alloc error!\n"); 309 fatal1("lost hunk o [all...] |