HomeSort by relevance Sort by last modified time
    Searched full:indexof (Results 576 - 600 of 2556) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/main/java/libcore/net/url/
UrlUtils.java 102 int colon = spec.indexOf(':');
136 if (chars.indexOf(c) != -1) {
  /libcore/luni/src/test/java/libcore/java/lang/
IntrinsicTest.java 41 "hello".indexOf('l');
42 String.class.getMethod("indexOf", int.class).invoke("hello", 'l');
  /libcore/luni/src/test/java/tests/api/java/util/
LinkedListTest.java 318 * java.util.LinkedList#indexOf(java.lang.Object)
321 // Test for method int java.util.LinkedList.indexOf(java.lang.Object)
322 assertEquals("Returned incorrect index", 87, ll.indexOf(objArray[87]));
324 .indexOf(new Object()));
327 assertTrue("Index of null should be 20, but got: " + ll.indexOf(null),
328 ll.indexOf(null) == 20);
425 assertEquals("Failed to remove element", -1, ll.indexOf(objArray[10]));
445 assertEquals("Found Object after removal", -1, ll.indexOf(objArray[87]));
  /packages/apps/Browser/src/com/android/browser/
UrlUtils.java 107 boolean hasSpace = inUrl.indexOf(' ') != -1;
140 int colon = inUrl.indexOf(':');
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogGroupBuilder.java 131 int index1 = number1.indexOf('@');
142 int index2 = number2.indexOf('@');
  /packages/apps/Launcher3/src/com/android/launcher3/
