Searched refs:total_written (Results 1 – 1 of 1) sorted by relevance
34 size_t total_written = 0; in WriteAll() local37 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() local104 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 …]