/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
InvalidClassExceptionTest.java | 58 returnedMessage.indexOf(className) >= 0 59 && returnedMessage.indexOf(message) >= 0);
|
/external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
BackingStoreExceptionTest.java | 46 assertTrue(e.getMessage().indexOf(t.getClass().getName()) >= 0); 47 assertTrue(e.getMessage().indexOf("msg") >= 0);
|
/external/chromium/chrome/common/extensions/docs/js/ |
bootstrap.js | 20 (navigator.userAgent.indexOf("Chrome") > -1) && 42 } else if ((navigator.userAgent.indexOf("Chrome") > -1) &&
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
util.js | 41 if (url.indexOf('?') == -1) 52 return url.substring(0, url.indexOf('?')) || url;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_filename_controller/ |
bg.js | 11 var host = (rule.match_param.indexOf(':') < 0) ? link.hostname : link.host; 12 return (host.indexOf(rule.match_param.toLowerCase()) ==
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/templates/ |
showfilelist.html | 49 if (url.indexOf('before') == -1) 50 url += (url.indexOf('?') == -1 ? '?' : '&') + beforeQueryParameter;
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-237617.js | 41 assertTrue(error_stack.indexOf("test stack") > 0); 42 assertTrue(error_stack.indexOf("illegal") < 0);
|
regress-2686.js | 28 // Check Function doesn't use String.prototype.indexOf. 31 String.prototype.indexOf = function () { return -1; }
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
VersionNumberStripper.java | 60 int underScorePos = files[i].getName().indexOf("_"); 61 int jarExtPos = files[i].getName().indexOf(".jar");
|
/external/smack/src/org/xbill/DNS/utils/ |
base16.java | 62 byte high = (byte) Base16.indexOf(Character.toUpperCase((char)in[i])); 63 byte low = (byte) Base16.indexOf(Character.toUpperCase((char)in[i+1]));
|
/frameworks/base/test-runner/src/junit/runner/ |
ClassPathTestCollector.java | 69 classFileName.indexOf('$') < 0 && 70 classFileName.indexOf("Test") > 0;
|
/packages/apps/Browser/src/com/android/browser/ |
DataUri.java | 41 int commaIndex = uri.indexOf(',', DATA_URI_PREFIX.length()); 51 int semiIndex = contentType.indexOf(';');
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
SparseArray.java | 70 return mKeys.indexOf(key); 74 return mValues.indexOf(value);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
QueryParameterUtils.java | 47 index = query.indexOf(parameter, index); 64 int ampIndex = query.indexOf('&', index);
|
/cts/tests/tests/text/src/android/text/util/cts/ |
Rfc822TokenizerTest.java | 40 final int TOKEN_START_POS_1 = text.indexOf(token1); 41 final int TOKEN_START_POS_2 = text.indexOf(token2); 42 final int TOKEN_START_POS_3 = text.indexOf(token3); 43 final int TOKEN_START_POS_4 = text.indexOf(token4); 86 final int TOKEN_END_POS_2 = text2.indexOf(token2) + token2.length(); 87 final int TOKEN_END_POS_4 = text2.indexOf(token4) + token4.length();
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
AuthenticationExceptionTest.java | 125 .indexOf(toS) != -1)); 144 .indexOf(msgs[i]) != -1); 147 .indexOf(toS) != -1); 172 .indexOf(msgs[i]) >= 0); 176 assertTrue("Incorrect result string", eT.toString().indexOf( 180 .indexOf(th[j].toString()) >= 0);
|
/external/chromium-trace/trace-viewer/src/cc/ |
picture_ops_list_view.js | 169 if (info.indexOf(ANNOTATION_TAG) != -1) 171 info.indexOf(ANNOTATION_TAG) + 173 else if (info.indexOf(ANNOTATION_ID) != -1) 175 info.indexOf(ANNOTATION_ID) + 177 else if (info.indexOf(ANNOTATION_CLASS) != -1) 179 info.indexOf(ANNOTATION_CLASS) +
|
/external/chromium_org/chrome/browser/resources/options/ |
language_dictionary_overlay_word_list.js | 127 return element.indexOf(searchTerm) > -1; 153 if (this.allWordsList_.indexOf(entries[i]) == -1) { 174 index = this.removedWordsList_.indexOf(entries[i]); 178 index = this.allWordsList_.indexOf(entries[i]); 188 index = this.dataModel.indexOf(toRemove[i]); 219 var allWordsListIndex = this.allWordsList_.indexOf(item);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
dromaeo-object-string.html | 109 // TESTS: indexOf 111 test( "indexOf", function(){ 113 ret = str.indexOf("a"); 114 ret = str.indexOf("b"); 115 ret = str.indexOf("c"); 116 ret = str.indexOf("d");
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
CoderResultTest.java | 58 assertTrue(CoderResult.OVERFLOW.toString().indexOf("OVERFLOW") != -1); 78 assertTrue(CoderResult.UNDERFLOW.toString().indexOf("UNDERFLOW") != -1); 258 assertTrue(CoderResult.OVERFLOW.toString().indexOf("OVERFLOW") != -1); 259 assertTrue(CoderResult.UNDERFLOW.toString().indexOf("UNDERFLOW") != -1); 261 .indexOf("666") != -1); 262 assertTrue(CoderResult.unmappableForLength(666).toString().indexOf(
|
/libcore/luni/src/main/java/java/util/ |
StringTokenizer.java | 113 if (delimiters.indexOf(string.charAt(i), 0) >= 0) { 156 if (delimiters.indexOf(string.charAt(i), 0) == -1) 190 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 193 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 198 while (i < length && delimiters.indexOf(string.charAt(i), 0) >= 0) 203 if (delimiters.indexOf(string.charAt(position), 0) >= 0)
|
/external/jdiff/src/jdiff/ |
RootDocToXML.java | 688 if (rct != null && rct.indexOf(excludeTag) != -1) { [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringBufferTest.java | 531 * @tests {@link java.lang.StringBuffer#indexOf(String, int)} 537 assertEquals(0, sb.indexOf("0")); 538 assertEquals(0, sb.indexOf("012")); 539 assertEquals(-1, sb.indexOf("02")); 540 assertEquals(8, sb.indexOf("89")); 542 assertEquals(0, sb.indexOf("0"), 0); 543 assertEquals(0, sb.indexOf("012"), 0); 544 assertEquals(-1, sb.indexOf("02"), 0); 545 assertEquals(8, sb.indexOf("89"), 0); 547 assertEquals(-1, sb.indexOf("0"), 5) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 160 if (body.indexOf("=?") == -1) {
170 int begin = body.indexOf("=?", previousEnd);
177 int qm1 = body.indexOf('?', endScan + 2);
178 int qm2 = body.indexOf('?', qm1 + 1);
184 int end = begin == -1 ? -1 : body.indexOf("?=", endScan);
214 int qm1 = body.indexOf('?', begin + 2);
218 int qm2 = body.indexOf('?', qm1 + 1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidator.java | 637 String sub = email.substring(email.indexOf('@') + 1); 639 if (constraint.indexOf('@') != -1) 757 if (email1.indexOf('@') != -1) 759 String _sub = email1.substring(email1.indexOf('@') + 1); 761 if (email2.indexOf('@') != -1) 803 if (email2.indexOf('@') != -1) 805 String _sub = email2.substring(email1.indexOf('@') + 1); 850 if (email2.indexOf('@') != -1) 852 String _sub = email2.substring(email1.indexOf('@') + 1); 895 if (email1.indexOf('@') != -1 [all...] |