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

  /external/chromium_org/net/socket/
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...]
ssl_client_socket_openssl_unittest.cc 171 sock_ = CreateSSLClientSocket(transport_.Pass(),
175 if (sock_->IsConnected()) {
180 *result = callback_.GetResult(sock_->Connect(callback_.callback()));
189 sock_->GetSSLInfo(&ssl_info);
203 scoped_ptr<SSLClientSocket> sock_; member in class:net::__anon13552::SSLClientSocketOpenSSLClientAuthTest
221 EXPECT_FALSE(sock_->IsConnected());
243 EXPECT_TRUE(sock_->IsConnected());
272 EXPECT_TRUE(sock_->IsConnected());
276 sock_->Disconnect();
277 EXPECT_FALSE(sock_->IsConnected())
    [all...]
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_unittest.cc 692 sock_ = CreateSSLClientSocket(
695 if (sock_->IsConnected()) {
700 *result = callback_.GetResult(sock_->Connect(callback_.callback()));
708 scoped_ptr<SSLClientSocket> sock_; member in class:net::__anon13554::SSLClientSocketTest
    [all...]
  /external/chromium_org/net/spdy/
spdy_proxy_client_socket_unittest.cc 118 scoped_ptr<SpdyProxyClientSocket> sock_; member in class:net::SpdyProxyClientSocketTest
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();
238 ASSERT_EQ(len, sock_->Read(buf.get(), len, CompletionCallback()));
240 ASSERT_TRUE(sock_->IsConnected());
249 sock_->Read(buf.get(), len, read_callback_.callback()));
250 EXPECT_TRUE(sock_->IsConnected());
253 EXPECT_TRUE(sock_->IsConnected())
1331 scoped_ptr<SpdyProxyClientSocket>* sock_; member in class:net::DeleteSockCallback
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/media/sctp/
sctpdataengine.cc 308 sock_(NULL),
331 if (sock_) {
336 sock_ = usrsctp_socket(AF_CONN, SOCK_STREAM, IPPROTO_SCTP,
338 if (!sock_) {
345 if (usrsctp_set_non_blocking(sock_, 1) < 0) {
356 if (usrsctp_setsockopt(sock_, SOL_SOCKET, SO_LINGER, &linger_opt,
366 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_ENABLE_STREAM_RESET,
375 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_NODELAY, &nodelay,
392 if (usrsctp_setsockopt(sock_, IPPROTO_SCTP, SCTP_EVENT, &event,
409 if (sock_) {
    [all...]
sctpdataengine.h 204 // Sets sending_ to false and sock_ to NULL.
235 struct socket* sock_; // The socket created by usrsctp_socket(...). member in class:cricket::SctpDataMediaChannel
  /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:__anon12977::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/stressapptest/src/
worker.cc 276 sock_ = 0;
    [all...]
worker.h 512 int sock_; member in class:NetworkThread

Completed in 3344 milliseconds