Lines Matching refs:elems
2607 …static void Release##name##ArrayElements(JNIEnv* env, ctype##Array array, ctype* elems, /* NOLINT …
2609 ReleasePrimitiveArrayElements(__FUNCTION__, ptype, env, array, elems, mode); \
3607 JNIEnv* env, jarray array, void* elems, jint mode) { in ReleasePrimitiveArrayElements() argument
3611 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3613 elems = GuardedCopy::ReleaseGuardedPACopy(function_name, env, array, elems, mode); in ReleasePrimitiveArrayElements()
3615 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3616 JniValueType args[4] = {{.E = env}, {.a = array}, {.p = elems}, {.r = mode}}; in ReleasePrimitiveArrayElements()
3621 reinterpret_cast<jboolean*>(elems), mode); in ReleasePrimitiveArrayElements()
3625 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements()
3629 reinterpret_cast<jchar*>(elems), mode); in ReleasePrimitiveArrayElements()
3633 reinterpret_cast<jshort*>(elems), mode); in ReleasePrimitiveArrayElements()
3637 reinterpret_cast<jint*>(elems), mode); in ReleasePrimitiveArrayElements()
3641 reinterpret_cast<jlong*>(elems), mode); in ReleasePrimitiveArrayElements()
3645 reinterpret_cast<jfloat*>(elems), mode); in ReleasePrimitiveArrayElements()
3649 reinterpret_cast<jdouble*>(elems), mode); in ReleasePrimitiveArrayElements()