Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance
/coreutils/src/ |
D | head.c | 504 size_t nbytes; in elide_tail_lines_pipe() member 516 first->nbytes = first->nlines = 0; in elide_tail_lines_pipe() 536 tmp->nbytes = n_read; in elide_tail_lines_pipe() 556 if (tmp->nbytes + last->nbytes < BUFSIZ) in elide_tail_lines_pipe() 558 memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes); in elide_tail_lines_pipe() 559 last->nbytes += tmp->nbytes; in elide_tail_lines_pipe() 572 desired_pos += first->nbytes; in elide_tail_lines_pipe() 573 xwrite_stdout (first->buffer, first->nbytes); in elide_tail_lines_pipe() 594 if (last->nbytes && last->buffer[last->nbytes - 1] != line_end) in elide_tail_lines_pipe() 602 desired_pos += tmp->nbytes; in elide_tail_lines_pipe() [all …]
|
D | tail.c | 611 size_t nbytes; in pipe_lines() member 622 first->nbytes = first->nlines = 0; in pipe_lines() 632 tmp->nbytes = n_read; in pipe_lines() 652 if (tmp->nbytes + last->nbytes < BUFSIZ) in pipe_lines() 654 memcpy (&last->buffer[last->nbytes], tmp->buffer, tmp->nbytes); in pipe_lines() 655 last->nbytes += tmp->nbytes; in pipe_lines() 687 if (last->nbytes == 0) in pipe_lines() 695 if (last->buffer[last->nbytes - 1] != line_end) in pipe_lines() 709 char const *buffer_end = tmp->buffer + tmp->nbytes; in pipe_lines() 726 xwrite_stdout (tmp->buffer, tmp->nbytes); in pipe_lines() [all …]
|
D | dd.c | 1919 advance_input_after_read_error (idx_t nbytes) in advance_input_after_read_error() argument 1930 advance_input_offset (nbytes); in advance_input_after_read_error() 1944 if (! (0 <= diff && diff <= nbytes) && status_level != STATUS_NONE) in advance_input_after_read_error()
|
D | ls.c | 1373 int nbytes; in abformat_init() local 1376 nbytes = snprintf (nfmt, ABFORMAT_SIZE, "%s", fmt); in abformat_init() 1382 nbytes = snprintf (nfmt, ABFORMAT_SIZE, "%.*s%s%s", in abformat_init() 1386 if (! (0 <= nbytes && nbytes < ABFORMAT_SIZE)) in abformat_init()
|
/coreutils/gl/lib/ |
D | randread.c | 141 ssize_t nbytes = getrandom (buf, max_bytes, 0); in get_nonce() local 142 if (0 <= nbytes) in get_nonce() 143 buf += nbytes; in get_nonce()
|