Home
last modified time | relevance | path

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

1234

/libcore/luni/src/main/java/java/net/
DInetSocketAddress.java34 private final int port; field in InetSocketAddress
54 public InetSocketAddress(int port) { in InetSocketAddress()
55 this((InetAddress) null, port); in InetSocketAddress() local
69 public InetSocketAddress(InetAddress address, int port) { in InetSocketAddress()
89 public InetSocketAddress(String host, int port) { in InetSocketAddress()
97 InetSocketAddress(String hostname, int port, boolean needResolved) { in InetSocketAddress()
129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
DSocketImpl.java44 protected int port; field in SocketImpl
87 protected abstract void bind(InetAddress address, int port) throws IOException; in bind()
107 protected abstract void connect(String host, int port) throws IOException; in connect()
120 protected abstract void connect(InetAddress address, int port) in connect()
DServerSocket.java73 public ServerSocket(int port) throws IOException { in ServerSocket()
84 public ServerSocket(int port, int backlog) throws IOException { in ServerSocket()
96 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException { in ServerSocket()
317 int port; in bind() local
DProxySelectorImpl.java44 int port = -1; in selectOneProxy() local
100 int port = getSystemPropertyInt(portKey, defaultPort); in lookupProxy() local
DURL.java87 private int port = -1; field in URL
215 public URL(String protocol, String host, int port, String file) throws MalformedURLException { in URL()
231 public URL(String protocol, String host, int port, String file, in URL()
305 protected void set(String protocol, String host, int port, String file, String ref) { in set()
663 protected void set(String protocol, String host, int port, String authority, String userInfo, in set()
/libcore/luni/src/main/java/javax/net/ssl/
DDefaultSSLSocketFactory.java50 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
67 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DDefaultSSLServerSocketFactory.java48 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
53 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket()
58 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
DSSLServerSocket.java52 protected SSLServerSocket(int port) throws IOException { in SSLServerSocket()
69 protected SSLServerSocket(int port, int backlog) throws IOException { in SSLServerSocket()
89 protected SSLServerSocket(int port, int backlog, InetAddress address) throws IOException { in SSLServerSocket()
DSSLSocket.java763 protected SSLSocket(String host, int port) throws IOException, UnknownHostException { in SSLSocket()
780 protected SSLSocket(InetAddress address, int port) throws IOException { in SSLSocket()
803 protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
825 protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
/libcore/luni/src/main/java/javax/net/
DDefaultSocketFactory.java39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
50 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DDefaultServerSocketFactory.java32 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
37 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket()
42 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
DSocketFactory.java84 public abstract Socket createSocket(String host, int port) throws IOException, in createSocket()
110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
127 public abstract Socket createSocket(InetAddress host, int port) throws IOException; in createSocket()
150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DServerSocketFactory.java74 public abstract ServerSocket createServerSocket(int port) throws IOException; in createServerSocket()
86 public abstract ServerSocket createServerSocket(int port, int backlog) throws IOException; in createServerSocket()
100 public abstract ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java71 int port = 1010; in test_ConstructorLjava_lang_StringI01() local
74 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local
95 int port = 8080; in test_ConstructorLjava_lang_StringI02() local
98 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local
327 int port = 8080; in test_unwrap_02() local
363 int port = 8080; in test_unwrap_03() local
385 int port = 8080; in test_unwrap_04() local
423 int port = 8080; in test_unwrap_05() local
442 int port = 8080; in test_unwrap_06() local
469 int port = 8080; in test_wrap_02() local
[all …]
/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()
DSocketFactoryTest.java246 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
257 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
262 public Socket createSocket(InetAddress address, int port, in createSocket()
/libcore/luni/src/main/java/java/util/logging/
DSocketHandler.java97 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
103 private void initSocket(String host, String port) throws IOException { in initSocket()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java114 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()
245 int port = sa.getPort(); in test_SSLSocketFactory_createSocket() local
/libcore/luni/src/main/java/java/security/cert/
DLDAPCertStoreParameters.java32 private final int port; field in LDAPCertStoreParameters
45 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java92 public final int port; field in TestSSLContext
106 int port) { in TestSSLContext()
186 int port = serverSocket.getLocalPort(); in create() local
282 public Socket createSocket(String host, int port) in clientAuth()
286 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth()
290 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth()
293 public Socket createSocket(InetAddress address, int port, in clientAuth()
305 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp31 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage& ss, jint* port) { in sockaddrToInetAddress()
103 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr()
199 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim()
203 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DInetSocketAddressTest.java84 int port; field in InetSocketAddressTest.HostPortPair
86 public HostPortPair(String host, int port) { in HostPortPair()
DSocketImplTest.java92 protected void bind(InetAddress address, int port) throws IOException { in bind()
98 protected void connect(String host, int port) throws IOException { in connect()
101 protected void connect(InetAddress address, int port) in connect()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java79 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind()
108 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect()
120 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect()
134 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno()
175 …private static String connectDetail(InetAddress inetAddress, int port, int timeoutMs, ErrnoExcepti… in connectDetail()
209 …public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, int timeou… in isConnected()
506 …tes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto()
520 …leDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto()
/libcore/luni/src/main/java/java/lang/
DSecurityManager.java40 public void checkAccept(String host, int port) { } in checkAccept()
46 public void checkConnect(String host, int port) { } in checkConnect()
48 public void checkConnect(String host, int port, Object context) { } in checkConnect()
60 public void checkListen(int port) { } in checkListen()

1234