/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | XMLStringDefault.java | 460 public int lastIndexOf(int ch) in lastIndexOf() method in XMLStringDefault 462 return m_str.lastIndexOf(ch); in lastIndexOf() 488 public int lastIndexOf(int ch, int fromIndex) in lastIndexOf() method in XMLStringDefault 490 return m_str.lastIndexOf(ch, fromIndex); in lastIndexOf() 586 public int lastIndexOf(String str) in lastIndexOf() method in XMLStringDefault 588 return m_str.lastIndexOf(str); in lastIndexOf() 611 public int lastIndexOf(String str, int fromIndex) in lastIndexOf() method in XMLStringDefault 613 return m_str.lastIndexOf(str, fromIndex); in lastIndexOf()
|
D | XMLString.java | 391 public abstract int lastIndexOf(int ch); in lastIndexOf() method 416 public abstract int lastIndexOf(int ch, int fromIndex); in lastIndexOf() method 502 public abstract int lastIndexOf(String str); in lastIndexOf() method 524 public abstract int lastIndexOf(String str, int fromIndex); in lastIndexOf() method
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | BooleansTest.java | 90 assertEquals(-1, Booleans.lastIndexOf(EMPTY, false)); in testLastIndexOf() 91 assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE, true)); in testLastIndexOf() 92 assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE_FALSE, true)); in testLastIndexOf() 93 assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE, false)); in testLastIndexOf() 94 assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, false)); in testLastIndexOf() 95 assertEquals(1, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, true)); in testLastIndexOf() 96 assertEquals(2, Booleans.lastIndexOf(new boolean[] {false, true, true}, true)); in testLastIndexOf() 227 assertEquals(-1, Booleans.asList(ARRAY_FALSE).lastIndexOf(true)); in testAsListLastIndexOf() 228 assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true)); in testAsListLastIndexOf() 229 assertEquals(1, Booleans.asList(ARRAY_FALSE_FALSE).lastIndexOf(false)); in testAsListLastIndexOf() [all …]
|
D | BytesTest.java | 109 assertEquals(-1, Bytes.lastIndexOf(EMPTY, (byte) 1)); in testLastIndexOf() 110 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 111 assertEquals(-1, Bytes.lastIndexOf(ARRAY234, (byte) 1)); in testLastIndexOf() 112 assertEquals(0, Bytes.lastIndexOf( in testLastIndexOf() 114 assertEquals(0, Bytes.lastIndexOf(ARRAY234, (byte) 2)); in testLastIndexOf() 115 assertEquals(1, Bytes.lastIndexOf(ARRAY234, (byte) 3)); in testLastIndexOf() 116 assertEquals(2, Bytes.lastIndexOf(ARRAY234, (byte) 4)); in testLastIndexOf() 117 assertEquals(3, Bytes.lastIndexOf( in testLastIndexOf()
|
D | FloatsTest.java | 158 assertEquals(-1, Floats.lastIndexOf(EMPTY, (float) 1)); in testLastIndexOf() 159 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 160 assertEquals(-1, Floats.lastIndexOf(ARRAY234, (float) 1)); in testLastIndexOf() 161 assertEquals(0, Floats.lastIndexOf( in testLastIndexOf() 163 assertEquals(0, Floats.lastIndexOf(ARRAY234, (float) 2)); in testLastIndexOf() 164 assertEquals(1, Floats.lastIndexOf(ARRAY234, (float) 3)); in testLastIndexOf() 165 assertEquals(2, Floats.lastIndexOf(ARRAY234, (float) 4)); in testLastIndexOf() 166 assertEquals(3, Floats.lastIndexOf( in testLastIndexOf() 172 0, Floats.lastIndexOf(new float[] {value, 5f}, value)); in testLastIndexOf() 174 assertEquals(-1, Floats.lastIndexOf(new float[] {NaN, 5f}, NaN)); in testLastIndexOf()
|
D | CharsTest.java | 155 assertEquals(-1, Chars.lastIndexOf(EMPTY, (char) 1)); in testLastIndexOf() 156 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2)); in testLastIndexOf() 157 assertEquals(-1, Chars.lastIndexOf(ARRAY234, (char) 1)); in testLastIndexOf() 158 assertEquals(0, Chars.lastIndexOf( in testLastIndexOf() 160 assertEquals(0, Chars.lastIndexOf(ARRAY234, (char) 2)); in testLastIndexOf() 161 assertEquals(1, Chars.lastIndexOf(ARRAY234, (char) 3)); in testLastIndexOf() 162 assertEquals(2, Chars.lastIndexOf(ARRAY234, (char) 4)); in testLastIndexOf() 163 assertEquals(3, Chars.lastIndexOf( in testLastIndexOf()
|
D | DoublesTest.java | 161 assertEquals(-1, Doubles.lastIndexOf(EMPTY, (double) 1)); in testLastIndexOf() 162 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 163 assertEquals(-1, Doubles.lastIndexOf(ARRAY234, (double) 1)); in testLastIndexOf() 164 assertEquals(0, Doubles.lastIndexOf( in testLastIndexOf() 166 assertEquals(0, Doubles.lastIndexOf(ARRAY234, (double) 2)); in testLastIndexOf() 167 assertEquals(1, Doubles.lastIndexOf(ARRAY234, (double) 3)); in testLastIndexOf() 168 assertEquals(2, Doubles.lastIndexOf(ARRAY234, (double) 4)); in testLastIndexOf() 169 assertEquals(3, Doubles.lastIndexOf( in testLastIndexOf() 175 0, Doubles.lastIndexOf(new double[] {value, 5.0}, value)); in testLastIndexOf() 177 assertEquals(-1, Doubles.lastIndexOf(new double[] {NaN, 5.0}, NaN)); in testLastIndexOf()
|
D | ShortsTest.java | 164 assertEquals(-1, Shorts.lastIndexOf(EMPTY, (short) 1)); in testLastIndexOf() 165 assertEquals(-1, Shorts.lastIndexOf(ARRAY1, (short) 2)); in testLastIndexOf() 166 assertEquals(-1, Shorts.lastIndexOf(ARRAY234, (short) 1)); in testLastIndexOf() 167 assertEquals(0, Shorts.lastIndexOf( in testLastIndexOf() 169 assertEquals(0, Shorts.lastIndexOf(ARRAY234, (short) 2)); in testLastIndexOf() 170 assertEquals(1, Shorts.lastIndexOf(ARRAY234, (short) 3)); in testLastIndexOf() 171 assertEquals(2, Shorts.lastIndexOf(ARRAY234, (short) 4)); in testLastIndexOf() 172 assertEquals(3, Shorts.lastIndexOf( in testLastIndexOf()
|
D | LongsTest.java | 122 assertEquals(-1, Longs.lastIndexOf(EMPTY, (long) 1)); in testLastIndexOf() 123 assertEquals(-1, Longs.lastIndexOf(ARRAY1, (long) 2)); in testLastIndexOf() 124 assertEquals(-1, Longs.lastIndexOf(ARRAY234, (long) 1)); in testLastIndexOf() 125 assertEquals(0, Longs.lastIndexOf( in testLastIndexOf() 127 assertEquals(0, Longs.lastIndexOf(ARRAY234, (long) 2)); in testLastIndexOf() 128 assertEquals(1, Longs.lastIndexOf(ARRAY234, (long) 3)); in testLastIndexOf() 129 assertEquals(2, Longs.lastIndexOf(ARRAY234, (long) 4)); in testLastIndexOf() 130 assertEquals(3, Longs.lastIndexOf( in testLastIndexOf()
|
D | IntsTest.java | 156 assertEquals(-1, Ints.lastIndexOf(EMPTY, (int) 1)); in testLastIndexOf() 157 assertEquals(-1, Ints.lastIndexOf(ARRAY1, (int) 2)); in testLastIndexOf() 158 assertEquals(-1, Ints.lastIndexOf(ARRAY234, (int) 1)); in testLastIndexOf() 159 assertEquals(0, Ints.lastIndexOf( in testLastIndexOf() 161 assertEquals(0, Ints.lastIndexOf(ARRAY234, (int) 2)); in testLastIndexOf() 162 assertEquals(1, Ints.lastIndexOf(ARRAY234, (int) 3)); in testLastIndexOf() 163 assertEquals(2, Ints.lastIndexOf(ARRAY234, (int) 4)); in testLastIndexOf() 164 assertEquals(3, Ints.lastIndexOf( in testLastIndexOf()
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | BooleansTest.java | 93 assertEquals(-1, Booleans.lastIndexOf(EMPTY, false)); in testLastIndexOf() 94 assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE, true)); in testLastIndexOf() 95 assertEquals(-1, Booleans.lastIndexOf(ARRAY_FALSE_FALSE, true)); in testLastIndexOf() 96 assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE, false)); in testLastIndexOf() 97 assertEquals(0, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, false)); in testLastIndexOf() 98 assertEquals(1, Booleans.lastIndexOf(ARRAY_FALSE_TRUE, true)); in testLastIndexOf() 99 assertEquals(2, Booleans.lastIndexOf(new boolean[] {false, true, true}, true)); in testLastIndexOf() 236 assertEquals(-1, Booleans.asList(ARRAY_FALSE).lastIndexOf(true)); in testAsListLastIndexOf() 237 assertEquals(1, Booleans.asList(ARRAY_FALSE_TRUE).lastIndexOf(true)); in testAsListLastIndexOf() 238 assertEquals(1, Booleans.asList(ARRAY_FALSE_FALSE).lastIndexOf(false)); in testAsListLastIndexOf() [all …]
|
D | BytesTest.java | 111 assertEquals(-1, Bytes.lastIndexOf(EMPTY, (byte) 1)); in testLastIndexOf() 112 assertEquals(-1, Bytes.lastIndexOf(ARRAY1, (byte) 2)); in testLastIndexOf() 113 assertEquals(-1, Bytes.lastIndexOf(ARRAY234, (byte) 1)); in testLastIndexOf() 114 assertEquals(0, Bytes.lastIndexOf( in testLastIndexOf() 116 assertEquals(0, Bytes.lastIndexOf(ARRAY234, (byte) 2)); in testLastIndexOf() 117 assertEquals(1, Bytes.lastIndexOf(ARRAY234, (byte) 3)); in testLastIndexOf() 118 assertEquals(2, Bytes.lastIndexOf(ARRAY234, (byte) 4)); in testLastIndexOf() 119 assertEquals(3, Bytes.lastIndexOf( in testLastIndexOf()
|
D | CharsTest.java | 158 assertEquals(-1, Chars.lastIndexOf(EMPTY, (char) 1)); in testLastIndexOf() 159 assertEquals(-1, Chars.lastIndexOf(ARRAY1, (char) 2)); in testLastIndexOf() 160 assertEquals(-1, Chars.lastIndexOf(ARRAY234, (char) 1)); in testLastIndexOf() 161 assertEquals(0, Chars.lastIndexOf( in testLastIndexOf() 163 assertEquals(0, Chars.lastIndexOf(ARRAY234, (char) 2)); in testLastIndexOf() 164 assertEquals(1, Chars.lastIndexOf(ARRAY234, (char) 3)); in testLastIndexOf() 165 assertEquals(2, Chars.lastIndexOf(ARRAY234, (char) 4)); in testLastIndexOf() 166 assertEquals(3, Chars.lastIndexOf( in testLastIndexOf()
|
D | DoublesTest.java | 165 assertEquals(-1, Doubles.lastIndexOf(EMPTY, (double) 1)); in testLastIndexOf() 166 assertEquals(-1, Doubles.lastIndexOf(ARRAY1, (double) 2)); in testLastIndexOf() 167 assertEquals(-1, Doubles.lastIndexOf(ARRAY234, (double) 1)); in testLastIndexOf() 168 assertEquals(0, Doubles.lastIndexOf( in testLastIndexOf() 170 assertEquals(0, Doubles.lastIndexOf(ARRAY234, (double) 2)); in testLastIndexOf() 171 assertEquals(1, Doubles.lastIndexOf(ARRAY234, (double) 3)); in testLastIndexOf() 172 assertEquals(2, Doubles.lastIndexOf(ARRAY234, (double) 4)); in testLastIndexOf() 173 assertEquals(3, Doubles.lastIndexOf( in testLastIndexOf() 179 0, Doubles.lastIndexOf(new double[] {value, 5.0}, value)); in testLastIndexOf() 181 assertEquals(-1, Doubles.lastIndexOf(new double[] {NaN, 5.0}, NaN)); in testLastIndexOf()
|
D | FloatsTest.java | 163 assertEquals(-1, Floats.lastIndexOf(EMPTY, (float) 1)); in testLastIndexOf() 164 assertEquals(-1, Floats.lastIndexOf(ARRAY1, (float) 2)); in testLastIndexOf() 165 assertEquals(-1, Floats.lastIndexOf(ARRAY234, (float) 1)); in testLastIndexOf() 166 assertEquals(0, Floats.lastIndexOf( in testLastIndexOf() 168 assertEquals(0, Floats.lastIndexOf(ARRAY234, (float) 2)); in testLastIndexOf() 169 assertEquals(1, Floats.lastIndexOf(ARRAY234, (float) 3)); in testLastIndexOf() 170 assertEquals(2, Floats.lastIndexOf(ARRAY234, (float) 4)); in testLastIndexOf() 171 assertEquals(3, Floats.lastIndexOf( in testLastIndexOf() 177 0, Floats.lastIndexOf(new float[] {value, 5f}, value)); in testLastIndexOf() 179 assertEquals(-1, Floats.lastIndexOf(new float[] {NaN, 5f}, NaN)); in testLastIndexOf()
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
D | XString.java | 700 public int lastIndexOf(int ch) in lastIndexOf() method in XString 702 return str().lastIndexOf(ch); in lastIndexOf() 728 public int lastIndexOf(int ch, int fromIndex) in lastIndexOf() method in XString 730 return str().lastIndexOf(ch, fromIndex); in lastIndexOf() 826 public int lastIndexOf(String str) in lastIndexOf() method in XString 828 return str().lastIndexOf(str); in lastIndexOf() 851 public int lastIndexOf(String str, int fromIndex) in lastIndexOf() method in XString 853 return str().lastIndexOf(str, fromIndex); in lastIndexOf()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UTF16.java | 1675 public static int lastIndexOf(String source, int char32) { in lastIndexOf() method in UTF16 1682 return source.lastIndexOf((char) char32); in lastIndexOf() 1686 int result = source.lastIndexOf((char) char32); in lastIndexOf() 1690 return lastIndexOf(source, char32, result - 1); in lastIndexOf() 1694 return lastIndexOf(source, char32, result - 1); in lastIndexOf() 1701 return source.lastIndexOf(char32str); in lastIndexOf() 1728 public static int lastIndexOf(String source, String str) { in lastIndexOf() method in UTF16 1732 return source.lastIndexOf(str); in lastIndexOf() 1735 int result = source.lastIndexOf(str); in lastIndexOf() 1740 return lastIndexOf(source, str, result - 1); in lastIndexOf() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UTF16.java | 1738 public static int lastIndexOf(String source, int char32) { in lastIndexOf() method in UTF16 1745 return source.lastIndexOf((char) char32); in lastIndexOf() 1749 int result = source.lastIndexOf((char) char32); in lastIndexOf() 1753 return lastIndexOf(source, char32, result - 1); in lastIndexOf() 1757 return lastIndexOf(source, char32, result - 1); in lastIndexOf() 1764 return source.lastIndexOf(char32str); in lastIndexOf() 1792 public static int lastIndexOf(String source, String str) { in lastIndexOf() method in UTF16 1796 return source.lastIndexOf(str); in lastIndexOf() 1799 int result = source.lastIndexOf(str); in lastIndexOf() 1804 return lastIndexOf(source, str, result - 1); in lastIndexOf() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | unistr.h | 1140 inline int32_t lastIndexOf(const UnicodeString& text) const; 1151 inline int32_t lastIndexOf(const UnicodeString& text, 1165 inline int32_t lastIndexOf(const UnicodeString& text, 1185 inline int32_t lastIndexOf(const UnicodeString& srcText, 1201 inline int32_t lastIndexOf(const char16_t *srcChars, 1217 inline int32_t lastIndexOf(ConstChar16Ptr srcChars, 1238 int32_t lastIndexOf(const char16_t *srcChars, 1251 inline int32_t lastIndexOf(char16_t c) const; 1261 inline int32_t lastIndexOf(UChar32 c) const; 1271 inline int32_t lastIndexOf(char16_t c, [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
D | JavaNames.java | 29 final int pos = vmname.lastIndexOf('/'); in getClassName() 35 final int dollarPosition = vmname.lastIndexOf('$'); in isAnonymous() 64 vmname.lastIndexOf('$')); in getClassName() 127 final int pos = name.lastIndexOf('.'); in getShortTypeName()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 293 assertEquals(copy.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 295 assertEquals(head.lastIndexOf(list.get(size - 2)), in testSubList_lastIndexOf() 297 assertEquals(tail.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 300 assertEquals(copy.lastIndexOf(list.get(0)), in testSubList_lastIndexOf() 302 assertEquals(head.lastIndexOf(list.get(0)), in testSubList_lastIndexOf() 304 assertEquals(tail.lastIndexOf(list.get(1)), in testSubList_lastIndexOf() 306 assertEquals(head.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 308 assertEquals(tail.lastIndexOf(list.get(0)), in testSubList_lastIndexOf()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 297 assertEquals(copy.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 299 assertEquals(head.lastIndexOf(list.get(size - 2)), in testSubList_lastIndexOf() 301 assertEquals(tail.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 304 assertEquals(copy.lastIndexOf(list.get(0)), in testSubList_lastIndexOf() 306 assertEquals(head.lastIndexOf(list.get(0)), in testSubList_lastIndexOf() 308 assertEquals(tail.lastIndexOf(list.get(1)), in testSubList_lastIndexOf() 310 assertEquals(head.lastIndexOf(list.get(size - 1)), in testSubList_lastIndexOf() 312 assertEquals(tail.lastIndexOf(list.get(0)), in testSubList_lastIndexOf()
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | String8.java | 294 cp = buf.lastIndexOf(File.separatorChar); in getPathLeaf() 343 lastSlashIndex = str.lastIndexOf(File.pathSeparator); in find_extension() 350 return str.lastIndexOf(".", lastSlashIndex); in find_extension()
|
/external/jdiff/src/jdiff/ |
D | MergeChanges.java | 81 int endRemoved = classDiff.ctorsRemoved.lastIndexOf(removedCtor); in mergeRemoveAddCtor() 83 int endAdded = classDiff.ctorsAdded.lastIndexOf(removedCtor); in mergeRemoveAddCtor() 134 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod); in mergeSingleMethods() 136 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod); in mergeSingleMethods() 190 int endRemoved = classDiff.methodsRemoved.lastIndexOf(removedMethod); in mergeMultipleMethods() 192 int endAdded = classDiff.methodsAdded.lastIndexOf(removedMethod); in mergeMultipleMethods() 303 int endRemoved = classDiff.fieldsRemoved.lastIndexOf(removedField); in mergeRemoveAddField() 305 int endAdded = classDiff.fieldsAdded.lastIndexOf(removedField); in mergeRemoveAddField()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Bytes.java | 146 public static int lastIndexOf(byte[] array, byte target) { in lastIndexOf() method in Bytes 147 return lastIndexOf(array, target, 0, array.length); in lastIndexOf() 151 private static int lastIndexOf( in lastIndexOf() method in Bytes 314 @Override public int lastIndexOf(Object target) { in lastIndexOf() method in Bytes.ByteArrayAsList 317 int i = Bytes.lastIndexOf(array, (Byte) target, start, end); in lastIndexOf()
|