Home
last modified time | relevance | path

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

12345678910>>...18

/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/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/jetty/src/java/org/eclipse/jetty/io/
DNetworkTrafficListener.java21 import java.net.Socket;
47 public void opened(Socket socket); in opened()
55 public void incoming(Socket socket, Buffer bytes); in incoming()
64 public void outgoing(Socket socket, Buffer bytes); in outgoing()
76 public void closed(Socket socket); in closed()
83 public void opened(Socket socket) in opened()
87 public void incoming(Socket socket, Buffer bytes) in incoming()
91 public void outgoing(Socket socket, Buffer bytes) in outgoing()
95 public void closed(Socket socket) in closed()
/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/okhttp/android/main/java/com/squareup/okhttp/internal/
DPlatform.java23 import java.net.Socket;
46 private static final OptionalMethod<Socket> SET_USE_SESSION_TICKETS =
47 new OptionalMethod<Socket>(null, "setUseSessionTickets", Boolean.TYPE);
49 private static final OptionalMethod<Socket> SET_HOSTNAME =
50 new OptionalMethod<Socket>(null, "setHostname", String.class);
52 private static final OptionalMethod<Socket> GET_ALPN_SELECTED_PROTOCOL =
53 new OptionalMethod<Socket>(byte[].class, "getAlpnSelectedProtocol");
55 private static final OptionalMethod<Socket> SET_ALPN_PROTOCOLS =
56 new OptionalMethod<Socket>(null, "setAlpnProtocols", byte[].class );
62 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
[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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java26 import java.net.Socket;
70 public void tagSocket(Socket socket) throws SocketException { in tagSocket()
73 public void untagSocket(Socket socket) throws SocketException { in untagSocket()
98 public void connectSocket(Socket socket, InetSocketAddress address, in connectSocket()
114 OptionalMethod<Socket> setUseSessionTickets in findPlatform()
116 OptionalMethod<Socket> setHostname in findPlatform()
120 OptionalMethod<Socket> getAlpnSelectedProtocol = null; in findPlatform()
121 OptionalMethod<Socket> setAlpnProtocols = null; in findPlatform()
126 trafficStatsTagSocket = trafficStats.getMethod("tagSocket", Socket.class); in findPlatform()
127 trafficStatsUntagSocket = trafficStats.getMethod("untagSocket", Socket.class); in findPlatform()
[all …]
/external/conscrypt/src/compat/java/org/conscrypt/
DBaseOpenSSLSocketAdapterFactory.java20 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/conscrypt/src/test/java/org/conscrypt/
DDuckTypedPSKKeyManagerTest.java24 import java.net.Socket;
108 assertEquals(Arrays.asList(new Class[] {Socket.class}), in testMethodInvocationDelegation()
125 assertEquals(Arrays.asList(new Class[] {String.class, Socket.class}), in testMethodInvocationDelegation()
144 assertEquals(Arrays.asList(new Class[] {String.class, String.class, Socket.class}), in testMethodInvocationDelegation()
177 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
185 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
193 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
208 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
216 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
224 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/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSocketFactoryImpl.java21 import java.net.Socket;
59 public Socket createSocket() throws IOException { in createSocket()
67 public Socket createSocket(String hostname, int port) throws IOException, UnknownHostException { in createSocket()
72 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) in createSocket()
82 public Socket createSocket(InetAddress address, int port) throws IOException { in createSocket()
87 public Socket createSocket(InetAddress address, in createSocket()
100 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose) in createSocket()
DDuckTypedPSKKeyManager.java20 import java.net.Socket;
71 public String chooseServerKeyIdentityHint(Socket socket) { in chooseServerKeyIdentityHint()
74 .getMethod("chooseServerKeyIdentityHint", Socket.class) in chooseServerKeyIdentityHint()
93 public String chooseClientKeyIdentity(String identityHint, Socket socket) { in chooseClientKeyIdentity()
96 .getMethod("chooseClientKeyIdentity", String.class, Socket.class) in chooseClientKeyIdentity()
115 public SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey()
118 .getMethod("getKey", String.class, String.class, Socket.class) in getKey()
/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/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DSSLSocketFactoryWrapper.java21 import java.net.Socket;
70 public Socket createSocket() throws IOException { in createSocket()
76 public Socket createSocket(InetAddress inaddr, int i) in createSocket()
82 public Socket createSocket(InetAddress inaddr, int i, in createSocket()
88 public Socket createSocket(Socket socket, String s, int i, boolean flag) in createSocket()
94 public Socket createSocket(String s, int i) throws IOException { in createSocket()
99 public Socket createSocket(String s, int i, InetAddress inaddr, int j) in createSocket()
/external/apache-http/src/org/apache/http/conn/scheme/
DPlainSocketFactory.java37 import java.net.Socket;
84 public Socket createSocket() { in createSocket()
85 return new Socket(); in createSocket()
89 public Socket connectSocket(Socket sock, String host, int port, in connectSocket()
144 public final boolean isSecure(Socket sock) in isSecure()
153 if (sock.getClass() != Socket.class) { in isSecure()
/external/okhttp/okio/okio/src/test/java/okio/
DSocketTimeoutTest.java23 import java.net.Socket;
39 Socket socket = socket(ONE_MB, 0); in readWithoutTimeout()
47 Socket socket = socket(0, 0); in readWithTimeout()
59 Socket socket = socket(0, ONE_MB); in writeWithoutTimeout()
69 Socket socket = socket(0, 0); in writeWithTimeout()
92 …static Socket socket(final int readableByteCount, final int writableByteCount) throws IOException { in socket()
99 Socket socket = null; in socket()
117 Socket socket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in socket()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DIOHandler.java73 private ConcurrentHashMap<String, Socket> socketTable;
82 this.socketTable = new ConcurrentHashMap<String, Socket>(); in IOHandler()
86 protected void putSocket(String key, Socket sock) { in putSocket()
91 protected Socket getSocket(String key) { in getSocket()
92 return (Socket) socketTable.get(key); in getSocket()
137 Socket clientSock = getSocket(key);
159 public Socket sendBytes(InetAddress senderAddress, InetAddress receiverAddress,
188 Socket clientSock = getSocket(key);
259 Socket clientSock = getSocket(key);
330 for (Enumeration<Socket> values = socketTable.elements(); values.hasMoreElements();) {
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
DSocketFactoryTest.java26 import java.net.Socket;
57 Socket s; in testGetDefault()
86 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
91 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
97 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
102 … public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) in createSocket()
/external/apache-http/src/org/apache/http/impl/
DSocketHttpClientConnection.java36 import java.net.Socket;
66 private Socket socket = null;
85 final Socket socket, in createSessionInputBuffer()
92 final Socket socket, in createSessionOutputBuffer()
99 final Socket socket, in bind()
123 protected Socket getSocket() { in getSocket()
186 Socket tmpsocket = this.socket; in shutdown()
DSocketHttpServerConnection.java36 import java.net.Socket;
66 private Socket socket = null;
85 final Socket socket, in createHttpDataReceiver()
92 final Socket socket, in createHttpDataTransmitter()
98 protected void bind(final Socket socket, final HttpParams params) throws IOException { in bind()
117 protected Socket getSocket() { in getSocket()
184 Socket tmpsocket = this.socket; in shutdown()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dreactive_socket_accept_op.hpp29 template <typename Socket, typename Protocol>
34 socket_ops::state_type state, Socket& peer, const Protocol& protocol, in reactive_socket_accept_op_base()
72 Socket& peer_;
77 template <typename Socket, typename Protocol, typename Handler>
79 public reactive_socket_accept_op_base<Socket, Protocol>
85 socket_ops::state_type state, Socket& peer, const Protocol& protocol, in reactive_socket_accept_op()
87 : reactive_socket_accept_op_base<Socket, Protocol>(socket, state, peer, in reactive_socket_accept_op()
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnection.java36 import java.net.Socket;
79 private volatile Socket socket;
108 public final Socket getSocket() { in getSocket()
113 public void opening(Socket sock, HttpHost target) throws IOException { in opening()
156 Socket sock = this.socket; // copy volatile attribute in shutdown()
172 final Socket socket, in createSessionInputBuffer()
188 final Socket socket, in createSessionOutputBuffer()
214 public void update(Socket sock, HttpHost target, in update()

12345678910>>...18