Searched defs:componentType (Results 1 - 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | GenericArrayTypeImpl.java | 24 private final Type componentType; field in class:GenericArrayTypeImpl 26 public GenericArrayTypeImpl(Type componentType) { argument 27 this.componentType = componentType; 32 return ((ParameterizedTypeImpl)componentType).getResolvedType(); 34 return componentType; 53 return componentType.toString() + "[]";
|
/libcore/luni/src/test/java/dalvik/system/ |
H A D | VMRuntimeTest.java | 27 private void doTestNewNonMovableArray(Class<?> componentType, int step, int maxLength) { argument 30 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); 36 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); 43 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); 45 assertEquals(array.getClass().getComponentType(), componentType); 81 private void doTestNewUnpaddedArray(Class<?> componentType, int step, int maxLength) { argument 84 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); 90 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); 97 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); 99 assertEquals(array.getClass().getComponentType(), componentType); [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 315 * dimensions. Equivalent to {@code new componentType[d0][d1]...[dn]} for a 325 public static Object newInstance(Class<?> componentType, int... dimensions) throws NegativeArraySizeException, IllegalArgumentException { argument 329 if (componentType == void.class) { 332 if (componentType == null) { 333 throw new NullPointerException("componentType == null"); 335 return createMultiArray(componentType, dimensions); 341 private static native Object createMultiArray(Class<?> componentType, int[] dimensions) throws NegativeArraySizeException; argument 345 * Equivalent to {@code new componentType[size]}. 352 public static Object newInstance(Class<?> componentType, int size) throws NegativeArraySizeException { argument 353 if (!componentType 380 createObjectArray(Class<?> componentType, int length) argument [all...] |
/libcore/libart/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 253 public native Object newNonMovableArray(Class<?> componentType, int length); argument 258 * componentType and the memory allocator implementation. 260 public native Object newUnpaddedArray(Class<?> componentType, int minLength); argument
|
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 1094 * component type {@code componentType} into the receiver. It is 1103 * @param componentType 1112 Class<?> componentType, boolean unshared) throws IOException { 1126 if (componentType.isPrimitive()) { 1127 if (componentType == int.class) { 1133 } else if (componentType == byte.class) { 1137 } else if (componentType == char.class) { 1143 } else if (componentType == short.class) { 1149 } else if (componentType == boolean.class) { 1155 } else if (componentType 1111 writeNewArray(Object array, Class<?> arrayClass, ObjectStreamClass arrayClDesc, Class<?> componentType, boolean unshared) argument [all...] |
/libcore/libart/src/main/java/java/lang/ |
H A D | Class.java | 134 private transient Class<?> componentType; field in class:Class 438 return componentType; 1472 return c.isArray() && componentType.isAssignableFrom(c.componentType);
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |
Completed in 206 milliseconds