/coreutils/gl/lib/ |
D | fadvise.c | 31 fdadvise (int fd, off_t offset, off_t len, fadvice_t advice) in fdadvise() argument 34 ignore_value (posix_fadvise (fd, offset, len, advice)); in fdadvise()
|
D | fadvise.h | 70 void fdadvise (int fd, off_t offset, off_t len, fadvice_t advice);
|
/coreutils/src/ |
D | shred.c | 368 off_t offset = lseek (fd, 0, SEEK_SET); in dorewind() local 369 if (0 < offset) in dorewind() 371 return offset == 0; in dorewind() 398 off_t offset; /* Current file position */ in dopass() local 457 offset = 0; in dopass() 462 if (known (size) && size - offset < output_size) in dopass() 464 if (size < offset) in dopass() 466 lim = size - offset; in dopass() 481 if (soff <= OFF_T_MAX - offset) in dopass() 482 *sizep = size = offset + soff; in dopass() [all …]
|
D | dd.c | 1037 off_t offset; in invalidate_cache() local 1051 offset = input_offset; in invalidate_cache() 1054 offset = -1; in invalidate_cache() 1070 offset = output_offset; in invalidate_cache() 1073 if (0 <= offset) in invalidate_cache() 1086 offset = offset - clen - pending; in invalidate_cache() 1089 offset -= offset % page_size; in invalidate_cache() 1090 adv_ret = posix_fadvise (fd, offset, clen, POSIX_FADV_DONTNEED); in invalidate_cache() 1778 advance_input_offset (intmax_t offset) in advance_input_offset() argument 1780 if (0 <= input_offset && ckd_add (&input_offset, input_offset, offset)) in advance_input_offset() [all …]
|
D | cksum.c | 112 for (idx_t offset = 1; offset < 8; offset++) in main() local 115 crctab[offset][i] = crc; in main()
|
D | csplit.c | 51 intmax_t offset; /* Offset from regexp to split at. */ member 580 idx_t offset; /* How far into the buffer the line is. */ in find_line() local 583 offset = linenum - b->start_line; in find_line() 585 while (offset >= CTRL_SIZE) in find_line() 588 offset -= CTRL_SIZE; in find_line() 590 return &l->starts[offset]; in find_line() 763 if (p->offset >= 0) in process_regexp() 838 break_line = current_line + p->offset; in process_regexp() 845 if (p->offset > 0) in process_regexp() 1031 p->offset = 0; in new_control_record() [all …]
|
D | tac.c | 307 size_t offset = sentinel_length ? sentinel_length : 1; in tac_seekable() local 314 newbuffer = xrealloc (G_buffer - offset, G_buffer_size); in tac_seekable() 315 newbuffer += offset; in tac_seekable()
|
D | head.c | 224 elseek (int fd, off_t offset, int whence, char const *filename) in elseek() argument 226 off_t new_offset = lseek (fd, offset, whence); in elseek() 227 char buf[INT_BUFSIZE_BOUND (offset)]; in elseek() 235 offtostr (offset, buf)); in elseek()
|
D | stty.c | 386 size_t offset; /* Offset in c_cc. */ member 1714 mode->c_cc[info->offset] = value; in set_control_char() 1929 if (mode->c_cc[control_info[i].offset] == control_info[i].saneval) in display_changed() 1952 visible (mode->c_cc[control_info[i].offset])); in display_changed() 2039 visible (mode->c_cc[control_info[i].offset])); in display_all() 2284 mode->c_cc[control_info[i].offset] = control_info[i].saneval; in sane_mode()
|
D | tail.c | 478 xlseek (int fd, off_t offset, int whence, char const *filename) in xlseek() argument 480 off_t new_offset = lseek (fd, offset, whence); in xlseek() 481 char buf[INT_BUFSIZE_BOUND (offset)]; in xlseek() 487 s = offtostr (offset, buf); in xlseek()
|
D | od.c | 1324 parse_old_offset (char const *s, uintmax_t *offset) in parse_old_offset() argument 1348 return xstrtoumax (s, nullptr, radix, offset, "Bb") == LONGINT_OK; in parse_old_offset()
|
D | sort.c | 2276 mark_key (size_t offset, size_t width) in mark_key() argument 2278 while (offset--) in mark_key() 2354 size_t offset = debug_width (text, beg); in debug_key() local 2356 mark_key (offset, width); in debug_key()
|
D | copy.c | 234 punch_hole (int fd, off_t offset, off_t length) in punch_hole() argument 241 offset, length); in punch_hole()
|
/coreutils/tests/ |
D | filefrag-extent-compare | 78 ## perl-continued-statement-offset: 2 79 ## perl-continued-brace-offset: 0 80 ## perl-brace-offset: 0 81 ## perl-brace-imaginary-offset: 0 82 ## perl-label-offset: -2
|
/coreutils/tests/cksum/ |
D | cksum.sh | 25 for offset in $(seq -1 6); do 26 env printf $(env printf '\\%03o' $(seq 0 $offset));
|
/coreutils/doc/ |
D | coreutils.texi | 1978 od [-abcdfilosx]@dots{} [@var{file}] [[+]@var{offset}[.][b]] 1980 [[+]@var{offset}[.][b] [[+]@var{label}[.][b]]] 1983 Each line of output consists of the offset in the input, followed by 1984 groups of data from the file. By default, @command{od} prints the offset in 1988 If @var{offset} is given, it specifies how many input bytes to skip 1991 interpreted as decimal. If no decimal is specified and the offset 1994 will be @var{offset} multiplied by 512. 1999 the @samp{10} is an offset, whereas in @samp{od 10} the @samp{10} is a 2011 @cindex file offset radix 2213 od --traditional [@var{file}] [[+]@var{offset}[.][b] [[+]@var{label}[.][b]]] [all …]
|
/coreutils/ |
D | NEWS | 183 `wc -c` will again correctly update the read offset of inputs. 184 Previously it deduced the size of inputs while leaving the offset unchanged. 1088 expand and unexpand now support specifying an offset for tab stops 1368 that specify an offset for the first field. 5058 an offset, not as a file name. 5508 * ls --dired produces correct byte offset for file names containing
|