Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/x509/
DIPAddressName.java199 int prefixLen = Integer.parseInt(name.substring(slashNdx+1)); in parseIPv6() local
200 if (prefixLen < 0 || prefixLen > 128) { in parseIPv6()
202 prefixLen + ") in out of valid range [0,128]"); in parseIPv6()
209 for (int i = 0; i < prefixLen; i++) in parseIPv6()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java4107 int prefixLen = prefixLength(k); in add0() local
4108 if (prefixLen == key.length()) { in add0()
4109 if (prefixLen < k.length()) { // down the tree in add0()
4110 String subKey = k.substring(prefixLen); in add0()
4132 PrefixTree n1 = newNode(key.substring(prefixLen), value, child); in add0()
4133 key = k.substring(0, prefixLen); in add0()
4135 if (prefixLen < k.length()) { in add0()
4136 PrefixTree n2 = newNode(k.substring(prefixLen), v, null); in add0()