Searched refs:recv_buffer_ (Results 1 – 10 of 10) sorted by relevance
/external/chromium/net/socket/ |
D | ssl_client_socket_win.cc | 757 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 …]
|
D | ssl_server_socket_nss.cc | 440 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()
|
D | ssl_client_socket_mac.cc | 932 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()
|
D | ssl_client_socket_openssl.cc | 684 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()
|
D | ssl_server_socket_nss.h | 90 scoped_refptr<IOBuffer> recv_buffer_; variable
|
D | ssl_client_socket_mac.h | 165 std::vector<char> recv_buffer_; variable
|
D | ssl_client_socket_win.h | 175 scoped_array<char> recv_buffer_; variable
|
D | ssl_client_socket_openssl.h | 119 scoped_refptr<IOBuffer> recv_buffer_; variable
|
D | ssl_client_socket_nss.h | 184 scoped_refptr<IOBuffer> recv_buffer_; variable
|
D | ssl_client_socket_nss.cc | 1809 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()
|