Lines Matching refs:elements

1904   static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray java_array, void* elements,  in ReleasePrimitiveArrayCritical()  argument
1915 ReleasePrimitiveArray(soa, array, component_size, elements, mode); in ReleasePrimitiveArrayCritical()
1950 static void ReleaseBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* elements, in ReleaseBooleanArrayElements() argument
1952 ReleasePrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, elements, in ReleaseBooleanArrayElements()
1956 static void ReleaseByteArrayElements(JNIEnv* env, jbyteArray array, jbyte* elements, jint mode) { in ReleaseByteArrayElements() argument
1957 ReleasePrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, elements, mode); in ReleaseByteArrayElements()
1960 static void ReleaseCharArrayElements(JNIEnv* env, jcharArray array, jchar* elements, jint mode) { in ReleaseCharArrayElements() argument
1961 ReleasePrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, elements, mode); in ReleaseCharArrayElements()
1964 static void ReleaseDoubleArrayElements(JNIEnv* env, jdoubleArray array, jdouble* elements, in ReleaseDoubleArrayElements() argument
1966 ReleasePrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, elements, mode); in ReleaseDoubleArrayElements()
1969 static void ReleaseFloatArrayElements(JNIEnv* env, jfloatArray array, jfloat* elements, in ReleaseFloatArrayElements() argument
1971 ReleasePrimitiveArray<jfloatArray, jfloat, mirror::FloatArray>(env, array, elements, mode); in ReleaseFloatArrayElements()
1974 static void ReleaseIntArrayElements(JNIEnv* env, jintArray array, jint* elements, jint mode) { in ReleaseIntArrayElements() argument
1975 ReleasePrimitiveArray<jintArray, jint, mirror::IntArray>(env, array, elements, mode); in ReleaseIntArrayElements()
1978 static void ReleaseLongArrayElements(JNIEnv* env, jlongArray array, jlong* elements, jint mode) { in ReleaseLongArrayElements() argument
1979 ReleasePrimitiveArray<jlongArray, jlong, mirror::LongArray>(env, array, elements, mode); in ReleaseLongArrayElements()
1982 static void ReleaseShortArrayElements(JNIEnv* env, jshortArray array, jshort* elements, in ReleaseShortArrayElements() argument
1984 ReleasePrimitiveArray<jshortArray, jshort, mirror::ShortArray>(env, array, elements, mode); in ReleaseShortArrayElements()
2396 static void ReleasePrimitiveArray(JNIEnv* env, ArrayT java_array, ElementT* elements, jint mode) { in ReleasePrimitiveArray() argument
2405 ReleasePrimitiveArray(soa, array, sizeof(ElementT), elements, mode); in ReleasePrimitiveArray()
2409 size_t component_size, void* elements, jint mode) in ReleasePrimitiveArray() argument
2413 bool is_copy = array_data != elements; in ReleasePrimitiveArray()
2416 << " elements " << elements; in ReleasePrimitiveArray()
2421 if (heap->IsNonDiscontinuousSpaceHeapAddress(reinterpret_cast<mirror::Object*>(elements))) { in ReleasePrimitiveArray()
2424 reinterpret_cast<void*>(elements), array_data); in ReleasePrimitiveArray()
2428 memcpy(array_data, elements, bytes); in ReleasePrimitiveArray()
2429 } else if (kWarnJniAbort && memcmp(array_data, elements, bytes) != 0) { in ReleasePrimitiveArray()
2437 delete[] reinterpret_cast<uint64_t*>(elements); in ReleasePrimitiveArray()