Searched refs:checkFromIndexSize (Results 1 – 3 of 3) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 29 Objects.checkFromIndexSize(/* fromIndex */ 0, /* size */ 0, /* length */ 10); in test_checkFromIndexSize_valid() 30 Objects.checkFromIndexSize(/* fromIndex */ 10, /* size */ 0, /* length */ 10); in test_checkFromIndexSize_valid() 31 Objects.checkFromIndexSize(/* fromIndex */ 5, /* size */ 1, /* length */ 10); in test_checkFromIndexSize_valid() 32 Objects.checkFromIndexSize(/* fromIndex */ 0, /* size */ 10, /* length */ 10); in test_checkFromIndexSize_valid() 33 Objects.checkFromIndexSize(/* fromIndex */ 1, /* size */ 9, /* length */ 10); in test_checkFromIndexSize_valid() 34 Objects.checkFromIndexSize(/* fromIndex */ 0, /* size */ 9, /* length */ 10); in test_checkFromIndexSize_valid() 56 Objects.checkFromIndexSize(fromIndex, size, length); in assertFromIndexSizeOutOfBounds()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Objects.java | 423 int checkFromIndexSize(int fromIndex, int size, int length) { in checkFromIndexSize() method in Objects 424 return Preconditions.checkFromIndexSize(fromIndex, size, length, null); in checkFromIndexSize()
|
/libcore/ojluni/src/main/java/jdk/internal/util/ |
D | Preconditions.java | 339 int checkFromIndexSize(int fromIndex, int size, int length,
|