Home
last modified time | relevance | path

Searched refs:write_buf_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket.cc84 write_buf_(NewDrainableIOBufferWithSize(arraysize(kSslClientHello))), in FakeSSLClientSocket()
87 std::memcpy(write_buf_->data(), kSslClientHello, arraysize(kSslClientHello)); in FakeSSLClientSocket()
121 DCHECK_EQ(write_buf_->BytesConsumed(), 0); in Connect()
196 DCHECK_EQ(write_buf_->BytesConsumed(), 0); in ProcessConnectDone()
203 write_buf_.get(), in DoSendClientHello()
204 write_buf_->BytesRemaining(), in DoSendClientHello()
226 DCHECK_LE(written, static_cast<size_t>(write_buf_->BytesRemaining())); in ProcessSendClientHelloDone()
228 if (written < static_cast<size_t>(write_buf_->BytesRemaining())) { in ProcessSendClientHelloDone()
230 write_buf_->DidConsume(written); in ProcessSendClientHelloDone()
295 write_buf_->SetOffset(0); in Disconnect()
Dchrome_async_socket.cc42 write_buf_(new net::IOBufferWithSize(write_buf_size)), in ChromeAsyncSocket()
264 if ((static_cast<size_t>(write_buf_->size()) - write_end_) < len) { in Write()
266 << "max write buffer size = " << write_buf_->size() in Write()
267 << " by " << (len - write_buf_->size()) << " bytes"; in Write()
271 std::memcpy(write_buf_->data() + write_end_, data, len); in Write()
312 write_buf_.get(), write_end_, in DoWrite()
346 std::memmove(write_buf_->data(), in ProcessWriteDone()
347 write_buf_->data() + written, in ProcessWriteDone()
Dchrome_async_socket.h204 scoped_refptr<net::IOBufferWithSize> write_buf_; variable
Dfake_ssl_client_socket.h105 scoped_refptr<net::DrainableIOBuffer> write_buf_; variable
/external/chromium_org/net/server/
Dhttp_connection.h119 QueuedWriteIOBuffer* write_buf() const { return write_buf_.get(); } in write_buf()
128 const scoped_refptr<QueuedWriteIOBuffer> write_buf_; variable
Dhttp_connection.cc155 write_buf_(new QueuedWriteIOBuffer()) { in HttpConnection()
/external/chromium_org/net/socket/
Dsocket_libevent.cc289 write_buf_ = buf; in WaitForWrite()
442 int rv = DoWrite(write_buf_.get(), write_buf_len_); in WriteCompleted()
448 write_buf_ = NULL; in WriteCompleted()
473 write_buf_ = NULL; in StopWatchingAndCleanUp()
Dsocket_libevent.h114 scoped_refptr<IOBuffer> write_buf_; variable
/external/chromium_org/net/ftp/
Dftp_network_transaction.cc340 if (write_buf_.get()) in ResetStateForRestart()
341 write_buf_->SetOffset(0); in ResetStateForRestart()
461 DCHECK(!write_buf_.get()); in SendFtpCommand()
473 write_buf_ = new DrainableIOBuffer(write_command_buf_.get(), in SendFtpCommand()
732 write_buf_.get(), write_buf_->BytesRemaining(), io_callback_); in DoCtrlWrite()
739 write_buf_->DidConsume(result); in DoCtrlWriteComplete()
740 if (write_buf_->BytesRemaining() == 0) { in DoCtrlWriteComplete()
742 write_buf_ = NULL; in DoCtrlWriteComplete()
Dftp_network_transaction.h225 scoped_refptr<DrainableIOBuffer> write_buf_; variable
/external/chromium_org/net/udp/
Dudp_socket_libevent.cc102 write_buf_ = NULL; in Close()
234 write_buf_ = buf; in SendToOrWrite()
434 InternalSendTo(write_buf_.get(), write_buf_len_, send_to_address_.get()); in DidCompleteWrite()
437 write_buf_ = NULL; in DidCompleteWrite()
Dudp_socket_libevent.h283 scoped_refptr<IOBuffer> write_buf_; variable