Searched refs:total_written (Results 1 – 2 of 2) sorted by relevance
237 int total_written = 0; in Write() local241 while (total_written < size) { in Write()244 bytes = write(file_, buffer_base + total_written, size - total_written); in Write()263 total_written += bytes; in Write()
301 ssize_t total_written, count; in headset_send_valist() local314 total_written = 0; in headset_send_valist()317 while (total_written < count) { in headset_send_valist()320 written = write(fd, rsp + total_written, in headset_send_valist()321 count - total_written); in headset_send_valist()325 total_written += written; in headset_send_valist()