Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dseq.c491 size_t buf_size = MAX (BUFSIZ, (inc_size + 1) * 2); in seq_fast() local
492 char *buf = xmalloc (buf_size); in seq_fast()
493 char const *buf_end = buf + buf_size; in seq_fast()
518 if (buf_size < (inc_size + 1) * 2) in seq_fast()
521 buf_size = (inc_size + 1) * 2; in seq_fast()
522 buf = xrealloc (buf, buf_size); in seq_fast()
523 buf_end = buf + buf_size; in seq_fast()
Dcopy.c313 sparse_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size, in sparse_copy() argument
390 *abuf = xalignalloc (getpagesize (), buf_size); in sparse_copy()
392 ssize_t n_read = read (src_fd, buf, MIN (max_n_read, buf_size)); in sparse_copy()
406 size_t csize = hole_size ? hole_size : buf_size; in sparse_copy()
545 lseek_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size, in lseek_copy() argument
623 if ( ! sparse_copy (src_fd, dest_fd, abuf, buf_size, in lseek_copy()
1547 size_t buf_size = io_blksize (&sb); in copy_reg() local
1576 size_t blcm = buffer_lcm (io_blksize (&src_open_sb), buf_size, in copy_reg()
1581 if (S_ISREG (src_open_sb.st_mode) && src_open_sb.st_size < buf_size) in copy_reg()
1582 buf_size = src_open_sb.st_size + 1; in copy_reg()
[all …]
Dnumfmt.c738 char *buf, idx_t buf_size, in double_to_human() argument
765 return snprintf (buf, buf_size, fmt, precision, val, in double_to_human()
812 return snprintf (buf, buf_size, fmt, prec, val, in double_to_human()
Dhead.c197 const size_t buf_size = sizeof (buf); in copy_fd() local
202 size_t n_to_read = MIN (buf_size, n_bytes); in copy_fd()