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()
846 ssize_t bytes_written_total = 0; in WriteFileDescriptor() local847 for (ssize_t bytes_written_partial = 0; bytes_written_total < size; in WriteFileDescriptor()848 bytes_written_total += bytes_written_partial) { in WriteFileDescriptor()850 HANDLE_EINTR(write(fd, data + bytes_written_total, in WriteFileDescriptor()851 size - bytes_written_total)); in WriteFileDescriptor()