/external/chromium_org/net/socket/ |
D | unix_domain_client_socket_posix_unittest.cc | 134 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 …]
|
D | tcp_server_socket_unittest.cc | 84 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 …]
|
D | tcp_socket_unittest.cc | 69 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 …]
|
D | unix_domain_server_socket_posix_unittest.cc | 90 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()
|
D | unix_domain_server_socket_posix.cc | 23 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()
|
D | tcp_client_socket_unittest.cc | 45 scoped_ptr<StreamSocket> accepted_socket; in TEST() local 46 int result = server.Accept(&accepted_socket, accept_callback.callback()); in TEST()
|
D | socket_libevent.cc | 371 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/ |
D | standalone.py | 565 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/ |
D | test_tcp_server_socket_private.cc | 175 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()
|
D | test_tcp_socket.cc | 226 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/ |
D | relayserver.cc | 570 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()
|
D | turnserver.cc | 264 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/ |
D | standalone.py | 426 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/ |
D | standalone.py | 430 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.h | 230 PRBool accepted_socket; /* Is this an accepted socket (on the member
|
D | _beos.h | 157 PRBool accepted_socket; member
|