Home
last modified time | relevance | path

Searched refs:elements (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Djni_internal_test.cc724 jboolean* elements = env_->GetBooleanArrayElements(array, &is_copy); in TEST_F() local
725 ASSERT_TRUE(elements != nullptr); in TEST_F()
727 reinterpret_cast<jbyte*>(elements), 0); in TEST_F()
731 reinterpret_cast<jshort*>(elements), 0); in TEST_F()
735 reinterpret_cast<jchar*>(elements), 0); in TEST_F()
739 reinterpret_cast<jint*>(elements), 0); in TEST_F()
743 reinterpret_cast<jlong*>(elements), 0); in TEST_F()
747 reinterpret_cast<jfloat*>(elements), 0); in TEST_F()
751 reinterpret_cast<jdouble*>(elements), 0); in TEST_F()
755 env_->ReleaseBooleanArrayElements(reinterpret_cast<jbooleanArray>(array2), elements, 0); in TEST_F()
[all …]
Djni_internal.cc2192 static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray java_array, void* elements, in ReleasePrimitiveArrayCritical() argument
2203 ReleasePrimitiveArray(soa, array, component_size, elements, mode); in ReleasePrimitiveArrayCritical()
2238 static void ReleaseBooleanArrayElements(JNIEnv* env, jbooleanArray array, jboolean* elements, in ReleaseBooleanArrayElements() argument
2240 ReleasePrimitiveArray<jbooleanArray, jboolean, mirror::BooleanArray>(env, array, elements, in ReleaseBooleanArrayElements()
2244 static void ReleaseByteArrayElements(JNIEnv* env, jbyteArray array, jbyte* elements, jint mode) { in ReleaseByteArrayElements() argument
2245 ReleasePrimitiveArray<jbyteArray, jbyte, mirror::ByteArray>(env, array, elements, mode); in ReleaseByteArrayElements()
2248 static void ReleaseCharArrayElements(JNIEnv* env, jcharArray array, jchar* elements, jint mode) { in ReleaseCharArrayElements() argument
2249 ReleasePrimitiveArray<jcharArray, jchar, mirror::CharArray>(env, array, elements, mode); in ReleaseCharArrayElements()
2252 static void ReleaseDoubleArrayElements(JNIEnv* env, jdoubleArray array, jdouble* elements, in ReleaseDoubleArrayElements() argument
2254 ReleasePrimitiveArray<jdoubleArray, jdouble, mirror::DoubleArray>(env, array, elements, mode); in ReleaseDoubleArrayElements()
[all …]
/art/compiler/dex/quick/mips/
Dcall_mips.cc74 int elements = table[1]; in GenLargeSparseSwitch() local
76 static_cast<LIR**>(arena_->Alloc(elements * sizeof(LIR*), kArenaAllocLIR)); in GenLargeSparseSwitch()
80 int byte_size = elements * 8; in GenLargeSparseSwitch()