/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | Inet4AddressImpl.c | 84 /* host is known to name service */ 111 * String "host" shouldn't *ever* be a %d.%d.%d.%d string 120 jstring host) { 138 if (IS_NULL(host)) { 139 JNU_ThrowNullPointerException(env, "host is null"); 142 hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE); 156 JNU_ReleaseStringPlatformChars(env, host, hostname); 166 JNU_ReleaseStringPlatformChars(env, host, hostname); 252 JNU_ReleaseStringPlatformChars(env, host, hostname); 271 char host[NI_MAXHOS local 119 Java_java_net_Inet4AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument 405 Java_java_net_Inet4AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument [all...] |
H A D | Inet6AddressImpl.c | 77 /* On Linux/FreeBSD gethostname() says "host.domain.sun.com". On 78 * Solaris gethostname() says "host", so extra work is needed. 99 /* host is known to name service */ 132 * String "host" shouldn't *ever* be a %d.%d.%d.%d string 141 jstring host) { 165 if (IS_NULL(host)) { 166 JNU_ThrowNullPointerException(env, "host is null"); 169 hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE); 182 JNU_ReleaseStringPlatformChars(env, host, hostname); 203 JNU_ReleaseStringPlatformChars(env, host, hostnam 140 Java_java_net_Inet6AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument 387 char host[NI_MAXHOST+1]; local [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/ |
H A D | HttpsClient.java | 91 * <LI><em>https.proxyHost</em> ... the host supporting SSL 268 this.host = url.getHost(); 361 // to the same host will not use the same proxy. 441 host, port, true); 445 ((SSLSocketImpl)s).setHost(host); 453 s = (SSLSocket)factory.createSocket(host, port); 594 String host = url.getHost(); 597 if (host != null && host.startsWith("[") && host [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocksSocketImpl.java | 78 private synchronized void privilegedConnect(final String host, argument 87 superConnectServer(host, port, timeout); 98 private void superConnectServer(String host, int port, argument 100 super.connect(new InetSocketAddress(host, port), timeout); 368 String host = epoint.getHostString(); 371 (!host.startsWith("[")) && (host.indexOf(":") >= 0)) { 372 host = "[" + host + "]"; 375 uri = new URI("socket://" + ParseUtil.encodePath(host) [all...] |
H A D | InetSocketAddress.java | 199 * is called with the host name as its argument to check the permissiom 211 * permission to resolve the host name is 218 String host = null; 222 host = hostname; 224 holder = new InetSocketAddressHolder(host, addr, checkPort(port)); 243 * @param host the Host name 253 public static InetSocketAddress createUnresolved(String host, int port) { argument 254 return new InetSocketAddress(checkPort(port), checkHost(host));
|
H A D | Socket.java | 93 * is called with the proxy host address and port number 172 * number on the named host. 174 * If the specified host is <tt>null</tt> it is the equivalent of 185 * with the host address and <code>port</code> 188 * @param host the host name, or <code>null</code> for the loopback address. 192 * the host could not be determined. 205 public Socket(String host, int port) argument 208 this(host != null ? new InetSocketAddress(host, por 278 Socket(String host, int port, InetAddress localAddr, int localPort) argument 364 Socket(String host, int port, boolean stream) argument 407 Socket(InetAddress host, int port, boolean stream) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | KeepAliveCache.java | 76 * @param url The URL contains info about the host and port 297 private String host = null; field in class:KeepAliveKey 304 * @param url the URL containing the protocol, host and port information 308 this.host = url.getHost(); 321 return host.equals(kae.host) 329 * concatenation of the protocol, host name and port. 333 String str = protocol+host+port;
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | URLJarFile.java | 103 String host = url.getHost(); 104 if (host == null || host.equals("") || host.equals("~") || 105 host.equalsIgnoreCase("localhost"))
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | FlowView.java | 212 Component host = getContainer(); 213 if (host != null) { 214 //nb idk 12/12/2001 host should not be equal to null. We need to add assertion here 215 host.repaint(); 375 Component host = fv.getContainer(); 376 if (host != null) { 377 host.repaint(alloc.x, alloc.y, alloc.width, alloc.height); 395 Component host = fv.getContainer(); 396 if (host != null) { 397 host [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | LdapURL.java | 63 * ldap://host.com:6666/o=IMC,c=US??sub?(cn=Babs%20Jensen) 85 init(url); // scheme, host, port, path, query 173 * If "host" is an IPv6 literal, it may optionally include delimiting 176 static String toUrlString(String host, int port, String dn, boolean useSsl) argument 180 String h = (host != null) ? host : ""; 261 System.out.println(" host: " + url.getHost());
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | AsyncCloseChannel.java | 40 static String host = "127.0.0.1"; field in class:AsyncCloseChannel 150 s.connect(new InetSocketAddress(host, sensorPort)); 184 new InetSocketAddress(host, targetPort));
|
/openjdk7/jdk/test/sun/net/ftp/ |
H A D | FtpGetContent.java | 271 StringBuffer host; 284 host = new StringBuffer(arg.substring(0,i)); 285 for (j=0; j < host.length(); j++) 286 if (host.charAt(j) == ',') 287 host.setCharAt(j, '.'); 292 data_addr = InetAddress.getByName(host.toString());
|
H A D | FtpURL.java | 270 StringBuffer host; 283 host = new StringBuffer(arg.substring(0,i)); 284 for (j=0; j < host.length(); j++) 285 if (host.charAt(j) == ',') 286 host.setCharAt(j, '.'); 291 data_addr = InetAddress.getByName(host.toString());
|
/openjdk7/jdk/test/sun/net/www/ |
H A D | MarkResetTest.java | 270 StringBuffer host; 284 host = new StringBuffer(arg.substring(0, i)); 285 for (j = 0; j < host.length(); j++) 286 if (host.charAt(j) == ',') 287 host.setCharAt(j, '.'); 295 host.toString());
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/gopher/ |
H A D | GopherClient.java | 102 * @return the proxy host to use, or null if nothing is set. 105 String host = java.security.AccessController.doPrivileged( 107 if ("".equals(host)) { 108 host = null; 110 return host; 301 String host = t2 + 1 < t3 ? s.substring(t2 + 1, t3) : u.getHost(); 302 ps.print("<dt><a href=\"gopher://" + host + port + "/"
|
/openjdk7/jdk/test/java/net/Socket/ |
H A D | SocketImplTest.java | 52 protected void bind(InetAddress host, int port){ argument 61 protected void connect(String host, int port){ argument
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | SSLSessionImpl.java | 105 private final String host; field in class:SSLSessionImpl 152 SecureRandom generator, String host, int port) { 154 new SessionId(defaultRejoinable, generator), host, port); 162 SessionId id, String host, int port) { 169 this.host = host; 564 * different ports on the same host must necessarily belong 569 return InetAddress.getByName(host); 576 return host; 581 * host an 150 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SecureRandom generator, String host, int port) argument 160 SSLSessionImpl(ProtocolVersion protocolVersion, CipherSuite cipherSuite, Collection<SignatureAndHashAlgorithm> algorithms, SessionId id, String host, int port) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | NTLMAuthenticationProxy.java | 71 String host, 75 return fiveArgCtr.newInstance(isProxy, host, port, pw); 70 create(boolean isProxy, String host, int port, PasswordAuthentication pw) argument
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | Inet6AddressImpl.c | 85 jstring host) { 107 if (IS_NULL(host)) { 108 JNU_ThrowNullPointerException(env, "host is null"); 111 hostname = JNU_GetStringPlatformChars(env, host, JNI_FALSE); 121 JNU_ReleaseStringPlatformChars(env, host, hostname); 140 JNU_ReleaseStringPlatformChars(env, host, hostname); 241 setInetAddress_hostName(env, iaObj, host); 265 setInetAddress_hostName(env, iaObj, host); 282 JNU_ReleaseStringPlatformChars(env, host, hostname); 300 char host[NI_MAXHOS local 84 Java_java_net_Inet6AddressImpl_lookupAllHostAddr(JNIEnv *env, jobject this, jstring host) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/ |
H A D | DivHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
H A D | ElementAnnotationBuilderHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
H A D | GrammarHost.java | 46 package com.sun.xml.internal.rngom.parse.host; 58 * The following errors are checked by this host:
|
H A D | IncludeHost.java | 46 package com.sun.xml.internal.rngom.parse.host;
|
/openjdk7/jdk/src/windows/native/sun/net/spi/ |
H A D | DefaultProxySelector.c | 105 jstring host) 171 urlhost = (*env)->GetStringUTFChars(env, host, &isCopy); 175 * the URL host name matches with one of the prefixes, 179 (*env)->ReleaseStringUTFChars(env, host, urlhost); 185 (*env)->ReleaseStringUTFChars(env, host, urlhost); 102 Java_sun_net_spi_DefaultProxySelector_getSystemProxy(JNIEnv *env, jobject this, jstring proto, jstring host) argument
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | LocalVirtualMachine.java | 132 MonitoredHost host; 135 host = MonitoredHost.getMonitoredHost(new HostIdentifier((String)null)); 136 vms = host.activeVms(); 149 MonitoredVm mvm = host.getMonitoredVm(new VmIdentifier(name));
|