Lines Matching refs:bytes_written
229 ssize_t bytes_written = 0; in WriteAll() local
230 while (bytes_written < static_cast<ssize_t>(count)) { in WriteAll()
231 ssize_t rc = write(fd, c_buf + bytes_written, count - bytes_written); in WriteAll()
233 bytes_written += rc; in WriteAll()
240 size_t bytes_written = 0; in PWriteAll() local
242 while (bytes_written < count) { in PWriteAll()
244 ssize_t rc = pwrite(fd, c_buf + bytes_written, count - bytes_written, in PWriteAll()
245 offset + bytes_written); in PWriteAll()
249 << " bytes_written=" << bytes_written in PWriteAll()
253 bytes_written += rc; in PWriteAll()
260 ssize_t bytes_written = 0; in WriteAll() local
261 while (bytes_written < static_cast<ssize_t>(count)) { in WriteAll()
262 ssize_t rc = fd->Write(c_buf + bytes_written, count - bytes_written); in WriteAll()
264 bytes_written += rc; in WriteAll()