/libcore/ojluni/src/main/java/javax/net/ |
D | ServerSocketFactory.java | 123 public abstract ServerSocket createServerSocket(int port) in createServerSocket() 154 createServerSocket(int port, int backlog) in createServerSocket() 192 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() 215 public ServerSocket createServerSocket(int port) in createServerSocket() 221 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
D | SocketFactory.java | 162 public abstract Socket createSocket(String host, int port) in createSocket() 194 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 220 public abstract Socket createSocket(InetAddress host, int port) in createSocket() 251 createSocket(InetAddress address, int port, in createSocket() 275 public Socket createSocket(String host, int port) in createSocket() 281 public Socket createSocket(InetAddress address, int port) in createSocket() 287 public Socket createSocket(String host, int port, in createSocket() 294 public Socket createSocket(InetAddress address, int port, in createSocket()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetSocketAddress.java | 63 private int port; field in InetSocketAddress.InetSocketAddressHolder 65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { in InetSocketAddressHolder() 142 private static int checkPort(int port) { in checkPort() 174 public InetSocketAddress(int port) { in InetSocketAddress() 175 this((InetAddress)null, port); in InetSocketAddress() local 193 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress() 227 public InetSocketAddress(String hostname, int port) { in InetSocketAddress() 240 private InetSocketAddress(int port, String hostname) { in InetSocketAddress() 265 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
|
D | Socket.java | 207 public Socket(String host, int port) in Socket() 242 public Socket(InetAddress address, int port) throws IOException { in Socket() 280 public Socket(String host, int port, InetAddress localAddr, in Socket() 319 public Socket(InetAddress address, int port, InetAddress localAddr, in Socket() 366 public Socket(String host, int port, boolean stream) throws IOException { in Socket() 409 public Socket(InetAddress host, int port, boolean stream) throws IOException { in Socket() 573 int port = epoint.getPort(); in connect() local 579 security.checkConnect(epoint.getHostName(), port); in connect() local 581 security.checkConnect(addr.getHostAddress(), port); in connect() local 589 impl.connect(addr.getHostName(), port); in connect() local [all …]
|
D | AbstractPlainSocketImpl.java | 113 protected void connect(String host, int port) in connect() 142 protected void connect(InetAddress address, int port) throws IOException { in connect() 192 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress() 194 doConnect(InetAddress.getLocalHost(), port, timeout); in connectToAddress() local 326 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { in doConnect() 433 void setPort(int port) { in setPort() 627 abstract void socketConnect(InetAddress address, int port, int timeout) in socketConnect() 629 abstract void socketBind(InetAddress address, int port) in socketBind()
|
D | SocketImpl.java | 65 protected int port; field in SocketImpl 90 protected abstract void connect(String host, int port) throws IOException; in connect() 100 protected abstract void connect(InetAddress address, int port) throws IOException; in connect() 122 protected abstract void bind(InetAddress host, int port) throws IOException; in bind()
|
D | DatagramSocket.java | 122 … private synchronized void connectInternal(InetAddress address, int port) throws SocketException { in connectInternal() 137 security.checkConnect(address.getHostAddress(), port); in connectInternal() local 138 security.checkAccept(address.getHostAddress(), port); in connectInternal() local 269 public DatagramSocket(int port) throws SocketException { in DatagramSocket() 297 public DatagramSocket(int port, InetAddress laddr) throws SocketException { in DatagramSocket() 383 int port = epoint.getPort(); in bind() local 454 public void connect(InetAddress address, int port) { in connect()
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SSLSocketFactoryImpl.java | 85 public Socket createSocket(String host, int port) in createSocket() 107 public Socket createSocket(Socket s, String host, int port, in createSocket() 122 public Socket createSocket(InetAddress address, int port) in createSocket() 136 public Socket createSocket(String host, int port, in createSocket() 151 public Socket createSocket(InetAddress address, int port, in createSocket()
|
D | SSLServerSocketFactoryImpl.java | 74 public ServerSocket createServerSocket (int port) in createServerSocket() 81 public ServerSocket createServerSocket (int port, int backlog) in createServerSocket() 88 createServerSocket (int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 72 int port = 1010; in test_ConstructorLjava_lang_StringI01() local 75 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local 96 int port = 8080; in test_ConstructorLjava_lang_StringI02() local 99 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local 328 int port = 8080; in test_unwrap_02() local 364 int port = 8080; in test_unwrap_03() local 386 int port = 8080; in test_unwrap_04() local 424 int port = 8080; in test_unwrap_05() local 443 int port = 8080; in test_unwrap_06() local 470 int port = 8080; in test_wrap_02() local [all …]
|
/libcore/support/src/test/java/tests/net/ |
D | DelegatingSSLSocketFactory.java | 65 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket() 72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 85 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 91 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
D | DelegatingSocketFactory.java | 53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 66 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetHooks.java | 85 int port) in beforeTcpBind() 97 int port) in beforeTcpConnect()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
D | ServerSocketFactoryTest.java | 114 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket() 119 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 125 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket() 119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() 125 public Socket createSocket(InetAddress host, int port) { in createSocket() 130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() 135 public Socket createSocket(String host, int port) { in createSocket() 241 int port = sa.getPort(); in test_SSLSocketFactory_createSocket() local
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | LDAPCertStoreParameters.java | 54 private int port; field in LDAPCertStoreParameters 70 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 200 public ServerSocket createServerSocket(int port) in createServerSocket() 206 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 213 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
D | SSLSocket.java | 904 protected SSLSocket(String host, int port) in SSLSocket() 929 protected SSLSocket(InetAddress address, int port) in SSLSocket() 960 protected SSLSocket(String host, int port, in SSLSocket() 991 protected SSLSocket(InetAddress address, int port, in SSLSocket()
|
D | SSLServerSocket.java | 98 protected SSLServerSocket(int port) in SSLServerSocket() 134 protected SSLServerSocket(int port, int backlog) in SSLServerSocket() 179 protected SSLServerSocket(int port, int backlog, InetAddress address) in SSLServerSocket()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileDescriptorHolderSocketImpl.java | 62 protected void connect(String host, int port) throws IOException { in connect() 67 protected void connect(InetAddress address, int port) throws IOException { in connect() 77 protected void bind(InetAddress host, int port) throws IOException { in bind()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 31 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage& ss, jint* port) { in sockaddrToInetAddress() 91 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr() 174 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim() 178 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SocketHandler.java | 72 private int port; field in SocketHandler 137 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetSocketAddressTest.java | 84 int port; field in InetSocketAddressTest.HostPortPair 86 public HostPortPair(String host, int port) { in HostPortPair()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | HttpCallerInfo.java | 49 final public int port; field in HttpCallerInfo 98 public HttpCallerInfo(URL url, String host, int port) { in HttpCallerInfo()
|
D | AuthenticationInfo.java | 183 int port; field in AuthenticationInfo 192 … public AuthenticationInfo(char type, AuthScheme authScheme, String host, int port, String realm) { in AuthenticationInfo() 258 int port = url.getPort(); in getServerAuth() local 274 int port = url.getPort(); in getServerAuthKey() local 310 static AuthenticationInfo getProxyAuth(String host, int port) { in getProxyAuth() 321 static String getProxyAuthKey(String host, int port, String realm, AuthScheme scheme) { in getProxyAuthKey()
|