Home | History | Annotate | Download | only in vm

Lines Matching refs:Array

48 checked at runtime, such as array bounds checks, we do the tests here.
72 object array, and the Push/PopLocalFrame calls are expected to be used
79 expanding append-only array that compacts when objects are deleted.
80 In typical situations, e.g. running through an array of objects, we will
96 JNI allows the VM to choose whether it wants to pin the array object or
99 TODO: we're using simple root set references to pin primitive array data,
473 ALOGI("Adding global ref on byte array %p (len=%d)",
585 * that will ensure the array object isn't collected.
597 dvmDumpReferenceTable(&gDvm.jniPinRefTable, "JNI pinned array");
598 ALOGE("Failed adding to JNI pinned array ref table (%d entries)",
607 * A single array should not be pinned more than once or twice; any
620 ALOGW("JNI: pin count on array %p (%s) is now %d",
628 * Un-pin the array object. If an object was pinned twice, it must be
655 dvmDumpReferenceTable(&gDvm.jniPinRefTable, "JNI pinned array");
1045 * array classes. We also want to reject attempts to create new Class
1070 * functions. The basic task is to convert an array of primitives and
1074 * The bridge takes four arguments: the array of parameters, a place to
1085 * The "args" array should not be modified, but we do so anyway for
2160 ArrayObject* strChars = strObj->array();
2177 ArrayObject* strChars = strObj->array();
2252 * Return the capacity of the array.
2261 * Construct a new array that holds objects from class "elementClass".
2284 * Initialize the array.
2307 * Get one element of an Object array.
2309 * Add the object to the local references table in case the array goes away.
2324 * Set one element of an Object array.
2337 ALOGV("Can't put a '%s'(%p) into array type='%s'(%p)",
2344 //ALOGV("JNI: set element %d in array %p to %p", index, array, value);
2350 * Create a new array of primitive elements.
2353 static _artype New##_jname##Array(JNIEnv* env, jsize length) { \
2373 * Get a pointer to a C array of primitive elements from an array object
2383 _ctype##Array jarr, jboolean* isCopy) \
2399 * elements in 'array'." They apparently did not anticipate the need to
2404 _ctype##Array jarr, _ctype* elems, jint mode) \
2424 * Copy a section of a primitive array to a buffer.
2428 _ctype##Array jarr, jsize start, jsize len, _ctype* buf) \
2441 * Copy a section of a primitive array from a buffer.
2445 _ctype##Array jarr, jsize start, jsize len, const _ctype* buf) \
2617 * Get a raw pointer to array data.
2636 * Release an array obtained with GetPrimitiveArrayCritical.
2653 ArrayObject* strChars = strObj->array();
2670 ArrayObject* strChars = strObj->array();