Lines Matching refs:Array
46 checked at runtime, such as array bounds checks, we do the tests here.
70 object array, and the Push/PopLocalFrame calls are expected to be used
77 expanding append-only array that compacts when objects are deleted.
78 In typical situations, e.g. running through an array of objects, we will
94 JNI allows the VM to choose whether it wants to pin the array object or
97 TODO: we're using simple root set references to pin primitive array data,
195 a system-heap-allocated array of references and a pointer to the
199 in the array (we can double-up the "currentPc" field). This is set to
214 running out of room in the array.
770 LOGI("Adding global ref on byte array %p (len=%d)\n",
1011 * that will ensure the array object isn't collected.
1022 dvmDumpReferenceTable(&gDvm.jniPinRefTable, "JNI pinned array");
1023 LOGE("Failed adding to JNI pinned array ref table (%d entries)\n",
1033 * A single array should not be pinned more than once or twice; any
1046 LOGW("JNI: pin count on array %p (%s) is now %d\n",
1056 * Un-pin the array object. If an object was pinned twice, it must be
1095 dvmDumpReferenceTable(&gDvm.jniPinRefTable, "JNI pinned array");
1373 /* 'L' used for both object and array references */
1520 * array classes. We also want to reject attempts to create new Class
1533 "Can't instantiate %s (array or Class) with this JNI function",
1604 * functions. The basic task is to convert an array of primitives and
1608 * The bridge takes four arguments: the array of parameters, a place to
1619 * The "args" array should not be modified, but we do so anyway for
3108 * Return the capacity of the array.
3122 * Construct a new array that holds objects from class "elementClass".
3149 * Initialize the array. Trashes "length".
3166 * Get one element of an Object array.
3168 * Add the object to the local references table in case the array goes away.
3180 /* check the array bounds */
3196 * Set one element of an Object array.
3207 /* check the array bounds */
3214 //LOGV("JNI: set element %d in array %p to %p\n", index, array, value);
3224 * Create a new array of primitive elements.
3227 static _artype New##_jname##Array(JNIEnv* env, jsize length) \
3251 * Get a pointer to a C array of primitive elements from an array
3261 _ctype##Array jarr, jboolean* isCopy) \
3279 * elements in 'array'." They apparently did not anticipate the need to
3284 _ctype##Array jarr, _ctype* elems, jint mode) \
3297 * Copy a section of a primitive array to a buffer.
3301 _ctype##Array jarr, jsize start, jsize len, _ctype* buf) \
3317 * Copy a section of a primitive array from a buffer.
3321 _ctype##Array jarr, jsize start, jsize len, const _ctype* buf) \
3514 * Get a raw pointer to array data.
3536 * Release an array obtained with GetPrimitiveArrayCritical.