• Home
  • Raw
  • Download

Lines Matching refs:soa

157   bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid)  in CheckInstanceFieldID()  argument
159 mirror::Object* o = soa.Decode<mirror::Object*>(java_object); in CheckInstanceFieldID()
172 ArtField* f = CheckFieldID(soa, fid); in CheckInstanceFieldID()
200 bool CheckMethodAndSig(ScopedObjectAccess& soa, jobject jobj, jclass jc, in CheckMethodAndSig() argument
203 ArtMethod* m = CheckMethodID(soa, mid); in CheckMethodAndSig()
223 mirror::Class* c = soa.Decode<mirror::Class*>(jc); in CheckMethodAndSig()
231 mirror::Object* o = soa.Decode<mirror::Object*>(jobj); in CheckMethodAndSig()
248 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID() argument
250 mirror::Class* c = soa.Decode<mirror::Class*>(java_class); in CheckStaticFieldID()
251 ArtField* f = CheckFieldID(soa, fid); in CheckStaticFieldID()
271 bool CheckStaticMethod(ScopedObjectAccess& soa, jclass java_class, jmethodID mid) in CheckStaticMethod() argument
273 ArtMethod* m = CheckMethodID(soa, mid); in CheckStaticMethod()
277 mirror::Class* c = soa.Decode<mirror::Class*>(java_class); in CheckStaticMethod()
292 bool CheckVirtualMethod(ScopedObjectAccess& soa, jobject java_object, jmethodID mid) in CheckVirtualMethod() argument
294 ArtMethod* m = CheckMethodID(soa, mid); in CheckVirtualMethod()
298 mirror::Object* o = soa.Decode<mirror::Object*>(java_object); in CheckVirtualMethod()
345 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument
348 if (has_method_ && soa.Vm()->IsTracingEnabled()) { in Check()
358 (traceMethod != nullptr && soa.Vm()->ShouldTrace(traceMethod))) { in Check()
361 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
386 if (!CheckPossibleHeapValue(soa, fmt[i], args[i])) { in Check()
401 ScopedObjectAccess soa(self); in CheckNonHeap() local
420 ScopedObjectAccess soa(self); in CheckNonHeap() local
445 bool CheckReflectedMethod(ScopedObjectAccess& soa, jobject jmethod) in CheckReflectedMethod() argument
447 mirror::Object* method = soa.Decode<mirror::Object*>(jmethod); in CheckReflectedMethod()
453 if (soa.Decode<mirror::Class*>(WellKnownClasses::java_lang_reflect_Method) != c && in CheckReflectedMethod()
454 soa.Decode<mirror::Class*>(WellKnownClasses::java_lang_reflect_Constructor) != c) { in CheckReflectedMethod()
463 bool CheckConstructor(ScopedObjectAccess& soa, jmethodID mid) in CheckConstructor() argument
465 ArtMethod* method = soa.DecodeMethod(mid); in CheckConstructor()
477 bool CheckReflectedField(ScopedObjectAccess& soa, jobject jfield) in CheckReflectedField() argument
479 mirror::Object* field = soa.Decode<mirror::Object*>(jfield); in CheckReflectedField()
485 if (soa.Decode<mirror::Class*>(WellKnownClasses::java_lang_reflect_Field) != c) { in CheckReflectedField()
493 bool CheckThrowable(ScopedObjectAccess& soa, jthrowable jobj) in CheckThrowable() argument
495 mirror::Object* obj = soa.Decode<mirror::Object*>(jobj); in CheckThrowable()
504 bool CheckThrowableClass(ScopedObjectAccess& soa, jclass jc) in CheckThrowableClass() argument
506 mirror::Class* c = soa.Decode<mirror::Class*>(jc); in CheckThrowableClass()
535 bool CheckInstantiableNonArray(ScopedObjectAccess& soa, jclass jc) in CheckInstantiableNonArray() argument
537 mirror::Class* c = soa.Decode<mirror::Class*>(jc); in CheckInstantiableNonArray()
545 bool CheckPrimitiveArrayType(ScopedObjectAccess& soa, jarray array, Primitive::Type type) in CheckPrimitiveArrayType() argument
547 if (!CheckArray(soa, array)) { in CheckPrimitiveArrayType()
550 mirror::Array* a = soa.Decode<mirror::Array*>(array); in CheckPrimitiveArrayType()
559 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument
562 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
565 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess()
568 ArtField* field = soa.DecodeField(fid); in CheckFieldAccess()
582 mirror::Object* o = soa.Decode<mirror::Object*>(obj); in CheckFieldAccess()
595 mirror::Object* o = soa.Decode<mirror::Object*>(obj); in CheckFieldAccess()
621 bool CheckInstance(ScopedObjectAccess& soa, InstanceKind kind, jobject java_object, bool null_ok) in CheckInstance() argument
653 mirror::Object* obj = soa.Decode<mirror::Object*>(java_object); in CheckInstance()
661 obj = soa.Vm()->DecodeWeakGlobal(soa.Self(), ref); in CheckInstance()
717 bool CheckPossibleHeapValue(ScopedObjectAccess& soa, char fmt, JniValueType arg) in CheckPossibleHeapValue() argument
721 return CheckArray(soa, arg.a); in CheckPossibleHeapValue()
723 return CheckInstance(soa, kClass, arg.c, false); in CheckPossibleHeapValue()
725 return CheckFieldID(soa, arg.f) != nullptr; in CheckPossibleHeapValue()
727 return CheckMethodID(soa, arg.m) != nullptr; in CheckPossibleHeapValue()
731 return CheckInstance(soa, kString, arg.s, false); in CheckPossibleHeapValue()
733 return CheckInstance(soa, kThrowable, arg.t, false); in CheckPossibleHeapValue()
737 return CheckInstance(soa, kObject, arg.L, true); in CheckPossibleHeapValue()
786 void TracePossibleHeapValue(ScopedObjectAccess& soa, bool entry, char fmt, JniValueType arg, in TracePossibleHeapValue() argument
802 mirror::Class* c = soa.Decode<mirror::Class*>(jc); in TracePossibleHeapValue()
819 ArtField* f = soa.DecodeField(fid); in TracePossibleHeapValue()
828 ArtMethod* m = soa.DecodeMethod(mid); in TracePossibleHeapValue()
948 bool CheckArray(ScopedObjectAccess& soa, jarray java_array) in CheckArray() argument
955 mirror::Array* a = soa.Decode<mirror::Array*>(java_array); in CheckArray()
985 ArtField* CheckFieldID(ScopedObjectAccess& soa, jfieldID fid) in CheckFieldID() argument
991 ArtField* f = soa.DecodeField(fid); in CheckFieldID()
1001 ArtMethod* CheckMethodID(ScopedObjectAccess& soa, jmethodID mid) in CheckMethodID() argument
1007 ArtMethod* m = soa.DecodeMethod(mid); in CheckMethodID()
1232 ScopedObjectAccess soa(env); in CreateGuardedPACopy() local
1234 mirror::Array* a = soa.Decode<mirror::Array*>(java_array); in CreateGuardedPACopy()
1251 ScopedObjectAccess soa(env); in ReleaseGuardedPACopy() local
1432 ScopedObjectAccess soa(env); in GetVersion() local
1435 if (sc.Check(soa, true, "E", args)) { in GetVersion()
1438 if (sc.Check(soa, false, "I", &result)) { in GetVersion()
1446 ScopedObjectAccess soa(env); in GetJavaVM() local
1449 if (sc.Check(soa, true, "Ep", args)) { in GetJavaVM()
1452 if (sc.Check(soa, false, "i", &result)) { in GetJavaVM()
1460 ScopedObjectAccess soa(env); in RegisterNatives() local
1463 if (sc.Check(soa, true, "EcpI", args)) { in RegisterNatives()
1466 if (sc.Check(soa, false, "i", &result)) { in RegisterNatives()
1474 ScopedObjectAccess soa(env); in UnregisterNatives() local
1477 if (sc.Check(soa, true, "Ec", args)) { in UnregisterNatives()
1480 if (sc.Check(soa, false, "i", &result)) { in UnregisterNatives()
1491 ScopedObjectAccess soa(env); in GetObjectRefType() local
1494 if (sc.Check(soa, true, "EL", args)) { in GetObjectRefType()
1497 if (sc.Check(soa, false, "w", &result)) { in GetObjectRefType()
1506 ScopedObjectAccess soa(env); in DefineClass() local
1509 if (sc.Check(soa, true, "EuLpz", args) && sc.CheckClassName(name)) { in DefineClass()
1512 if (sc.Check(soa, false, "c", &result)) { in DefineClass()
1520 ScopedObjectAccess soa(env); in FindClass() local
1523 if (sc.Check(soa, true, "Eu", args) && sc.CheckClassName(name)) { in FindClass()
1526 if (sc.Check(soa, false, "c", &result)) { in FindClass()
1534 ScopedObjectAccess soa(env); in GetSuperclass() local
1537 if (sc.Check(soa, true, "Ec", args)) { in GetSuperclass()
1540 if (sc.Check(soa, false, "c", &result)) { in GetSuperclass()
1548 ScopedObjectAccess soa(env); in IsAssignableFrom() local
1551 if (sc.Check(soa, true, "Ecc", args)) { in IsAssignableFrom()
1554 if (sc.Check(soa, false, "b", &result)) { in IsAssignableFrom()
1562 ScopedObjectAccess soa(env); in FromReflectedMethod() local
1565 if (sc.Check(soa, true, "EL", args) && sc.CheckReflectedMethod(soa, method)) { in FromReflectedMethod()
1568 if (sc.Check(soa, false, "m", &result)) { in FromReflectedMethod()
1576 ScopedObjectAccess soa(env); in FromReflectedField() local
1579 if (sc.Check(soa, true, "EL", args) && sc.CheckReflectedField(soa, field)) { in FromReflectedField()
1582 if (sc.Check(soa, false, "f", &result)) { in FromReflectedField()
1590 ScopedObjectAccess soa(env); in ToReflectedMethod() local
1593 if (sc.Check(soa, true, "Ecmb", args)) { in ToReflectedMethod()
1596 if (sc.Check(soa, false, "L", &result) && (result.L != nullptr)) { in ToReflectedMethod()
1597 DCHECK(sc.CheckReflectedMethod(soa, result.L)); in ToReflectedMethod()
1605 ScopedObjectAccess soa(env); in ToReflectedField() local
1608 if (sc.Check(soa, true, "Ecfb", args)) { in ToReflectedField()
1611 if (sc.Check(soa, false, "L", &result) && (result.L != nullptr)) { in ToReflectedField()
1612 DCHECK(sc.CheckReflectedField(soa, result.L)); in ToReflectedField()
1620 ScopedObjectAccess soa(env); in Throw() local
1623 if (sc.Check(soa, true, "Et", args) && sc.CheckThrowable(soa, obj)) { in Throw()
1626 if (sc.Check(soa, false, "i", &result)) { in Throw()
1634 ScopedObjectAccess soa(env); in ThrowNew() local
1637 if (sc.Check(soa, true, "Ecu", args) && sc.CheckThrowableClass(soa, c)) { in ThrowNew()
1640 if (sc.Check(soa, false, "i", &result)) { in ThrowNew()
1648 ScopedObjectAccess soa(env); in ExceptionOccurred() local
1651 if (sc.Check(soa, true, "E", args)) { in ExceptionOccurred()
1654 if (sc.Check(soa, false, "t", &result)) { in ExceptionOccurred()
1662 ScopedObjectAccess soa(env); in ExceptionDescribe() local
1665 if (sc.Check(soa, true, "E", args)) { in ExceptionDescribe()
1669 sc.Check(soa, false, "V", &result); in ExceptionDescribe()
1674 ScopedObjectAccess soa(env); in ExceptionClear() local
1677 if (sc.Check(soa, true, "E", args)) { in ExceptionClear()
1681 sc.Check(soa, false, "V", &result); in ExceptionClear()
1686 ScopedObjectAccess soa(env); in ExceptionCheck() local
1689 if (sc.Check(soa, true, "E", args)) { in ExceptionCheck()
1692 if (sc.Check(soa, false, "b", &result)) { in ExceptionCheck()
1703 ScopedObjectAccess soa(env); in FatalError() local
1706 if (sc.Check(soa, true, "Eu", args)) { in FatalError()
1711 sc.Check(soa, false, "V", &result); in FatalError()
1716 ScopedObjectAccess soa(env); in PushLocalFrame() local
1719 if (sc.Check(soa, true, "EI", args)) { in PushLocalFrame()
1722 if (sc.Check(soa, false, "i", &result)) { in PushLocalFrame()
1730 ScopedObjectAccess soa(env); in PopLocalFrame() local
1733 if (sc.Check(soa, true, "EL", args)) { in PopLocalFrame()
1736 sc.Check(soa, false, "L", &result); in PopLocalFrame()
1767 ScopedObjectAccess soa(env); in EnsureLocalCapacity() local
1770 if (sc.Check(soa, true, "EI", args)) { in EnsureLocalCapacity()
1773 if (sc.Check(soa, false, "i", &result)) { in EnsureLocalCapacity()
1781 ScopedObjectAccess soa(env); in IsSameObject() local
1784 if (sc.Check(soa, true, "ELL", args)) { in IsSameObject()
1787 if (sc.Check(soa, false, "b", &result)) { in IsSameObject()
1795 ScopedObjectAccess soa(env); in AllocObject() local
1798 if (sc.Check(soa, true, "Ec", args) && sc.CheckInstantiableNonArray(soa, c)) { in AllocObject()
1801 if (sc.Check(soa, false, "L", &result)) { in AllocObject()
1809 ScopedObjectAccess soa(env); in NewObjectV() local
1812 if (sc.Check(soa, true, "Ecm", args) && sc.CheckInstantiableNonArray(soa, c) && in NewObjectV()
1813 sc.CheckConstructor(soa, mid)) { in NewObjectV()
1816 if (sc.Check(soa, false, "L", &result)) { in NewObjectV()
1832 ScopedObjectAccess soa(env); in NewObjectA() local
1835 if (sc.Check(soa, true, "Ecm", args) && sc.CheckInstantiableNonArray(soa, c) && in NewObjectA()
1836 sc.CheckConstructor(soa, mid)) { in NewObjectA()
1839 if (sc.Check(soa, false, "L", &result)) { in NewObjectA()
1847 ScopedObjectAccess soa(env); in GetObjectClass() local
1850 if (sc.Check(soa, true, "EL", args)) { in GetObjectClass()
1853 if (sc.Check(soa, false, "c", &result)) { in GetObjectClass()
1861 ScopedObjectAccess soa(env); in IsInstanceOf() local
1864 if (sc.Check(soa, true, "ELc", args)) { in IsInstanceOf()
1867 if (sc.Check(soa, false, "b", &result)) { in IsInstanceOf()
2036 ScopedObjectAccess soa(env); in CALL() local
2039 if (sc.Check(soa, true, "Epz", args)) { in CALL()
2042 if (sc.Check(soa, false, "s", &result)) { in CALL()
2050 ScopedObjectAccess soa(env); in NewStringUTF() local
2053 if (sc.Check(soa, true, "Eu", args)) { in NewStringUTF()
2057 if (sc.Check(soa, false, "s", &result)) { in NewStringUTF()
2065 ScopedObjectAccess soa(env); in GetStringLength() local
2068 if (sc.Check(soa, true, "Es", args)) { in GetStringLength()
2071 if (sc.Check(soa, false, "z", &result)) { in GetStringLength()
2079 ScopedObjectAccess soa(env); in GetStringUTFLength() local
2082 if (sc.Check(soa, true, "Es", args)) { in GetStringUTFLength()
2085 if (sc.Check(soa, false, "z", &result)) { in GetStringUTFLength()
2120 ScopedObjectAccess soa(env); in GetStringRegion() local
2125 if (sc.Check(soa, true, "EsIIp", args)) { in GetStringRegion()
2129 sc.Check(soa, false, "V", &result); in GetStringRegion()
2134 ScopedObjectAccess soa(env); in GetStringUTFRegion() local
2139 if (sc.Check(soa, true, "EsIIp", args)) { in GetStringUTFRegion()
2143 sc.Check(soa, false, "V", &result); in GetStringUTFRegion()
2148 ScopedObjectAccess soa(env); in GetArrayLength() local
2151 if (sc.Check(soa, true, "Ea", args)) { in GetArrayLength()
2154 if (sc.Check(soa, false, "z", &result)) { in GetArrayLength()
2163 ScopedObjectAccess soa(env); in NewObjectArray() local
2167 if (sc.Check(soa, true, "EzcL", args)) { in NewObjectArray()
2171 if (sc.Check(soa, false, "a", &result)) { in NewObjectArray()
2179 ScopedObjectAccess soa(env); in GetObjectArrayElement() local
2182 if (sc.Check(soa, true, "Eaz", args)) { in GetObjectArrayElement()
2185 if (sc.Check(soa, false, "L", &result)) { in GetObjectArrayElement()
2193 ScopedObjectAccess soa(env); in SetObjectArrayElement() local
2199 if (sc.Check(soa, true, "EaIL", args)) { in SetObjectArrayElement()
2203 sc.Check(soa, false, "V", &result); in SetObjectArrayElement()
2278 ScopedObjectAccess soa(env); in PRIMITIVE_ARRAY_FUNCTIONS() local
2281 if (sc.Check(soa, true, "EL", args)) { in PRIMITIVE_ARRAY_FUNCTIONS()
2284 if (sc.Check(soa, false, "i", &result)) { in PRIMITIVE_ARRAY_FUNCTIONS()
2292 ScopedObjectAccess soa(env); in MonitorExit() local
2295 if (sc.Check(soa, true, "EL", args)) { in MonitorExit()
2298 if (sc.Check(soa, false, "i", &result)) { in MonitorExit()
2306 ScopedObjectAccess soa(env); in GetPrimitiveArrayCritical() local
2309 if (sc.Check(soa, true, "Eap", args)) { in GetPrimitiveArrayCritical()
2312 if (ptr != nullptr && soa.ForceCopy()) { in GetPrimitiveArrayCritical()
2316 if (sc.Check(soa, false, "p", &result)) { in GetPrimitiveArrayCritical()
2324 ScopedObjectAccess soa(env); in ReleasePrimitiveArrayCritical() local
2328 if (sc.Check(soa, true, "Eapr", args)) { in ReleasePrimitiveArrayCritical()
2329 if (soa.ForceCopy()) { in ReleasePrimitiveArrayCritical()
2335 sc.Check(soa, false, "V", &result); in ReleasePrimitiveArrayCritical()
2340 ScopedObjectAccess soa(env); in NewDirectByteBuffer() local
2343 if (sc.Check(soa, true, "EpJ", args)) { in NewDirectByteBuffer()
2347 if (sc.Check(soa, false, "L", &result)) { in NewDirectByteBuffer()
2355 ScopedObjectAccess soa(env); in GetDirectBufferAddress() local
2358 if (sc.Check(soa, true, "EL", args)) { in GetDirectBufferAddress()
2363 if (sc.Check(soa, false, "p", &result)) { in GetDirectBufferAddress()
2371 ScopedObjectAccess soa(env); in GetDirectBufferCapacity() local
2374 if (sc.Check(soa, true, "EL", args)) { in GetDirectBufferCapacity()
2379 if (sc.Check(soa, false, "J", &result)) { in GetDirectBufferCapacity()
2396 ScopedObjectAccess soa(env); in NewRef() local
2399 if (sc.Check(soa, true, "EL", args)) { in NewRef()
2414 if (sc.Check(soa, false, "L", &result)) { in NewRef()
2416 DCHECK(sc.CheckReferenceKind(kind, soa.Self(), result.L)); in NewRef()
2424 ScopedObjectAccess soa(env); in DeleteRef() local
2427 sc.Check(soa, true, "EL", args); in DeleteRef()
2428 if (sc.CheckReferenceKind(kind, soa.Self(), obj)) { in DeleteRef()
2444 sc.Check(soa, false, "V", &result); in DeleteRef()
2450 ScopedObjectAccess soa(env); in GetMethodIDInternal() local
2453 if (sc.Check(soa, true, "Ecuu", args)) { in GetMethodIDInternal()
2460 if (sc.Check(soa, false, "m", &result)) { in GetMethodIDInternal()
2469 ScopedObjectAccess soa(env); in GetFieldIDInternal() local
2472 if (sc.Check(soa, true, "Ecuu", args)) { in GetFieldIDInternal()
2479 if (sc.Check(soa, false, "f", &result)) { in GetFieldIDInternal()
2488 ScopedObjectAccess soa(env); in GetField() local
2492 if (sc.Check(soa, true, is_static ? "Ecf" : "ELf", args) && in GetField()
2493 sc.CheckFieldAccess(soa, obj, fid, is_static, type)) { in GetField()
2572 if (sc.Check(soa, false, result_check, &result)) { in GetField()
2582 ScopedObjectAccess soa(env); in SetField() local
2587 if (sc.Check(soa, true, sig, args) && in SetField()
2588 sc.CheckFieldAccess(soa, obj, fid, is_static, type)) { in SetField()
2659 sc.Check(soa, false, "V", &result); in SetField()
2663 static bool CheckCallArgs(ScopedObjectAccess& soa, ScopedCheck& sc, JNIEnv* env, jobject obj, in CheckCallArgs() argument
2671 checked = sc.Check(soa, true, "ELm", args); in CheckCallArgs()
2676 checked = sc.Check(soa, true, "ELcm", args); in CheckCallArgs()
2682 checked = sc.Check(soa, true, "Ecm", args); in CheckCallArgs()
2696 ScopedObjectAccess soa(env); in CallMethodA() local
2699 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke) && in CallMethodA()
2700 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodA()
2868 if (sc.Check(soa, false, result_check, &result)) { in CallMethodA()
2879 ScopedObjectAccess soa(env); in CallMethodV() local
2882 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke) && in CallMethodV()
2883 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodV()
3051 if (sc.Check(soa, false, result_check, &result)) { in CallMethodV()
3061 ScopedObjectAccess soa(env); in GetStringCharsInternal() local
3065 if (sc.Check(soa, true, "Esp", args)) { in GetStringCharsInternal()
3078 if (ptr != nullptr && soa.ForceCopy()) { in GetStringCharsInternal()
3092 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal()
3101 ScopedObjectAccess soa(env); in ReleaseStringCharsInternal() local
3108 bool force_copy_ok = !soa.ForceCopy() || GuardedCopy::Check(function_name, chars, false); in ReleaseStringCharsInternal()
3109 if (force_copy_ok && soa.ForceCopy()) { in ReleaseStringCharsInternal()
3114 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal()
3126 sc.Check(soa, false, "V", &result); in ReleaseStringCharsInternal()
3133 ScopedObjectAccess soa(env); in NewPrimitiveArray() local
3136 if (sc.Check(soa, true, "Ez", args)) { in NewPrimitiveArray()
3166 if (sc.Check(soa, false, "a", &result)) { in NewPrimitiveArray()
3175 ScopedObjectAccess soa(env); in GetPrimitiveArrayElements() local
3178 if (sc.Check(soa, true, "Eap", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in GetPrimitiveArrayElements()
3210 if (ptr != nullptr && soa.ForceCopy()) { in GetPrimitiveArrayElements()
3217 if (sc.Check(soa, false, "p", &result)) { in GetPrimitiveArrayElements()
3226 ScopedObjectAccess soa(env); in ReleasePrimitiveArrayElements() local
3228 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3229 if (soa.ForceCopy()) { in ReleasePrimitiveArrayElements()
3232 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3234 if (sc.Check(soa, true, "Eapr", args)) { in ReleasePrimitiveArrayElements()
3273 sc.Check(soa, false, "V", &result); in ReleasePrimitiveArrayElements()
3281 ScopedObjectAccess soa(env); in GetPrimitiveArrayRegion() local
3286 if (sc.Check(soa, true, "EaIIp", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in GetPrimitiveArrayRegion()
3325 sc.Check(soa, false, "V", &result); in GetPrimitiveArrayRegion()
3331 ScopedObjectAccess soa(env); in SetPrimitiveArrayRegion() local
3336 if (sc.Check(soa, true, "EaIIp", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in SetPrimitiveArrayRegion()
3375 sc.Check(soa, false, "V", &result); in SetPrimitiveArrayRegion()