/external/chromium_org/extensions/browser/api/socket/ |
D | tcp_socket.cc | 45 TCPSocket::TCPSocket(const std::string& owner_extension_id) in TCPSocket() function in extensions::TCPSocket 48 TCPSocket::TCPSocket(net::TCPClientSocket* tcp_client_socket, in TCPSocket() function in extensions::TCPSocket 57 TCPSocket::TCPSocket(net::TCPServerSocket* tcp_server_socket, in TCPSocket() function in extensions::TCPSocket 64 TCPSocket* TCPSocket::CreateSocketForTesting( in CreateSocketForTesting() 68 return new TCPSocket(tcp_client_socket, owner_extension_id, is_connected); in CreateSocketForTesting() 72 TCPSocket* TCPSocket::CreateServerSocketForTesting( in CreateServerSocketForTesting() 75 return new TCPSocket(tcp_server_socket, owner_extension_id); in CreateServerSocketForTesting() 78 TCPSocket::~TCPSocket() { Disconnect(); } in ~TCPSocket() 80 void TCPSocket::Connect(const std::string& address, in Connect() 109 base::Bind(&TCPSocket::OnConnectComplete, base::Unretained(this))); in Connect() [all …]
|
D | tcp_socket.h | 23 class TCPSocket : public Socket { 25 explicit TCPSocket(const std::string& owner_extension_id); 26 TCPSocket(net::TCPClientSocket* tcp_client_socket, 30 virtual ~TCPSocket(); 65 static TCPSocket* CreateSocketForTesting( 69 static TCPSocket* CreateServerSocketForTesting( 91 TCPSocket(net::TCPServerSocket* tcp_server_socket, 111 class ResumableTCPSocket : public TCPSocket { 152 class ResumableTCPServerSocket : public TCPSocket {
|
/external/chromium_org/ppapi/cpp/ |
D | tcp_socket.cc | 26 TCPSocket::TCPSocket() { in TCPSocket() function in pp::TCPSocket 29 TCPSocket::TCPSocket(const InstanceHandle& instance) { in TCPSocket() function in pp::TCPSocket 39 TCPSocket::TCPSocket(PassRef, PP_Resource resource) in TCPSocket() function in pp::TCPSocket 43 TCPSocket::TCPSocket(const TCPSocket& other) : Resource(other) { in TCPSocket() function in pp::TCPSocket 46 TCPSocket::~TCPSocket() { in ~TCPSocket() 49 TCPSocket& TCPSocket::operator=(const TCPSocket& other) { in operator =() 55 bool TCPSocket::IsAvailable() { in IsAvailable() 60 int32_t TCPSocket::Bind(const NetAddress& addr, in Bind() 69 int32_t TCPSocket::Connect(const NetAddress& addr, in Connect() 82 NetAddress TCPSocket::GetLocalAddress() const { in GetLocalAddress() [all …]
|
D | tcp_socket.h | 27 class TCPSocket : public Resource { 31 TCPSocket(); 37 explicit TCPSocket(const InstanceHandle& instance); 43 TCPSocket(PassRef, PP_Resource resource); 48 TCPSocket(const TCPSocket& other); 51 virtual ~TCPSocket(); 58 TCPSocket& operator=(const TCPSocket& other); 182 int32_t Accept(const CompletionCallbackWithOutput<TCPSocket>& callback);
|
/external/chromium_org/chrome/browser/extensions/api/socket/ |
D | tcp_socket_unittest.cc | 75 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 93 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 115 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 140 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 171 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 193 scoped_ptr<TCPSocket> socket(TCPSocket::CreateSocketForTesting( in TEST() 221 scoped_ptr<TCPSocket> socket(TCPSocket::CreateServerSocketForTesting( in TEST()
|
/external/chromium_org/ppapi/tests/ |
D | test_tcp_socket.cc | 26 REGISTER_TEST_CASE(TCPSocket); 34 if (!pp::TCPSocket::IsAvailable()) in Init() 70 pp::TCPSocket socket(instance_); in TestConnect() 90 pp::TCPSocket socket(instance_); in TestConnect() 120 pp::TCPSocket socket(instance_); in TestReadWrite() 138 pp::TCPSocket socket(instance_); in TestSetOption() 192 pp::TCPSocket server_socket(instance_); in TestListen() 197 TestCompletionCallbackWithOutput<pp::TCPSocket> in TestListen() 208 pp::TCPSocket client_socket; in TestListen() 211 client_socket = pp::TCPSocket(instance_); in TestListen() [all …]
|
D | test_host_resolver.h | 16 class TCPSocket; variable 28 std::string SyncConnect(pp::TCPSocket* socket, 30 std::string SyncRead(pp::TCPSocket* socket, 34 std::string SyncWrite(pp::TCPSocket* socket, 38 std::string CheckHTTPResponse(pp::TCPSocket* socket,
|
D | test_tcp_socket.h | 16 class TCPSocket; variable 35 std::string ReadFirstLineFromSocket(pp::TCPSocket* socket, std::string* s); 38 std::string ReadFromSocket(pp::TCPSocket* socket, 41 std::string WriteToSocket(pp::TCPSocket* socket, const std::string& s); 45 std::string StartListen(pp::TCPSocket* socket, int32_t backlog);
|
D | test_host_resolver.cc | 25 bool tcp_socket_is_available = pp::TCPSocket::IsAvailable(); in Init() 48 pp::TCPSocket* socket, in SyncConnect() 57 std::string TestHostResolver::SyncRead(pp::TCPSocket* socket, in SyncRead() 70 std::string TestHostResolver::SyncWrite(pp::TCPSocket* socket, in SyncWrite() 83 std::string TestHostResolver::CheckHTTPResponse(pp::TCPSocket* socket, in CheckHTTPResponse() 127 pp::TCPSocket socket(instance_); in ParameterizedTestResolve()
|
/external/chromium_org/native_client_sdk/src/examples/api/socket/ |
D | echo_server.h | 31 void OnAcceptCompletion(int32_t result, pp::TCPSocket socket); 40 pp::TCPSocket listening_socket_; 41 pp::TCPSocket incoming_socket_;
|
D | echo_server.cc | 36 if (!pp::TCPSocket::IsAvailable()) { in Start() 41 listening_socket_ = pp::TCPSocket(instance_); in Start() 97 void EchoServer::OnAcceptCompletion(int32_t result, pp::TCPSocket socket) { in OnAcceptCompletion() 127 incoming_socket_ = pp::TCPSocket(); in OnReadCompletion() 167 pp::CompletionCallbackWithOutput<pp::TCPSocket> callback = in TryAccept()
|
D | socket.cc | 55 pp::TCPSocket tcp_socket_; 135 if (!pp::TCPSocket::IsAvailable()) { in Connect() 140 tcp_socket_ = pp::TCPSocket(this); in Connect() 219 tcp_socket_ = pp::TCPSocket(); in Close()
|
/external/chromium_org/net/socket/ |
D | tcp_socket_unittest.cc | 69 scoped_ptr<TCPSocket> accepted_socket; in TestAcceptAsync() 93 TCPSocket socket_; 109 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 156 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 176 scoped_ptr<TCPSocket> accepted_socket2; in TEST_F() 209 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 229 TCPSocket connecting_socket(NULL, NetLog::Source()); in TEST_F() 235 scoped_ptr<TCPSocket> accepted_socket; in TEST_F()
|
D | tcp_socket.h | 26 typedef TCPSocketWin TCPSocket; typedef 28 typedef TCPSocketLibevent TCPSocket;
|
D | tcp_server_socket.h | 42 TCPSocket socket_; 44 scoped_ptr<TCPSocket> accepted_socket_;
|
D | tcp_client_socket.h | 32 TCPClientSocket(scoped_ptr<TCPSocket> connected_socket, 92 scoped_ptr<TCPSocket> socket_;
|
D | tcp_client_socket.cc | 19 : socket_(new TCPSocket(net_log, source)), in TCPClientSocket() 26 TCPClientSocket::TCPClientSocket(scoped_ptr<TCPSocket> connected_socket, in TCPClientSocket()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | echo_server.cc | 37 if (!pp::TCPSocket::IsAvailable()) { in Start() 42 listening_socket_ = pp::TCPSocket(instance_); in Start() 105 void EchoServer::OnAcceptCompletion(int32_t result, pp::TCPSocket socket) { in OnAcceptCompletion() 135 incoming_socket_ = pp::TCPSocket(); in OnReadCompletion() 175 pp::CompletionCallbackWithOutput<pp::TCPSocket> callback = in TryAccept()
|
D | echo_server.h | 41 void OnAcceptCompletion(int32_t result, pp::TCPSocket socket); 55 pp::TCPSocket listening_socket_; 56 pp::TCPSocket incoming_socket_;
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_socket_net.h | 63 net::TCPSocket* tcp_socket() { return tcp_socket_.get(); } in tcp_socket() 66 void SetTCPSocket(scoped_ptr<net::TCPSocket> tcp_socket); 114 scoped_ptr<net::TCPSocket> tcp_socket_;
|
D | bluetooth_socket_win.cc | 195 scoped_ptr<net::TCPSocket> scoped_socket( in DoConnect() 196 new net::TCPSocket(NULL, net::NetLog::Source())); in DoConnect() 262 scoped_ptr<net::TCPSocket> scoped_socket( in DoListen() 263 new net::TCPSocket(NULL, net::NetLog::Source())); in DoListen() 374 scoped_ptr<net::TCPSocket> accept_socket, in OnAcceptOnUI()
|
D | bluetooth_socket_win.h | 80 void OnAcceptOnUI(scoped_ptr<net::TCPSocket> accept_socket, 93 scoped_ptr<net::TCPSocket> accept_socket_;
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_tcp_server_socket_message_filter.h | 98 scoped_ptr<net::TCPSocket> socket_; 99 scoped_ptr<net::TCPSocket> accepted_socket_;
|
D | pepper_tcp_socket_message_filter.h | 61 scoped_ptr<net::TCPSocket> socket); 197 scoped_ptr<net::TCPSocket> socket_; 212 scoped_ptr<net::TCPSocket> accepted_socket_;
|
D | content_browser_pepper_host_factory.h | 42 scoped_ptr<net::TCPSocket> socket);
|