Home
last modified time | relevance | path

Searched refs:handshake_buf_len (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/socket/
Dsocks5_client_socket.cc273 size_t handshake_buf_len = buffer_.size() - bytes_sent_; in DoGreetWrite() local
274 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoGreetWrite()
276 handshake_buf_len); in DoGreetWrite()
278 ->Write(handshake_buf_.get(), handshake_buf_len, io_callback_); in DoGreetWrite()
298 size_t handshake_buf_len = kGreetReadHeaderSize - bytes_received_; in DoGreetRead() local
299 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoGreetRead()
301 ->Read(handshake_buf_.get(), handshake_buf_len, io_callback_); in DoGreetRead()
370 int handshake_buf_len = buffer_.size() - bytes_sent_; in DoHandshakeWrite() local
371 DCHECK_LT(0, handshake_buf_len); in DoHandshakeWrite()
372 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeWrite()
[all …]
Dsocks_client_socket.cc330 int handshake_buf_len = buffer_.size() - bytes_sent_; in DoHandshakeWrite() local
331 DCHECK_GT(handshake_buf_len, 0); in DoHandshakeWrite()
332 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeWrite()
334 handshake_buf_len); in DoHandshakeWrite()
337 handshake_buf_len, in DoHandshakeWrite()
368 int handshake_buf_len = kReadHeaderSize - bytes_received_; in DoHandshakeRead() local
369 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeRead()
372 handshake_buf_len, in DoHandshakeRead()
/external/chromium/net/socket/
Dsocks5_client_socket.cc276 size_t handshake_buf_len = buffer_.size() - bytes_sent_; in DoGreetWrite() local
277 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoGreetWrite()
279 handshake_buf_len); in DoGreetWrite()
280 return transport_->socket()->Write(handshake_buf_, handshake_buf_len, in DoGreetWrite()
301 size_t handshake_buf_len = kGreetReadHeaderSize - bytes_received_; in DoGreetRead() local
302 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoGreetRead()
303 return transport_->socket()->Read(handshake_buf_, handshake_buf_len, in DoGreetRead()
376 int handshake_buf_len = buffer_.size() - bytes_sent_; in DoHandshakeWrite() local
377 DCHECK_LT(0, handshake_buf_len); in DoHandshakeWrite()
378 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeWrite()
[all …]
Dsocks_client_socket.cc329 int handshake_buf_len = buffer_.size() - bytes_sent_; in DoHandshakeWrite() local
330 DCHECK_GT(handshake_buf_len, 0); in DoHandshakeWrite()
331 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeWrite()
333 handshake_buf_len); in DoHandshakeWrite()
334 return transport_->socket()->Write(handshake_buf_, handshake_buf_len, in DoHandshakeWrite()
365 int handshake_buf_len = kReadHeaderSize - bytes_received_; in DoHandshakeRead() local
366 handshake_buf_ = new IOBuffer(handshake_buf_len); in DoHandshakeRead()
367 return transport_->socket()->Read(handshake_buf_, handshake_buf_len, in DoHandshakeRead()