Home
last modified time | relevance | path

Searched refs:hunk (Results 1 – 25 of 72) sorted by relevance

123

/netbsd/external/gpl2/xcvs/dist/diff/
H A Ded.c36 print_ed_hunk (hunk) in print_ed_hunk() argument
37 struct change *hunk; in print_ed_hunk()
43 hunk = flip_script (hunk);
46 debug_script (hunk);
50 analyze_hunk (hunk, &f0, &l0, &f1, &l1, &deletes, &inserts);
111 pr_forward_ed_hunk (hunk) in pr_forward_ed_hunk() argument
112 struct change *hunk; in pr_forward_ed_hunk()
119 analyze_hunk (hunk, &f0, &l0, &f1, &l1, &deletes, &inserts);
157 print_rcs_hunk (hunk) in print_rcs_hunk() argument
158 struct change *hunk; in print_rcs_hunk()
[all …]
H A Dcontext.c130 pr_context_hunk (hunk) in pr_context_hunk() argument
131 struct change *hunk; in pr_context_hunk()
141 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &show_from, &show_to);
177 next = hunk;
206 next = hunk;
262 pr_unidiff_hunk (hunk) in pr_unidiff_hunk() argument
263 struct change *hunk; in pr_unidiff_hunk()
272 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &show_from, &show_to);
308 next = hunk;
H A Dnormal.c38 print_normal_hunk (hunk) in print_normal_hunk() argument
39 struct change *hunk; in print_normal_hunk()
45 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
H A Dside.c252 print_sdiff_hunk (hunk) in print_sdiff_hunk() argument
253 struct change *hunk; in print_sdiff_hunk()
259 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
H A Dutil.c747 analyze_hunk (hunk, first0, last0, first1, last1, deletes, inserts) in analyze_hunk() argument
748 struct change *hunk; in analyze_hunk()
759 *first0 = hunk->line0;
760 *first1 = hunk->line1;
762 next = hunk;
H A Difdef.c62 print_ifdef_hunk (hunk) in print_ifdef_hunk() argument
63 struct change *hunk; in print_ifdef_hunk()
69 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
/netbsd/external/gpl2/diffutils/dist/src/
H A Ded.c42 print_ed_hunk (struct change *hunk) in print_ed_hunk() argument
48 debug_script (hunk); in print_ed_hunk()
52 changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); in print_ed_hunk()
95 pr_forward_ed_hunk (struct change *hunk) in pr_forward_ed_hunk() argument
100 enum changes changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); in pr_forward_ed_hunk()
137 print_rcs_hunk (struct change *hunk) in print_rcs_hunk() argument
143 enum changes changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); in print_rcs_hunk()
H A Dcontext.c160 pr_context_hunk (struct change *hunk) in pr_context_hunk() argument
169 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); in pr_context_hunk()
206 struct change *next = hunk; in pr_context_hunk()
235 struct change *next = hunk; in pr_context_hunk()
289 pr_unidiff_hunk (struct change *hunk) in pr_unidiff_hunk() argument
299 if (! analyze_hunk (hunk, &first0, &last0, &first1, &last1)) in pr_unidiff_hunk()
335 next = hunk; in pr_unidiff_hunk()
H A Dnormal.c43 print_normal_hunk (struct change *hunk) in print_normal_hunk() argument
49 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); in print_normal_hunk()
H A Dutil.c648 analyze_hunk (struct change *hunk, in analyze_hunk() argument
666 *first0 = hunk->line0; in analyze_hunk()
667 *first1 = hunk->line1; in analyze_hunk()
669 next = hunk; in analyze_hunk()
H A Dside.c239 print_sdiff_hunk (struct change *hunk) in print_sdiff_hunk() argument
246 analyze_hunk (hunk, &first0, &last0, &first1, &last1); in print_sdiff_hunk()
H A Difdef.c69 print_ifdef_hunk (struct change *hunk) in print_ifdef_hunk() argument
74 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); in print_ifdef_hunk()
/netbsd/external/gpl3/gcc/dist/contrib/
H A Dmklog200 def find_changed_funs(hunk): argument
213 for i, line in enumerate(hunk.lines):
216 if hunk.ctx_diff:
315 hunk = None
322 if hunk is not None:
323 d.hunks.append(hunk)
324 hunk = Hunk(line)
335 if hunk is not None:
336 hunk.lines.append(line)
339 d.hunks.append(hunk)
[all …]
H A Dmklog.py262 for hunk in file:
269 for line in hunk:
299 hunk.section_header)
H A Dcheck_GNU_style_lib.py282 for hunk in pfile:
284 for line in hunk:
/netbsd/external/gpl3/gcc.old/dist/contrib/
H A Dmklog200 def find_changed_funs(hunk): argument
213 for i, line in enumerate(hunk.lines):
216 if hunk.ctx_diff:
315 hunk = None
322 if hunk is not None:
323 d.hunks.append(hunk)
324 hunk = Hunk(line)
335 if hunk is not None:
336 hunk.lines.append(line)
339 d.hunks.append(hunk)
[all …]
H A Dmklog.py232 for hunk in file:
239 for line in hunk:
269 hunk.section_header)
H A Dcheck_GNU_style_lib.py282 for hunk in pfile:
284 for line in hunk:
/netbsd/external/gpl3/gcc/dist/contrib/legacy/
H A Dmklog200 def find_changed_funs(hunk): argument
213 for i, line in enumerate(hunk.lines):
216 if hunk.ctx_diff:
315 hunk = None
322 if hunk is not None:
323 d.hunks.append(hunk)
324 hunk = Hunk(line)
335 if hunk is not None:
336 hunk.lines.append(line)
339 d.hunks.append(hunk)
[all …]
/netbsd/usr.bin/patch/
H A Dpatch.c156 int error = 0, hunk, failed, i, fd; in main() local
251 hunk = 0; in main()
255 hunk++; in main()
263 if (hunk == 1 && where == 0 && !force) { in main()
327 hunk, newwhere); in main()
333 hunk, newwhere); in main()
338 hunk, newwhere); in main()
362 if (hunk == 0) in main()
417 failed, hunk, rejname); in main()
420 failed, hunk, rejname); in main()
/netbsd/external/mpl/bind/dist/bin/tests/system/chain/ns2/
H A Dexample.db64 clump CNAME hunk
65 hunk CNAME hank
/netbsd/external/gpl2/diffutils/dist/doc/
H A Ddiff.texi240 the total hunk size by finding large sequences of common lines
732 @samp{!} in the part of this hunk for the other file.
743 If all of the changes in a hunk are insertions, the lines of
1598 format, if the hunk contains only lines from the first file,
1913 hunk's boundaries when this merges adjacent hunks, or shifts a hunk's
2013 hunk, the hunk is called a @dfn{three-way hunk}; if just two input files
2014 differ, it is a @dfn{two-way hunk}.
2474 @command{patch} rejects the hunk and skips to the next hunk. @command{patch}
2608 hunk of a patch fails, @command{patch} reverses the hunk to see if it can
2636 set of lines matching the context given in the hunk.
[all …]
H A Ddiff.info520 The "normal" `diff' output format shows each hunk of differences
699 marked with `!' in the part of this hunk for the other file.
709 If all of the changes in a hunk are insertions, the lines of
1856 included in the hunk. In this case, `diff' normally shifts the hunk's
1943 the hunk contains lines 11 through 13 from the second file.
1957 all three input files differ in a `diff3' hunk, the hunk is called a
1959 hunk".
2389 rejects the hunk and skips to the next hunk. `patch' normally replaces
2522 hunk of a patch fails, `patch' reverses the hunk to see if it can apply
2551 lines matching the context given in the hunk.
[all …]
/netbsd/games/hack/
H A Dhack.fix25 Following is a context diff to fix the bug. Actually just the last hunk
/netbsd/external/apache2/llvm/dist/llvm/utils/Reviewing/
H A Dfind_interesting_reviews.py544 for hunk in change.hunks:
545 for start_line, end_line in hunk.actual_lines_changed_offset:

123