Home
last modified time | relevance | path

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

/external/google-breakpad/src/common/tests/
Dfile_utils.cc131 size_t bytes_written_total = 0; in WriteFile() local
134 while (bytes_written_total < buffer_size) { in WriteFile()
136 HANDLE_EINTR(write(fd, data + bytes_written_total, in WriteFile()
137 buffer_size - bytes_written_total)); in WriteFile()
143 bytes_written_total += bytes_written_partial; in WriteFile()
/external/libchrome/base/files/
Dfile_util_posix.cc724 ssize_t bytes_written_total = 0; in WriteFileDescriptor() local
725 for (ssize_t bytes_written_partial = 0; bytes_written_total < size; in WriteFileDescriptor()
726 bytes_written_total += bytes_written_partial) { in WriteFileDescriptor()
728 HANDLE_EINTR(write(fd, data + bytes_written_total, in WriteFileDescriptor()
729 size - bytes_written_total)); in WriteFileDescriptor()