WeightWatcher.java 49 static int indexOf(int[] a, int x) {
73 if (indexOf(pids, pw.getPid()) < 0) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
AndroidClasspathContainerPage.java 111 index = indexOf(androidProjects, this.mLibsProjectName);
191 private static int indexOf(final String[] array, final String str) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/
RefactoringUtil.java 140 int index = text.indexOf(value, potentialStart);
167 int index = text.indexOf(element.getTagName(), potentialStart);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
StringBuilderTest.java 712 * @tests java.lang.StringBuilder.indexOf(String)
717 assertEquals(0, sb.indexOf("0"));
718 assertEquals(0, sb.indexOf("012"));
719 assertEquals(-1, sb.indexOf("02"));
720 assertEquals(8, sb.indexOf("89"));
723 sb.indexOf(null);
731 * @tests java.lang.StringBuilder.indexOf(String, int)
736 assertEquals(0, sb.indexOf("0"));
737 assertEquals(0, sb.indexOf("012"));
738 assertEquals(-1, sb.indexOf("02"))
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicLineParser.java 172 int period = buffer.indexOf('.', i, indexTo);
188 int blank = buffer.indexOf(' ', i, indexTo);
319 int blank = buffer.indexOf(' ', i, indexTo);
330 blank = buffer.indexOf(' ', i, indexTo);
415 int blank = buffer.indexOf(' ', i, indexTo);
  /external/apache-xml/src/main/java/org/apache/xml/utils/
SuballocatedIntVector.java 330 int at=indexOf(s,0);
454 return (indexOf(s,0) >= 0);
468 public int indexOf(int elem, int index)
507 public int indexOf(int elem)
509 return indexOf(elem,0);
XMLStringDefault.java 407 public int indexOf(int ch)
409 return m_str.indexOf(ch);
440 public int indexOf(int ch, int fromIndex)
442 return m_str.indexOf(ch, fromIndex);
510 public int indexOf(String str)
512 return m_str.indexOf(str);
532 public int indexOf(XMLString str)
534 return m_str.indexOf(str.toString());
563 public int indexOf(String str, int fromIndex)
565 return m_str.indexOf(str, fromIndex)
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/
feed.js 240 if (url.indexOf('http:') != 0 && url.indexOf('https:') != 0) {
287 if (url.indexOf('http://news.google.com') == 0) {
291 var index = url.indexOf('&url=');
294 index = url.indexOf('&');
  /external/chromium/chrome/common/extensions/docs/js/
api_page_generator.js 336 return !module.nodoc && module.namespace.indexOf("experimental") < 0;
344 return !module.nodoc && module.namespace.indexOf("experimental") == 0;
352 return !module.nodoc && module.namespace.indexOf("webInspector.") !== 0;
483 return (getPageName().indexOf('.experimental.') >= 0 &&
484 getPageName().indexOf('.experimental.*') < 0);
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/news/javascript/
feed.js 240 if (url.indexOf('http:') != 0 && url.indexOf('https:') != 0) {
287 if (url.indexOf('http://news.google.com') == 0) {
291 var index = url.indexOf('&url=');
294 index = url.indexOf('&');
  /external/chromium_org/native_client_sdk/src/resources/
common.js 267 // indexOf would search the entire string, lastIndexOf(p, 0) only checks at
446 var tc = toolchains.indexOf(searchVars.tc) !== -1 ?
452 if (configs.indexOf(searchVars.config) !== -1)
454 else if (configs.indexOf('Release') !== -1)
463 isRelease = path.toLowerCase().indexOf('release') != -1;
  /external/chromium_org/third_party/icu/source/test/intltest/
v32test.cpp 183 // indexOf
190 TEST_ASSERT(a->indexOf(30, 0) == 2);
191 TEST_ASSERT(a->indexOf(40, 0) == -1);
192 TEST_ASSERT(a->indexOf(10, 0) == 0);
193 TEST_ASSERT(a->indexOf(10, 1) == -1);
  /external/icu4c/test/intltest/
v32test.cpp 183 // indexOf
190 TEST_ASSERT(a->indexOf(30, 0) == 2);
191 TEST_ASSERT(a->indexOf(40, 0) == -1);
192 TEST_ASSERT(a->indexOf(10, 0) == 0);
193 TEST_ASSERT(a->indexOf(10, 1) == -1);
  /frameworks/base/core/java/android/content/res/
StringBlock.java 282 for (int t = tag.indexOf(';'); t < len; t = next) {
283 int eq = tag.indexOf('=', t);
288 next = tag.indexOf(';', eq);
379 int start = full.indexOf(attribute);
385 int end = full.indexOf(';', start);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SendersView.java 351 int indexOf = displayableSenderEmails.indexOf(senderEmail);
352 if (indexOf > -1) {
353 displayableSenderEmails.remove(indexOf);
354 displayableSenderNames.remove(indexOf);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
SourceProcessor.java 253 int pos = mToCompile.indexOf(sourceFile);
425 if (mRemoved.indexOf(r) == -1) {
429 int index = mToCompile.indexOf(r);
440 if (mToCompile.indexOf(r) == -1) {
444 int index = mRemoved.indexOf(r);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
utilities.js 62 var i = this.indexOf(string);
65 i = this.indexOf(string, i + string.length);
90 if (this.indexOf(chars.charAt(i)) !== -1) {
101 if (chars.indexOf(this.charAt(i)) !== -1)
212 var fragmentIndex = this.indexOf("#");
231 return this.indexOf(substring, this.length - substring.length) !== -1;
350 var index = this.indexOf(value);
785 for (var precentIndex = format.indexOf("%", index); precentIndex !== -1; precentIndex = format.indexOf("%", index)) {
966 if (regexSpecialCharacters.indexOf(c) != -1
    [all...]
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestAttributes.java 412 String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
656 String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
700 String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
726 String found = code.substring(code.indexOf("###")+3,code.indexOf("!!!"));
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DescriptorsTest.java 456 assertTrue(e.getMessage().indexOf("foo") != -1);
457 assertTrue(e.getMessage().indexOf("Foo") != -1);
458 assertTrue(e.getMessage().indexOf("invalid") != -1);
460 assertTrue(e.getCause().getMessage().indexOf("invalid") != -1);
530 e.getMessage().indexOf("Invalid public dependency index.") != -1);
564 assertTrue(e.getMessage().indexOf("Bar") != -1);
565 assertTrue(e.getMessage().indexOf("is not defined") != -1);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 268 int dash = MILESTONES[index].indexOf('-');
283 int start = MILESTONES[i].indexOf(buildDate);
303 int start = MILESTONES[i].indexOf(buildDate);
335 String milestoneDate = MILESTONES[i].substring(MILESTONES[i].indexOf('-')+1);
359 if (pattern.indexOf('*') < 0 && pattern.indexOf('?') < 0) {
369 int idx = name.substring(start).indexOf(token);

Completed in 1451 milliseconds

<<21222324252627282930>>