Lines Matching defs:file2
228 diffreg(char *file1, char *file2, int flags, int capsicum)
238 return diffreg_new(file1, file2, flags, capsicum);
243 return diffreg_stone(file1, file2, flags, capsicum);
247 return diffreg_new(file1, file2, flags, capsicum);
249 return diffreg_stone(file1, file2, flags, capsicum);
268 diffreg_stone(char *file1, char *file2, int flags, int capsicum)
325 if (strcmp(file1, "-") == 0 && strcmp(file2, "-") == 0)
355 if ((f2 = opentemp(file2)) == NULL ||
357 warn("%s", file2);
362 } else if (strcmp(file2, "-") == 0)
365 f2 = fopen(file2, "r");
368 warn("%s", file2);
375 pr = start_pr(file1, file2);
382 err(2, "unable to limit rights on: %s", file2);
431 errc(1, EFBIG, "%s", file2);
461 output(file1, f1, file2, f2, flags);
909 output(char *file1, FILE *f1, char *file2, FILE *f2, int flags)
946 change(file1, f1, file2, f2, i, i, j, j, &flags);
949 change(file1, f1, file2, f2, i, i, j + 1, j, &flags);
954 change(file1, f1, file2, f2, i + 1, i, j, j, &flags);
958 change(file1, f1, file2, f2, i0, i1, j0, j1, &flags);
970 change(file1, f1, file2, f2, i1, i0, j1, j0, &flags);
974 change(file1, f1, file2, f2, 1, 0, 1, len[1], &flags);
1054 change(char *file1, FILE *f1, char *file2, FILE *f2, int a, int b, int c, int d,
1098 printf("%s %s %s\n", diffargs, file1, file2);
1121 print_header(file1, file2);
1673 print_header(const char *file1, const char *file2)
1706 file2, buf);