/external/proguard/src/proguard/util/ |
ExtensionMatcher.java | 61 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
ClassNameParser.java | 69 if (regularExpression.regionMatches(index, "L///;", 0, 5)) 85 if (regularExpression.regionMatches(index, "L***;", 0, 5)) 95 if (regularExpression.regionMatches(index, "**", 0, 2))
|
FileNameParser.java | 49 if (regularExpression.regionMatches(index, "**", 0, 2))
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
IOCase.java | 179 return str.regionMatches(!sensitive, 0, start, 0, start.length());
195 return str.regionMatches(!sensitive, str.length() - endLen, end, 0, endLen);
201 * This method mimics parts of {@link String#regionMatches(boolean, int, String, int, int)}
211 return str.regionMatches(!sensitive, strStartIndex, search, 0, search.length());
|
/libcore/luni/src/test/java/libcore/java/lang/ |
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...] |
/libcore/luni/src/main/java/libcore/net/url/ |
UrlUtils.java | 57 if (i == segmentStart + 1 && path.regionMatches(segmentStart, ".", 0, 1)) { 61 } else if (i == segmentStart + 2 && path.regionMatches(segmentStart, "..", 0, 2)) {
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 165 if (cn.startsWith("*.") && hostName.regionMatches(0, cn, 2, cn.length() - 2)) { 175 if (!hostName.regionMatches(0, cn, 0, asterisk)) { 188 if (!hostName.regionMatches(suffixStart, cn, asterisk + 1, suffixLength)) {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
CertPinManager.java | 193 if (cn.startsWith("*.") && hostName.regionMatches(0, cn, 2, cn.length() - 2)) { 204 if (!hostName.regionMatches(0, cn, 0, asterisk)) { 214 if (!hostName.regionMatches(suffixStart, cn, asterisk + 1, suffixLength)) {
|
/libcore/luni/src/main/java/javax/net/ssl/ |
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)) {
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 92 if (name.regionMatches(true, 0, header, 0, name.length())) { 106 if (name.regionMatches(true, 0, header, 0, name.length())) {
|
/external/proguard/src/proguard/wtk/ |
ProGuardObfuscator.java | 91 !System.getProperty("os.name").regionMatches(true, 0, "windows", 0, 7);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
MimePredicate.java | 90 return filter.regionMatches(0, test, 0, filter.indexOf('/'));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
FmActivityToLayoutMethod.java | 52 if (suffixStart != -1 && activityName.regionMatches(suffixStart, ACTIVITY_NAME_SUFFIX, 0,
|
FmClassNameToResourceMethod.java | 59 if (suffixStart != -1 && name.regionMatches(suffixStart, suffix, 0,
|
/external/proguard/src/proguard/ |
DataEntryReaderFactory.java | 153 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
DataEntryWriterFactory.java | 162 return string.regionMatches(true, stringLength - suffixLength, suffix, 0, suffixLength);
|
/libcore/luni/src/main/java/java/math/ |
MathContext.java | 134 if (!s.regionMatches(roundingModeStart, "roundingMode=", 0, roundingModeLength)) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 81 if (!dirName.regionMatches((dirName.length() - 1), slash, 0, 1)) 116 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1)) 214 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
ResourceValueCompleter.java | 96 prefix.regionMatches(true /* ignoreCase */, 0, ANDROID_PREFIX, 0, 104 prefix.regionMatches(true /* ignoreCase */, 0, ANDROID_THEME_PREFIX, 0, 147 if (prefix.regionMatches(typeStart, type.getName(), 0,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
String2Test.java | 636 * @tests java.lang.String#regionMatches(int, java.lang.String, int, int) 639 // Test for method boolean java.lang.String.regionMatches(int, 643 assertTrue("identical regions failed comparison", hw1.regionMatches(2, 645 assertTrue("Different regions returned true", !hw1.regionMatches(2, 650 * @tests java.lang.String#regionMatches(boolean, int, java.lang.String, 654 // Test for method boolean java.lang.String.regionMatches(boolean, int, 659 assertTrue("identical regions failed comparison", hw1.regionMatches( 662 hw1.regionMatches(true, 2, hw2, 2, 5)); 663 assertTrue("Different regions returned true", !hw1.regionMatches(true, 666 hw1.regionMatches(false, 2, hw2, 2, 5)) [all...] |
/art/test/003-omnibus-opcodes/src/ |
Classes.java | 51 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); 62 Main.assertTrue(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7));
|
/dalvik/tests/003-omnibus-opcodes/src/ |
Classes.java | 37 assert(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7)); 48 assert(cce.getMessage().regionMatches(false, 0, "Classes", 0, 7));
|
/libcore/luni/src/main/java/java/lang/ |
StringToReal.java | 224 if (length == 8 && name.regionMatches(false, i, "Infinity", 0, 8)) { 227 if (length == 3 && name.regionMatches(false, i, "NaN", 0, 3)) {
|
/libcore/libart/src/main/java/java/lang/ |
String.java | 667 return regionMatches(count - suffix.count, suffix, 0, suffix.count); [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
String.java | 736 return regionMatches(count - suffix.count, suffix, 0, suffix.count); [all...] |