| /src/contrib/libdiff/test/ |
| H A D | expect019.diff | 27 int diff_context, int ignore_whitespace, FILE *outfile) 85 GOT_DIFF_OUTPUT_UNIDIFF, diff_context, outfile); 94 - a->diff_context, a->ignore_whitespace, a->outfile); 97 + blob1, blob2, label1, label2, mode1, mode2, a->diff_context, 105 const char *label1, const char *label2, int diff_context, 108 - return diff_blobs(NULL, blob1, blob2, label1, label2, 0, 0, diff_context, 111 + label1, label2, 0, 0, diff_context, ignore_whitespace, outfile); 132 const char *label1, const char *label2, int diff_context, 139 - err = got_diff_blob(blob1, blob2, label1, label2, diff_context, 142 + label1, label2, diff_context, ignore_whitespace, outfile); [all …]
|
| H A D | test020.left.txt | 44 int diff_context, int ignore_whitespace, FILE *outfile, 110 args.diff_context = diff_context; 166 a->diff_context, a->ignore_whitespace, a->outfile, NULL); 171 const char *label1, const char *label2, int diff_context, 174 return diff_blobs(blob1, blob2, label1, label2, 0, 0, diff_context, 191 const char *label2, int diff_context, int ignore_whitespace, FILE *outfile) 238 args.diff_context = diff_context; 264 FILE *f2, size_t size2, const char *label2, int diff_context, 268 diff_context, ignore_whitespace, outfile); 745 const char *label1, const char *label2, int diff_context, [all …]
|
| H A D | test019.left.txt | 46 int diff_context, int ignore_whitespace, FILE *outfile) 135 GOT_DIFF_OUTPUT_UNIDIFF, diff_context, outfile); 165 a->diff_context, a->ignore_whitespace, a->outfile); 171 const char *label1, const char *label2, int diff_context, 174 return diff_blobs(NULL, blob1, blob2, label1, label2, 0, 0, diff_context, 181 const char *label2, int diff_context, int ignore_whitespace, FILE *outfile) 220 label2, label2, GOT_DIFF_OUTPUT_UNIDIFF, diff_context, 241 FILE *f2, size_t size2, const char *label2, int diff_context, 245 diff_context, ignore_whitespace, outfile); 706 const char *label1, const char *label2, int diff_context, [all …]
|
| H A D | test019.right.txt | 61 int diff_context, int ignore_whitespace, FILE *outfile) 177 GOT_DIFF_OUTPUT_UNIDIFF, diff_context, outfile); 206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context, 213 const char *label1, const char *label2, int diff_context, 217 label1, label2, 0, 0, diff_context, ignore_whitespace, outfile); 223 const char *label2, int diff_context, int ignore_whitespace, FILE *outfile) 262 label2, label2, GOT_DIFF_OUTPUT_UNIDIFF, diff_context, 283 FILE *f2, size_t size2, const char *label2, int diff_context, 287 diff_context, ignore_whitespace, outfile); 750 const char *label1, const char *label2, int diff_context, [all …]
|
| H A D | test020.right.txt | 61 int diff_context, int ignore_whitespace, FILE *outfile) 177 GOT_DIFF_OUTPUT_UNIDIFF, diff_context, outfile); 206 blob1, blob2, label1, label2, mode1, mode2, a->diff_context, 213 const char *label1, const char *label2, int diff_context, 217 label1, label2, 0, 0, diff_context, ignore_whitespace, outfile); 223 const char *label2, int diff_context, int ignore_whitespace, FILE *outfile) 262 label2, label2, GOT_DIFF_OUTPUT_UNIDIFF, diff_context, 283 FILE *f2, size_t size2, const char *label2, int diff_context, 287 diff_context, ignore_whitespace, outfile); 781 const char *label1, const char *label2, int diff_context, [all …]
|
| /src/usr.bin/diff/ |
| H A D | diff.c | 42 int diff_format, diff_context, diff_algorithm, status; variable 150 diff_context = 3; in main() 163 diff_context = 0; in main() 164 else if (!isdigit(lastch) || diff_context > INT_MAX / 10) in main() 166 diff_context = (diff_context * 10) + (ch - '0'); in main() 196 diff_context = (int) strtonum(optarg, in main() 299 diff_context = (int) strtonum(optarg, in main()
|
| H A D | diffreg.c | 1131 } else if (!ckd_add(&dist, diff_context, diff_context) && in change() 1518 if (ckd_sub(&lowa, cvp->a, diff_context) || lowa < 1) in dump_context_vec() 1520 if (ckd_add(&upb, context_vec_ptr->b, diff_context) || upb > (int)len[0]) in dump_context_vec() 1522 if (ckd_sub(&lowc, cvp->c, diff_context) || lowc < 1) in dump_context_vec() 1524 if (ckd_add(&upd, context_vec_ptr->d, diff_context) || upd > (int)len[1]) in dump_context_vec() 1625 if (ckd_sub(&lowa, cvp->a, diff_context) || lowa < 1) in dump_unified_vec() 1627 if (ckd_add(&upb, context_vec_ptr->b, diff_context) || upb > (int)len[0]) in dump_unified_vec() 1629 if (ckd_sub(&lowc, cvp->c, diff_context) || lowc < 1) in dump_unified_vec() 1631 if (ckd_add(&upd, context_vec_ptr->d, diff_context) || upd > (int)len[1]) in dump_unified_vec()
|
| H A D | diff.h | 116 extern int diff_format, diff_context, diff_algorithm, status;
|
| H A D | diffreg_new.c | 158 int context_lines = diff_context; in diffreg_new()
|