Lines Matching defs:file1
99 * the line in file1 corresponding to line i file0. J[i] = 0 if there is no
100 * such line in file1.
105 * file1 together. Subroutine equiv replaces the value of each line in
107 * (the reordered) file1. To save space equiv squeezes file1 into a single
116 * a k-candidate is a matched pair of lines x,y (x in file0 y in file1)
118 * i lines of file0 and the first y lines of file1, but there is no such
122 * Whenever any of the members of the equivalence class of lines in file1
141 * 2*length(file0) + length(file1) + 3*(number of k-candidates installed),
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)
332 if ((f1 = opentemp(file1)) == NULL ||
334 warn("%s", file1);
339 } else if (strcmp(file1, "-") == 0)
342 f1 = fopen(file1, "r");
345 warn("%s", file1);
375 pr = start_pr(file1, file2);
380 err(2, "unable to limit rights on: %s", file1);
429 errc(1, EFBIG, "%s", file1);
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)
1693 file1, buf);