Lines Matching refs:elems
2612 …static void Release##name##ArrayElements(JNIEnv* env, ctype##Array array, ctype* elems, /* NOLINT …
2614 ReleasePrimitiveArrayElements(__FUNCTION__, ptype, env, array, elems, mode); \
3612 JNIEnv* env, jarray array, void* elems, jint mode) { in ReleasePrimitiveArrayElements() argument
3616 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3618 elems = GuardedCopy::ReleaseGuardedPACopy(function_name, env, array, elems, mode); in ReleasePrimitiveArrayElements()
3620 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3621 JniValueType args[4] = {{.E = env}, {.a = array}, {.p = elems}, {.r = mode}}; in ReleasePrimitiveArrayElements()
3626 reinterpret_cast<jboolean*>(elems), mode); in ReleasePrimitiveArrayElements()
3630 reinterpret_cast<jbyte*>(elems), mode); in ReleasePrimitiveArrayElements()
3634 reinterpret_cast<jchar*>(elems), mode); in ReleasePrimitiveArrayElements()
3638 reinterpret_cast<jshort*>(elems), mode); in ReleasePrimitiveArrayElements()
3642 reinterpret_cast<jint*>(elems), mode); in ReleasePrimitiveArrayElements()
3646 reinterpret_cast<jlong*>(elems), mode); in ReleasePrimitiveArrayElements()
3650 reinterpret_cast<jfloat*>(elems), mode); in ReleasePrimitiveArrayElements()
3654 reinterpret_cast<jdouble*>(elems), mode); in ReleasePrimitiveArrayElements()