Home
last modified time | relevance | path

Searched refs:checkArray (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/util/Arrays/
DCopyMethods.java56 checkArray(a, int.class, 3, 0, 3); in simpleTests()
66 checkArray(new String[3], int.class, 0, 0, a.length); in simpleTests()
68 checkArray(aa, int.class, 0, 0, a.length); in simpleTests()
76 checkArray(Arrays.copyOf(a, 0), int.class, 0, 0, 3); in simpleTests()
77 checkArray(Arrays.copyOf(a, 1), int.class, 1, 0, 3); in simpleTests()
78 checkArray(Arrays.copyOf(a, 2), int.class, 2, 0, 3); in simpleTests()
79 checkArray(Arrays.copyOf(a, 3), int.class, 3, 0, 3); in simpleTests()
80 checkArray(Arrays.copyOf(a, 4), int.class, 4, 0, 3); in simpleTests()
87 checkArray(ar, int.class, 2, 1, 2); in simpleTests()
92 checkArray(ar, int.class, 2, 2, 1); in simpleTests()
[all …]
/libcore/ojluni/src/main/java/jdk/internal/access/
DJavaObjectInputStreamAccess.java36 void checkArray(ObjectInputStream ois, Class<?> arrayType, int arrayLength) in checkArray() method
/libcore/ojluni/src/main/java/java/util/
DHashSet.java343 .checkArray(s, Map.Entry[].class, HashMap.tableSizeFor(capacity)); in readObject()
DPriorityQueue.java810 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, size); in readObject()
DProperties.java1569 … .checkArray(s, Map.Entry[].class, HashMap.tableSizeFor((int)(elements / 0.75))); in readHashtable()
DArrayDeque.java1212 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, size + 1); in readObject()
DIdentityHashMap.java1308 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, cap*2); in readObject()
DHashtable.java1305 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Map.Entry[].class, length); in readHashtable()
DImmutableCollections.java1454 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(ois, Object[].class, len);
DArrayList.java983 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, size); in readObject()
DCollections.java5598 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(ois, Object[].class, n);
/libcore/ojluni/src/main/java/java/util/concurrent/
DPriorityBlockingQueue.java926 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, sz); in readObject()
DCopyOnWriteArrayList.java1028 SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, len); in readObject()
/libcore/ojluni/src/main/java/java/io/
DObjectInputStream.java1152 private void checkArray(Class<?> arrayType, int arrayLength) throws InvalidClassException { in checkArray() method in ObjectInputStream
3936 SharedSecrets.setJavaObjectInputStreamAccess(ObjectInputStream::checkArray);