Searched refs:checkIndexOf (Results 1 – 5 of 5) sorted by relevance
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | IOCaseTest.java | 141 assertEquals(1, IOCase.SENSITIVE.checkIndexOf("ABC", 0, "BC")); in test_checkIndexOf_case() 142 assertEquals(-1, IOCase.SENSITIVE.checkIndexOf("ABC", 0, "Bc")); in test_checkIndexOf_case() 144 assertEquals(1, IOCase.INSENSITIVE.checkIndexOf("ABC", 0, "BC")); in test_checkIndexOf_case() 145 assertEquals(1, IOCase.INSENSITIVE.checkIndexOf("ABC", 0, "Bc")); in test_checkIndexOf_case() 147 assertEquals(1, IOCase.SYSTEM.checkIndexOf("ABC", 0, "BC")); in test_checkIndexOf_case() 148 assertEquals(WINDOWS ? 1 : -1, IOCase.SYSTEM.checkIndexOf("ABC", 0, "Bc")); in test_checkIndexOf_case() 155 assertEquals(0, IOCase.SENSITIVE.checkIndexOf("ABCDEFGHIJ", 0, "A")); in test_checkIndexOf_functionality() 156 assertEquals(-1, IOCase.SENSITIVE.checkIndexOf("ABCDEFGHIJ", 1, "A")); in test_checkIndexOf_functionality() 157 assertEquals(0, IOCase.SENSITIVE.checkIndexOf("ABCDEFGHIJ", 0, "AB")); in test_checkIndexOf_functionality() 158 assertEquals(-1, IOCase.SENSITIVE.checkIndexOf("ABCDEFGHIJ", 1, "AB")); in test_checkIndexOf_functionality() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsImplTest.java | 183 checkIndexOf(toTest, expected); in testIndexOfImpl_nonNull() 195 checkIndexOf(toTest, expected); in testIndexOfImpl_null() 216 private void checkIndexOf(List<?> toTest, int[] expected) { in checkIndexOf() method in ListsImplTest
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ListsImplTest.java | 183 checkIndexOf(toTest, expected); in testIndexOfImpl_nonNull() 195 checkIndexOf(toTest, expected); in testIndexOfImpl_null() 216 private void checkIndexOf(List<?> toTest, int[] expected) { in checkIndexOf() method in ListsImplTest
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/ |
D | IOCase.java | 194 public int checkIndexOf(final String str, final int strStartIndex, final String search) { in checkIndexOf() method in IOCase
|
D | FilenameUtils.java | 1619 textIdx = ioCase.checkIndexOf(fileName, textIdx, wcs[wcsIdx]); in wildcardMatch() 1624 final int repeat = ioCase.checkIndexOf(fileName, textIdx + 1, wcs[wcsIdx]); in wildcardMatch()
|