Lines Matching refs:soa

58 inline IndirectReferenceTable* GetIndirectReferenceTable(ScopedObjectAccess& soa,  in GetIndirectReferenceTable()  argument
62 JavaVMExt* vm = soa.Env()->GetVm(); in GetIndirectReferenceTable()
70 inline jni::LocalReferenceTable* GetLocalReferenceTable(ScopedObjectAccess& soa) { in GetLocalReferenceTable() argument
71 return &soa.Env()->locals_; in GetLocalReferenceTable()
364 bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid) in CheckInstanceFieldID() argument
366 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(java_object); in CheckInstanceFieldID()
407 bool CheckMethodAndSig(ScopedObjectAccess& soa, jobject jobj, jclass jc, in CheckMethodAndSig() argument
430 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(jc); in CheckMethodAndSig()
438 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(jobj); in CheckMethodAndSig()
456 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID() argument
458 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(java_class); in CheckStaticFieldID()
480 bool CheckStaticMethod(ScopedObjectAccess& soa, jclass java_class, jmethodID mid) in CheckStaticMethod() argument
486 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(java_class); in CheckStaticMethod()
502 bool CheckVirtualMethod(ScopedObjectAccess& soa, jobject java_object, jmethodID mid) in CheckVirtualMethod() argument
508 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(java_object); in CheckVirtualMethod()
556 bool Check(ScopedObjectAccess& soa, bool entry, const char* fmt, JniValueType* args) in Check() argument
559 if (has_method_ && soa.Vm()->IsTracingEnabled()) { in Check()
569 (traceMethod != nullptr && soa.Vm()->ShouldTrace(traceMethod))) { in Check()
572 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
597 if (!CheckPossibleHeapValue(soa, fmt[i], args[i])) { in Check()
612 ScopedObjectAccess soa(self); in CheckNonHeap() local
631 ScopedObjectAccess soa(self); in CheckNonHeap() local
656 bool CheckReflectedMethod(ScopedObjectAccess& soa, jobject jmethod) in CheckReflectedMethod() argument
658 ObjPtr<mirror::Object> method = soa.Decode<mirror::Object>(jmethod); in CheckReflectedMethod()
689 bool CheckReflectedField(ScopedObjectAccess& soa, jobject jfield) in CheckReflectedField() argument
691 ObjPtr<mirror::Object> field = soa.Decode<mirror::Object>(jfield); in CheckReflectedField()
705 bool CheckThrowable(ScopedObjectAccess& soa, jthrowable jobj) in CheckThrowable() argument
707 ObjPtr<mirror::Object> obj = soa.Decode<mirror::Object>(jobj); in CheckThrowable()
716 bool CheckThrowableClass(ScopedObjectAccess& soa, jclass jc) in CheckThrowableClass() argument
718 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(jc); in CheckThrowableClass()
750 bool CheckInstantiableNonArray(ScopedObjectAccess& soa, jclass jc) in CheckInstantiableNonArray() argument
752 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(jc); in CheckInstantiableNonArray()
760 bool CheckPrimitiveArrayType(ScopedObjectAccess& soa, jarray array, Primitive::Type type) in CheckPrimitiveArrayType() argument
762 if (!CheckArray(soa, array)) { in CheckPrimitiveArrayType()
765 ObjPtr<mirror::Array> a = soa.Decode<mirror::Array>(array); in CheckPrimitiveArrayType()
774 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument
777 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
780 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess()
798 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(obj); in CheckFieldAccess()
811 ObjPtr<mirror::Object> o = soa.Decode<mirror::Object>(obj); in CheckFieldAccess()
837 bool CheckInstance(ScopedObjectAccess& soa, InstanceKind kind, jobject java_object, bool null_ok) in CheckInstance() argument
874 if (!soa.Self()->IsJniTransitionReference(java_object)) { in CheckInstance()
878 obj = soa.Decode<mirror::Object>(java_object); in CheckInstance()
881 jni::LocalReferenceTable* lrt = GetLocalReferenceTable(soa); in CheckInstance()
887 IndirectReferenceTable* irt = GetIndirectReferenceTable(soa, ref_kind); in CheckInstance()
895 obj = soa.Env()->GetVm()->DecodeGlobal(ref); in CheckInstance()
897 obj = soa.Env()->GetVm()->DecodeWeakGlobal(soa.Self(), ref); in CheckInstance()
970 bool CheckPossibleHeapValue(ScopedObjectAccess& soa, char fmt, JniValueType arg) in CheckPossibleHeapValue() argument
974 return CheckArray(soa, arg.a); in CheckPossibleHeapValue()
976 return CheckInstance(soa, kClass, arg.c, false); in CheckPossibleHeapValue()
984 return CheckInstance(soa, kString, arg.s, false); in CheckPossibleHeapValue()
986 return CheckInstance(soa, kThrowable, arg.t, false); in CheckPossibleHeapValue()
990 return CheckInstance(soa, kObject, arg.L, true); in CheckPossibleHeapValue()
992 return CheckVarArgs(soa, arg.va); in CheckPossibleHeapValue()
998 bool CheckVarArgs(ScopedObjectAccess& soa, const VarArgs* args_p) in CheckVarArgs() argument
1013 if (!CheckPossibleHeapValue(soa, shorty[i], args.GetValue(shorty[i]))) { in CheckVarArgs()
1066 void TracePossibleHeapValue(ScopedObjectAccess& soa, bool entry, char fmt, JniValueType arg, in TracePossibleHeapValue() argument
1082 ObjPtr<mirror::Class> c = soa.Decode<mirror::Class>(jc); in TracePossibleHeapValue()
1129 TracePossibleHeapValue(soa, entry, shorty[i], args.GetValue(shorty[i]), msg); in TracePossibleHeapValue()
1246 bool CheckArray(ScopedObjectAccess& soa, jarray java_array) in CheckArray() argument
1253 ObjPtr<mirror::Array> a = soa.Decode<mirror::Array>(java_array); in CheckArray()
1602 ScopedObjectAccess soa(env); in CreateGuardedPACopy() local
1604 ObjPtr<mirror::Array> a = soa.Decode<mirror::Array>(java_array); in CreateGuardedPACopy()
1623 ScopedObjectAccess soa(env); in ReleaseGuardedPACopy() local
1808 ScopedObjectAccess soa(env); in GetVersion() local
1811 if (sc.Check(soa, true, "E", args)) { in GetVersion()
1814 if (sc.Check(soa, false, "I", &result)) { in GetVersion()
1823 ScopedObjectAccess soa(env); in GetJavaVM() local
1826 if (sc.Check(soa, true, "Ep", args)) { in GetJavaVM()
1829 if (sc.Check(soa, false, "i", &result)) { in GetJavaVM()
1838 ScopedObjectAccess soa(env); in RegisterNatives() local
1841 if (sc.Check(soa, true, "EcpI", args)) { in RegisterNatives()
1844 if (sc.Check(soa, false, "i", &result)) { in RegisterNatives()
1853 ScopedObjectAccess soa(env); in UnregisterNatives() local
1856 if (sc.Check(soa, true, "Ec", args)) { in UnregisterNatives()
1859 if (sc.Check(soa, false, "i", &result)) { in UnregisterNatives()
1871 ScopedObjectAccess soa(env); in GetObjectRefType() local
1874 if (sc.Check(soa, true, "EL", args)) { in GetObjectRefType()
1877 if (sc.Check(soa, false, "w", &result)) { in GetObjectRefType()
1887 ScopedObjectAccess soa(env); in DefineClass() local
1890 if (sc.Check(soa, true, "EuLpz", args) && sc.CheckClassName(name)) { in DefineClass()
1893 if (sc.Check(soa, false, "c", &result)) { in DefineClass()
1902 ScopedObjectAccess soa(env); in FindClass() local
1905 if (sc.Check(soa, true, "Eu", args) && sc.CheckClassName(name)) { in FindClass()
1908 if (sc.Check(soa, false, "c", &result)) { in FindClass()
1917 ScopedObjectAccess soa(env); in GetSuperclass() local
1920 if (sc.Check(soa, true, "Ec", args)) { in GetSuperclass()
1923 if (sc.Check(soa, false, "c", &result)) { in GetSuperclass()
1932 ScopedObjectAccess soa(env); in IsAssignableFrom() local
1935 if (sc.Check(soa, true, "Ecc", args)) { in IsAssignableFrom()
1938 if (sc.Check(soa, false, "b", &result)) { in IsAssignableFrom()
1947 ScopedObjectAccess soa(env); in FromReflectedMethod() local
1950 if (sc.Check(soa, true, "EL", args) && sc.CheckReflectedMethod(soa, method)) { in FromReflectedMethod()
1953 if (sc.Check(soa, false, "m", &result)) { in FromReflectedMethod()
1962 ScopedObjectAccess soa(env); in FromReflectedField() local
1965 if (sc.Check(soa, true, "EL", args) && sc.CheckReflectedField(soa, field)) { in FromReflectedField()
1968 if (sc.Check(soa, false, "f", &result)) { in FromReflectedField()
1977 ScopedObjectAccess soa(env); in ToReflectedMethod() local
1980 if (sc.Check(soa, true, "Ecmb", args)) { in ToReflectedMethod()
1983 if (sc.Check(soa, false, "L", &result) && (result.L != nullptr)) { in ToReflectedMethod()
1984 DCHECK(sc.CheckReflectedMethod(soa, result.L)); in ToReflectedMethod()
1993 ScopedObjectAccess soa(env); in ToReflectedField() local
1996 if (sc.Check(soa, true, "Ecfb", args)) { in ToReflectedField()
1999 if (sc.Check(soa, false, "L", &result) && (result.L != nullptr)) { in ToReflectedField()
2000 DCHECK(sc.CheckReflectedField(soa, result.L)); in ToReflectedField()
2009 ScopedObjectAccess soa(env); in Throw() local
2012 if (sc.Check(soa, true, "Et", args) && sc.CheckThrowable(soa, obj)) { in Throw()
2015 if (sc.Check(soa, false, "i", &result)) { in Throw()
2024 ScopedObjectAccess soa(env); in ThrowNew() local
2027 if (sc.Check(soa, true, "Ecu", args) && sc.CheckThrowableClass(soa, c)) { in ThrowNew()
2030 if (sc.Check(soa, false, "i", &result)) { in ThrowNew()
2039 ScopedObjectAccess soa(env); in ExceptionOccurred() local
2042 if (sc.Check(soa, true, "E", args)) { in ExceptionOccurred()
2045 if (sc.Check(soa, false, "t", &result)) { in ExceptionOccurred()
2054 ScopedObjectAccess soa(env); in ExceptionDescribe() local
2057 if (sc.Check(soa, true, "E", args)) { in ExceptionDescribe()
2061 sc.Check(soa, false, "V", &result); in ExceptionDescribe()
2067 ScopedObjectAccess soa(env); in ExceptionClear() local
2070 if (sc.Check(soa, true, "E", args)) { in ExceptionClear()
2074 sc.Check(soa, false, "V", &result); in ExceptionClear()
2080 ScopedObjectAccess soa(env); in ExceptionCheck() local
2083 if (sc.Check(soa, true, "E", args)) { in ExceptionCheck()
2086 if (sc.Check(soa, false, "b", &result)) { in ExceptionCheck()
2098 ScopedObjectAccess soa(env); in FatalError() local
2101 if (sc.Check(soa, true, "Eu", args)) { in FatalError()
2106 sc.Check(soa, false, "V", &result); in FatalError()
2112 ScopedObjectAccess soa(env); in PushLocalFrame() local
2115 if (sc.Check(soa, true, "EI", args)) { in PushLocalFrame()
2118 if (sc.Check(soa, false, "i", &result)) { in PushLocalFrame()
2127 ScopedObjectAccess soa(env); in PopLocalFrame() local
2130 if (sc.Check(soa, true, "EL", args)) { in PopLocalFrame()
2133 sc.Check(soa, false, "L", &result); in PopLocalFrame()
2165 ScopedObjectAccess soa(env); in EnsureLocalCapacity() local
2168 if (sc.Check(soa, true, "EI", args)) { in EnsureLocalCapacity()
2171 if (sc.Check(soa, false, "i", &result)) { in EnsureLocalCapacity()
2180 ScopedObjectAccess soa(env); in IsSameObject() local
2183 if (sc.Check(soa, true, "ELL", args)) { in IsSameObject()
2186 if (sc.Check(soa, false, "b", &result)) { in IsSameObject()
2195 ScopedObjectAccess soa(env); in AllocObject() local
2198 if (sc.Check(soa, true, "Ec", args) && sc.CheckInstantiableNonArray(soa, c)) { in AllocObject()
2201 if (sc.Check(soa, false, "L", &result)) { in AllocObject()
2210 ScopedObjectAccess soa(env); in NewObjectV() local
2214 if (sc.Check(soa, true, "Ecm.", args) && sc.CheckInstantiableNonArray(soa, c) && in NewObjectV()
2218 if (sc.Check(soa, false, "L", &result)) { in NewObjectV()
2236 ScopedObjectAccess soa(env); in NewObjectA() local
2240 if (sc.Check(soa, true, "Ecm.", args) && sc.CheckInstantiableNonArray(soa, c) && in NewObjectA()
2244 if (sc.Check(soa, false, "L", &result)) { in NewObjectA()
2253 ScopedObjectAccess soa(env); in GetObjectClass() local
2256 if (sc.Check(soa, true, "EL", args)) { in GetObjectClass()
2259 if (sc.Check(soa, false, "c", &result)) { in GetObjectClass()
2268 ScopedObjectAccess soa(env); in IsInstanceOf() local
2271 if (sc.Check(soa, true, "ELc", args)) { in IsInstanceOf()
2274 if (sc.Check(soa, false, "b", &result)) { in IsInstanceOf()
2445 ScopedObjectAccess soa(env); in CALL() local
2448 if (sc.Check(soa, true, "Epz", args)) { in CALL()
2451 if (sc.Check(soa, false, "s", &result)) { in CALL()
2460 ScopedObjectAccess soa(env); in NewStringUTF() local
2463 if (sc.Check(soa, true, "Eu", args)) { in NewStringUTF()
2467 if (sc.Check(soa, false, "s", &result)) { in NewStringUTF()
2476 ScopedObjectAccess soa(env); in GetStringLength() local
2479 if (sc.Check(soa, true, "Es", args)) { in GetStringLength()
2482 if (sc.Check(soa, false, "z", &result)) { in GetStringLength()
2491 ScopedObjectAccess soa(env); in GetStringUTFLength() local
2494 if (sc.Check(soa, true, "Es", args)) { in GetStringUTFLength()
2497 if (sc.Check(soa, false, "z", &result)) { in GetStringUTFLength()
2533 ScopedObjectAccess soa(env); in GetStringRegion() local
2538 if (sc.Check(soa, true, "EsIIp", args)) { in GetStringRegion()
2542 sc.Check(soa, false, "V", &result); in GetStringRegion()
2548 ScopedObjectAccess soa(env); in GetStringUTFRegion() local
2553 if (sc.Check(soa, true, "EsIIp", args)) { in GetStringUTFRegion()
2557 sc.Check(soa, false, "V", &result); in GetStringUTFRegion()
2563 ScopedObjectAccess soa(env); in GetArrayLength() local
2566 if (sc.Check(soa, true, "Ea", args)) { in GetArrayLength()
2569 if (sc.Check(soa, false, "z", &result)) { in GetArrayLength()
2579 ScopedObjectAccess soa(env); in NewObjectArray() local
2583 if (sc.Check(soa, true, "EzcL", args)) { in NewObjectArray()
2587 if (sc.Check(soa, false, "a", &result)) { in NewObjectArray()
2596 ScopedObjectAccess soa(env); in GetObjectArrayElement() local
2599 if (sc.Check(soa, true, "Eaz", args)) { in GetObjectArrayElement()
2602 if (sc.Check(soa, false, "L", &result)) { in GetObjectArrayElement()
2611 ScopedObjectAccess soa(env); in SetObjectArrayElement() local
2617 if (sc.Check(soa, true, "EaIL", args)) { in SetObjectArrayElement()
2621 sc.Check(soa, false, "V", &result); in SetObjectArrayElement()
2698 ScopedObjectAccess soa(env); in PRIMITIVE_ARRAY_FUNCTIONS() local
2701 if (sc.Check(soa, true, "EL", args)) { in PRIMITIVE_ARRAY_FUNCTIONS()
2707 if (sc.Check(soa, false, "i", &result)) { in PRIMITIVE_ARRAY_FUNCTIONS()
2716 ScopedObjectAccess soa(env); in MonitorExit() local
2719 if (sc.Check(soa, true, "EL", args)) { in MonitorExit()
2725 if (sc.Check(soa, false, "i", &result)) { in MonitorExit()
2734 ScopedObjectAccess soa(env); in GetPrimitiveArrayCritical() local
2737 if (sc.Check(soa, true, "Eap", args)) { in GetPrimitiveArrayCritical()
2740 if (ptr != nullptr && soa.ForceCopy()) { in GetPrimitiveArrayCritical()
2744 if (sc.Check(soa, false, "p", &result)) { in GetPrimitiveArrayCritical()
2753 ScopedObjectAccess soa(env); in ReleasePrimitiveArrayCritical() local
2757 if (sc.Check(soa, true, "Eapr", args)) { in ReleasePrimitiveArrayCritical()
2758 if (soa.ForceCopy()) { in ReleasePrimitiveArrayCritical()
2764 sc.Check(soa, false, "V", &result); in ReleasePrimitiveArrayCritical()
2770 ScopedObjectAccess soa(env); in NewDirectByteBuffer() local
2773 if (sc.Check(soa, true, "EpJ", args)) { in NewDirectByteBuffer()
2777 if (sc.Check(soa, false, "L", &result)) { in NewDirectByteBuffer()
2786 ScopedObjectAccess soa(env); in GetDirectBufferAddress() local
2789 if (sc.Check(soa, true, "EL", args)) { in GetDirectBufferAddress()
2794 if (sc.Check(soa, false, "p", &result)) { in GetDirectBufferAddress()
2803 ScopedObjectAccess soa(env); in GetDirectBufferCapacity() local
2806 if (sc.Check(soa, true, "EL", args)) { in GetDirectBufferCapacity()
2811 if (sc.Check(soa, false, "J", &result)) { in GetDirectBufferCapacity()
2829 ScopedObjectAccess soa(env); in NewRef() local
2832 if (sc.Check(soa, true, "EL", args)) { in NewRef()
2847 if (sc.Check(soa, false, "L", &result)) { in NewRef()
2849 DCHECK(sc.CheckReferenceKind(kind, soa.Self(), result.L)); in NewRef()
2858 ScopedObjectAccess soa(env); in DeleteRef() local
2861 sc.Check(soa, true, "EL", args); in DeleteRef()
2862 if (sc.CheckReferenceKind(kind, soa.Self(), obj)) { in DeleteRef()
2878 sc.Check(soa, false, "V", &result); in DeleteRef()
2885 ScopedObjectAccess soa(env); in GetMethodIDInternal() local
2888 if (sc.Check(soa, true, "Ecuu", args)) { in GetMethodIDInternal()
2895 if (sc.Check(soa, false, "m", &result)) { in GetMethodIDInternal()
2905 ScopedObjectAccess soa(env); in GetFieldIDInternal() local
2908 if (sc.Check(soa, true, "Ecuu", args)) { in GetFieldIDInternal()
2915 if (sc.Check(soa, false, "f", &result)) { in GetFieldIDInternal()
2925 ScopedObjectAccess soa(env); in GetField() local
2929 if (sc.Check(soa, true, is_static ? "Ecf" : "ELf", args) && in GetField()
2930 sc.CheckFieldAccess(soa, obj, fid, is_static, type)) { in GetField()
3009 if (sc.Check(soa, false, result_check, &result)) { in GetField()
3020 ScopedObjectAccess soa(env); in SetField() local
3025 if (sc.Check(soa, true, sig, args) && in SetField()
3026 sc.CheckFieldAccess(soa, obj, fid, is_static, type)) { in SetField()
3097 sc.Check(soa, false, "V", &result); in SetField()
3101 static bool CheckCallArgs(ScopedObjectAccess& soa, ScopedCheck& sc, JNIEnv* env, jobject obj, in CheckCallArgs() argument
3109 checked = sc.Check(soa, true, "ELm.", args); in CheckCallArgs()
3114 checked = sc.Check(soa, true, "ELcm.", args); in CheckCallArgs()
3120 checked = sc.Check(soa, true, "Ecm.", args); in CheckCallArgs()
3135 ScopedObjectAccess soa(env); in CallMethodA() local
3139 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke, &rest) && in CallMethodA()
3140 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodA()
3305 if (sc.Check(soa, false, result_check, &result)) { in CallMethodA()
3318 ScopedObjectAccess soa(env); in CallMethodV() local
3322 if (CheckCallArgs(soa, sc, env, obj, c, mid, invoke, &rest) && in CallMethodV()
3323 sc.CheckMethodAndSig(soa, obj, c, mid, type, invoke)) { in CallMethodV()
3488 if (sc.Check(soa, false, result_check, &result)) { in CallMethodV()
3499 ScopedObjectAccess soa(env); in GetStringCharsInternal() local
3503 if (sc.Check(soa, true, "Esp", args)) { in GetStringCharsInternal()
3516 if (ptr != nullptr && soa.ForceCopy()) { in GetStringCharsInternal()
3530 if (sc.Check(soa, false, utf ? "u" : "p", &result)) { in GetStringCharsInternal()
3540 ScopedObjectAccess soa(env); in ReleaseStringCharsInternal() local
3547 bool force_copy_ok = !soa.ForceCopy() || GuardedCopy::Check(function_name, chars, false); in ReleaseStringCharsInternal()
3548 if (force_copy_ok && soa.ForceCopy()) { in ReleaseStringCharsInternal()
3553 if (sc.Check(soa, true, utf ? "Esu" : "Esp", args)) { in ReleaseStringCharsInternal()
3565 sc.Check(soa, false, "V", &result); in ReleaseStringCharsInternal()
3573 ScopedObjectAccess soa(env); in NewPrimitiveArray() local
3576 if (sc.Check(soa, true, "Ez", args)) { in NewPrimitiveArray()
3606 if (sc.Check(soa, false, "a", &result)) { in NewPrimitiveArray()
3616 ScopedObjectAccess soa(env); in GetPrimitiveArrayElements() local
3619 if (sc.Check(soa, true, "Eap", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in GetPrimitiveArrayElements()
3651 if (ptr != nullptr && soa.ForceCopy()) { in GetPrimitiveArrayElements()
3658 if (sc.Check(soa, false, "p", &result)) { in GetPrimitiveArrayElements()
3668 ScopedObjectAccess soa(env); in ReleasePrimitiveArrayElements() local
3670 if (sc.CheckNonNull(elems) && sc.CheckPrimitiveArrayType(soa, array, type)) { in ReleasePrimitiveArrayElements()
3671 if (soa.ForceCopy()) { in ReleasePrimitiveArrayElements()
3674 if (!soa.ForceCopy() || elems != nullptr) { in ReleasePrimitiveArrayElements()
3676 if (sc.Check(soa, true, "Eapr", args)) { in ReleasePrimitiveArrayElements()
3715 sc.Check(soa, false, "V", &result); in ReleasePrimitiveArrayElements()
3724 ScopedObjectAccess soa(env); in GetPrimitiveArrayRegion() local
3729 if (sc.Check(soa, true, "EaIIp", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in GetPrimitiveArrayRegion()
3768 sc.Check(soa, false, "V", &result); in GetPrimitiveArrayRegion()
3775 ScopedObjectAccess soa(env); in SetPrimitiveArrayRegion() local
3780 if (sc.Check(soa, true, "EaIIp", args) && sc.CheckPrimitiveArrayType(soa, array, type)) { in SetPrimitiveArrayRegion()
3819 sc.Check(soa, false, "V", &result); in SetPrimitiveArrayRegion()