/dalvik/tests/081-hot-exceptions/src/ |
H A D | Main.java | 19 int[] array; field in class:Main.ArrayObj 22 return array[i];
|
/dalvik/tests/096-array-copy-concurrent-gc/src/ |
H A D | Main.java | 22 * Size of array and amount of garbage created is based on experimental 45 Object [] array = new Object[10000]; field in class:Main 48 // We want many references in the array 54 for (int i = 0; i < array.length; i+=2) { 55 array[i] = new String("Creating some garbage" + i); 62 for (int j = 0; j < array.length; j++) { 63 Object obj = array[array.length - 1]; 64 System.arraycopy(array, 0, array, [all...] |
/dalvik/dx/src/com/android/dx/io/instructions/ |
H A D | ShortArrayCodeInput.java | 26 /** source array to read from */ 27 private final short[] array; field in class:ShortArrayCodeInput 32 public ShortArrayCodeInput(short[] array) { argument 33 if (array == null) { 34 throw new NullPointerException("array == null"); 37 this.array = array; 42 return cursor() < array.length; 48 int value = array[cursor()];
|
H A D | ShortArrayCodeOutput.java | 24 /** array to write to */ 25 private final short[] array; field in class:ShortArrayCodeOutput 37 this.array = new short[maxSize]; 41 * Gets the array. The returned array contains exactly the data 47 if (cursor == array.length) { 48 return array; 52 System.arraycopy(array, 0, result, 0, cursor); 58 array[cursor()] = codeUnit;
|
/dalvik/tests/011-array-copy/src/ |
H A D | Main.java | 51 static void initByteArray(byte[] array) { argument 53 array[i] = (byte) i; 56 static void initShortArray(short[] array) { argument 58 array[i] = (short) i; 61 static void initIntArray(int[] array) { argument 63 array[i] = (int) i; 66 static void initLongArray(long[] array) { argument 68 array[i] = (long) i; 73 * Perform an array copy operation on primitive arrays with different
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | EncodedArrayItem.java | 33 * Encoded array of constant values. 39 /** {@code non-null;} the array to represent */ 40 private final CstArray array; field in class:EncodedArrayItem 51 * @param array {@code non-null;} array to represent 53 public EncodedArrayItem(CstArray array) { argument 60 if (array == null) { 61 throw new NullPointerException("array == null"); 64 this.array = array; [all...] |
H A D | AnnotationItem.java | 87 * Sorts an array of instances, in place, by type id index, 91 * @param array {@code non-null;} array to sort 93 public static void sortByTypeIdIndex(AnnotationItem[] array) { argument 94 Arrays.sort(array, TYPE_ID_SORTER);
|
H A D | ValueEncoder.java | 86 /** annotation value type constant: {@code array} */ 259 * Writes out the encoded form of the given array, that is, as 266 * @param array {@code non-null;} array instance to write 271 public void writeArray(CstArray array, boolean topLevel) { argument 273 CstArray.List list = ((CstArray) array).getList();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | EncodedArrayItem.java | 24 * Encoded array of constant values. 30 /** {@code non-null;} the array to represent */ 31 private final CstArray array; field in class:EncodedArrayItem 42 * @param array {@code non-null;} array to represent 44 public EncodedArrayItem(CstArray array) { argument 51 if (array == null) { 52 throw new NullPointerException("array == null"); 55 this.array = array; [all...] |
H A D | AnnotationItem.java | 85 * Sorts an array of instances, in place, by type id index, 89 * @param array {@code non-null;} array to sort 91 public static void sortByTypeIdIndex(AnnotationItem[] array) { argument 92 Arrays.sort(array, TYPE_ID_SORTER);
|
H A D | ValueEncoder.java | 84 /** annotation value type constant: {@code array} */ 257 * Writes out the encoded form of the given array, that is, as 264 * @param array {@code non-null;} array instance to write 269 public void writeArray(CstArray array, boolean topLevel) { argument 271 CstArray.List list = ((CstArray) array).getList();
|
/dalvik/vm/alloc/ |
H A D | VisitInlines.h | 108 * Visits the class object and, if the array is typed as an object 109 * array, all of the array elements. 118 ArrayObject *array = (ArrayObject *)obj; local 119 Object **contents = (Object **)(void *)array->contents; 120 for (size_t i = 0; i < array->length; ++i) {
|
H A D | MarkSweep.cpp | 300 * Scans the header of all array objects. If the array object is 301 * specialized to a reference type, scans the array data as well. 310 const ArrayObject *array = (const ArrayObject *)obj; local 311 const Object **contents = (const Object **)(void *)array->contents; 312 for (size_t i = 0; i < array->length; ++i) {
|
/dalvik/vm/native/ |
H A D | dalvik_system_VMRuntime.cpp | 24 #include <cutils/array.h> 129 ArrayObject* array = (ArrayObject*) args[1]; local 130 if (!dvmIsArray(array)) { 134 // TODO: we should also check that this is a non-movable array. 135 s8 result = (uintptr_t) array->contents;
|
/dalvik/vm/ |
H A D | UtfString.cpp | 33 * chars array is stored to the pChars pointer. Callers must 334 ArrayObject* StringObject::array() const function in class:StringObject 362 /* get offset and length into char array; all values are in 16-bit units */ 388 // Allocate an array to hold the String objects. 397 // Create the individual String objects and add them to the array. 407 /* stored in tracked array, okay to release */
|
H A D | Exception.cpp | 807 * VM-specific object, rather than an array of Objects with strings. 817 * presently an array of integers, but could become something else in the 893 /* array of ints; first entry is stack depth */ 944 * contents of the saved stack trace to generate an array of 947 * The returned array is not added to the "local refs" list. 958 * Generate an array of StackTraceElement objects from the raw integer 963 * The returned array is not added to the "local refs" list. 967 /* allocate a StackTraceElement array */ 969 ArrayObject* array = dvmAllocArrayByClass(klass, stackDepth, ALLOC_DEFAULT); local 970 if (array ! [all...] |
H A D | CheckJni.cpp | 53 * returns a byte array, things will fail in strange ways later on. 100 * of an array, generated). However, the current class loader may 734 * Verify that "array" is non-NULL and points to an Array object. 740 ALOGW("JNI WARNING: received null array"); 755 ALOGW("JNI WARNING: jarray arg has wrong type (expected array, got %s)", 814 * Verify that the "mode" argument passed to a primitive array Release 1047 case PRIM_NOT: return "Object/array"; 1268 * Create a guarded copy of a primitive array. Modifications to the copied 1285 * Perform the array "release" operation, which may or may not copy data 1310 /* pointer is to the array content 1768 Check_GetArrayLength(JNIEnv* env, jarray array) argument 1780 Check_GetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index) argument 1785 Check_SetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index, jobject value) argument 1925 Check_GetPrimitiveArrayCritical(JNIEnv* env, jarray array, jboolean* isCopy) argument 1934 Check_ReleasePrimitiveArrayCritical(JNIEnv* env, jarray array, void* carray, jint mode) argument [all...] |
/dalvik/vm/oo/ |
H A D | Array.cpp | 31 * Allocate space for a new array object. This is the lowest-level array 34 * Pass in the array class and the width of each element. 68 * Create a new array, given an array class. The class may represent an 69 * array of references or primitives. 76 assert(descriptor[0] == '['); /* must be array class */ 78 /* primitive array */ 88 * Find the array class for "elemClassObj", which could itself be an 89 * array clas 623 dvmArrayObjectSize(const ArrayObject *array) argument [all...] |
/dalvik/vm/interp/ |
H A D | Stack.cpp | 485 case 'L': { /* 'shorty' descr uses L for all refs, incl array */ 536 * Issue a method call with arguments provided in an array. We process 539 * The values were likely placed into an uninitialized jvalue array using 579 case 'L': /* includes array refs */ 970 * Fill a flat array of methods that comprise the current interpreter 976 void dvmFillStackTraceArray(const void* fp, const Method** array, size_t length) argument 979 assert(array != NULL); 984 array[i++] = SAVEAREA_FROM_FP(fp)->method;
|
/dalvik/libdex/ |
H A D | DexFile.h | 343 u4 insnsSize; /* size of the insns array, in u2 units */ 444 u1 array[1]; /* data in encoded_array format */ member in struct:DexEncodedArray
|
/dalvik/dx/etc/ |
H A D | jasmin.jar | ... .AnnotationElement extends java.lang.Object {
private boolean array private char sign private jas.CP name private jas ... |