Searched refs:checkFromToIndex (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 63 Objects.checkFromToIndex(/* fromIndex */ 0, /* toIndex */ 0, /* length */ 10); in test_checkFromToIndex_valid() 64 Objects.checkFromToIndex(/* fromIndex */ 10, /* toIndex */ 10, /* length */ 10); in test_checkFromToIndex_valid() 65 Objects.checkFromToIndex(/* fromIndex */ 5, /* toIndex */ 6, /* length */ 10); in test_checkFromToIndex_valid() 66 Objects.checkFromToIndex(/* fromIndex */ 0, /* toIndex */ 10, /* length */ 10); in test_checkFromToIndex_valid() 67 Objects.checkFromToIndex(/* fromIndex */ 1, /* toIndex */ 10, /* length */ 10); in test_checkFromToIndex_valid() 68 Objects.checkFromToIndex(/* fromIndex */ 0, /* toIndex */ 0, /* length */ 10); in test_checkFromToIndex_valid() 88 Objects.checkFromToIndex(fromIndex, toIndex, length); in assertFromToIndexOutOfBounds()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Objects.java | 397 int checkFromToIndex(int fromIndex, int toIndex, int length) { in checkFromToIndex() method in Objects 398 return Preconditions.checkFromToIndex(fromIndex, toIndex, length, null); in checkFromToIndex()
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | Preconditions.java | 291 int checkFromToIndex(int fromIndex, int toIndex, int length,
|