Home
last modified time | relevance | path

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

/external/chromium/net/socket_stream/
Dsocket_stream.cc68 write_buf_(NULL), in SocketStream()
157 if (write_buf_) { in SendData()
174 write_buf_ = new IOBuffer(len); in SendData()
175 memcpy(write_buf_->data(), data, len); in SendData()
342 write_buf_ = pending_write_bufs_.front(); in DidSendData()
346 write_buf_ = NULL; in DidSendData()
371 if (result >= 0 && write_buf_) { in OnWriteCompleted()
876 if (closing_ && !write_buf_ && pending_write_bufs_.empty()) { in DoReadWrite()
911 if (write_buf_ && !current_write_buf_) { in DoReadWrite()
913 current_write_buf_ = new DrainableIOBuffer(write_buf_, write_buf_size_); in DoReadWrite()
Dsocket_stream.h320 scoped_refptr<IOBuffer> write_buf_; variable
/external/chromium/net/udp/
Dudp_socket_libevent.cc65 write_buf_ = NULL; in Close()
199 write_buf_ = buf; in SendToOrWrite()
296 int result = InternalSendTo(write_buf_, write_buf_len_, in DidCompleteWrite()
306 write_buf_ = NULL; in DidCompleteWrite()
Dudp_socket_libevent.h177 scoped_refptr<IOBuffer> write_buf_; variable
/external/chromium/net/ftp/
Dftp_network_transaction.cc314 if (write_buf_) in ResetStateForRestart()
315 write_buf_->SetOffset(0); in ResetStateForRestart()
419 DCHECK(!write_buf_); in SendFtpCommand()
431 write_buf_ = new DrainableIOBuffer(write_command_buf_, in SendFtpCommand()
670 return ctrl_socket_->Write(write_buf_, in DoCtrlWrite()
671 write_buf_->BytesRemaining(), in DoCtrlWrite()
679 write_buf_->DidConsume(result); in DoCtrlWriteComplete()
680 if (write_buf_->BytesRemaining() == 0) { in DoCtrlWriteComplete()
682 write_buf_ = NULL; in DoCtrlWriteComplete()
Dftp_network_transaction.h215 scoped_refptr<DrainableIOBuffer> write_buf_; variable
/external/chromium/net/socket/
Dtcp_client_socket_libevent.cc450 write_buf_ = buf; in Write()
648 bytes_transferred = HANDLE_EINTR(write(socket_, write_buf_->data(), in DidCompleteWrite()
659 write_buf_->data()); in DidCompleteWrite()
665 write_buf_ = NULL; in DidCompleteWrite()
Dtcp_client_socket_libevent.h172 scoped_refptr<IOBuffer> write_buf_; variable