Searched refs:start_pos (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | head.c | 650 off_t start_pos, off_t size) in elide_tail_lines_seekable() argument 658 bytes_read = (pos - start_pos) % BUFSIZ; in elide_tail_lines_seekable() 702 if (start_pos < pos) in elide_tail_lines_seekable() 705 if (elseek (fd, start_pos, SEEK_SET, pretty_filename) < 0) in elide_tail_lines_seekable() 708 err = copy_fd (fd, pos - start_pos); in elide_tail_lines_seekable() 726 if (pos == start_pos) in elide_tail_lines_seekable()
|
D | tail.c | 519 off_t start_pos, off_t end_pos, uintmax_t *read_pos) in file_lines() argument 530 bytes_read = (pos - start_pos) % BUFSIZ; in file_lines() 573 if (pos == start_pos) in file_lines() 577 xlseek (fd, start_pos, SEEK_SET, pretty_filename); in file_lines() 578 *read_pos = start_pos + dump_remainder (false, pretty_filename, fd, in file_lines() 1906 off_t start_pos = -1; in tail_lines() local 1913 && (start_pos = lseek (fd, 0, SEEK_CUR)) != -1 in tail_lines() 1914 && start_pos < (end_pos = lseek (fd, 0, SEEK_END))) in tail_lines() 1919 start_pos, end_pos, read_pos)) in tail_lines() 1928 if (start_pos != -1) in tail_lines() [all …]
|