Searched refs:skip2 (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/usr.bin/cmp/
H A Dcmp.c77 parse_iskipspec(char *spec, off_t *skip1, off_t *skip2) argument
89 return (expand_number(colon, skip2) == 0);
91 *skip2 = *skip1;
99 off_t skip1, skip2, limit; local
104 limit = skip1 = skip2 = 0;
115 if (!parse_iskipspec(optarg, &skip1, &skip2)) {
192 if (argc == 4 && expand_number(argv[3], &skip2) < 0) {
193 fprintf(stderr, "Invalid skip2: %s\n", argv[3]);
197 if (sflag && skip1 == 0 && skip2 == 0)
202 c_link(file1, skip1, file2, skip2, limi
[all...]
H A Dlink.c40 c_link(const char *file1, off_t skip1, const char *file2, off_t skip2, argument
67 if (skip2 > len2)
68 skip2 = len2;
73 for (p1 = buf1 + skip1, p2 = buf2 + skip2;
H A Dregular.c54 int fd2, const char *file2, off_t skip2, off_t len2, off_t limit)
67 if (skip2 > len2)
69 len2 -= skip2;
77 off2 = ROUNDPAGE(skip2);
84 c_special(fd1, file1, skip1, fd2, file2, skip2, limit);
90 c_special(fd1, file1, skip1, fd2, file2, skip2, limit);
111 p2 = m2 + (skip2 - off2);
53 c_regular(int fd1, const char *file1, off_t skip1, off_t len1, int fd2, const char *file2, off_t skip2, off_t len2, off_t limit) argument
H A Dspecial.c43 int fd2, const char *file2, off_t skip2, off_t limit)
68 while (skip2--)
42 c_special(int fd1, const char *file1, off_t skip1, int fd2, const char *file2, off_t skip2, off_t limit) argument

Completed in 77 milliseconds