Home
last modified time | relevance | path

Searched refs:user_buffer_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/spdy/
Dspdy_proxy_client_socket.cc44 user_buffer_(NULL), in SpdyProxyClientSocket()
107 user_buffer_ = NULL; in Disconnect()
153 DCHECK(!user_buffer_); in Read()
167 user_buffer_ = new DrainableIOBuffer(buf, buf_len); in Read()
174 user_buffer_ = NULL; in Read()
179 if (!user_buffer_) in PopulateUserReadBuffer()
182 while (!read_buffer_.empty() && user_buffer_->BytesRemaining() > 0) { in PopulateUserReadBuffer()
184 const int bytes_to_copy = std::min(user_buffer_->BytesRemaining(), in PopulateUserReadBuffer()
186 memcpy(user_buffer_->data(), data->data(), bytes_to_copy); in PopulateUserReadBuffer()
187 user_buffer_->DidConsume(bytes_to_copy); in PopulateUserReadBuffer()
[all …]
Dspdy_http_stream.cc139 CHECK(!user_buffer_); in ReadResponseBody()
143 user_buffer_ = buf; in ReadResponseBody()
363 if (user_buffer_) { in OnDataReceived()
438 if (user_buffer_) { in DoBufferedReadCallback()
439 rv = ReadResponseBody(user_buffer_, user_buffer_len_, user_callback_); in DoBufferedReadCallback()
441 user_buffer_ = NULL; in DoBufferedReadCallback()
Dspdy_proxy_client_socket.h156 scoped_refptr<DrainableIOBuffer> user_buffer_; variable
Dspdy_http_stream.h122 scoped_refptr<IOBuffer> user_buffer_; variable