Searched refs:hunk (Results 1 - 13 of 13) sorted by relevance

/freebsd-9.3-release/contrib/cvs/diff/
H A Ded.c34 /* 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 Dnormal.c33 /* 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 Dcontext.c133 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 Difdef.c57 /* 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 Dside.c245 /* 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 Dutil.c578 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 Ded.c38 /* 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 Dnormal.c36 /* 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 Dcontext.c160 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 Dutil.c500 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 Difdef.c64 /* 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 Dside.c230 /* 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 Dpatch.c77 * 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...]

Completed in 85 milliseconds