Home
last modified time | relevance | path

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

/external/chromium_org/net/socket/
Dunix_domain_client_socket_posix_unittest.cc134 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
137 server_socket.Accept(&accepted_socket, accept_callback.callback())); in TEST_F()
138 EXPECT_FALSE(accepted_socket); in TEST_F()
146 EXPECT_FALSE(accepted_socket); in TEST_F()
149 EXPECT_TRUE(accepted_socket); in TEST_F()
150 EXPECT_TRUE(accepted_socket->IsConnected()); in TEST_F()
212 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
215 server_socket.Accept(&accepted_socket, accept_callback.callback())); in TEST_F()
216 EXPECT_FALSE(accepted_socket); in TEST_F()
221 EXPECT_FALSE(accepted_socket); in TEST_F()
[all …]
Dtcp_server_socket_unittest.cc84 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
85 int result = socket_.Accept(&accepted_socket, accept_callback.callback()); in TEST_F()
90 ASSERT_TRUE(accepted_socket.get() != NULL); in TEST_F()
93 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
104 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
107 socket_.Accept(&accepted_socket, accept_callback.callback())); in TEST_F()
117 EXPECT_TRUE(accepted_socket != NULL); in TEST_F()
120 EXPECT_EQ(GetPeerAddress(accepted_socket.get()).address(), in TEST_F()
129 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
132 socket_.Accept(&accepted_socket, accept_callback.callback())); in TEST_F()
[all …]
Dtcp_socket_unittest.cc69 scoped_ptr<TCPSocket> accepted_socket; in TestAcceptAsync() local
72 socket_.Accept(&accepted_socket, &accepted_address, in TestAcceptAsync()
83 EXPECT_TRUE(accepted_socket.get()); in TestAcceptAsync()
109 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() local
111 int result = socket_.Accept(&accepted_socket, &accepted_address, in TEST_F()
117 EXPECT_TRUE(accepted_socket.get()); in TEST_F()
156 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() local
160 socket_.Accept(&accepted_socket, &accepted_address, in TEST_F()
188 EXPECT_TRUE(accepted_socket.get()); in TEST_F()
190 EXPECT_NE(accepted_socket.get(), accepted_socket2.get()); in TEST_F()
[all …]
Dunix_domain_server_socket_posix_unittest.cc90 scoped_ptr<StreamSocket> accepted_socket; in TEST_F() local
93 server_socket.Accept(&accepted_socket, accept_callback.callback())); in TEST_F()
94 EXPECT_FALSE(accepted_socket); in TEST_F()
119 EXPECT_FALSE(accepted_socket); in TEST_F()
Dunix_domain_server_socket_posix.cc23 scoped_ptr<SocketLibevent> accepted_socket) { in SetStreamSocket() argument
24 socket->reset(new UnixDomainClientSocket(accepted_socket.Pass())); in SetStreamSocket()
28 scoped_ptr<SocketLibevent> accepted_socket) { in SetSocketDescriptor() argument
29 *socket = accepted_socket->ReleaseConnectedSocket(); in SetSocketDescriptor()
Dtcp_client_socket_unittest.cc45 scoped_ptr<StreamSocket> accepted_socket; in TEST() local
46 int result = server.Accept(&accepted_socket, accept_callback.callback()); in TEST()
Dsocket_libevent.cc371 scoped_ptr<SocketLibevent> accepted_socket(new SocketLibevent); in DoAccept() local
372 int rv = accepted_socket->AdoptConnectedSocket(new_socket, new_peer_address); in DoAccept()
376 *socket = accepted_socket.Pass(); in DoAccept()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dstandalone.py565 accepted_socket, client_address = self.socket.accept()
571 accepted_socket.do_handshake()
577 self._logger.debug('Cipher: %s', accepted_socket.cipher())
579 accepted_socket.getpeercert())
602 accepted_socket = OpenSSL.SSL.Connection(ctx, accepted_socket)
603 accepted_socket.set_accept_state()
610 accepted_socket.do_handshake()
616 cert = accepted_socket.get_peer_certificate()
620 accepted_socket = _StandaloneSSLConnection(accepted_socket)
624 return accepted_socket, client_address
/external/chromium_org/ppapi/tests/
Dtest_tcp_server_socket_private.cc175 TCPSocketPrivate accepted_socket(pp::PassRef(), resource); in TestListen() local
177 ASSERT_TRUE(accepted_socket.GetLocalAddress(&accepted_local_addr)); in TestListen()
178 ASSERT_TRUE(accepted_socket.GetRemoteAddress(&accepted_remote_addr)); in TestListen()
188 ASSERT_SUBTEST_SUCCESS(SyncRead(&accepted_socket, in TestListen()
193 accepted_socket.Disconnect(); in TestListen()
Dtest_tcp_socket.cc226 pp::TCPSocket accepted_socket(accept_callback.output()); in TestListen() local
227 pp::NetAddress accepted_local_addr = accepted_socket.GetLocalAddress(); in TestListen()
228 pp::NetAddress accepted_remote_addr = accepted_socket.GetRemoteAddress(); in TestListen()
239 ASSERT_SUBTEST_SUCCESS(ReadFromSocket(&accepted_socket, in TestListen()
244 accepted_socket.Close(); in TestListen()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Drelayserver.cc570 rtc::AsyncSocket* accepted_socket = in AcceptConnection() local
572 if (accepted_socket != NULL) { in AcceptConnection()
578 accepted_socket = new rtc::AsyncSSLServerSocket(accepted_socket); in AcceptConnection()
581 new rtc::AsyncTCPSocket(accepted_socket, false); in AcceptConnection()
Dturnserver.cc264 rtc::AsyncSocket* accepted_socket = server_socket->Accept(&accept_addr); in AcceptConnection() local
265 if (accepted_socket != NULL) { in AcceptConnection()
268 new cricket::AsyncStunTCPSocket(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
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
D_winnt.h230 PRBool accepted_socket; /* Is this an accepted socket (on the member
D_beos.h157 PRBool accepted_socket; member