Home
last modified time | relevance | path

Searched refs:recv_buffer_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium/net/socket/
Dssl_client_socket_win.cc757 memmove(recv_buffer_.get(), received_ptr_, bytes_received_); in Read()
758 received_ptr_ = recv_buffer_.get(); in Read()
912 if (!recv_buffer_.get()) in DoHandshakeRead()
913 recv_buffer_.reset(new char[kRecvBufferSize]); in DoHandshakeRead()
939 char* buf = recv_buffer_.get() + bytes_received_; in DoHandshakeReadComplete()
971 in_buffers_[0].pvBuffer = recv_buffer_.get(); in DoHandshakeReadComplete()
1027 memmove(recv_buffer_.get(), in DidCallInitializeSecurityContext()
1028 recv_buffer_.get() + (bytes_received_ - in_buffers_[1].cbBuffer), in DidCallInitializeSecurityContext()
1076 memmove(recv_buffer_.get(), in DidCallInitializeSecurityContext()
1077 recv_buffer_.get() + (bytes_received_ - in_buffers_[1].cbBuffer), in DidCallInitializeSecurityContext()
[all …]
Dssl_server_socket_nss.cc440 recv_buffer_ = new IOBuffer(nb); in BufferRecv()
441 rv = transport_socket_->Read(recv_buffer_, nb, &buffer_recv_callback_); in BufferRecv()
446 memcpy(buf, recv_buffer_->data(), rv); in BufferRecv()
448 recv_buffer_ = NULL; in BufferRecv()
458 memcpy(buf, recv_buffer_->data(), result); in BufferRecvComplete()
460 recv_buffer_ = NULL; in BufferRecvComplete()
Dssl_client_socket_mac.cc932 recv_buffer_.insert(recv_buffer_.end(), in OnTransportReadComplete()
1313 size_t total_read = us->recv_buffer_.size(); in SSLReadCallback()
1323 us->recv_buffer_.insert(us->recv_buffer_.end(), in SSLReadCallback()
1333 memcpy(data, &us->recv_buffer_[0], total_read); in SSLReadCallback()
1334 us->recv_buffer_.clear(); in SSLReadCallback()
Dssl_client_socket_openssl.cc684 recv_buffer_ = NULL; in Disconnect()
967 recv_buffer_ = new IOBuffer(max_write); in BufferRecv()
968 int rv = transport_->socket()->Read(recv_buffer_, max_write, in BufferRecv()
993 DCHECK(recv_buffer_); in TransportReadComplete()
994 int ret = BIO_write(transport_bio_, recv_buffer_->data(), result); in TransportReadComplete()
998 recv_buffer_ = NULL; in TransportReadComplete()
Dssl_server_socket_nss.h90 scoped_refptr<IOBuffer> recv_buffer_; variable
Dssl_client_socket_mac.h165 std::vector<char> recv_buffer_; variable
Dssl_client_socket_win.h175 scoped_array<char> recv_buffer_; variable
Dssl_client_socket_openssl.h119 scoped_refptr<IOBuffer> recv_buffer_; variable
Dssl_client_socket_nss.h184 scoped_refptr<IOBuffer> recv_buffer_; variable
Dssl_client_socket_nss.cc1809 recv_buffer_ = new IOBuffer(nb); in BufferRecv()
1810 rv = transport_->socket()->Read(recv_buffer_, nb, &buffer_recv_callback_); in BufferRecv()
1815 memcpy(buf, recv_buffer_->data(), rv); in BufferRecv()
1817 recv_buffer_ = NULL; in BufferRecv()
1829 memcpy(buf, recv_buffer_->data(), result); in BufferRecvComplete()
1831 recv_buffer_ = NULL; in BufferRecvComplete()