Searched refs:just_read (Results 1 – 3 of 3) sorted by relevance
76 auto just_read = sock->Read(data.get() + total_read, count - total_read); in RecvAll() local77 if (just_read <= 0) { in RecvAll()81 total_read += just_read; in RecvAll()139 std::vector<char> just_read(16); in RecvUptimeResult() local141 auto count = sock->Read(just_read.data(), just_read.size()); in RecvUptimeResult()146 just_read.resize(count); in RecvUptimeResult()147 uptime_vec.insert(uptime_vec.end(), just_read.begin(), just_read.end()); in RecvUptimeResult()148 } while (!just_read.empty()); in RecvUptimeResult()
89 auto just_read = in RecvAll() local91 if (just_read <= 0) { in RecvAll()95 total_read += static_cast<size_t>(just_read); in RecvAll()
51 auto just_read = fd_->Read(&buf[total_read], buf.size() - total_read); in Recv() local52 if (just_read <= 0) { in Recv()53 if (just_read < 0) { in Recv()62 total_read += just_read; in Recv()