Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dasynctcpsocket.cc58 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()
[all …]
Dasynctcpsocket.h62 bool IsOutBufferEmpty() const { return outpos_ == 0; } in IsOutBufferEmpty()
63 void ClearOutBuffer() { outpos_ = 0; } in ClearOutBuffer()
75 size_t insize_, inpos_, outsize_, outpos_; variable