Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 108) sorted by relevance

12345

/libcore/ojluni/src/main/java/javax/net/
DServerSocketFactory.java123 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()
DSocketFactory.java163 public abstract Socket createSocket(String host, int port) in createSocket()
195 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
221 public abstract Socket createSocket(InetAddress host, int port) in createSocket()
252 createSocket(InetAddress address, int port, in createSocket()
276 public Socket createSocket(String host, int port) in createSocket()
282 public Socket createSocket(InetAddress address, int port) in createSocket()
288 public Socket createSocket(String host, int port, in createSocket()
295 public Socket createSocket(InetAddress address, int port, in createSocket()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DFakeSSLSocketFactory.java40 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket()
45 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
51 public Socket createSocket(InetAddress host, int port) { in createSocket()
56 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket()
61 public Socket createSocket(String host, int port) { in createSocket()
DFakeSSLServerSocketFactory.java43 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
48 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket()
53 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java75 int port = 1010; in test_ConstructorLjava_lang_StringI01() local
78 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local
99 int port = 8080; in test_ConstructorLjava_lang_StringI02() local
102 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local
113 int port = 8080; in test_ConstructorLjava_lang_StringI03() local
116 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI03() local
341 int port = 8080; in test_unwrap_02() local
377 int port = 8080; in test_unwrap_03() local
399 int port = 8080; in test_unwrap_04() local
437 int port = 8080; in test_unwrap_05() local
[all …]
/libcore/ojluni/src/main/java/java/net/
DInetSocketAddress.java63 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()
176 public InetSocketAddress(int port) { in InetSocketAddress()
179 this((InetAddress)null, port); in InetSocketAddress() local
197 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress()
230 public InetSocketAddress(String hostname, int port) { in InetSocketAddress()
243 private InetSocketAddress(int port, String hostname) { in InetSocketAddress()
268 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
DSocket.java214 public Socket(String host, int port) in Socket()
248 public Socket(InetAddress address, int port) throws IOException { in Socket()
289 public Socket(String host, int port, InetAddress localAddr, in Socket()
331 public Socket(InetAddress address, int port, InetAddress localAddr, in Socket()
380 public Socket(String host, int port, boolean stream) throws IOException { in Socket()
422 public Socket(InetAddress host, int port, boolean stream) throws IOException { in Socket()
436 private Socket(InetAddress[] addresses, int port, SocketAddress localAddr, in Socket()
608 int port = epoint.getPort(); in connect() local
614 security.checkConnect(epoint.getHostName(), port); in connect() local
616 security.checkConnect(addr.getHostAddress(), port); in connect() local
[all …]
DAbstractPlainSocketImpl.java147 protected void connect(String host, int port) in connect()
176 protected void connect(InetAddress address, int port) throws IOException { in connect()
226 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress()
228 doConnect(InetAddress.getLocalHost(), port, timeout); in connectToAddress() local
379 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { in doConnect()
502 void setPort(int port) { in setPort()
769 abstract void socketConnect(InetAddress address, int port, int timeout) in socketConnect()
771 abstract void socketBind(InetAddress address, int port) in socketBind()
DDatagramSocket.java133 … private synchronized void connectInternal(InetAddress address, int port) throws SocketException { in connectInternal()
148 security.checkConnect(address.getHostAddress(), port); in connectInternal() local
149 security.checkAccept(address.getHostAddress(), port); in connectInternal() local
290 public DatagramSocket(int port) throws SocketException { in DatagramSocket()
318 public DatagramSocket(int port, InetAddress laddr) throws SocketException { in DatagramSocket()
405 int port = epoint.getPort(); in bind() local
476 public void connect(InetAddress address, int port) { in connect()
DSocketImpl.java65 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()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetSocketAddress.java38 public InetSocketAddress(int port) { in InetSocketAddress()
42 public InetSocketAddress(java.net.InetAddress addr, int port) { in InetSocketAddress()
46 public InetSocketAddress(java.lang.String hostname, int port) { in InetSocketAddress()
50 private InetSocketAddress(int port, java.lang.String hostname) { in InetSocketAddress()
54 private static int checkPort(int port) { in checkPort()
62 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { in createUnresolved()
142 java.lang.String hostname, java.net.InetAddress addr, int port) { in InetSocketAddressHolder()
182 private int port; field in InetSocketAddress.InetSocketAddressHolder
DSocketImpl.java40 protected abstract void connect(java.lang.String host, int port) throws java.io.IOException; in connect()
42 protected abstract void connect(java.net.InetAddress address, int port) in connect()
48 protected abstract void bind(java.net.InetAddress host, int port) throws java.io.IOException; in bind()
138 protected int port; field in SocketImpl
/libcore/ojluni/annotations/mmodule/java/net/
DInetSocketAddress.annotated.java36 public InetSocketAddress(int port) { throw new RuntimeException("Stub!"); } in InetSocketAddress()
38 public InetSocketAddress(java.net.InetAddress addr, int port) { throw new RuntimeException("Stub!")… in InetSocketAddress()
40 public InetSocketAddress(java.lang.String hostname, int port) { throw new RuntimeException("Stub!")… in InetSocketAddress()
42 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { throw … in createUnresolved()
DSocketImpl.annotated.java39 protected abstract void connect(java.lang.String host, int port) throws java.io.IOException; in connect()
41 protected abstract void connect(java.net.InetAddress address, int port) throws java.io.IOException; in connect()
45 protected abstract void bind(java.net.InetAddress host, int port) throws java.io.IOException; in bind()
88 protected int port; field in SocketImpl
DSocket.annotated.java44 public Socket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostExce… in Socket()
46 public Socket(java.net.InetAddress address, int port) throws java.io.IOException { throw new Runtim… in Socket()
48 public Socket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) throw… in Socket()
50 public Socket(java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort… in Socket()
53 public Socket(java.lang.String host, int port, boolean stream) throws java.io.IOException { throw n… in Socket()
56 public Socket(java.net.InetAddress host, int port, boolean stream) throws java.io.IOException { thr… in Socket()
/libcore/luni/src/test/java/libcore/java/net/
DDelegatingSocketFactory.java52 public Socket createSocket(String host, int port) throws IOException { in createSocket()
58 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
65 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
71 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DDatagramSocketTest.java72 final int port = 9999; in testPendingException() local
77 s.connect(InetAddress.getLocalHost(), port); in testPendingException() local
115 final int port = 9999; in test_b31218085() local
120 s.connect(InetAddress.getLocalHost(), port); in test_b31218085() local
/libcore/ojluni/src/main/java/sun/net/
DNetHooks.java87 int port) in beforeTcpBind()
99 int port) in beforeTcpConnect()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DServerSocketFactoryTest.java114 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/ojluni/src/main/java/java/security/cert/
DLDAPCertStoreParameters.java54 private int port; field in LDAPCertStoreParameters
70 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocketFactory.java213 public ServerSocket createServerSocket(int port) in createServerSocket()
220 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket()
228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
DSSLServerSocket.java98 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/
DFileDescriptorHolderSocketImpl.java62 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/ojluni/src/main/java/java/util/logging/
DSocketHandler.java86 private int port; field in SocketHandler
150 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp33 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage& ss, jint* port) { in sockaddrToInetAddress()
93 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr()
194 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim()
198 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()

12345