Lines Matching +full:data +full:- +full:lines

21    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
26 #include <unlocked-io.h>
31 /* No changes: lines common to both files. */
34 /* Deletes only: lines taken from just the first file. */
37 /* Inserts only: lines taken from just the second file. */
40 /* Both deletes and inserts: a hunk containing both old and new lines. */
60 /* Output the differences with lines of context before and after (-c). */
63 /* Output the differences in a unified context diff format (-u). */
66 /* Output the differences as commands suitable for `ed' (-e). */
69 /* Output the diff as a forward ed script (-f). */
72 /* Like -f, but output a count of changed lines in each "command" (-n). */
75 /* Output merged #ifdef'd file (-D). */
78 /* Output sdiff style (-y). */
83 i.e. can handle a file that ends in a non-newline. */
91 /* Number of lines of context to show in each set of diffs.
95 /* Consider all files as text files (-a).
99 /* Number of lines to keep in identical prefix and suffix. */
108 /* Ignore changes due to tab expansion (-E). */
111 /* Ignore changes in horizontal white space (-b). */
114 /* Ignore all horizontal white space (-w). */
118 /* Ignore changes that affect only blank lines (-B). */
121 /* Files can be compared byte-by-byte, as if they were binary.
125 /* Ignore differences in case of letters (-i). */
131 /* File labels for `-c' output headers (--label). */
134 /* Regexp to identify function-header lines (-F). */
137 /* Ignore changes that affect only lines matching this regexp (-I). */
140 /* Say only whether files differ, not how (-q). */
143 /* Expand tabs in the output so the text lines up properly
144 despite the characters added to the front of each line (-t). */
152 without changing the characters in it (-T). */
158 /* In directory comparison, specify file to start with (-S).
163 /* Pipe each file's output through pr (-l). */
169 /* Line formats for unchanged, old, and new lines. */
175 /* Tell OUTPUT_SDIFF to show only the left version of common lines. */
178 /* Tell OUTPUT_SDIFF to not show common lines. */
197 /* Don't discard lines. This makes things slower (sometimes much
208 Each `struct change' represents one place where some lines are deleted
211 LINE0 and LINE1 are the first affected lines in the two files (origin 0).
212 DELETED is the number of lines deleted here from file 0.
213 INSERTED is the number of lines inserted here in file 1.
221 lin inserted; /* # lines of file 1 changed here. */
222 lin deleted; /* # lines of file 0 changed here. */
230 /* Data on one input file being compared. */
247 /* Array of pointers to lines in the file. */
251 linebuf[linbuf_base ... buffered_lines - 1] are possibly differing.
252 linebuf[linbuf_base ... valid_lines - 1] contain valid data.
253 linebuf[linbuf_base ... alloc_lines - 1] are allocated. */
259 /* Count of lines in the prefix.
260 There are this many lines in the file before linbuf[0]. */
272 the elements for discarded lines have been squeezed out. */
275 /* Vector mapping virtual line numbers (not counting discarded lines)
276 to real ones (counting those lines). Both are origin-0. */
279 /* Total number of nondiscarded lines. */
282 /* Vector, indexed by real origin-0 line number,
300 #define FILE_BUFFER(f) ((char *) (f)->buffer)
302 /* Data on two input files being compared. */