Lines Matching refs:SSLStream
38 void SSLStream::SslDeleter::operator()(BIO* bio) const { in operator ()()
42 void SSLStream::SslDeleter::operator()(SSL* ssl) const { in operator ()()
46 void SSLStream::SslDeleter::operator()(SSL_CTX* ctx) const { in operator ()()
50 SSLStream::SSLStream(provider::TaskRunner* task_runner, in SSLStream() function in weave::examples::SSLStream
62 SSLStream::~SSLStream() { in ~SSLStream()
66 void SSLStream::RunTask(const base::Closure& task) { in RunTask()
70 void SSLStream::Read(void* buffer, in Read()
77 base::Bind(&SSLStream::RunTask, weak_ptr_factory_.GetWeakPtr(), in Read()
88 base::Bind(&SSLStream::Read, weak_ptr_factory_.GetWeakPtr(), buffer, in Read()
96 base::Bind(&SSLStream::RunTask, weak_ptr_factory_.GetWeakPtr(), in Read()
101 void SSLStream::Write(const void* buffer, in Write()
111 base::Bind(&SSLStream::RunTask, weak_ptr_factory_.GetWeakPtr(), in Write()
118 base::Bind(&SSLStream::Write, weak_ptr_factory_.GetWeakPtr(), buffer, in Write()
127 base::Bind(&SSLStream::Write, weak_ptr_factory_.GetWeakPtr(), buffer, in Write()
134 FROM_HERE, base::Bind(&SSLStream::RunTask, weak_ptr_factory_.GetWeakPtr(), in Write()
139 void SSLStream::CancelPendingOperations() { in CancelPendingOperations()
143 void SSLStream::Connect( in Connect()
157 std::unique_ptr<SSLStream> stream{ in Connect()
158 new SSLStream{task_runner, std::move(stream_bio)}}; in Connect()
162 void SSLStream::ConnectBio( in ConnectBio()
163 std::unique_ptr<SSLStream> stream, in ConnectBio()
173 base::Bind(&SSLStream::ConnectBio, base::Passed(&stream), callback)); in ConnectBio()
182 void SSLStream::DoHandshake( in DoHandshake()
183 std::unique_ptr<SSLStream> stream, in DoHandshake()
197 base::Bind(&SSLStream::DoHandshake, base::Passed(&stream), callback)); in DoHandshake()