/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/java/lang/ |
H A D | StringUTF16.java | 717 public static boolean regionMatchesCI(byte[] value, int toffset, 719 int last = toffset + len; 720 assert toffset >= 0 && ooffset >= 0; 723 while (toffset < last) { 724 char c1 = getChar(value, toffset++); 749 public static boolean regionMatchesCI_Latin1(byte[] value, int toffset, 752 return StringLatin1.regionMatchesCI_UTF16(other, ooffset, value, toffset, len);
|
H A D | String.java | 1323 if ((ooffset < 0) || (toffset < 0) || in regionMatches() 1324 (toffset > (long)length() - len) || in regionMatches() 1331 toffset = toffset << 1; in regionMatches() 1336 if (tv[toffset++] != ov[ooffset++]) { in regionMatches() 1343 if (StringLatin1.getChar(tv, toffset++) != in regionMatches() 1350 if (StringUTF16.getChar(tv, toffset++) != in regionMatches() 1416 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1417 || (toffset > (long)length() - len) in regionMatches() 1451 public boolean startsWith(String prefix, int toffset) { in startsWith() argument 1453 if (toffset < 0 || toffset > length() - prefix.length()) { in startsWith() [all …]
|
H A D | StringLatin1.java | 385 public static boolean regionMatchesCI(byte[] value, int toffset, in regionMatchesCI() argument 387 int last = toffset + len; in regionMatchesCI() 388 while (toffset < last) { in regionMatchesCI() 389 char c1 = (char)(value[toffset++] & 0xff); in regionMatchesCI() 407 public static boolean regionMatchesCI_UTF16(byte[] value, int toffset, in regionMatchesCI_UTF16() argument 409 int last = toffset + len; in regionMatchesCI_UTF16() 410 while (toffset < last) { in regionMatchesCI_UTF16() 411 char c1 = (char)(value[toffset++] & 0xff); in regionMatchesCI_UTF16()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/ |
H A D | XMLString.java | 241 public abstract boolean startsWith(String prefix, int toffset); in startsWith() argument 262 public abstract boolean startsWith(XMLString prefix, int toffset); in startsWith() argument
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.xml/share/classes/com/sun/org/apache/xml/internal/utils/ |
H A D | XMLStringDefault.java | 286 public boolean startsWith(String prefix, int toffset) in startsWith() argument 288 return m_str.startsWith(prefix, toffset); in startsWith() 310 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 312 return m_str.startsWith(prefix.toString(), toffset); in startsWith()
|
H A D | XMLString.java | 241 public abstract boolean startsWith(String prefix, int toffset); in startsWith() argument 262 public abstract boolean startsWith(XMLString prefix, int toffset); in startsWith() argument
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.xml/share/classes/com/sun/org/apache/xpath/internal/objects/ |
H A D | XStringForFSB.java | 609 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 613 int to = m_start + toffset; in startsWith() 619 if ((toffset < 0) || (toffset > m_length - pc)) in startsWith()
|
H A D | XString.java | 505 public boolean startsWith(String prefix, int toffset) in startsWith() argument 507 return str().startsWith(prefix, toffset); in startsWith() 548 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 551 int to = toffset; in startsWith() 557 if ((toffset < 0) || (toffset > tlim - pc)) in startsWith()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/String/CompactString/ |
H A D | StartsWith.java | 94 public void testStartsWith(String str, String prefix, int toffset, in testStartsWith() argument 100 data.startsWith(prefix, toffset), in testStartsWith() 105 escapeNonASCIIs(prefix), toffset, in testStartsWith()
|
H A D | RegionMatches.java | 89 public void testRegionMatches(String str, boolean ignoreCase, int toffset, in testRegionMatches() argument 95 data.regionMatches(ignoreCase, toffset, in testRegionMatches() 101 toffset, escapeNonASCIIs(other), in testRegionMatches()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/ |
H A D | Utils.java | 148 int toffset = string.length() - length; in endsWithIgnoreCase() local 149 if (toffset < 0) { in endsWithIgnoreCase() 152 return string.regionMatches(true, toffset, suffix, 0, length); in endsWithIgnoreCase()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/java/lang/ |
H A D | StringLatin1.java | 385 public static boolean regionMatchesCI(byte[] value, int toffset, in regionMatchesCI() argument 387 int last = toffset + len; in regionMatchesCI() 388 while (toffset < last) { in regionMatchesCI() 389 char c1 = (char)(value[toffset++] & 0xff); in regionMatchesCI() 407 public static boolean regionMatchesCI_UTF16(byte[] value, int toffset, in regionMatchesCI_UTF16() argument 409 int last = toffset + len; in regionMatchesCI_UTF16() 410 while (toffset < last) { in regionMatchesCI_UTF16() 411 char c1 = (char)(value[toffset++] & 0xff); in regionMatchesCI_UTF16()
|
H A D | String.java | 1318 if ((ooffset < 0) || (toffset < 0) || in regionMatches() 1319 (toffset > (long)length() - len) || in regionMatches() 1326 toffset = toffset << 1; in regionMatches() 1331 if (tv[toffset++] != ov[ooffset++]) { in regionMatches() 1338 if (StringLatin1.getChar(tv, toffset++) != in regionMatches() 1345 if (StringUTF16.getChar(tv, toffset++) != in regionMatches() 1411 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1412 || (toffset > (long)length() - len) in regionMatches() 1446 public boolean startsWith(String prefix, int toffset) { in startsWith() argument 1448 if (toffset < 0 || toffset > length() - prefix.length()) { in startsWith() [all …]
|
H A D | StringUTF16.java | 717 public static boolean regionMatchesCI(byte[] value, int toffset, 719 int last = toffset + len; 720 assert toffset >= 0 && ooffset >= 0; 723 while (toffset < last) { 724 char c1 = getChar(value, toffset++); 749 public static boolean regionMatchesCI_Latin1(byte[] value, int toffset, 752 return StringLatin1.regionMatchesCI_UTF16(other, ooffset, value, toffset, len);
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/opto/ |
H A D | library_call.cpp | 1625 const TypeInt* toffset = gvn().type(offset)->is_int(); in inline_string_toBytesU() local 1626 …bool aligned = toffset->is_con() && ((toffset->get_con() * type2aelembytes(T_CHAR)) % HeapWordSize… in inline_string_toBytesU()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/ |
H A D | String.java | 1274 public boolean regionMatches(int toffset, String other, int ooffset, in regionMatches() argument 1277 int to = toffset; in regionMatches() 1281 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1282 || (toffset > (long)value.length - len) in regionMatches() 1344 public boolean regionMatches(boolean ignoreCase, int toffset, in regionMatches() argument 1347 int to = toffset; in regionMatches() 1351 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1352 || (toffset > (long)value.length - len) in regionMatches() 1402 public boolean startsWith(String prefix, int toffset) { in startsWith() argument 1404 int to = toffset; in startsWith() [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | XMLStringDefault.java | 287 public boolean startsWith(String prefix, int toffset) in startsWith() argument 289 return m_str.startsWith(prefix, toffset); in startsWith() 311 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 313 return m_str.startsWith(prefix.toString(), toffset); in startsWith()
|
H A D | XMLString.java | 242 public abstract boolean startsWith(String prefix, int toffset); in startsWith() argument 263 public abstract boolean startsWith(XMLString prefix, int toffset); in startsWith() argument
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xpath/internal/objects/ |
H A D | XString.java | 506 public boolean startsWith(String prefix, int toffset) in startsWith() argument 508 return str().startsWith(prefix, toffset); in startsWith() 549 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 552 int to = toffset; in startsWith() 558 if ((toffset < 0) || (toffset > tlim - pc)) in startsWith()
|
H A D | XStringForFSB.java | 610 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 614 int to = m_start + toffset; in startsWith() 620 if ((toffset < 0) || (toffset > m_length - pc)) in startsWith()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/test/testlibrary/ctw/src/sun/hotspot/tools/ctw/ |
H A D | Utils.java | 146 int toffset = string.length() - length; in endsWithIgnoreCase() local 147 if (toffset < 0) { in endsWithIgnoreCase() 150 return string.regionMatches(true, toffset, suffix, 0, length); in endsWithIgnoreCase()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/lang/ |
H A D | String.java | 1274 public boolean regionMatches(int toffset, String other, int ooffset, in regionMatches() argument 1277 int to = toffset; in regionMatches() 1281 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1282 || (toffset > (long)value.length - len) in regionMatches() 1344 public boolean regionMatches(boolean ignoreCase, int toffset, in regionMatches() argument 1347 int to = toffset; in regionMatches() 1351 if ((ooffset < 0) || (toffset < 0) in regionMatches() 1352 || (toffset > (long)value.length - len) in regionMatches() 1402 public boolean startsWith(String prefix, int toffset) { in startsWith() argument 1404 int to = toffset; in startsWith() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xpath/internal/objects/ |
H A D | XString.java | 506 public boolean startsWith(String prefix, int toffset) in startsWith() argument 508 return str().startsWith(prefix, toffset); in startsWith() 549 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 552 int to = toffset; in startsWith() 558 if ((toffset < 0) || (toffset > tlim - pc)) in startsWith()
|
H A D | XStringForFSB.java | 610 public boolean startsWith(XMLString prefix, int toffset) in startsWith() argument 614 int to = m_start + toffset; in startsWith() 620 if ((toffset < 0) || (toffset > m_length - pc)) in startsWith()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | XMLString.java | 242 public abstract boolean startsWith(String prefix, int toffset); in startsWith() argument 263 public abstract boolean startsWith(XMLString prefix, int toffset); in startsWith() argument
|