Searched refs:n_bytes_read (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | od.c | 1059 size_t n_bytes_read, n_bytes_to_read = BUFSIZ; in skip() local 1065 n_bytes_read = fread (buf, 1, n_bytes_to_read, in_stream); in skip() 1066 n_skip -= n_bytes_read; in skip() 1067 if (n_bytes_read != n_bytes_to_read) in skip() 1370 size_t n_bytes_read; in dump() local 1384 n_bytes_read = 0; in dump() 1389 ok &= read_block (n_needed, block[idx], &n_bytes_read); in dump() 1390 if (n_bytes_read < bytes_per_block) in dump() 1392 affirm (n_bytes_read == bytes_per_block); in dump() 1393 write_block (current_offset, n_bytes_read, in dump() [all …]
|
D | dd.c | 2105 idx_t n_bytes_read; in dd_copy() local 2247 n_bytes_read = nread; in dd_copy() 2249 if (n_bytes_read < input_blocksize) in dd_copy() 2252 partread = n_bytes_read; in dd_copy() 2257 memset (ibuf + n_bytes_read, in dd_copy() 2259 input_blocksize - n_bytes_read); in dd_copy() 2260 n_bytes_read = input_blocksize; in dd_copy() 2271 idx_t nwritten = iwrite (STDOUT_FILENO, obuf, n_bytes_read); in dd_copy() 2273 if (nwritten != n_bytes_read) in dd_copy() 2278 else if (n_bytes_read == input_blocksize) in dd_copy() [all …]
|