Lines Matching refs:functions
491 const struct JNINativeInterface* functions; member
496 { return functions->GetVersion(this); } in GetVersion()
500 { return functions->DefineClass(this, name, loader, buf, bufLen); } in DefineClass()
503 { return functions->FindClass(this, name); } in FindClass()
506 { return functions->FromReflectedMethod(this, method); } in FromReflectedMethod()
509 { return functions->FromReflectedField(this, field); } in FromReflectedField()
512 { return functions->ToReflectedMethod(this, cls, methodID, isStatic); } in ToReflectedMethod()
515 { return functions->GetSuperclass(this, clazz); } in GetSuperclass()
518 { return functions->IsAssignableFrom(this, clazz1, clazz2); } in IsAssignableFrom()
521 { return functions->ToReflectedField(this, cls, fieldID, isStatic); } in ToReflectedField()
524 { return functions->Throw(this, obj); } in Throw()
527 { return functions->ThrowNew(this, clazz, message); } in ThrowNew()
530 { return functions->ExceptionOccurred(this); } in ExceptionOccurred()
533 { functions->ExceptionDescribe(this); } in ExceptionDescribe()
536 { functions->ExceptionClear(this); } in ExceptionClear()
539 { functions->FatalError(this, msg); } in FatalError()
542 { return functions->PushLocalFrame(this, capacity); } in PushLocalFrame()
545 { return functions->PopLocalFrame(this, result); } in PopLocalFrame()
548 { return functions->NewGlobalRef(this, obj); } in NewGlobalRef()
551 { functions->DeleteGlobalRef(this, globalRef); } in DeleteGlobalRef()
554 { functions->DeleteLocalRef(this, localRef); } in DeleteLocalRef()
557 { return functions->IsSameObject(this, ref1, ref2); } in IsSameObject()
560 { return functions->NewLocalRef(this, ref); } in NewLocalRef()
563 { return functions->EnsureLocalCapacity(this, capacity); } in EnsureLocalCapacity()
566 { return functions->AllocObject(this, clazz); } in AllocObject()
572 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject()
578 { return functions->NewObjectV(this, clazz, methodID, args); } in NewObjectV()
581 { return functions->NewObjectA(this, clazz, methodID, args); } in NewObjectA()
584 { return functions->GetObjectClass(this, obj); } in GetObjectClass()
587 { return functions->IsInstanceOf(this, obj, clazz); } in IsInstanceOf()
590 { return functions->GetMethodID(this, clazz, name, sig); } in GetMethodID()
598 result = functions->Call##_jname##MethodV(this, obj, methodID, \
606 { return functions->Call##_jname##MethodV(this, obj, methodID, args); }
610 { return functions->Call##_jname##MethodA(this, obj, methodID, args); }
631 functions->CallVoidMethodV(this, obj, methodID, args); in CALL_TYPE()
635 { functions->CallVoidMethodV(this, obj, methodID, args); } in CallVoidMethodV()
637 { functions->CallVoidMethodA(this, obj, methodID, args); } in CallVoidMethodA()
646 result = functions->CallNonvirtual##_jname##MethodV(this, obj, \
654 { return functions->CallNonvirtual##_jname##MethodV(this, obj, clazz, \
659 { return functions->CallNonvirtual##_jname##MethodA(this, obj, clazz, \
682 functions->CallNonvirtualVoidMethodV(this, obj, clazz, methodID, args); in CALL_NONVIRT_TYPE()
687 { functions->CallNonvirtualVoidMethodV(this, obj, clazz, methodID, args); } in CallNonvirtualVoidMethodV()
690 { functions->CallNonvirtualVoidMethodA(this, obj, clazz, methodID, args); } in CallNonvirtualVoidMethodA()
693 { return functions->GetFieldID(this, clazz, name, sig); } in GetFieldID()
696 { return functions->GetObjectField(this, obj, fieldID); } in GetObjectField()
698 { return functions->GetBooleanField(this, obj, fieldID); } in GetBooleanField()
700 { return functions->GetByteField(this, obj, fieldID); } in GetByteField()
702 { return functions->GetCharField(this, obj, fieldID); } in GetCharField()
704 { return functions->GetShortField(this, obj, fieldID); } in GetShortField()
706 { return functions->GetIntField(this, obj, fieldID); } in GetIntField()
708 { return functions->GetLongField(this, obj, fieldID); } in GetLongField()
710 { return functions->GetFloatField(this, obj, fieldID); } in GetFloatField()
712 { return functions->GetDoubleField(this, obj, fieldID); } in GetDoubleField()
715 { functions->SetObjectField(this, obj, fieldID, value); } in SetObjectField()
717 { functions->SetBooleanField(this, obj, fieldID, value); } in SetBooleanField()
719 { functions->SetByteField(this, obj, fieldID, value); } in SetByteField()
721 { functions->SetCharField(this, obj, fieldID, value); } in SetCharField()
723 { functions->SetShortField(this, obj, fieldID, value); } in SetShortField()
725 { functions->SetIntField(this, obj, fieldID, value); } in SetIntField()
727 { functions->SetLongField(this, obj, fieldID, value); } in SetLongField()
729 { functions->SetFloatField(this, obj, fieldID, value); } in SetFloatField()
731 { functions->SetDoubleField(this, obj, fieldID, value); } in SetDoubleField()
734 { return functions->GetStaticMethodID(this, clazz, name, sig); } in GetStaticMethodID()
743 result = functions->CallStatic##_jname##MethodV(this, clazz, \
751 { return functions->CallStatic##_jname##MethodV(this, clazz, methodID, \
756 { return functions->CallStatic##_jname##MethodA(this, clazz, methodID, \
778 functions->CallStaticVoidMethodV(this, clazz, methodID, args); in CALL_STATIC_TYPE()
782 { functions->CallStaticVoidMethodV(this, clazz, methodID, args); } in CallStaticVoidMethodV()
784 { functions->CallStaticVoidMethodA(this, clazz, methodID, args); } in CallStaticVoidMethodA()
787 { return functions->GetStaticFieldID(this, clazz, name, sig); } in GetStaticFieldID()
790 { return functions->GetStaticObjectField(this, clazz, fieldID); } in GetStaticObjectField()
792 { return functions->GetStaticBooleanField(this, clazz, fieldID); } in GetStaticBooleanField()
794 { return functions->GetStaticByteField(this, clazz, fieldID); } in GetStaticByteField()
796 { return functions->GetStaticCharField(this, clazz, fieldID); } in GetStaticCharField()
798 { return functions->GetStaticShortField(this, clazz, fieldID); } in GetStaticShortField()
800 { return functions->GetStaticIntField(this, clazz, fieldID); } in GetStaticIntField()
802 { return functions->GetStaticLongField(this, clazz, fieldID); } in GetStaticLongField()
804 { return functions->GetStaticFloatField(this, clazz, fieldID); } in GetStaticFloatField()
806 { return functions->GetStaticDoubleField(this, clazz, fieldID); } in GetStaticDoubleField()
809 { functions->SetStaticObjectField(this, clazz, fieldID, value); } in SetStaticObjectField()
811 { functions->SetStaticBooleanField(this, clazz, fieldID, value); } in SetStaticBooleanField()
813 { functions->SetStaticByteField(this, clazz, fieldID, value); } in SetStaticByteField()
815 { functions->SetStaticCharField(this, clazz, fieldID, value); } in SetStaticCharField()
817 { functions->SetStaticShortField(this, clazz, fieldID, value); } in SetStaticShortField()
819 { functions->SetStaticIntField(this, clazz, fieldID, value); } in SetStaticIntField()
821 { functions->SetStaticLongField(this, clazz, fieldID, value); } in SetStaticLongField()
823 { functions->SetStaticFloatField(this, clazz, fieldID, value); } in SetStaticFloatField()
825 { functions->SetStaticDoubleField(this, clazz, fieldID, value); } in SetStaticDoubleField()
828 { return functions->NewString(this, unicodeChars, len); } in NewString()
831 { return functions->GetStringLength(this, string); } in GetStringLength()
834 { return functions->GetStringChars(this, string, isCopy); } in GetStringChars()
837 { functions->ReleaseStringChars(this, string, chars); } in ReleaseStringChars()
840 { return functions->NewStringUTF(this, bytes); } in NewStringUTF()
843 { return functions->GetStringUTFLength(this, string); } in GetStringUTFLength()
846 { return functions->GetStringUTFChars(this, string, isCopy); } in GetStringUTFChars()
849 { functions->ReleaseStringUTFChars(this, string, utf); } in ReleaseStringUTFChars()
852 { return functions->GetArrayLength(this, array); } in GetArrayLength()
856 { return functions->NewObjectArray(this, length, elementClass, in NewObjectArray()
860 { return functions->GetObjectArrayElement(this, array, index); } in GetObjectArrayElement()
863 { functions->SetObjectArrayElement(this, array, index, value); } in SetObjectArrayElement()
866 { return functions->NewBooleanArray(this, length); } in NewBooleanArray()
868 { return functions->NewByteArray(this, length); } in NewByteArray()
870 { return functions->NewCharArray(this, length); } in NewCharArray()
872 { return functions->NewShortArray(this, length); } in NewShortArray()
874 { return functions->NewIntArray(this, length); } in NewIntArray()
876 { return functions->NewLongArray(this, length); } in NewLongArray()
878 { return functions->NewFloatArray(this, length); } in NewFloatArray()
880 { return functions->NewDoubleArray(this, length); } in NewDoubleArray()
883 { return functions->GetBooleanArrayElements(this, array, isCopy); } in GetBooleanArrayElements()
885 { return functions->GetByteArrayElements(this, array, isCopy); } in GetByteArrayElements()
887 { return functions->GetCharArrayElements(this, array, isCopy); } in GetCharArrayElements()
889 { return functions->GetShortArrayElements(this, array, isCopy); } in GetShortArrayElements()
891 { return functions->GetIntArrayElements(this, array, isCopy); } in GetIntArrayElements()
893 { return functions->GetLongArrayElements(this, array, isCopy); } in GetLongArrayElements()
895 { return functions->GetFloatArrayElements(this, array, isCopy); } in GetFloatArrayElements()
897 { return functions->GetDoubleArrayElements(this, array, isCopy); } in GetDoubleArrayElements()
901 { functions->ReleaseBooleanArrayElements(this, array, elems, mode); } in ReleaseBooleanArrayElements()
904 { functions->ReleaseByteArrayElements(this, array, elems, mode); } in ReleaseByteArrayElements()
907 { functions->ReleaseCharArrayElements(this, array, elems, mode); } in ReleaseCharArrayElements()
910 { functions->ReleaseShortArrayElements(this, array, elems, mode); } in ReleaseShortArrayElements()
913 { functions->ReleaseIntArrayElements(this, array, elems, mode); } in ReleaseIntArrayElements()
916 { functions->ReleaseLongArrayElements(this, array, elems, mode); } in ReleaseLongArrayElements()
919 { functions->ReleaseFloatArrayElements(this, array, elems, mode); } in ReleaseFloatArrayElements()
922 { functions->ReleaseDoubleArrayElements(this, array, elems, mode); } in ReleaseDoubleArrayElements()
926 { functions->GetBooleanArrayRegion(this, array, start, len, buf); } in GetBooleanArrayRegion()
929 { functions->GetByteArrayRegion(this, array, start, len, buf); } in GetByteArrayRegion()
932 { functions->GetCharArrayRegion(this, array, start, len, buf); } in GetCharArrayRegion()
935 { functions->GetShortArrayRegion(this, array, start, len, buf); } in GetShortArrayRegion()
938 { functions->GetIntArrayRegion(this, array, start, len, buf); } in GetIntArrayRegion()
941 { functions->GetLongArrayRegion(this, array, start, len, buf); } in GetLongArrayRegion()
944 { functions->GetFloatArrayRegion(this, array, start, len, buf); } in GetFloatArrayRegion()
947 { functions->GetDoubleArrayRegion(this, array, start, len, buf); } in GetDoubleArrayRegion()
951 { functions->SetBooleanArrayRegion(this, array, start, len, buf); } in SetBooleanArrayRegion()
954 { functions->SetByteArrayRegion(this, array, start, len, buf); } in SetByteArrayRegion()
957 { functions->SetCharArrayRegion(this, array, start, len, buf); } in SetCharArrayRegion()
960 { functions->SetShortArrayRegion(this, array, start, len, buf); } in SetShortArrayRegion()
963 { functions->SetIntArrayRegion(this, array, start, len, buf); } in SetIntArrayRegion()
966 { functions->SetLongArrayRegion(this, array, start, len, buf); } in SetLongArrayRegion()
969 { functions->SetFloatArrayRegion(this, array, start, len, buf); } in SetFloatArrayRegion()
972 { functions->SetDoubleArrayRegion(this, array, start, len, buf); } in SetDoubleArrayRegion()
976 { return functions->RegisterNatives(this, clazz, methods, nMethods); } in RegisterNatives()
979 { return functions->UnregisterNatives(this, clazz); } in UnregisterNatives()
982 { return functions->MonitorEnter(this, obj); } in MonitorEnter()
985 { return functions->MonitorExit(this, obj); } in MonitorExit()
988 { return functions->GetJavaVM(this, vm); } in GetJavaVM()
991 { functions->GetStringRegion(this, str, start, len, buf); } in GetStringRegion()
994 { return functions->GetStringUTFRegion(this, str, start, len, buf); } in GetStringUTFRegion()
997 { return functions->GetPrimitiveArrayCritical(this, array, isCopy); } in GetPrimitiveArrayCritical()
1000 { functions->ReleasePrimitiveArrayCritical(this, array, carray, mode); } in ReleasePrimitiveArrayCritical()
1003 { return functions->GetStringCritical(this, string, isCopy); } in GetStringCritical()
1006 { functions->ReleaseStringCritical(this, string, carray); } in ReleaseStringCritical()
1009 { return functions->NewWeakGlobalRef(this, obj); } in NewWeakGlobalRef()
1012 { functions->DeleteWeakGlobalRef(this, obj); } in DeleteWeakGlobalRef()
1015 { return functions->ExceptionCheck(this); } in ExceptionCheck()
1018 { return functions->NewDirectByteBuffer(this, address, capacity); } in NewDirectByteBuffer()
1021 { return functions->GetDirectBufferAddress(this, buf); } in GetDirectBufferAddress()
1024 { return functions->GetDirectBufferCapacity(this, buf); } in GetDirectBufferCapacity()
1028 { return functions->GetObjectRefType(this, obj); } in GetObjectRefType()
1052 const struct JNIInvokeInterface* functions; member
1056 { return functions->DestroyJavaVM(this); } in DestroyJavaVM()
1058 { return functions->AttachCurrentThread(this, p_env, thr_args); } in AttachCurrentThread()
1060 { return functions->DetachCurrentThread(this); } in DetachCurrentThread()
1062 { return functions->GetEnv(this, env, version); } in GetEnv()
1064 { return functions->AttachCurrentThreadAsDaemon(this, p_env, thr_args); } in AttachCurrentThreadAsDaemon()