Lines Matching refs:elements

397       jboolean* elements = env_->GetBooleanArrayElements(array, &is_copy);  in ReleasePrimitiveArrayElementsOfWrongType()  local
398 ASSERT_TRUE(elements != nullptr); in ReleasePrimitiveArrayElementsOfWrongType()
400 reinterpret_cast<jbyte*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
405 reinterpret_cast<jshort*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
410 reinterpret_cast<jchar*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
415 reinterpret_cast<jint*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
420 reinterpret_cast<jlong*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
425 reinterpret_cast<jfloat*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
430 reinterpret_cast<jdouble*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
436 env_->ReleaseBooleanArrayElements(array, elements, 0); in ReleasePrimitiveArrayElementsOfWrongType()
441 jbyte* elements = env_->GetByteArrayElements(array, &is_copy); in ReleasePrimitiveArrayElementsOfWrongType() local
444 reinterpret_cast<jboolean*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
450 reinterpret_cast<jboolean*>(elements), 0); in ReleasePrimitiveArrayElementsOfWrongType()
457 env_->ReleaseByteArrayElements(array, elements, 0); in ReleasePrimitiveArrayElementsOfWrongType()
468 void* elements = env_->GetPrimitiveArrayCritical(reinterpret_cast<jarray>(object), &is_copy); in GetReleasePrimitiveArrayCriticalOfWrongType() local
471 env_->ReleasePrimitiveArrayCritical(reinterpret_cast<jarray>(object), elements, 0); in GetReleasePrimitiveArrayCriticalOfWrongType()
484 jboolean elements[kLength]; in GetPrimitiveArrayRegionElementsOfWrongType() local
486 reinterpret_cast<jbyte*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
491 reinterpret_cast<jshort*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
496 reinterpret_cast<jchar*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
501 reinterpret_cast<jint*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
506 reinterpret_cast<jlong*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
511 reinterpret_cast<jfloat*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
516 reinterpret_cast<jdouble*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
522 reinterpret_cast<jboolean*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
528 reinterpret_cast<jboolean*>(elements)); in GetPrimitiveArrayRegionElementsOfWrongType()
542 jboolean elements[kLength]; in SetPrimitiveArrayRegionElementsOfWrongType() local
544 reinterpret_cast<jbyte*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
549 reinterpret_cast<jshort*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
554 reinterpret_cast<jchar*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
559 reinterpret_cast<jint*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
564 reinterpret_cast<jlong*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
569 reinterpret_cast<jfloat*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
574 reinterpret_cast<jdouble*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
580 reinterpret_cast<jboolean*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()
586 reinterpret_cast<jboolean*>(elements)); in SetPrimitiveArrayRegionElementsOfWrongType()