Searched refs:outpos_ (Results 1 – 2 of 2) sorted by relevance
58 outpos_(0) { in AsyncTCPSocketBase()139 if (outpos_ + cb > outsize_) { in SendRaw()144 memcpy(outbuf_ + outpos_, pv, cb); in SendRaw()145 outpos_ += cb; in SendRaw()151 int res = socket_->Send(outbuf_, outpos_); in FlushOutBuffer()155 if (static_cast<size_t>(res) <= outpos_) { in FlushOutBuffer()156 outpos_ -= res; in FlushOutBuffer()161 if (outpos_ > 0) { in FlushOutBuffer()162 memmove(outbuf_, outbuf_ + res, outpos_); in FlushOutBuffer()168 ASSERT(outpos_ + cb < outsize_); in AppendToOutBuffer()[all …]
60 bool IsOutBufferEmpty() const { return outpos_ == 0; } in IsOutBufferEmpty()61 void ClearOutBuffer() { outpos_ = 0; } in ClearOutBuffer()73 size_t insize_, inpos_, outsize_, outpos_; variable