Lines Matching refs:outpos_
58 outpos_(0) { in AsyncTCPSocketBase()
140 if (outpos_ + cb > outsize_) { in SendRaw()
145 memcpy(outbuf_ + outpos_, pv, cb); in SendRaw()
146 outpos_ += cb; in SendRaw()
152 int res = socket_->Send(outbuf_, outpos_); in FlushOutBuffer()
156 if (static_cast<size_t>(res) <= outpos_) { in FlushOutBuffer()
157 outpos_ -= res; in FlushOutBuffer()
162 if (outpos_ > 0) { in FlushOutBuffer()
163 memmove(outbuf_, outbuf_ + res, outpos_); in FlushOutBuffer()
169 ASSERT(outpos_ + cb < outsize_); in AppendToOutBuffer()
170 memcpy(outbuf_ + outpos_, pv, cb); in AppendToOutBuffer()
171 outpos_ += cb; in AppendToOutBuffer()
220 if (outpos_ > 0) { in OnWriteEvent()
224 if (outpos_ == 0) { in OnWriteEvent()