Searched refs:bytes_read (Results 1 – 1 of 1) sorted by relevance
/packages/services/Car/car-bugreportd/ |
D | main.cpp | 143 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer))); in zipFilesToFd() local 144 if (bytes_read == 0) { in zipFilesToFd() 147 if (bytes_read == -1) { in zipFilesToFd() 156 error = writer->WriteBytes(buffer, bytes_read); in zipFilesToFd() 177 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_in, buffer, buffer_len)); in copyTo() local 178 if (bytes_read == 0) { in copyTo() 181 if (bytes_read == -1) { in copyTo() 191 if (!android::base::WriteFully(fd_out, buffer, bytes_read)) { in copyTo() 195 return bytes_read; in copyTo() 247 ssize_t bytes_read = copyTo(s, progress_socket, buffer, sizeof(buffer)); in doBugreport() local [all …]
|