Home
last modified time | relevance | path

Searched refs:hostAddr (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava/src/com/google/common/net/
DInetAddresses.java484 public static InetAddress forUriString(String hostAddr) { in forUriString() argument
485 Preconditions.checkNotNull(hostAddr); in forUriString()
490 if (hostAddr.startsWith("[") && hostAddr.endsWith("]")) { in forUriString()
491 ipString = hostAddr.substring(1, hostAddr.length() - 1); in forUriString()
494 ipString = hostAddr; in forUriString()
502 String.format("Not a valid URI IP literal: '%s'", hostAddr)); in forUriString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java65 InetAddress hostAddr = null; in startListening() local
84 hostAddr = InetAddress.getByName(hostName); in startListening()
85 serverSocket = new ServerSocket(port, 0, hostAddr); in startListening()