/openjdk10/jdk/test/java/net/InetAddress/ |
H A D | BadDottedIPAddress.java | 39 String host = "999.999.999.999"; 43 InetAddress ia = InetAddress.getByName(host); 50 + host); 53 host = "[]"; 56 InetAddress ia = InetAddress.getByName(host); 64 + host); 67 host = "[127.0.0.1]"; 70 InetAddress ia = InetAddress.getByName(host); 78 + host); 81 host [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/ |
H A D | EditableView.java | 74 Container host = getContainer(); 76 if (host instanceof JTextComponent && 77 isVisible != ((JTextComponent)host).isEditable()) { 78 isVisible = ((JTextComponent)host).isEditable(); 80 host.repaint(); 106 Container host = parent.getContainer(); 107 if (host != null) { 108 if (host instanceof JTextComponent) { 109 isVisible = ((JTextComponent)host).isEditable();
|
H A D | NoFramesView.java | 65 Container host = getContainer(); 66 if (host != null && 67 visible != ((JTextComponent)host).isEditable()) { 68 visible = ((JTextComponent)host).isEditable(); 90 Container host = p.getContainer(); 91 if (host != null) { 92 visible = ((JTextComponent)host).isEditable();
|
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/server/ |
H A D | RMIClientSocketFactory.java | 65 * Create a client socket connected to the specified host and port. 66 * @param host the host name 68 * @return a socket connected to the specified host and port. 72 public Socket createSocket(String host, int port) argument
|
/openjdk10/jdk/src/java.logging/share/classes/java/util/logging/ |
H A D | SocketHandler.java | 57 * <li> <handler-name>.host 58 * specifies the target host name to connect to (no default). </li> 83 private String host; field in class:SocketHandler 89 * @throws IllegalArgumentException if the host or port are invalid or 92 * host and port. 101 host = manager.getStringProperty(cname + ".host", null); 106 System.err.println("SocketHandler: connect failed to " + host + ":" + port); 112 * Construct a {@code SocketHandler} using a specified host and port. 115 * properties (or their default values) except that the given target host 126 SocketHandler(String host, int port) argument [all...] |
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/monitor/event/ |
H A D | HostEvent.java | 43 * @param host the MonitoredHost source of the event. 45 public HostEvent(MonitoredHost host) { argument 46 super(host);
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/naming/namingutil/ |
H A D | IIOPEndpointInfo.java | 32 * host information used in creating the Service Object reference 43 private String host; field in class:IIOPEndpointInfo 50 // Default host is localhost 51 host = ORBConstants.DEFAULT_INS_HOST; 57 host = theHost; 61 return host; 89 System.out.println( "host -> " + host );
|
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/ior/iiop/ |
H A D | IIOPAddressClosureImpl.java | 37 private Closure host; field in class:IIOPAddressClosureImpl 40 public IIOPAddressClosureImpl( Closure host, Closure port ) argument 42 this.host = host ; 48 return (String)(host.evaluate()) ;
|
H A D | IIOPAddressImpl.java | 43 private String host; field in class:IIOPAddressImpl 46 public IIOPAddressImpl( ORB orb, String host, int port ) argument 55 this.host = host ; 61 host = is.read_string() ; 68 return host ;
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/x509/ |
H A D | URIName.java | 44 * address as the host. 47 * (e.g., "http" is equivalent to "HTTP"). The host part is also not 50 * MUST compare the scheme and host without regard to case, but assume 63 * of an IP-based protocol to a specified host on the Internet use a 66 * {@code //<user>:<password>@<host>:<port>/<url-path>} 85 private String host; field in class:URIName 115 host = uri.getHost(); 116 // RFC 5280 says that the host should be non-null, but we allow it to 120 if (host != null) { 121 if (host 183 URIName(URI uri, String host, DNSName hostDNS) argument [all...] |
/openjdk10/jdk/src/java.base/windows/classes/jdk/internal/loader/ |
H A D | FileURLMapper.java | 57 String host = url.getHost(); 58 if (host != null && !host.equals("") && 59 !"localhost".equalsIgnoreCase(host)) { 61 String s = host + ParseUtil.decode (url.getFile());
|
/openjdk10/jdk/src/java.rmi/share/classes/java/rmi/registry/ |
H A D | LocateRegistry.java | 43 * remote object registry on a particular host (including the local host), or 47 * connection to the remote host. It simply creates a local reference to 49 * the remote host. Therefore, a subsequent method invocation to a remote 66 * the local host on the default registry port of 1099. 80 * the local host on the specified <code>port</code>. 95 * specified <code>host</code> on the default registry port of 1099. If 96 * <code>host</code> is <code>null</code>, the local host is used. 98 * @param host hos 103 getRegistry(String host) argument 120 getRegistry(String host, int port) argument 144 getRegistry(String host, int port, RMIClientSocketFactory csf) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/javax/net/ |
H A D | SocketFactory.java | 133 * Creates a socket and connects it to the specified remote host 138 * method is called with the host address and <code>port</code> 141 * @param host the server host name with which to connect, or 148 * @throws UnknownHostException if the host is not known 155 public abstract Socket createSocket(String host, int port) argument 160 * Creates a socket and connects it to the specified remote host 167 * method is called with the host address and <code>port</code> 170 * @param host the server host nam 187 createSocket(String host, int port, InetAddress localHost, int localPort) argument 213 createSocket(InetAddress host, int port) argument 268 createSocket(String host, int port) argument 280 createSocket(String host, int port, InetAddress clientAddress, int clientPort) argument [all...] |
/openjdk10/jdk/test/java/rmi/Naming/ |
H A D | UnderscoreHost.java | 27 * @summary Ensure that Naming.java correctly parses host names with '_' in 56 * The socket factory captures the host name of the parsed URL, and 57 * then connects to the local host. 60 String host; field in class:UnderscoreHost.HostVerifyingSocketFactory 62 public synchronized Socket createSocket(String host, int port) argument 64 if (this.host == null) { 66 // will be local host 67 this.host = host; 93 * If java.net.URI obeys RFC 3986, so host name [all...] |
/openjdk10/jdk/test/sun/net/InetAddress/nameservice/simple/ |
H A D | DefaultCaching.java | 89 static void test (String host, String address, argument 91 test (host, address, shouldSucceed); 100 static void test (String host, String address, boolean shouldSucceed) { argument 103 addr = InetAddress.getByName (host); 105 throw new RuntimeException (host+":"+address+": should fail"); 109 throw new RuntimeException(host+":"+address+": compare failed"); 113 throw new RuntimeException(host+":"+address+": should succeed"); 119 private static void addMappingToHostsFile (String host, argument 124 String mapping = addr + " " + host;
|
/openjdk10/jdk/test/sun/security/provider/PolicyFile/ |
H A D | CombinedPerms.java | 40 String host = "localhost"; 46 p.add(new SocketPermission(host, "connect")); 49 if (pd.implies(new SocketPermission(host, "connect,accept"))) {
|
/openjdk10/jdk/test/javax/management/remote/mandatory/socketFactories/ |
H A D | RMIClientFactory.java | 39 public Socket createSocket(String host, int port) throws IOException { argument 43 System.out.println("Calling createSocket("+host+","+port+")"); 44 Socket s = new Socket(host, port);
|
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | InetAddress.java | 69 * corresponding host name (depending on whether it is constructed 70 * with a host name or whether it has already done reverse host name 90 * interface, in case the server host has multiple interfaces. 98 * host. This address is often used when testing a 139 * one. For any host name, its corresponding IP address is returned. 142 * the host associated with the IP address is returned. 144 * <p> The InetAddress class provides methods to resolve host names to 150 * unsuccessful host name resolutions. 154 * the result of positive host nam 779 final String host; field in class:InetAddress.CachedAddresses 784 CachedAddresses(String host, InetAddress[] inetAddresses, long expiryTime) argument 815 private final String host; field in class:InetAddress.NameServiceAddresses 818 NameServiceAddresses(String host, InetAddress reqAddr) argument 899 lookupAllHostAddr(String host) argument 922 lookupAllHostAddr(String host) argument 1029 lookupAllHostAddr(String host) argument 1092 extractHostAddr(String hostEntry, String host) argument 1184 getByAddress(String host, byte[] addr) argument 1236 getByName(String host) argument 1242 getByName(String host, InetAddress reqAddr) argument 1286 getAllByName(String host) argument 1291 getAllByName(String host, InetAddress reqAddr) argument 1404 getAllByName0(String host) argument 1413 getAllByName0(String host, boolean check) argument 1429 getAllByName0(String host, InetAddress reqAddr, boolean check, boolean useCache) argument 1498 getAddressesFromNameService(String host, InetAddress reqAddr) argument 1565 final String host; field in class:InetAddress.CachedLocalHost 1569 CachedLocalHost(String host, InetAddress addr) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/ |
H A D | HotSpotJVMCIBackendFactory.java | 29 JVMCIBackend createJVMCIBackend(HotSpotJVMCIRuntimeProvider runtime, JVMCIBackend host); argument
|
/openjdk10/jdk/src/java.base/unix/classes/jdk/internal/loader/ |
H A D | FileURLMapper.java | 38 * on to /net/host/... 61 String host = url.getHost(); 62 if (host == null || "".equals(host) || "localhost".equalsIgnoreCase (host)) {
|
/openjdk10/jdk/src/java.base/windows/classes/sun/net/www/protocol/file/ |
H A D | Handler.java | 46 String host = url.getHost(); 47 if (host == null) 48 host = ""; 49 return host; 80 String host = url.getHost(); 86 if ((host == null) || host.equals("") || 87 host.equalsIgnoreCase("localhost") || 88 host.equals("~")) { 95 path = "\\\\" + host [all...] |
/openjdk10/jdk/src/java.rmi/share/classes/sun/rmi/transport/tcp/ |
H A D | TCPDirectSocketFactory.java | 34 * specified port on the specified host. 38 public Socket createSocket(String host, int port) throws IOException argument 40 return new Socket(host, port);
|
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/ |
H A D | LdapClientFactory.java | 45 final private String host; field in class:LdapClientFactory 52 LdapClientFactory(String host, int port, String socketFactory, argument 54 this.host = host; 64 return new LdapClient(host, port, socketFactory, 69 return host + ":" + port;
|
/openjdk10/jdk/test/sun/security/ssl/ServerHandshaker/ |
H A D | GetPeerHostServer.java | 31 * host name. 42 private String host; field in class:GetPeerHostServer 74 host = ((javax.net.ssl.SSLSocket)socket).getSession().getPeerHost(); 76 + host); 82 if (host != null && (host.charAt(0) > '9') || 83 (host.charAt(0) < '0')) {
|
/openjdk10/jdk/test/javax/management/remote/mandatory/ |
H A D | URLTest.java | 27 * @summary Tests that host names are parsed correctly in URLs 87 System.out.println("(Except that it allows empty host names and " + 100 final String host = hosts[i]; 101 System.out.print(" " + host + ": "); 112 final URI uri = new URI("http://" + host + "/"); 118 final int len = host.length(); 120 !(len > 1 && host.charAt(len - 1) == '.' 121 && host.charAt(len - 2) != '.')) { 122 // JMXServiceURL allows empty host name; also
|