Home
last modified time | relevance | path

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

/external/chromium/net/socket/
Dtcp_server_socket_unittest.cc65 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
66 int result = socket_.Accept(&accepted_socket, &accept_callback); in TEST_F()
71 ASSERT_TRUE(accepted_socket.get() != NULL); in TEST_F()
74 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
83 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
85 ASSERT_EQ(ERR_IO_PENDING, socket_.Accept(&accepted_socket, &accept_callback)); in TEST_F()
96 EXPECT_TRUE(accepted_socket != NULL); in TEST_F()
99 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
106 scoped_ptr<ClientSocket> accepted_socket; in TEST_F() local
109 socket_.Accept(&accepted_socket, &accept_callback)); in TEST_F()
[all …]
/external/chromium/third_party/libjingle/source/talk/p2p/base/
Drelayserver.cc574 talk_base::AsyncSocket* accepted_socket = in AcceptConnection() local
576 if (accepted_socket != NULL) { in AcceptConnection()
582 accepted_socket = new talk_base::AsyncSSLServerSocket(accepted_socket); in AcceptConnection()
585 new talk_base::AsyncTCPSocket(accepted_socket, false); in AcceptConnection()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dstandalone.py426 accepted_socket, client_address = self.socket.accept()
428 accepted_socket = _StandaloneSSLConnection(accepted_socket)
429 return accepted_socket, client_address
/external/chromium-trace/trace-viewer/examples/stream_server/
Dstandalone.py430 accepted_socket, client_address = self.socket.accept()
432 accepted_socket = _StandaloneSSLConnection(accepted_socket)
433 return accepted_socket, client_address