/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldStringTest.java | 137 assertFalse("Returned true for negative offset.", hw1.regionMatches(-1, 139 assertFalse("Returned true for negative offset.", hw1.regionMatches(2, 142 hw1.regionMatches(5, hw2, 2, 6)); 144 hw1.regionMatches(2, hw2, 5, 6)); 150 assertFalse("Returned true for negative offset.", hw1.regionMatches(true, 152 assertFalse("Returned true for negative offset.", hw1.regionMatches(false, 155 hw1.regionMatches(true, 5, hw2, 2, 6)); 157 hw1.regionMatches(false, 2, hw2, 5, 6)); 159 assertTrue("identical regions failed comparison", hwuc.regionMatches( 161 assertFalse("non identical regions failed comparison", hwuc.regionMatches( [all...] |
H A D | StringTest.java | 326 if (!a.regionMatches(true, 0, b, 0, b.length())) {
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | UrlUtils.java | 57 if (i == segmentStart + 1 && path.regionMatches(segmentStart, ".", 0, 1)) { 61 } else if (i == segmentStart + 2 && path.regionMatches(segmentStart, "..", 0, 2)) {
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | DefaultHostnameVerifier.java | 140 if (cn.startsWith("*.") && hostName.regionMatches(0, cn, 2, cn.length() - 2)) { 150 if (!hostName.regionMatches(0, cn, 0, asterisk)) { 163 if (!hostName.regionMatches(suffixStart, cn, asterisk + 1, suffixLength)) {
|
/libcore/luni/src/main/java/java/math/ |
H A D | MathContext.java | 134 if (!s.regionMatches(roundingModeStart, "roundingMode=", 0, roundingModeLength)) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | String2Test.java | 638 * java.lang.String#regionMatches(int, java.lang.String, int, int) 641 // Test for method boolean java.lang.String.regionMatches(int, 645 assertTrue("identical regions failed comparison", hw1.regionMatches(2, 647 assertTrue("Different regions returned true", !hw1.regionMatches(2, 652 * java.lang.String#regionMatches(boolean, int, java.lang.String, 656 // Test for method boolean java.lang.String.regionMatches(boolean, int, 661 assertTrue("identical regions failed comparison", hw1.regionMatches( 664 hw1.regionMatches(true, 2, hw2, 2, 5)); 665 assertTrue("Different regions returned true", !hw1.regionMatches(true, 668 hw1.regionMatches(fals [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | StringToReal.java | 243 if (length == 8 && name.regionMatches(false, i, "Infinity", 0, 8)) { 246 if (length == 3 && name.regionMatches(false, i, "NaN", 0, 3)) {
|
/libcore/libart/src/main/java/java/lang/ |
H A D | String.java | 630 return regionMatches(count - suffix.count, suffix, 0, suffix.count); 1111 public boolean regionMatches(int thisStart, String string, int start, int length) { method in class:String 1154 public boolean regionMatches(boolean ignoreCase, int thisStart, String string, int start, int length) { method in class:String 1156 return regionMatches(thisStart, string, start, length); 1296 return regionMatches(start, prefix, 0, prefix.count); 1536 return regionMatches(0, new String(0, size, sb.getValue()), 0, size); 1561 return regionMatches(0, cs.toString(), 0, len);
|
/libcore/luni/src/main/java/java/net/ |
H A D | URI.java | 371 if (!uri.regionMatches(start, "/", 0, 1)) { 387 if (uri.regionMatches(start, "//", 0, 2)) { 784 // 0 chars, and regionMatches is specified to return true in that case. 802 return first.regionMatches(prevIndex, second, prevIndex, 806 if (!first.regionMatches(prevIndex, second, prevIndex, (index - prevIndex))) { 810 if (!first.regionMatches(true /* ignore case */, index + 1, second, index + 1, 2)) {
|
H A D | URLStreamHandler.java | 101 if (spec.regionMatches(start, "//", 0, 2)) {
|
/libcore/luni/src/main/java/java/text/ |
H A D | SimpleDateFormat.java | 1151 if (string.regionMatches(true, offset, option, 0, optionLength)) { 1159 if (string.regionMatches(true, offset, option, 0, optionLength - 1)) { 1175 boolean foundGMT = string.regionMatches(offset, "GMT", 0, 3); 1224 if (string.regionMatches(true, offset, row[i], 0, row[i].length())) {
|
H A D | MessageFormat.java | 934 if (string.regionMatches(true, offset, tokens[i], 0, tokens[i]
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarFile.java | 360 return s.regionMatches(true, s.length() - suffix.length(), suffix, 0, suffix.length());
|
/libcore/luni/src/main/java/java/util/ |
H A D | Date.java | 356 if (string.regionMatches(true, 0, array[i], 0, slength)) {
|
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectStreamClass.java | 766 return nameC1.regionMatches(0, nameC2, 0, indexDotC1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | FileTest.java | 962 if (!base.regionMatches((base.length() - 1), File.separator, 0, 1)) {
|