Home
last modified time | relevance | path

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

/external/chromium/net/websockets/
Dwebsocket.cc29 read_consumed_len_(0), in WebSocket()
153 read_consumed_len_ = 0; in OnConnected()
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()
303 current_read_buf_->StartOfBuffer() + read_consumed_len_; in ProcessFrameData()
401 read_consumed_len_ += len; in SkipReadBuffer()
402 int remaining = current_read_buf_->offset() - read_consumed_len_; in SkipReadBuffer()
404 if (remaining < read_consumed_len_ && in SkipReadBuffer()
405 current_read_buf_->RemainingCapacity() < read_consumed_len_) { in SkipReadBuffer()
[all …]
Dwebsocket_unittest.cc120 websocket->read_consumed_len_ = consumed; in SetReadConsumed()
133 + websocket->read_consumed_len_; in TestProcessFrameData()
135 websocket->current_read_buf_->offset() - websocket->read_consumed_len_; in TestProcessFrameData()
Dwebsocket.h205 int read_consumed_len_; variable