Home
last modified time | relevance | path

Searched refs:Socket (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/external/swiftshader/src/Common/
DSocket.cpp28 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/
DSocket.cpp28 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/deqp/framework/delibs/decpp/
DdeSocket.cpp78 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 …]
DdeSocket.hpp72 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/conscrypt/repackaged/testing/src/main/java/tests/net/
DDelegatingSocketFactory.java20 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 …]
DDelegatingSSLSocketFactory.java20 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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSocketFactory.java20 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/conscrypt/testing/src/main/java/tests/net/
DDelegatingSocketFactory.java19 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 …]
DDelegatingSSLSocketFactory.java19 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/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockServerSocketTest.java21 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/
DDefaultNetworkLayer.java34 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()
DSslNetworkLayer.java35 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/
DBaseOpenSSLSocketAdapterFactory.java21 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/
DOkHttpProtocolNegotiator.java28 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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java30 import java.net.Socket;
116 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
119 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
153 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
164 OptionalMethod<Socket> setUseSessionTickets in findPlatform()
165 = new OptionalMethod<Socket>(null, "setUseSessionTickets", boolean.class); in findPlatform()
166 OptionalMethod<Socket> setHostname in findPlatform()
167 = new OptionalMethod<Socket>(null, "setHostname", String.class); in findPlatform()
170 OptionalMethod<Socket> getAlpnSelectedProtocol = in findPlatform()
171 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol"); in findPlatform()
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java23 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/conscrypt/openjdk/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java22 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/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java27 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/testng/src/main/java/org/testng/internal/remote/
DSlavePool.java7 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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java31 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 …]
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java27 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/apache-http/src/org/apache/http/conn/
DMultihomePlainSocketFactory.java37 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/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSocketFactoryImpl.java24 import java.net.Socket;
86 public Socket createSocket() throws IOException { in createSocket()
98 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { in createSocket()
109 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket()
121 public Socket createSocket(InetAddress address, int port) throws IOException { in createSocket()
132 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
144 public Socket createSocket(Socket socket, String hostname, int port, boolean autoClose) in createSocket()
160 private boolean hasFileDescriptor(Socket s) { in hasFileDescriptor()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java28 import java.net.Socket;
93 private static final OptionalMethod<Socket> SET_USE_SESSION_TICKETS =
94 new OptionalMethod<Socket>(null, "setUseSessionTickets", Boolean.TYPE);
96 private static final OptionalMethod<Socket> SET_HOSTNAME =
97 new OptionalMethod<Socket>(null, "setHostname", String.class);
99 private static final OptionalMethod<Socket> GET_ALPN_SELECTED_PROTOCOL =
100 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol");
102 private static final OptionalMethod<Socket> SET_ALPN_PROTOCOLS =
103 new OptionalMethod<Socket>(null, "setAlpnProtocols", byte[].class );
110 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSocketFactoryImpl.java25 import java.net.Socket;
89 public Socket createSocket() throws IOException { in createSocket()
101 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { in createSocket()
112 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket()
124 public Socket createSocket(InetAddress address, int port) throws IOException { in createSocket()
135 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
147 public Socket createSocket(Socket socket, String hostname, int port, boolean autoClose) in createSocket()
163 private boolean hasFileDescriptor(Socket s) { in hasFileDescriptor()

12345678910>>...21