HomeSort by relevance Sort by last modified time
    Searched refs:lastIndexOf (Results 51 - 75 of 602) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListSubListTester.java 282 assertEquals(copy.lastIndexOf(list.get(size - 1)),
284 assertEquals(head.lastIndexOf(list.get(size - 2)),
286 assertEquals(tail.lastIndexOf(list.get(size - 1)),
289 assertEquals(copy.lastIndexOf(list.get(0)),
291 assertEquals(head.lastIndexOf(list.get(0)),
293 assertEquals(tail.lastIndexOf(list.get(1)),
295 assertEquals(head.lastIndexOf(list.get(size - 1)),
297 assertEquals(tail.lastIndexOf(list.get(0)),
  /external/guava/guava-tests/test/com/google/common/collect/
SortedListsTest.java 52 assertEquals(list.lastIndexOf(key), answer);
64 assertEquals(list.lastIndexOf(key) + 1, answer);
  /external/guava/guava-tests/test/com/google/common/primitives/
CharsTest.java 158 assertEquals(-1, Chars.lastIndexOf(EMPTY, (char) 1));
159 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2));
160 assertEquals(-1, Chars.lastIndexOf(ARRAY234, (char) 1));
161 assertEquals(0, Chars.lastIndexOf(
163 assertEquals(0, Chars.lastIndexOf(ARRAY234, (char) 2));
164 assertEquals(1, Chars.lastIndexOf(ARRAY234, (char) 3));
165 assertEquals(2, Chars.lastIndexOf(ARRAY234, (char) 4));
166 assertEquals(3, Chars.lastIndexOf(
IntsTest.java 159 assertEquals(-1, Ints.lastIndexOf(EMPTY, (int) 1));
160 assertEquals(-1, Ints.lastIndexOf(ARRAY1, (int) 2));
161 assertEquals(-1, Ints.lastIndexOf(ARRAY234, (int) 1));
162 assertEquals(0, Ints.lastIndexOf(
164 assertEquals(0, Ints.lastIndexOf(ARRAY234, (int) 2));
165 assertEquals(1, Ints.lastIndexOf(ARRAY234, (int) 3));
166 assertEquals(2, Ints.lastIndexOf(ARRAY234, (int) 4));
167 assertEquals(3, Ints.lastIndexOf(
LongsTest.java 131 assertEquals(-1, Longs.lastIndexOf(EMPTY, (long) 1));
132 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2));
133 assertEquals(-1, Longs.lastIndexOf(ARRAY234, (long) 1));
134 assertEquals(0, Longs.lastIndexOf(
136 assertEquals(0, Longs.lastIndexOf(ARRAY234, (long) 2));
137 assertEquals(1, Longs.lastIndexOf(ARRAY234, (long) 3));
138 assertEquals(2, Longs.lastIndexOf(ARRAY234, (long) 4));
139 assertEquals(3, Longs.lastIndexOf(
ShortsTest.java 167 assertEquals(-1, Shorts.lastIndexOf(EMPTY, (short) 1));
168 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2));
169 assertEquals(-1, Shorts.lastIndexOf(ARRAY234, (short) 1));
170 assertEquals(0, Shorts.lastIndexOf(
172 assertEquals(0, Shorts.lastIndexOf(ARRAY234, (short) 2));
173 assertEquals(1, Shorts.lastIndexOf(ARRAY234, (short) 3));
174 assertEquals(2, Shorts.lastIndexOf(ARRAY234, (short) 4));
175 assertEquals(3, Shorts.lastIndexOf(
  /external/jdiff/src/jdiff/
MergeChanges.java 81 int endRemoved = classDiff.ctorsRemoved.lastIndexOf(removedCtor);
83 int endAdded = classDiff.ctorsAdded.lastIndexOf(removedCtor);
134 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod);
136 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod);
190 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod);
192 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod);
302 int endRemoved = classDiff.fieldsRemoved.lastIndexOf(removedField);
304 int endAdded = classDiff.fieldsAdded.lastIndexOf(removedField);
  /external/littlemock/src/com/google/testing/littlemock/
AppDataDirGuesser.java 80 int index = result.lastIndexOf('[');
94 int end = potential.lastIndexOf(".apk");
  /external/apache-xml/src/main/java/org/apache/xalan/extensions/
ObjectFactory.java 68 final int lastDot = className.lastIndexOf(".");
  /external/apache-xml/src/main/java/org/apache/xml/utils/
ObjectStack.java 194 int i = lastIndexOf(o);
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
ApplicationData.java 75 return cacheDir.substring(0, cacheDir.lastIndexOf('/'));
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ThreadFactoryBuilderTest.java 79 thread.getName().substring(0, thread.getName().lastIndexOf('-')),
80 thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
87 thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
89 thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
BaseUrlValidateFunction.java 75 return in.lastIndexOf(':', slashPos - 1) == -1;
  /external/smack/src/org/jivesoftware/smackx/pubsub/
PubSubElementType.java 70 int index = namespace.lastIndexOf('#');
  /frameworks/opt/mms/src/java/com/google/android/mms/util/
DownloadDrmHelper.java 77 extensionIndex = filename.lastIndexOf(".");
  /libcore/luni/src/main/java/java/util/
List.java 212 public int lastIndexOf(Object object);
  /libcore/luni/src/main/java/libcore/net/url/
JarHandler.java 76 String tmpFile = file.substring(idx + 1, file.lastIndexOf('/') + 1) + spec;
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1GeneralizedTime.java 93 while (((nullId = temp.lastIndexOf('0', currLength = temp.length() - 1)) != -1)
  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DocumentTypeImpl.java 50 int prefixSeparator = qualifiedName.lastIndexOf(":");
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DOMTestCase.java 111 int lastPound = actual.lastIndexOf("#");
124 int lastQuestion = uri.lastIndexOf("?");
165 int finalSlash = actualPath.lastIndexOf("/");
176 int finalPeriod = actualFile.lastIndexOf(".");
  /packages/apps/Mms/src/com/android/mms/model/
VideoModel.java 74 mSrc = path.substring(path.lastIndexOf('/') + 1);
80 int dotPos = mSrc.lastIndexOf('.');
112 mSrc = path.substring(path.lastIndexOf('/') + 1);
120 int index = mSrc.lastIndexOf(".");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
ViewTagRule.java 38 fqcn = fqcn.substring(fqcn.lastIndexOf('.') + 1);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
FmActivityToLayoutMethod.java 51 int suffixStart = activityName.lastIndexOf(ACTIVITY_NAME_SUFFIX.charAt(0));
FmClassNameToResourceMethod.java 58 int suffixStart = name.lastIndexOf(suffix.charAt(0));
  /external/chromium_org/v8/test/webkit/
array-holes.js 102 shouldBe("[0, , 2, 3].lastIndexOf()", "-1");
103 shouldBe("[0, undefined, 2, 3].lastIndexOf()", "1");
130 shouldBe("[0, , 2, 3].lastIndexOf()", "-1");
131 shouldBe("[0, , 2, 3].lastIndexOf('peekaboo')", "1");
132 shouldBe("[0, undefined, 2, 3].lastIndexOf()", "1");

Completed in 1108 milliseconds

1 23 4 5 6 7 8 91011>>