Lines Matching refs:this_read
303 ssize_t this_read; in cpio_mkfile_csum() local
306 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum()
307 if (this_read <= 0 || this_read > this_size) in cpio_mkfile_csum()
310 for (i = 0; i < this_read; i++) in cpio_mkfile_csum()
313 size -= this_read; in cpio_mkfile_csum()
404 ssize_t this_read; in cpio_mkfile() local
407 this_read = read(file, filebuf, this_size); in cpio_mkfile()
408 if (this_read <= 0 || this_read > this_size) { in cpio_mkfile()
413 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile()
417 offset += this_read; in cpio_mkfile()
418 size -= this_read; in cpio_mkfile()