| /src/external/gpl2/xcvs/dist/diff/ |
| 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...] |
| 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 */
|
| context.c | 126 HUNK is the beginning of the portion to be printed. 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; 260 HUNK is the beginning of the portion to be printed. 267 pr_unidiff_hunk (hunk) 268 struct change *hunk; 277 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &show_from, &show_to) [all...] |
| 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);
|
| side.c | 247 /* Print a hunk of an sdiff diff. 252 print_sdiff_hunk (hunk) 253 struct change *hunk; 259 analyze_hunk (hunk, &first0, &last0, &first1, &last1, &deletes, &inserts);
|
| 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; [all...] |
| /src/external/gpl2/diffutils/dist/src/ |
| ed.c | 40 /* Print a hunk of an ed diff */ 43 print_ed_hunk (struct change *hunk) 49 debug_script (hunk); 53 changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); 59 /* Print out the line number header for this hunk */ 97 pr_forward_ed_hunk (struct change *hunk) 102 enum changes changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1); 137 /* Print a hunk of an RCS diff */ 140 print_rcs_hunk (struct change *hunk) 146 enum changes changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1) [all...] |
| normal.c | 38 /* Print a hunk of a normal diff. 43 print_normal_hunk (struct change *hunk) 49 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); 55 /* Print out the line number header for this hunk */
|
| context.c | 156 HUNK is the beginning of the portion to be printed. 163 pr_context_hunk (struct change *hunk) 172 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1); 209 struct change *next = hunk; 238 struct change *next = hunk; 287 HUNK is the beginning of the portion to be printed. 294 pr_unidiff_hunk (struct change *hunk) 304 if (! analyze_hunk (hunk, &first0, &last0, &first1, &last1)) 340 next = hunk; 379 /* We're done with this hunk, so on to the next! * [all...] |
| util.c | 495 making them a hunk, and remember the rest for next iteration. */ 502 /* Print this hunk. */ 643 /* Look at a hunk of edit script and report the range of lines in each file 644 that it applies to. HUNK is the start of the hunk, which is a chain 657 analyze_hunk (struct change *hunk, 675 *first0 = hunk->line0; 676 *first1 = hunk->line1; 678 next = hunk; 712 tell the caller to ignore this hunk. * [all...] |
| ifdef.c | 64 /* Print a hunk of an ifdef diff. 69 print_ifdef_hunk (struct change *hunk) 74 enum changes changes = analyze_hunk (hunk, &first0, &last0, &first1, &last1);
|
| side.c | 234 /* Print a hunk of an sdiff diff. 239 print_sdiff_hunk (struct change *hunk) 246 analyze_hunk (hunk, &first0, &last0, &first1, &last1);
|
| /src/external/gpl3/gcc/dist/contrib/legacy/ |
| mklog | 145 print("Next hunk %d:" % i) 148 class Hunk: 149 """Class to represent a single hunk of changes.""" 161 """Does hunk describe addition of file?""" 170 """Does hunk describe removal of file?""" 200 def find_changed_funs(hunk): 201 """Find all functions touched by hunk. We don't try too hard 209 if (cache.match(r'^\*\*\*\*\*\** ([a-zA-Z0-9_].*)', hunk.hdr) 210 or cache.match(r'^@@ .* @@ ([a-zA-Z0-9_].*)', hunk.hdr)): 213 for i, line in enumerate(hunk.lines) [all...] |
| /src/external/gpl3/gcc.old/dist/contrib/legacy/ |
| mklog | 145 print("Next hunk %d:" % i) 148 class Hunk: 149 """Class to represent a single hunk of changes.""" 161 """Does hunk describe addition of file?""" 170 """Does hunk describe removal of file?""" 200 def find_changed_funs(hunk): 201 """Find all functions touched by hunk. We don't try too hard 209 if (cache.match(r'^\*\*\*\*\*\** ([a-zA-Z0-9_].*)', hunk.hdr) 210 or cache.match(r'^@@ .* @@ ([a-zA-Z0-9_].*)', hunk.hdr)): 213 for i, line in enumerate(hunk.lines) [all...] |
| /src/usr.bin/patch/ |
| patch.c | 156 int error = 0, hunk, failed, i, fd; local 250 /* apply each hunk of patch */ 251 hunk = 0; 255 hunk++; 263 if (hunk == 1 && where == 0 && !force) { 267 say("Not enough memory to try swapped hunk! Assuming unswapped.\n"); 277 fatal("lost hunk on alloc error!\n"); 282 fatal("lost hunk on alloc error!\n"); 305 fatal("lost hunk on alloc error!\n"); 326 say("Hunk #%d ignored at %ld.\n" [all...] |
| /src/external/gpl3/gdb/dist/contrib/ |
| mklog.py | 186 for hunk in file: 193 for line in hunk: 214 hunk.section_header)
|
| /src/external/gpl3/gdb.old/dist/contrib/ |
| mklog.py | 186 for hunk in file: 193 for line in hunk: 214 hunk.section_header)
|
| /src/external/gpl3/gcc/dist/contrib/ |
| mklog.py | 289 for hunk in file: 296 for line in hunk: 326 hunk.section_header)
|
| check_GNU_style_lib.py | 287 for hunk in pfile: 289 for line in hunk:
|
| /src/external/gpl3/gcc.old/dist/contrib/ |
| mklog.py | 262 for hunk in file: 269 for line in hunk: 299 hunk.section_header)
|
| check_GNU_style_lib.py | 282 for hunk in pfile: 284 for line in hunk:
|
| /src/external/apache2/llvm/dist/llvm/utils/Reviewing/ |
| find_interesting_reviews.py | 128 # lines that were changed in this hunk. 544 for hunk in change.hunks: 545 for start_line, end_line in hunk.actual_lines_changed_offset:
|
| /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
| gtest.cc | 1129 // Helper class that holds the state for one hunk and prints it out to the 1132 // adds. It also adds the hunk header before printint into the stream. 1133 class Hunk { 1135 Hunk(size_t left_start, size_t right_start) 1178 // Print a unified diff header for one hunk. 1204 // Each hunk has a header generated by PrintHeader above plus a body with 1209 // joined into one hunk. 1225 // Find the first line to include in the hunk. 1227 Hunk hunk(l_i - prefix_context + 1, r_i - prefix_context + 1) [all...] |