Searched refs:bytes_written_total (Results 1 – 2 of 2) sorted by relevance
131 size_t bytes_written_total = 0; in WriteFile() local134 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()
724 ssize_t bytes_written_total = 0; in WriteFileDescriptor() local725 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()