/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.cc | 42 TCPSocket::TCPSocket(const std::string& owner_extension_id) in TCPSocket() function in extensions::TCPSocket 47 TCPSocket::TCPSocket(net::TCPClientSocket* tcp_client_socket, in TCPSocket() function in extensions::TCPSocket 56 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() { in ~TCPSocket() 82 void TCPSocket::Connect(const std::string& address, in Connect() 111 &TCPSocket::OnConnectComplete, base::Unretained(this))); in Connect() [all …]
|
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()
|
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(); 58 static TCPSocket* CreateSocketForTesting( 62 static TCPSocket* CreateServerSocketForTesting( 78 TCPSocket(net::TCPServerSocket* tcp_server_socket, 102 class ResumableTCPSocket : public TCPSocket { 145 class ResumableTCPServerSocket : public TCPSocket {
|
/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_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.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_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/net/socket/ |
D | tcp_socket_unittest.cc | 71 TCPSocket socket_; 87 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 108 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 133 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 153 scoped_ptr<TCPSocket> accepted_socket2; in TEST_F() 186 scoped_ptr<TCPSocket> accepted_socket; in TEST_F() 206 TCPSocket connecting_socket(NULL, NetLog::Source()); in TEST_F() 212 scoped_ptr<TCPSocket> accepted_socket; in TEST_F()
|
D | tcp_socket.h | 33 typedef TCPSocketWin TCPSocket; typedef 35 typedef TCPSocketLibevent TCPSocket; typedef
|
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, 91 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()
|
D | tcp_server_socket.cc | 86 scoped_ptr<TCPSocket> temp_accepted_socket(accepted_socket_.Pass()); in ConvertAcceptedSocket()
|
/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/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/content/browser/renderer_host/pepper/ |
D | pepper_tcp_server_socket_message_filter.h | 99 scoped_ptr<net::TCPSocket> socket_; 100 scoped_ptr<net::TCPSocket> accepted_socket_;
|
D | pepper_tcp_socket_message_filter.h | 63 scoped_ptr<net::TCPSocket> socket); 200 scoped_ptr<net::TCPSocket> socket_; 215 scoped_ptr<net::TCPSocket> accepted_socket_;
|
D | content_browser_pepper_host_factory.h | 42 scoped_ptr<net::TCPSocket> socket);
|
/external/mdnsresponder/mDNSShared/ |
D | dnsextd.c | 115 TCPSocket *sock; // socket connected to client 238 mDNSlocal mStatus AddSourceToEventLoop( DaemonInfo * self, TCPSocket *sock, EventCallback callback,… in AddSourceToEventLoop() 270 mDNSlocal mStatus RemoveSourceFromEventLoop( DaemonInfo * self, TCPSocket *sock ) in RemoveSourceFromEventLoop() 296 mDNSlocal TCPSocket *ConnectToServer(DaemonInfo *d) in ConnectToServer() 305 TCPSocket *sock = mDNSPlatformTCPSocket( NULL, 0, &port ); in ConnectToServer() 323 mDNSlocal int MySend(TCPSocket *sock, const void *msg, int len) in MySend() 351 mDNSlocal int SendPacket(TCPSocket *sock, PktMsg *pkt) in SendPacket() 368 static int my_recv(TCPSocket *sock, void *const buf, const int len, mDNSBool * closed) in my_recv() 415 TCPSocket * sock, in RecvPacket() 910 TCPSocket *sock = NULL; in UpdateSRV() [all …]
|
D | dnsextd.h | 112 TCPSocket * sock;
|