Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 1 of 1) sorted by relevance

/packages/services/Car/car-bugreportd/
Dmain.cpp142 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer))); in zipFilesToFd() local
143 if (bytes_read == 0) { in zipFilesToFd()
146 if (bytes_read == -1) { in zipFilesToFd()
155 error = writer->WriteBytes(buffer, bytes_read); in zipFilesToFd()
176 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd_in, buffer, buffer_len)); in copyTo() local
177 if (bytes_read == 0) { in copyTo()
180 if (bytes_read == -1) { in copyTo()
190 if (!android::base::WriteFully(fd_out, buffer, bytes_read)) { in copyTo()
194 return bytes_read; in copyTo()
244 ssize_t bytes_read = copyTo(s, progress_socket, buffer, sizeof(buffer)); in doBugreport() local
[all …]