/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | SocketTest.java | 30 import java.net.Socket; 48 Socket socket = new Socket(); in run() 96 Socket client = socket.accept(); in run() 161 Socket theSocket = new Socket(); in test_bindLjava_net_SocketAddress() 173 theSocket = new Socket(); in test_bindLjava_net_SocketAddress() 194 Socket worker = server.accept(); in test_bindLjava_net_SocketAddress() 205 theSocket = new Socket(); in test_bindLjava_net_SocketAddress() 214 theSocket = new Socket(); in test_bindLjava_net_SocketAddress() 218 Socket theSocket2 = new Socket(); in test_bindLjava_net_SocketAddress() 229 theSocket = new Socket(); in test_bindLjava_net_SocketAddress() [all …]
|
D | ServerSocketTest.java | 29 import java.net.Socket; 50 Socket sconn; 55 Socket cs; 67 cs = new Socket(InetAddress.getLocalHost().getHostName(), port); in run() 404 Socket clientSocket = new Socket(); in test_bindLjava_net_SocketAddress() 408 Socket servSock = theSocket.accept(); in test_bindLjava_net_SocketAddress() 489 Socket clientSocket = new Socket(); in test_bindLjava_net_SocketAddressI() 491 Socket servSock = theSocket.accept(); in test_bindLjava_net_SocketAddressI() 550 Socket theSockets[] = new Socket[4]; in test_bindLjava_net_SocketAddressI() 554 theSockets[i] = new Socket(); in test_bindLjava_net_SocketAddressI() [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()
|
D | NetworkLayer.java | 32 import java.net.Socket; 80 public Socket createSocket(InetAddress address, int port) throws IOException; in createSocket() 91 …public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOExcep… in createSocket() 109 public Socket createSocket(InetAddress address, int port, in createSocket()
|
/external/v8/src/ |
D | debug-agent.h | 69 void CreateSession(Socket* socket); 77 Socket* server_; // Server socket for listen/accept. 95 DebuggerAgentSession(DebuggerAgent* agent, Socket* client) in DebuggerAgentSession() 108 Socket* client_; 119 static SmartArrayPointer<char> ReceiveMessage(const Socket* conn); 120 static bool SendConnectMessage(const Socket* conn, 122 static bool SendMessage(const Socket* conn, const Vector<uint16_t> message); 123 static bool SendMessage(const Socket* conn, 125 static int ReceiveAll(const Socket* conn, char* data, int len);
|
D | platform-posix.cc | 357 class POSIXSocket : public Socket { 377 Socket* Accept() const; 425 Socket* POSIXSocket::Accept() const { in Accept() 494 bool Socket::SetUp() { in SetUp() 500 int Socket::LastError() { in LastError() 505 uint16_t Socket::HToN(uint16_t value) { in HToN() 510 uint16_t Socket::NToH(uint16_t value) { in NToH() 515 uint32_t Socket::HToN(uint32_t value) { in HToN() 520 uint32_t Socket::NToH(uint32_t value) { in NToH() 525 Socket* OS::CreateSocket() { in CreateSocket()
|
D | debug-agent.cc | 75 Socket* client = server_->Accept(); in Run() 108 void DebuggerAgent::CreateSession(Socket* client) { in CreateSession() 234 SmartArrayPointer<char> DebuggerAgentUtil::ReceiveMessage(const Socket* conn) { in ReceiveMessage() 251 PrintF("Error %d\n", Socket::LastError()); in ReceiveMessage() 313 PrintF("Error %d\n", Socket::LastError()); in ReceiveMessage() 322 bool DebuggerAgentUtil::SendConnectMessage(const Socket* conn, in SendConnectMessage() 368 bool DebuggerAgentUtil::SendMessage(const Socket* conn, in SendMessage() 427 bool DebuggerAgentUtil::SendMessage(const Socket* conn, in SendMessage() 453 int DebuggerAgentUtil::ReceiveAll(const Socket* conn, char* data, int len) { in ReceiveAll()
|
/external/v8/test/cctest/ |
D | test-sockets.cc | 38 Socket* server_; // Server socket used for bind/accept. 39 Socket* client_; // Single client connection used by the test. 71 static bool SendAll(Socket* socket, const char* data, int len) { in SendAll() 100 Socket* client = OS::CreateSocket(); in SendAndReceive() 124 TEST(Socket) { in TEST() argument 132 ok = Socket::SetUp(); in TEST() 162 CHECK_EQ(x, Socket::NToH(Socket::HToN(x))); in TEST() 165 CHECK(y == Socket::NToH(Socket::HToN(y))); in TEST()
|
/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/webkit/Source/WebKit/android/wds/ |
D | Connection.h | 36 class Socket { 38 Socket(): m_fd(-1) {} in Socket() function 39 Socket(int fd): m_fd(fd) {} in Socket() function 40 ~Socket() { in ~Socket() 66 Socket m_socket; 79 Socket m_socket;
|
/external/apache-http/src/org/apache/http/conn/ |
D | MultihomePlainSocketFactory.java | 37 import java.net.Socket; 81 public Socket createSocket() { in createSocket() 82 return new Socket(); in createSocket() 100 public Socket connectSocket(Socket sock, String host, int port, in connectSocket() 142 sock = new Socket(); in connectSocket() 165 public final boolean isSecure(Socket sock) in isSecure() 174 if (sock.getClass() != Socket.class) { in isSecure()
|
D | OperatedClientConnection.java | 35 import java.net.Socket; 96 Socket getSocket() in getSocket() 125 void opening(Socket sock, HttpHost target) in opening() 168 void update(Socket sock, HttpHost target, in update()
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
D | PlainSocketFactory.java | 37 import java.net.Socket; 79 public Socket createSocket() { in createSocket() 80 return new Socket(); in createSocket() 84 public Socket connectSocket(Socket sock, String host, int port, in connectSocket() 139 public final boolean isSecure(Socket sock) in isSecure() 148 if (sock.getClass() != Socket.class) { in isSecure()
|
D | SocketFactory.java | 36 import java.net.Socket; 65 Socket createSocket() in createSocket() 95 Socket connectSocket( in connectSocket() 96 Socket sock, in connectSocket() 134 boolean isSecure(Socket sock) in isSecure()
|
D | LayeredSocketFactory.java | 35 import java.net.Socket; 65 Socket createSocket( in createSocket() 66 Socket socket, in createSocket()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | IOHandler.java | 73 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/ |
D | SocketFactoryTest.java | 26 import java.net.Socket; 57 Socket s; in testGetDefault() 85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 90 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 96 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 101 … public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) in createSocket()
|
/external/apache-http/src/org/apache/http/impl/ |
D | SocketHttpClientConnection.java | 36 import java.net.Socket; 61 private Socket socket = null; 80 final Socket socket, in createSessionInputBuffer() 87 final Socket socket, in createSessionOutputBuffer() 94 final Socket socket, in bind() 118 protected Socket getSocket() { in getSocket() 181 Socket tmpsocket = this.socket; in shutdown()
|
D | SocketHttpServerConnection.java | 36 import java.net.Socket; 61 private Socket socket = null; 80 final Socket socket, in createHttpDataReceiver() 87 final Socket socket, in createHttpDataTransmitter() 93 protected void bind(final Socket socket, final HttpParams params) throws IOException { in bind() 112 protected Socket getSocket() { in getSocket() 179 Socket tmpsocket = this.socket; in shutdown()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | DefaultClientConnection.java | 36 import java.net.Socket; 74 private volatile Socket socket; 103 public final Socket getSocket() { in getSocket() 108 public void opening(Socket sock, HttpHost target) throws IOException { in opening() 151 Socket sock = this.socket; // copy volatile attribute in shutdown() 167 final Socket socket, in createSessionInputBuffer() 183 final Socket socket, in createSessionOutputBuffer() 209 public void update(Socket sock, HttpHost target, in update()
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | KeyManagerImplTest.java | 22 import java.net.Socket; 40 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl1() 49 al = km.chooseServerAlias("RSA", null, new Socket()); in testKeyManagerImpl1() 67 String al = km.chooseClientAlias(keyType, null, new Socket()); in testKeyManagerImpl2() 76 al = km.chooseServerAlias("RSA", null, new Socket()); in testKeyManagerImpl2()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_HttpSocket.java | 23 import java.net.Socket; 30 private final Socket instance; 34 Support_HttpSocket(Socket socket) { in Support_HttpSocket()
|
/external/apache-http/src/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 49 import java.net.Socket; 268 public Socket createSocket() in createSocket() 277 public Socket connectSocket( in connectSocket() 278 final Socket sock, in connectSocket() 347 public boolean isSecure(Socket sock) in isSecure() 369 public Socket createSocket( in createSocket() 370 final Socket socket, in createSocket()
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
D | SocketConnector.java | 41 import java.net.Socket; 57 private Socket sock; 66 this.sock = new Socket(address, port); in SocketConnector() 96 Socket temp = sock; in close()
|