Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc34 size_t total_written = 0; in WriteAll() local
37 written = fd->Write((void*)&(buf[total_written]), size - total_written); in WriteAll()
43 return total_written; in WriteAll()
45 total_written += written; in WriteAll()
46 } while (total_written < size); in WriteAll()
47 return total_written; in WriteAll()
100 ssize_t total_written{}; in SendAll() local
104 while (total_written < static_cast<ssize_t>(msg.size())) { in SendAll()
105 auto just_written = sock->Send(msg.data() + total_written, in SendAll()
106 msg.size() - total_written, MSG_NOSIGNAL); in SendAll()
[all …]