/external/swiftshader/src/Common/ |
D | Socket.cpp | 28 Socket::Socket(SOCKET socket) : socket(socket) in Socket() function in sw::Socket 32 Socket::Socket(const char *address, const char *port) in Socket() function in sw::Socket 56 Socket::~Socket() in ~Socket() 65 void Socket::listen(int backlog) in listen() 70 bool Socket::select(int us) in select() 81 Socket *Socket::accept() in accept() 83 return new Socket(::accept(socket, 0, 0)); in accept() 86 int Socket::receive(char *buffer, int length) in receive() 91 void Socket::send(const char *buffer, int length) in send() 96 void Socket::startup() in startup() [all …]
|
/external/swiftshader/src/System/ |
D | Socket.cpp | 28 Socket::Socket(SOCKET socket) in Socket() function in sw::Socket 33 Socket::Socket(const char *address, const char *port) in Socket() function in sw::Socket 57 Socket::~Socket() in ~Socket() 66 void Socket::listen(int backlog) in listen() 71 bool Socket::select(int us) in select() 82 Socket *Socket::accept() in accept() 84 return new Socket(::accept(socket, 0, 0)); in accept() 87 int Socket::receive(char *buffer, int length) in receive() 92 void Socket::send(const char *buffer, int length) in send() 97 void Socket::startup() in startup() [all …]
|
/external/llvm-project/lldb/source/Host/common/ |
D | Socket.cpp | 57 const NativeSocket Socket::kInvalidSocketValue = INVALID_SOCKET; 61 const NativeSocket Socket::kInvalidSocketValue = -1; 75 Socket::Socket(SocketProtocol protocol, bool should_close, in Socket() function in Socket 82 Socket::~Socket() { Close(); } in ~Socket() 84 llvm::Error Socket::Initialize() { in Initialize() 103 void Socket::Terminate() { in Terminate() 109 std::unique_ptr<Socket> Socket::Create(const SocketProtocol protocol, in Create() 114 std::unique_ptr<Socket> socket_up; in Create() 150 llvm::Expected<std::unique_ptr<Socket>> 151 Socket::TcpConnect(llvm::StringRef host_and_port, in TcpConnect() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deSocket.cpp | 78 Socket::Socket (void) in Socket() function in de::Socket 85 Socket::~Socket (void) in ~Socket() 90 void Socket::setFlags (deUint32 flags) in setFlags() 96 void Socket::listen (const SocketAddress& address) in listen() 102 void Socket::connect (const SocketAddress& address) in connect() 108 void Socket::shutdown (void) in shutdown() 114 void Socket::shutdownSend (void) in shutdownSend() 120 void Socket::shutdownReceive (void) in shutdownReceive() 126 void Socket::close (void) in close() 132 Socket* Socket::accept (deSocketAddress* clientAddress) in accept() [all …]
|
D | deSocket.hpp | 72 class Socket class 75 Socket (void); 76 ~Socket (void); 84 Socket* accept (SocketAddress& clientAddress) { return accept(clientAddress.getPtr()); } in accept() 85 Socket* accept (void) { return accept(DE_NULL); } in accept() 102 Socket (deSocket* socket) : m_socket(socket) {} in Socket() function in de::Socket 103 Socket (const Socket& other); 104 Socket& operator= (const Socket& other); 106 Socket* accept (deSocketAddress* clientAddress);
|
/external/llvm-project/lldb/tools/lldb-server/ |
D | Acceptor.cpp | 28 const Socket::SocketProtocol m_protocol; 32 {"tcp", Socket::ProtocolTcp}, 33 {"udp", Socket::ProtocolUdp}, 34 {"unix", Socket::ProtocolUnixDomain}, 35 {"unix-abstract", Socket::ProtocolUnixAbstract}, 39 Socket::SocketProtocol &protocol) { in FindProtocolByScheme() 49 const char *FindSchemeByProtocol(const Socket::SocketProtocol protocol) { in FindSchemeByProtocol() 63 Socket *conn_socket = nullptr; in Accept() 71 Socket::SocketProtocol Acceptor::GetSocketProtocol() const { in GetSocketProtocol() 86 Socket::SocketProtocol socket_protocol = Socket::ProtocolUnixDomain; in Create() [all …]
|
/external/conscrypt/repackaged/testing/src/main/java/tests/net/ |
D | DelegatingSocketFactory.java | 20 import java.net.Socket; 38 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket() 42 public Socket createSocket() throws IOException { in createSocket() 43 Socket socket = mDelegate.createSocket(); in createSocket() 47 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 48 Socket socket = mDelegate.createSocket(host, port); in createSocket() 52 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 54 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() 58 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 59 Socket socket = mDelegate.createSocket(host, port); in createSocket() [all …]
|
D | DelegatingSSLSocketFactory.java | 20 import java.net.Socket; 51 public Socket createSocket() throws IOException { in createSocket() 56 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket() 62 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 73 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 78 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
/external/conscrypt/testing/src/main/java/tests/net/ |
D | DelegatingSocketFactory.java | 19 import java.net.Socket; 36 protected Socket configureSocket(Socket socket) throws IOException { in configureSocket() 40 public Socket createSocket() throws IOException { in createSocket() 41 Socket socket = mDelegate.createSocket(); in createSocket() 45 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 46 Socket socket = mDelegate.createSocket(host, port); in createSocket() 50 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 52 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() 56 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 57 Socket socket = mDelegate.createSocket(host, port); in createSocket() [all …]
|
D | DelegatingSSLSocketFactory.java | 19 import java.net.Socket; 49 public Socket createSocket() throws IOException { in createSocket() 54 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket() 60 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 65 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 71 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 76 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | DelegatingSocketFactory.java | 20 import java.net.Socket; 37 public Socket createSocket() throws IOException { in createSocket() 38 Socket socket = delegate.createSocket(); in createSocket() 43 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 44 Socket socket = delegate.createSocket(host, port); in createSocket() 49 public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) in createSocket() 51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket() 56 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 57 Socket socket = delegate.createSocket(host, port); in createSocket() 62 public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) in createSocket() [all …]
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | MockServerSocketTest.java | 21 import java.net.Socket; 65 private Socket connect() throws Exception { in connect() 68 return new Socket(addr, 16300); in connect() 84 final Future<Socket> f = executor.submit(new Callable<Socket>() { in testCloseWhileAccept() 85 public Socket call() throws Exception { in testCloseWhileAccept() 100 final Future<Socket> f = executor.submit(new Callable<Socket>() { in testAccept() 101 public Socket call() throws Exception { in testAccept() 107 final Socket socket = f.get(); in testAccept() 121 final Future<Socket> f = executor.submit(new Callable<Socket>() { in testConnect() 122 public Socket call() throws Exception { in testConnect() [all …]
|
/external/nist-sip/java/gov/nist/core/net/ |
D | DefaultNetworkLayer.java | 34 import java.net.Socket; 74 public Socket createSocket(InetAddress address, int port) in createSocket() 76 return new Socket(address, port); in createSocket() 117 public Socket createSocket(InetAddress address, int port, in createSocket() 120 return new Socket(address, port, myAddress, 0); in createSocket() 122 return new Socket(address, port); in createSocket() 141 public Socket createSocket(InetAddress address, int port, in createSocket() 146 return new Socket(address, port, myAddress, myPort); in createSocket() 150 Socket sock = new Socket(); in createSocket() 156 return new Socket(address, port); in createSocket()
|
D | SslNetworkLayer.java | 35 import java.net.Socket; 93 public Socket createSocket(InetAddress address, int port) in createSocket() 95 return new Socket(address, port); in createSocket() 127 public Socket createSocket(InetAddress address, int port, in createSocket() 130 return new Socket(address, port, myAddress, 0); in createSocket() 132 return new Socket(address, port); in createSocket() 151 public Socket createSocket(InetAddress address, int port, in createSocket() 156 return new Socket(address, port, myAddress, myPort); in createSocket() 160 Socket sock = new Socket(); in createSocket() 166 return new Socket(address, port); in createSocket()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | BaseOpenSSLSocketAdapterFactory.java | 21 import java.net.Socket; 44 public Socket createSocket() throws IOException { in createSocket() 49 public Socket createSocket(String hostname, int port) in createSocket() 55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket() 61 public Socket createSocket(InetAddress address, int port) throws IOException { in createSocket() 66 public Socket createSocket(InetAddress address, in createSocket() 76 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) in createSocket() 85 protected abstract Socket wrap(OpenSSLSocketImpl sock) throws IOException; in wrap()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpProtocolNegotiator.java | 28 import java.net.Socket; 118 private static final OptionalMethod<Socket> SET_USE_SESSION_TICKETS = 119 new OptionalMethod<Socket>(null, "setUseSessionTickets", Boolean.TYPE); 121 private static final OptionalMethod<Socket> SET_HOSTNAME = 122 new OptionalMethod<Socket>(null, "setHostname", String.class); 124 private static final OptionalMethod<Socket> GET_ALPN_SELECTED_PROTOCOL = 125 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol"); 127 private static final OptionalMethod<Socket> SET_ALPN_PROTOCOLS = 128 new OptionalMethod<Socket>(null, "setAlpnProtocols", byte[].class); 130 private static final OptionalMethod<Socket> GET_NPN_SELECTED_PROTOCOL = [all …]
|
/external/llvm-project/lldb/include/lldb/Host/ |
D | Socket.h | 42 class Socket : public IOObject { 53 ~Socket() override; 58 static std::unique_ptr<Socket> Create(const SocketProtocol protocol, 64 virtual Status Accept(Socket *&socket) = 0; 73 static llvm::Expected<std::unique_ptr<Socket>> 81 Socket *&socket); 83 bool child_processes_inherit, Socket *&socket); 86 Socket *&socket); 89 Socket *&socket); 114 Socket(SocketProtocol protocol, bool should_close,
|
/external/testng/src/main/java/org/testng/internal/remote/ |
D | SlavePool.java | 7 import java.net.Socket; 18 private static Map<Socket, ConnectionInfo> m_connectionInfos = Maps.newHashMap(); 20 public void addSlaves(Socket[] slaves) throws IOException { in addSlaves() 21 for (Socket s : slaves) { in addSlaves() 26 public void addSlave(Socket s) { in addSlave() 35 private void addSlave(Socket s, ConnectionInfo ci) { in addSlave() 42 Socket host = null; in getSlave()
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
D | UnixSocketTest.java | 27 import java.net.Socket; 40 Socket pingClient = new Socket(); in test_getInputStream() 46 Socket worker = pingServer.accept(); in test_getInputStream() 91 Socket theSocket = new Socket(); in test_connectLjava_net_SocketAddressI() 110 Socket socket = new Socket("127.0.0.1", port, false); in test_getOutputStream()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | DuckTypedPSKKeyManagerTest.java | 22 import java.net.Socket; 110 assertEquals(Arrays.asList(new Class<?>[] {Socket.class}), in testMethodInvocationDelegation() 127 assertEquals(Arrays.asList(new Class<?>[] {String.class, Socket.class}), in testMethodInvocationDelegation() 146 assertEquals(Arrays.asList(new Class<?>[] {String.class, String.class, Socket.class}), in testMethodInvocationDelegation() 180 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint() 188 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity() 196 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() 211 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint() 219 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity() 227 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() [all …]
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | DuckTypedPSKKeyManagerTest.java | 23 import java.net.Socket; 114 assertEquals(Arrays.asList(new Class<?>[] {Socket.class}), in testMethodInvocationDelegation() 131 assertEquals(Arrays.asList(new Class<?>[] {String.class, Socket.class}), in testMethodInvocationDelegation() 150 assertEquals(Arrays.asList(new Class<?>[] {String.class, String.class, Socket.class}), in testMethodInvocationDelegation() 184 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint() 192 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity() 200 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() 215 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint() 223 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity() 231 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() [all …]
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | Platform.java | 30 import java.net.Socket; 117 public void tagSocket(Socket socket) throws SocketException { in tagSocket() 120 public void untagSocket(Socket socket) throws SocketException { in untagSocket() 154 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket() 165 OptionalMethod<Socket> setUseSessionTickets in findPlatform() 166 = new OptionalMethod<Socket>(null, "setUseSessionTickets", boolean.class); in findPlatform() 167 OptionalMethod<Socket> setHostname in findPlatform() 168 = new OptionalMethod<Socket>(null, "setHostname", String.class); in findPlatform() 171 OptionalMethod<Socket> getAlpnSelectedProtocol = in findPlatform() 172 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol"); in findPlatform() [all …]
|
/external/apache-http/src/org/apache/http/conn/ |
D | MultihomePlainSocketFactory.java | 37 import java.net.Socket; 86 public Socket createSocket() { in createSocket() 87 return new Socket(); in createSocket() 105 public Socket connectSocket(Socket sock, String host, int port, in connectSocket() 147 sock = new Socket(); in connectSocket() 170 public final boolean isSecure(Socket sock) in isSecure() 179 if (sock.getClass() != Socket.class) { in isSecure()
|
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 27 import java.net.Socket; 90 private static final OptionalMethod<Socket> SET_USE_SESSION_TICKETS = 91 new OptionalMethod<Socket>(null, "setUseSessionTickets", Boolean.TYPE); 93 private static final OptionalMethod<Socket> SET_HOSTNAME = 94 new OptionalMethod<Socket>(null, "setHostname", String.class); 96 private static final OptionalMethod<Socket> GET_ALPN_SELECTED_PROTOCOL = 97 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol"); 99 private static final OptionalMethod<Socket> SET_ALPN_PROTOCOLS = 100 new OptionalMethod<Socket>(null, "setAlpnProtocols", byte[].class ); 106 public void tagSocket(Socket socket) throws SocketException { in tagSocket() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Platform.java | 31 import java.net.Socket; 82 public void tagSocket(Socket socket) throws SocketException { in tagSocket() 85 public void untagSocket(Socket socket) throws SocketException { in untagSocket() 118 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket() 140 OptionalMethod<Socket> setUseSessionTickets in findPlatform() 142 OptionalMethod<Socket> setHostname in findPlatform() 146 OptionalMethod<Socket> getAlpnSelectedProtocol = null; in findPlatform() 147 OptionalMethod<Socket> setAlpnProtocols = null; in findPlatform() 152 trafficStatsTagSocket = trafficStats.getMethod("tagSocket", Socket.class); in findPlatform() 153 trafficStatsUntagSocket = trafficStats.getMethod("untagSocket", Socket.class); in findPlatform() [all …]
|