Lines Matching refs:elems
2436 static void Release##name##ArrayElements(JNIEnv* env, ctype##Array array, ctype* elems, \
2438 ReleasePrimitiveArrayElements(__FUNCTION__, ptype, env, array, elems, mode); \
3417 JNIEnv* env, jarray array, void* elems, jint mode) { in ReleasePrimitiveArrayElements() argument
3420 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3422 elems = GuardedCopy::ReleaseGuardedPACopy(function_name, env, array, elems, mode); in ReleasePrimitiveArrayElements()
3424 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3425 JniValueType args[4] = {{.E = env}, {.a = array}, {.p = elems}, {.r = mode}}; in ReleasePrimitiveArrayElements()
3430 reinterpret_cast<jboolean*>(elems), mode); in ReleasePrimitiveArrayElements()
3434 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements()
3438 reinterpret_cast<jchar*>(elems), mode); in ReleasePrimitiveArrayElements()
3442 reinterpret_cast<jshort*>(elems), mode); in ReleasePrimitiveArrayElements()
3446 reinterpret_cast<jint*>(elems), mode); in ReleasePrimitiveArrayElements()
3450 reinterpret_cast<jlong*>(elems), mode); in ReleasePrimitiveArrayElements()
3454 reinterpret_cast<jfloat*>(elems), mode); in ReleasePrimitiveArrayElements()
3458 reinterpret_cast<jdouble*>(elems), mode); in ReleasePrimitiveArrayElements()