Home
last modified time | relevance | path

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

/art/runtime/jni/
Djni_internal_test.cc486 constexpr size_t kLength = 10; in GetPrimitiveArrayRegionElementsOfWrongType() local
487 jbooleanArray array = env_->NewBooleanArray(kLength); in GetPrimitiveArrayRegionElementsOfWrongType()
489 jboolean elements[kLength]; in GetPrimitiveArrayRegionElementsOfWrongType()
490 env_->GetByteArrayRegion(reinterpret_cast<jbyteArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
495 env_->GetShortArrayRegion(reinterpret_cast<jshortArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
500 env_->GetCharArrayRegion(reinterpret_cast<jcharArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
505 env_->GetIntArrayRegion(reinterpret_cast<jintArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
510 env_->GetLongArrayRegion(reinterpret_cast<jlongArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
515 env_->GetFloatArrayRegion(reinterpret_cast<jfloatArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
520 env_->GetDoubleArrayRegion(reinterpret_cast<jdoubleArray>(array), 0, kLength, in GetPrimitiveArrayRegionElementsOfWrongType()
[all …]