Home
last modified time | relevance | path

Searched refs:current_read_buf_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/websockets/
Dwebsocket.cc28 current_read_buf_(NULL), in WebSocket()
151 current_read_buf_ = new GrowableIOBuffer(); in OnConnected()
152 current_read_buf_->SetCapacity(max_pending_send_allowed_); in OnConnected()
257 DCHECK(current_read_buf_); in DoReceivedData()
259 current_read_buf_->StartOfBuffer() + read_consumed_len_; in DoReceivedData()
260 size_t len = current_read_buf_->offset() - read_consumed_len_; in DoReceivedData()
276 if (current_read_buf_->offset() == read_consumed_len_) { in DoReceivedData()
296 DCHECK(current_read_buf_); in ProcessFrameData()
303 current_read_buf_->StartOfBuffer() + read_consumed_len_; in ProcessFrameData()
307 current_read_buf_->StartOfBuffer() + current_read_buf_->offset(); in ProcessFrameData()
[all …]
Dwebsocket_unittest.cc117 websocket->current_read_buf_ = new GrowableIOBuffer(); in InitReadBuf()
132 websocket->current_read_buf_->StartOfBuffer() in TestProcessFrameData()
135 websocket->current_read_buf_->offset() - websocket->read_consumed_len_; in TestProcessFrameData()
Dwebsocket.h204 scoped_refptr<GrowableIOBuffer> current_read_buf_; variable