Home
last modified time | relevance | path

Searched refs:diff_type (Results 1 – 4 of 4) sorted by relevance

/mirbsd/src/usr.bin/patch/
Dpatch.c86 int diff_type = 0; variable
221 if (diff_type == ED_DIFF) { in main()
425 diff_type = 0; in reinitialize_almost_everything()
499 diff_type = CONTEXT_DIFF; in get_some_switches()
520 diff_type = ED_DIFF; in get_some_switches()
540 diff_type = NORMAL_DIFF; in get_some_switches()
567 diff_type = UNI_DIFF; in get_some_switches()
628 if (verbose && fuzz == 0 && (diff_type == CONTEXT_DIFF in locate_hunk()
629 || diff_type == NEW_CONTEXT_DIFF in locate_hunk()
630 || diff_type == UNI_DIFF)) { in locate_hunk()
[all …]
Dpch.c196 diff_type = intuit_diff_type(); in there_is_another_patch()
197 if (!diff_type) { in there_is_another_patch()
208 diff_type == UNI_DIFF ? "a unified diff" : in there_is_another_patch()
209 diff_type == CONTEXT_DIFF ? "a context diff" : in there_is_another_patch()
210 diff_type == NEW_CONTEXT_DIFF ? "a new-style context diff" : in there_is_another_patch()
211 diff_type == NORMAL_DIFF ? "a normal diff" : in there_is_another_patch()
324 if ((!diff_type || diff_type == ED_DIFF) && in intuit_diff_type()
333 if ((!diff_type || diff_type == UNI_DIFF) && strnEQ(s, "@@ -", 4)) { in intuit_diff_type()
343 if ((!diff_type || diff_type == CONTEXT_DIFF) && stars_last_line && in intuit_diff_type()
359 if ((!diff_type || diff_type == NORMAL_DIFF) && in intuit_diff_type()
[all …]
Dcommon.h114 extern int diff_type;
/mirbsd/src/gnu/usr.bin/cvs/diff/
Ddiff3.c75 enum diff_type { enum
97 enum diff_type correspond; /* Type of diff */
201 static enum diff_type process_diff_control PARAMS((char **, struct diff_block *));
1085 enum diff_type dt;
1194 static enum diff_type
1201 enum diff_type type;
1602 enum diff_type type
1605 ((enum diff_type)
1729 enum diff_type type
1732 ((enum diff_type)