Lines Matching refs:size
253 static ssize_t (*iread_fnc) (int fd, char *buf, idx_t size);
1104 iread (int fd, char *buf, idx_t size) in iread() argument
1112 nread = read (fd, buf, size); in iread()
1116 && 0 < prev_nread && prev_nread < size in iread()
1126 if (0 < nread && nread < size) in iread()
1131 if (0 < prev_nread && prev_nread < size) in iread()
1151 iread_fullblock (int fd, char *buf, idx_t size) in iread_fullblock() argument
1155 while (0 < size) in iread_fullblock()
1157 ssize_t ncurr = iread (fd, buf, size); in iread_fullblock()
1164 size -= ncurr; in iread_fullblock()
1176 iwrite (int fd, char const *buf, idx_t size) in iwrite() argument
1180 if ((output_flags & O_DIRECT) && size < output_blocksize) in iwrite()
1204 while (total_written < size) in iwrite()
1211 if ((conversions_mask & C_SPARSE) && is_nul (buf, size)) in iwrite()
1213 if (lseek (fd, size, SEEK_CUR) < 0) in iwrite()
1221 nwritten = size; in iwrite()
1226 nwritten = write (fd, buf + total_written, size - total_written); in iwrite()
2146 idx_t size = write_records ? output_blocksize : bytes; in dd_copy() local
2147 if (iwrite (STDOUT_FILENO, obuf, size) != size) in dd_copy()
2476 off_t size; in main() local
2477 if ((ckd_mul (&size, seek_records, output_blocksize) in main()
2478 || ckd_add (&size, seek_bytes, size)) in main()
2498 if (iftruncate (STDOUT_FILENO, size) != 0) in main()
2516 intmax_t isize = size; in main()