Lines Matching refs:baseEnv

1619       result.I = baseEnv(env)->GetVersion(env);  in GetVersion()
1633 result.i = baseEnv(env)->GetJavaVM(env, vm); in GetJavaVM()
1647 result.i = baseEnv(env)->RegisterNatives(env, c, methods, nMethods); in RegisterNatives()
1661 result.i = baseEnv(env)->UnregisterNatives(env, c); in UnregisterNatives()
1678 result.w = baseEnv(env)->GetObjectRefType(env, obj); in GetObjectRefType()
1693 result.c = baseEnv(env)->DefineClass(env, name, loader, buf, bufLen); in DefineClass()
1707 result.c = baseEnv(env)->FindClass(env, name); in FindClass()
1721 result.c = baseEnv(env)->GetSuperclass(env, c); in GetSuperclass()
1735 result.b = baseEnv(env)->IsAssignableFrom(env, c1, c2); in IsAssignableFrom()
1749 result.m = baseEnv(env)->FromReflectedMethod(env, method); in FromReflectedMethod()
1763 result.f = baseEnv(env)->FromReflectedField(env, field); in FromReflectedField()
1777 result.L = baseEnv(env)->ToReflectedMethod(env, cls, mid, isStatic); in ToReflectedMethod()
1792 result.L = baseEnv(env)->ToReflectedField(env, cls, fid, isStatic); in ToReflectedField()
1807 result.i = baseEnv(env)->Throw(env, obj); in Throw()
1821 result.i = baseEnv(env)->ThrowNew(env, c, message); in ThrowNew()
1835 result.t = baseEnv(env)->ExceptionOccurred(env); in ExceptionOccurred()
1849 baseEnv(env)->ExceptionDescribe(env); in ExceptionDescribe()
1861 baseEnv(env)->ExceptionClear(env); in ExceptionClear()
1873 result.b = baseEnv(env)->ExceptionCheck(env); in ExceptionCheck()
1890 baseEnv(env)->FatalError(env, msg); in FatalError()
1903 result.i = baseEnv(env)->PushLocalFrame(env, capacity); in PushLocalFrame()
1917 result.L = baseEnv(env)->PopLocalFrame(env, res); in PopLocalFrame()
1954 result.i = baseEnv(env)->EnsureLocalCapacity(env, capacity); in EnsureLocalCapacity()
1968 result.b = baseEnv(env)->IsSameObject(env, ref1, ref2); in IsSameObject()
1982 result.L = baseEnv(env)->AllocObject(env, c); in AllocObject()
1998 result.L = baseEnv(env)->NewObjectV(env, c, mid, vargs); in NewObjectV()
2022 result.L = baseEnv(env)->NewObjectA(env, c, mid, vargs); in NewObjectA()
2036 result.c = baseEnv(env)->GetObjectClass(env, obj); in GetObjectClass()
2050 result.b = baseEnv(env)->IsInstanceOf(env, obj, c); in IsInstanceOf()
2225 result.s = baseEnv(env)->NewString(env, unicode_chars, len); in CALL()
2240 result.s = baseEnv(env)->NewStringUTF(env, chars); in NewStringUTF()
2254 result.z = baseEnv(env)->GetStringLength(env, string); in GetStringLength()
2268 result.z = baseEnv(env)->GetStringUTFLength(env, string); in GetStringUTFLength()
2310 baseEnv(env)->GetStringRegion(env, string, start, len, buf); in GetStringRegion()
2324 baseEnv(env)->GetStringUTFRegion(env, string, start, len, buf); in GetStringUTFRegion()
2337 result.z = baseEnv(env)->GetArrayLength(env, array); in GetArrayLength()
2354 result.a = baseEnv(env)->NewObjectArray(env, length, element_class, initial_element); in NewObjectArray()
2368 result.L = baseEnv(env)->GetObjectArrayElement(env, array, index); in GetObjectArrayElement()
2384 baseEnv(env)->SetObjectArrayElement(env, array, index, value); in SetObjectArrayElement()
2470 result.i = baseEnv(env)->MonitorEnter(env, obj); in PRIMITIVE_ARRAY_FUNCTIONS()
2487 result.i = baseEnv(env)->MonitorExit(env, obj); in MonitorExit()
2501 void* ptr = baseEnv(env)->GetPrimitiveArrayCritical(env, array, is_copy); in GetPrimitiveArrayCritical()
2522 baseEnv(env)->ReleasePrimitiveArrayCritical(env, array, carray, mode); in ReleasePrimitiveArrayCritical()
2536 result.L = baseEnv(env)->NewDirectByteBuffer(env, address, capacity); in NewDirectByteBuffer()
2552 result.p = baseEnv(env)->GetDirectBufferAddress(env, buf); in GetDirectBufferAddress()
2568 result.J = baseEnv(env)->GetDirectBufferCapacity(env, buf); in GetDirectBufferCapacity()
2581 static const JNINativeInterface* baseEnv(JNIEnv* env) { in baseEnv() function in art::CheckJNI
2593 result.L = baseEnv(env)->NewGlobalRef(env, obj); in NewRef()
2596 result.L = baseEnv(env)->NewLocalRef(env, obj); in NewRef()
2599 result.L = baseEnv(env)->NewWeakGlobalRef(env, obj); in NewRef()
2622 baseEnv(env)->DeleteGlobalRef(env, obj); in DeleteRef()
2625 baseEnv(env)->DeleteLocalRef(env, obj); in DeleteRef()
2628 baseEnv(env)->DeleteWeakGlobalRef(env, obj); in DeleteRef()
2646 result.m = baseEnv(env)->GetStaticMethodID(env, c, name, sig); in GetMethodIDInternal()
2648 result.m = baseEnv(env)->GetMethodID(env, c, name, sig); in GetMethodIDInternal()
2665 result.f = baseEnv(env)->GetStaticFieldID(env, c, name, sig); in GetFieldIDInternal()
2667 result.f = baseEnv(env)->GetFieldID(env, c, name, sig); in GetFieldIDInternal()
2688 result.L = baseEnv(env)->GetStaticObjectField(env, down_cast<jclass>(obj), fid); in GetField()
2690 result.L = baseEnv(env)->GetObjectField(env, obj, fid); in GetField()
2696 result.Z = baseEnv(env)->GetStaticBooleanField(env, down_cast<jclass>(obj), fid); in GetField()
2698 result.Z = baseEnv(env)->GetBooleanField(env, obj, fid); in GetField()
2704 result.B = baseEnv(env)->GetStaticByteField(env, down_cast<jclass>(obj), fid); in GetField()
2706 result.B = baseEnv(env)->GetByteField(env, obj, fid); in GetField()
2712 result.C = baseEnv(env)->GetStaticCharField(env, down_cast<jclass>(obj), fid); in GetField()
2714 result.C = baseEnv(env)->GetCharField(env, obj, fid); in GetField()
2720 result.S = baseEnv(env)->GetStaticShortField(env, down_cast<jclass>(obj), fid); in GetField()
2722 result.S = baseEnv(env)->GetShortField(env, obj, fid); in GetField()
2728 result.I = baseEnv(env)->GetStaticIntField(env, down_cast<jclass>(obj), fid); in GetField()
2730 result.I = baseEnv(env)->GetIntField(env, obj, fid); in GetField()
2736 result.J = baseEnv(env)->GetStaticLongField(env, down_cast<jclass>(obj), fid); in GetField()
2738 result.J = baseEnv(env)->GetLongField(env, obj, fid); in GetField()
2744 result.F = baseEnv(env)->GetStaticFloatField(env, down_cast<jclass>(obj), fid); in GetField()
2746 result.F = baseEnv(env)->GetFloatField(env, obj, fid); in GetField()
2752 result.D = baseEnv(env)->GetStaticDoubleField(env, down_cast<jclass>(obj), fid); in GetField()
2754 result.D = baseEnv(env)->GetDoubleField(env, obj, fid); in GetField()
2782 baseEnv(env)->SetStaticObjectField(env, down_cast<jclass>(obj), fid, value.L); in SetField()
2784 baseEnv(env)->SetObjectField(env, obj, fid, value.L); in SetField()
2789 baseEnv(env)->SetStaticBooleanField(env, down_cast<jclass>(obj), fid, value.Z); in SetField()
2791 baseEnv(env)->SetBooleanField(env, obj, fid, value.Z); in SetField()
2796 baseEnv(env)->SetStaticByteField(env, down_cast<jclass>(obj), fid, value.B); in SetField()
2798 baseEnv(env)->SetByteField(env, obj, fid, value.B); in SetField()
2803 baseEnv(env)->SetStaticCharField(env, down_cast<jclass>(obj), fid, value.C); in SetField()
2805 baseEnv(env)->SetCharField(env, obj, fid, value.C); in SetField()
2810 baseEnv(env)->SetStaticShortField(env, down_cast<jclass>(obj), fid, value.S); in SetField()
2812 baseEnv(env)->SetShortField(env, obj, fid, value.S); in SetField()
2817 baseEnv(env)->SetStaticIntField(env, down_cast<jclass>(obj), fid, value.I); in SetField()
2819 baseEnv(env)->SetIntField(env, obj, fid, value.I); in SetField()
2824 baseEnv(env)->SetStaticLongField(env, down_cast<jclass>(obj), fid, value.J); in SetField()
2826 baseEnv(env)->SetLongField(env, obj, fid, value.J); in SetField()
2831 baseEnv(env)->SetStaticFloatField(env, down_cast<jclass>(obj), fid, value.F); in SetField()
2833 baseEnv(env)->SetFloatField(env, obj, fid, value.F); in SetField()
2838 baseEnv(env)->SetStaticDoubleField(env, down_cast<jclass>(obj), fid, value.D); in SetField()
2840 baseEnv(env)->SetDoubleField(env, obj, fid, value.D); in SetField()
2898 result.L = baseEnv(env)->CallObjectMethodA(env, obj, mid, vargs); in CallMethodA()
2901 result.L = baseEnv(env)->CallNonvirtualObjectMethodA(env, obj, c, mid, vargs); in CallMethodA()
2904 result.L = baseEnv(env)->CallStaticObjectMethodA(env, c, mid, vargs); in CallMethodA()
2914 result.Z = baseEnv(env)->CallBooleanMethodA(env, obj, mid, vargs); in CallMethodA()
2917 result.Z = baseEnv(env)->CallNonvirtualBooleanMethodA(env, obj, c, mid, vargs); in CallMethodA()
2920 result.Z = baseEnv(env)->CallStaticBooleanMethodA(env, c, mid, vargs); in CallMethodA()
2930 result.B = baseEnv(env)->CallByteMethodA(env, obj, mid, vargs); in CallMethodA()
2933 result.B = baseEnv(env)->CallNonvirtualByteMethodA(env, obj, c, mid, vargs); in CallMethodA()
2936 result.B = baseEnv(env)->CallStaticByteMethodA(env, c, mid, vargs); in CallMethodA()
2946 result.C = baseEnv(env)->CallCharMethodA(env, obj, mid, vargs); in CallMethodA()
2949 result.C = baseEnv(env)->CallNonvirtualCharMethodA(env, obj, c, mid, vargs); in CallMethodA()
2952 result.C = baseEnv(env)->CallStaticCharMethodA(env, c, mid, vargs); in CallMethodA()
2962 result.S = baseEnv(env)->CallShortMethodA(env, obj, mid, vargs); in CallMethodA()
2965 result.S = baseEnv(env)->CallNonvirtualShortMethodA(env, obj, c, mid, vargs); in CallMethodA()
2968 result.S = baseEnv(env)->CallStaticShortMethodA(env, c, mid, vargs); in CallMethodA()
2978 result.I = baseEnv(env)->CallIntMethodA(env, obj, mid, vargs); in CallMethodA()
2981 result.I = baseEnv(env)->CallNonvirtualIntMethodA(env, obj, c, mid, vargs); in CallMethodA()
2984 result.I = baseEnv(env)->CallStaticIntMethodA(env, c, mid, vargs); in CallMethodA()
2994 result.J = baseEnv(env)->CallLongMethodA(env, obj, mid, vargs); in CallMethodA()
2997 result.J = baseEnv(env)->CallNonvirtualLongMethodA(env, obj, c, mid, vargs); in CallMethodA()
3000 result.J = baseEnv(env)->CallStaticLongMethodA(env, c, mid, vargs); in CallMethodA()
3010 result.F = baseEnv(env)->CallFloatMethodA(env, obj, mid, vargs); in CallMethodA()
3013 result.F = baseEnv(env)->CallNonvirtualFloatMethodA(env, obj, c, mid, vargs); in CallMethodA()
3016 result.F = baseEnv(env)->CallStaticFloatMethodA(env, c, mid, vargs); in CallMethodA()
3026 result.D = baseEnv(env)->CallDoubleMethodA(env, obj, mid, vargs); in CallMethodA()
3029 result.D = baseEnv(env)->CallNonvirtualDoubleMethodA(env, obj, c, mid, vargs); in CallMethodA()
3032 result.D = baseEnv(env)->CallStaticDoubleMethodA(env, c, mid, vargs); in CallMethodA()
3043 baseEnv(env)->CallVoidMethodA(env, obj, mid, vargs); in CallMethodA()
3046 baseEnv(env)->CallNonvirtualVoidMethodA(env, obj, c, mid, vargs); in CallMethodA()
3049 baseEnv(env)->CallStaticVoidMethodA(env, c, mid, vargs); in CallMethodA()
3082 result.L = baseEnv(env)->CallObjectMethodV(env, obj, mid, vargs); in CallMethodV()
3085 result.L = baseEnv(env)->CallNonvirtualObjectMethodV(env, obj, c, mid, vargs); in CallMethodV()
3088 result.L = baseEnv(env)->CallStaticObjectMethodV(env, c, mid, vargs); in CallMethodV()
3098 result.Z = baseEnv(env)->CallBooleanMethodV(env, obj, mid, vargs); in CallMethodV()
3101 result.Z = baseEnv(env)->CallNonvirtualBooleanMethodV(env, obj, c, mid, vargs); in CallMethodV()
3104 result.Z = baseEnv(env)->CallStaticBooleanMethodV(env, c, mid, vargs); in CallMethodV()
3114 result.B = baseEnv(env)->CallByteMethodV(env, obj, mid, vargs); in CallMethodV()
3117 result.B = baseEnv(env)->CallNonvirtualByteMethodV(env, obj, c, mid, vargs); in CallMethodV()
3120 result.B = baseEnv(env)->CallStaticByteMethodV(env, c, mid, vargs); in CallMethodV()
3130 result.C = baseEnv(env)->CallCharMethodV(env, obj, mid, vargs); in CallMethodV()
3133 result.C = baseEnv(env)->CallNonvirtualCharMethodV(env, obj, c, mid, vargs); in CallMethodV()
3136 result.C = baseEnv(env)->CallStaticCharMethodV(env, c, mid, vargs); in CallMethodV()
3146 result.S = baseEnv(env)->CallShortMethodV(env, obj, mid, vargs); in CallMethodV()
3149 result.S = baseEnv(env)->CallNonvirtualShortMethodV(env, obj, c, mid, vargs); in CallMethodV()
3152 result.S = baseEnv(env)->CallStaticShortMethodV(env, c, mid, vargs); in CallMethodV()
3162 result.I = baseEnv(env)->CallIntMethodV(env, obj, mid, vargs); in CallMethodV()
3165 result.I = baseEnv(env)->CallNonvirtualIntMethodV(env, obj, c, mid, vargs); in CallMethodV()
3168 result.I = baseEnv(env)->CallStaticIntMethodV(env, c, mid, vargs); in CallMethodV()
3178 result.J = baseEnv(env)->CallLongMethodV(env, obj, mid, vargs); in CallMethodV()
3181 result.J = baseEnv(env)->CallNonvirtualLongMethodV(env, obj, c, mid, vargs); in CallMethodV()
3184 result.J = baseEnv(env)->CallStaticLongMethodV(env, c, mid, vargs); in CallMethodV()
3194 result.F = baseEnv(env)->CallFloatMethodV(env, obj, mid, vargs); in CallMethodV()
3197 result.F = baseEnv(env)->CallNonvirtualFloatMethodV(env, obj, c, mid, vargs); in CallMethodV()
3200 result.F = baseEnv(env)->CallStaticFloatMethodV(env, c, mid, vargs); in CallMethodV()
3210 result.D = baseEnv(env)->CallDoubleMethodV(env, obj, mid, vargs); in CallMethodV()
3213 result.D = baseEnv(env)->CallNonvirtualDoubleMethodV(env, obj, c, mid, vargs); in CallMethodV()
3216 result.D = baseEnv(env)->CallStaticDoubleMethodV(env, c, mid, vargs); in CallMethodV()
3227 baseEnv(env)->CallVoidMethodV(env, obj, mid, vargs); in CallMethodV()
3230 baseEnv(env)->CallNonvirtualVoidMethodV(env, obj, c, mid, vargs); in CallMethodV()
3233 baseEnv(env)->CallStaticVoidMethodV(env, c, mid, vargs); in CallMethodV()
3262 ptr = const_cast<char*>(baseEnv(env)->GetStringUTFChars(env, string, is_copy)); in GetStringCharsInternal()
3265 ptr = const_cast<jchar*>(critical ? baseEnv(env)->GetStringCritical(env, string, is_copy) : in GetStringCharsInternal()
3266 baseEnv(env)->GetStringChars(env, string, is_copy)); in GetStringCharsInternal()
3276 size_t length_in_bytes = baseEnv(env)->GetStringLength(env, string) * 2; in GetStringCharsInternal()
3309 baseEnv(env)->ReleaseStringUTFChars(env, string, reinterpret_cast<const char*>(chars)); in ReleaseStringCharsInternal()
3312 baseEnv(env)->ReleaseStringCritical(env, string, reinterpret_cast<const jchar*>(chars)); in ReleaseStringCharsInternal()
3314 baseEnv(env)->ReleaseStringChars(env, string, reinterpret_cast<const jchar*>(chars)); in ReleaseStringCharsInternal()
3332 result.a = baseEnv(env)->NewBooleanArray(env, length); in NewPrimitiveArray()
3335 result.a = baseEnv(env)->NewByteArray(env, length); in NewPrimitiveArray()
3338 result.a = baseEnv(env)->NewCharArray(env, length); in NewPrimitiveArray()
3341 result.a = baseEnv(env)->NewShortArray(env, length); in NewPrimitiveArray()
3344 result.a = baseEnv(env)->NewIntArray(env, length); in NewPrimitiveArray()
3347 result.a = baseEnv(env)->NewLongArray(env, length); in NewPrimitiveArray()
3350 result.a = baseEnv(env)->NewFloatArray(env, length); in NewPrimitiveArray()
3353 result.a = baseEnv(env)->NewDoubleArray(env, length); in NewPrimitiveArray()
3375 ptr = baseEnv(env)->GetBooleanArrayElements(env, down_cast<jbooleanArray>(array), in GetPrimitiveArrayElements()
3379 ptr = baseEnv(env)->GetByteArrayElements(env, down_cast<jbyteArray>(array), is_copy); in GetPrimitiveArrayElements()
3382 ptr = baseEnv(env)->GetCharArrayElements(env, down_cast<jcharArray>(array), is_copy); in GetPrimitiveArrayElements()
3385 ptr = baseEnv(env)->GetShortArrayElements(env, down_cast<jshortArray>(array), is_copy); in GetPrimitiveArrayElements()
3388 ptr = baseEnv(env)->GetIntArrayElements(env, down_cast<jintArray>(array), is_copy); in GetPrimitiveArrayElements()
3391 ptr = baseEnv(env)->GetLongArrayElements(env, down_cast<jlongArray>(array), is_copy); in GetPrimitiveArrayElements()
3394 ptr = baseEnv(env)->GetFloatArrayElements(env, down_cast<jfloatArray>(array), is_copy); in GetPrimitiveArrayElements()
3397 ptr = baseEnv(env)->GetDoubleArrayElements(env, down_cast<jdoubleArray>(array), is_copy); in GetPrimitiveArrayElements()
3429 baseEnv(env)->ReleaseBooleanArrayElements(env, down_cast<jbooleanArray>(array), in ReleasePrimitiveArrayElements()
3433 baseEnv(env)->ReleaseByteArrayElements(env, down_cast<jbyteArray>(array), in ReleasePrimitiveArrayElements()
3437 baseEnv(env)->ReleaseCharArrayElements(env, down_cast<jcharArray>(array), in ReleasePrimitiveArrayElements()
3441 baseEnv(env)->ReleaseShortArrayElements(env, down_cast<jshortArray>(array), in ReleasePrimitiveArrayElements()
3445 baseEnv(env)->ReleaseIntArrayElements(env, down_cast<jintArray>(array), in ReleasePrimitiveArrayElements()
3449 baseEnv(env)->ReleaseLongArrayElements(env, down_cast<jlongArray>(array), in ReleasePrimitiveArrayElements()
3453 baseEnv(env)->ReleaseFloatArrayElements(env, down_cast<jfloatArray>(array), in ReleasePrimitiveArrayElements()
3457 baseEnv(env)->ReleaseDoubleArrayElements(env, down_cast<jdoubleArray>(array), in ReleasePrimitiveArrayElements()
3481 baseEnv(env)->GetBooleanArrayRegion(env, down_cast<jbooleanArray>(array), start, len, in GetPrimitiveArrayRegion()
3485 baseEnv(env)->GetByteArrayRegion(env, down_cast<jbyteArray>(array), start, len, in GetPrimitiveArrayRegion()
3489 baseEnv(env)->GetCharArrayRegion(env, down_cast<jcharArray>(array), start, len, in GetPrimitiveArrayRegion()
3493 baseEnv(env)->GetShortArrayRegion(env, down_cast<jshortArray>(array), start, len, in GetPrimitiveArrayRegion()
3497 baseEnv(env)->GetIntArrayRegion(env, down_cast<jintArray>(array), start, len, in GetPrimitiveArrayRegion()
3501 baseEnv(env)->GetLongArrayRegion(env, down_cast<jlongArray>(array), start, len, in GetPrimitiveArrayRegion()
3505 baseEnv(env)->GetFloatArrayRegion(env, down_cast<jfloatArray>(array), start, len, in GetPrimitiveArrayRegion()
3509 baseEnv(env)->GetDoubleArrayRegion(env, down_cast<jdoubleArray>(array), start, len, in GetPrimitiveArrayRegion()
3531 baseEnv(env)->SetBooleanArrayRegion(env, down_cast<jbooleanArray>(array), start, len, in SetPrimitiveArrayRegion()
3535 baseEnv(env)->SetByteArrayRegion(env, down_cast<jbyteArray>(array), start, len, in SetPrimitiveArrayRegion()
3539 baseEnv(env)->SetCharArrayRegion(env, down_cast<jcharArray>(array), start, len, in SetPrimitiveArrayRegion()
3543 baseEnv(env)->SetShortArrayRegion(env, down_cast<jshortArray>(array), start, len, in SetPrimitiveArrayRegion()
3547 baseEnv(env)->SetIntArrayRegion(env, down_cast<jintArray>(array), start, len, in SetPrimitiveArrayRegion()
3551 baseEnv(env)->SetLongArrayRegion(env, down_cast<jlongArray>(array), start, len, in SetPrimitiveArrayRegion()
3555 baseEnv(env)->SetFloatArrayRegion(env, down_cast<jfloatArray>(array), start, len, in SetPrimitiveArrayRegion()
3559 baseEnv(env)->SetDoubleArrayRegion(env, down_cast<jdoubleArray>(array), start, len, in SetPrimitiveArrayRegion()