Searched refs:total_written (Results 1 – 3 of 3) 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()
69 size_t total_written = 0, current_written; in WriteAll() local70 while (total_written < data_len) { in WriteAll()71 result = Write(static_cast<const char*>(data) + total_written, in WriteAll()72 data_len - total_written, ¤t_written, error); in WriteAll()75 total_written += current_written; in WriteAll()78 *written = total_written; in WriteAll()
291 ssize_t total_written, count; in headset_send_valist() local304 total_written = 0; in headset_send_valist()307 while (total_written < count) { in headset_send_valist()310 written = write(fd, rsp + total_written, in headset_send_valist()311 count - total_written); in headset_send_valist()315 total_written += written; in headset_send_valist()