• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/gnudiff-19/diffutils/src/

Lines Matching +defs:this +defs:line +defs:end

19    along with this program; see the file COPYING.
32 /* Queue up one-line messages to be printed at the end,
183 /* Construct the header of this piece of diff. */
187 /* POSIX 1003.1-2001 specifies this format. But there are some bugs in
278 /* Call after the end of output of diffs for one file.
313 according to the command line options.
314 For efficiency, this is invoked only when the lines do not match exactly
343 line 1 and consider it just one space, or nothing at
344 all if it is at the end of the line. */
359 /* Likewise for line 2. */
475 link at the end) and prints it. */
486 struct change *this, *end;
489 this = next;
490 end = (*hunkfun) (next);
494 next = end->link;
495 end->link = 0;
497 debug_script (this);
500 /* Print this hunk. */
501 (*printfun) (this);
504 end->link = next;
509 /* Print the text of a single line LINE,
511 the line is inserted, deleted, changed, etc.). */
514 print_1_line (char const *line_flag, char const *const *line)
516 char const *base = line[0], *limit = line[1]; /* Help the compiler. */
520 /* If -T was specified, use a Tab between the line-flag and the text.
522 Print neither space nor tab if line-flags are empty. */
533 fprintf (out, "\n\\ %s\n", _("No newline at end of file"));
536 /* Output a line from BASE up to LIMIT.
539 internal carriage return, so that tab stops continue to line up. */
593 /* Translate an internal line number (an index into diff's table of lines)
594 into an actual line number in the input file.
595 The internal line number is I. FILE points to the data on the file.
597 Internal line numbers count from 0 starting after the prefix.
598 Actual line numbers count from 1 within the entire file. */
606 /* Translate a line number range. This is always done for printing,
619 /* Print a pair of line numbers with SEPCHAR, translated for file FILE.
622 Args A and B are internal line numbers.
623 We print the translated (real) line numbers. */
632 In this case, we should print the line number before the range,
643 of `struct change'. The first and last line numbers of file 0 are stored in
645 Note that these are internal line numbers that count from 0.
686 char const *line = linbuf0[i];
687 size_t len = linbuf0[i + 1] - line - 1;
690 || re_search (&ignore_regexp, line, len, 0, len, 0) < 0))
696 char const *line = linbuf1[i];
697 size_t len = linbuf1[i + 1] - line - 1;
700 || re_search (&ignore_regexp, line, len, 0, len, 0) < 0))
710 tell the caller to ignore this hunk. */