HomeSort by relevance Sort by last modified time
    Searched defs:sock_ (Results 1 - 10 of 10) sorted by null

  /external/chromium/net/socket/
deterministic_socket_data_unittest.cc 46 ClientSocket* sock_; member in class:net::DeterministicSocketDataTest
67 sock_(NULL),
104 sock_ = connection_.socket();
120 EXPECT_TRUE(sock_->IsConnected());
131 ASSERT_EQ(rv, sock_->Read(read_buf_, len, &read_callback_));
145 ASSERT_EQ(len, sock_->Write(buf, len, &write_callback_));
154 EXPECT_TRUE(sock_->IsConnected());
166 ASSERT_EQ(rv, sock_->Write(buf, len, &write_callback_));
transport_client_socket_unittest.cc 90 scoped_ptr<ClientSocket> sock_; member in class:net::__anon2914::TransportClientSocketTest
126 sock_.reset(
139 rv = sock_->Read(buf, buf_len, callback);
160 rv = sock_->Write(request_buffer, arraysize(request_text) - 1, &callback);
176 EXPECT_FALSE(sock_->IsConnected());
178 int rv = sock_->Connect(&callback);
192 EXPECT_TRUE(sock_->IsConnected());
197 sock_->Disconnect();
198 EXPECT_FALSE(sock_->IsConnected());
206 EXPECT_FALSE(sock_->IsConnected())
    [all...]
  /external/chromium_org/net/socket/
deterministic_socket_data_unittest.cc 52 StreamSocket* sock_; member in class:net::DeterministicSocketDataTest
70 : sock_(NULL),
104 sock_ = connection_.socket();
120 EXPECT_TRUE(sock_->IsConnected());
131 ASSERT_EQ(rv, sock_->Read(read_buf_.get(), len, read_callback_.callback()));
145 ASSERT_EQ(len, sock_->Write(buf.get(), len, write_callback_.callback()));
154 EXPECT_TRUE(sock_->IsConnected());
166 ASSERT_EQ(rv, sock_->Write(buf.get(), len, write_callback_.callback()));
172 sock_->Read(
185 sock_->Write
    [all...]
ssl_client_socket_openssl_unittest.cc 215 sock_ = CreateSSLClientSocket(transport_.Pass(),
219 if (sock_->IsConnected()) {
224 *result = callback_.GetResult(sock_->Connect(callback_.callback()));
233 sock_->GetSSLInfo(&ssl_info);
248 scoped_ptr<SSLClientSocket> sock_; member in class:net::__anon9358::SSLClientSocketOpenSSLClientAuthTest
266 EXPECT_FALSE(sock_->IsConnected());
288 EXPECT_TRUE(sock_->IsConnected());
317 EXPECT_TRUE(sock_->IsConnected());
321 sock_->Disconnect();
322 EXPECT_FALSE(sock_->IsConnected())
    [all...]
transport_client_socket_unittest.cc 95 scoped_ptr<StreamSocket> sock_; member in class:net::TransportClientSocketTest
134 sock_ =
147 rv = sock_->Read(buf, buf_len, callback->callback());
168 rv = sock_->Write(
184 EXPECT_FALSE(sock_->IsConnected());
186 int rv = sock_->Connect(callback.callback());
200 EXPECT_TRUE(sock_->IsConnected());
205 sock_->Disconnect();
206 EXPECT_FALSE(sock_->IsConnected());
214 EXPECT_FALSE(sock_->IsConnected())
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/sctp/
sctpdataengine.h 195 // Sets sending_ to false and sock_ to NULL.
216 struct socket* sock_; // The socket created by usrsctp_socket(...). member in class:cricket::SctpDataMediaChannel
  /external/chromium/net/spdy/
spdy_proxy_client_socket_unittest.cc 102 scoped_ptr<SpdyProxyClientSocket> sock_; member in class:net::SpdyProxyClientSocketTest
128 : sock_(NULL),
200 sock_.reset(
215 ASSERT_EQ(ERR_IO_PENDING, sock_->Connect(&read_callback_));
221 ASSERT_EQ(ERR_IO_PENDING, sock_->Connect(&read_callback_));
227 const HttpResponseInfo* response = sock_->GetConnectResponseInfo();
236 ASSERT_EQ(len, sock_->Read(buf, len, NULL));
238 ASSERT_TRUE(sock_->IsConnected());
246 ASSERT_EQ(ERR_IO_PENDING, sock_->Read(buf, len, &read_callback_));
247 EXPECT_TRUE(sock_->IsConnected())
    [all...]
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
socket_test.cc 148 sock_ = ki_socket(AF_INET, SOCK_STREAM, 0);
149 EXPECT_GT(sock_, -1);
156 ASSERT_EQ(0, ki_close(sock_));
165 int sock_; member in class:__anon8827::SocketTestWithServer
346 ASSERT_EQ(0, ki_connect(sock_, (sockaddr*) &addr, addrlen))
353 ASSERT_EQ(sizeof(outbuf), ki_write(sock_, outbuf, sizeof(outbuf)))
355 ASSERT_EQ(sizeof(outbuf), ki_read(sock_, inbuf, sizeof(inbuf)));
360 ASSERT_EQ(sizeof(outbuf), ki_write(sock_, outbuf, sizeof(outbuf)));
361 ASSERT_EQ(sizeof(outbuf), ki_read(sock_, inbuf, sizeof(inbuf)));
376 SetNonBlocking(sock_);
    [all...]
  /external/chromium_org/net/spdy/
spdy_proxy_client_socket_unittest.cc 116 scoped_ptr<SpdyProxyClientSocket> sock_; member in class:net::SpdyProxyClientSocketTest
166 sock_.reset(NULL);
202 sock_.reset(
218 ASSERT_EQ(ERR_IO_PENDING, sock_->Connect(read_callback_.callback()));
224 ASSERT_EQ(ERR_IO_PENDING, sock_->Connect(read_callback_.callback()));
230 const HttpResponseInfo* response = sock_->GetConnectResponseInfo();
239 ASSERT_EQ(len, sock_->Read(buf.get(), len, CompletionCallback()));
241 ASSERT_TRUE(sock_->IsConnected());
250 sock_->Read(buf.get(), len, read_callback_.callback()));
251 EXPECT_TRUE(sock_->IsConnected())
1386 scoped_ptr<SpdyProxyClientSocket>* sock_; member in class:net::DeleteSockCallback
    [all...]
  /external/stressapptest/src/
worker.h 512 int sock_; member in class:NetworkThread

Completed in 830 milliseconds