Lines Matching full:functions
157 * possible return values for JNI functions.
781 * We use inlined functions for C++ so that programmers can write:
793 const struct JNINativeInterface_ *functions; member
797 return functions->GetVersion(this); in GetVersion()
801 return functions->DefineClass(this, name, loader, buf, len); in DefineClass()
804 return functions->FindClass(this, name); in FindClass()
807 return functions->FromReflectedMethod(this,method); in FromReflectedMethod()
810 return functions->FromReflectedField(this,field); in FromReflectedField()
814 return functions->ToReflectedMethod(this, cls, methodID, isStatic); in ToReflectedMethod()
818 return functions->GetSuperclass(this, sub); in GetSuperclass()
821 return functions->IsAssignableFrom(this, sub, sup); in IsAssignableFrom()
825 return functions->ToReflectedField(this,cls,fieldID,isStatic); in ToReflectedField()
829 return functions->Throw(this, obj); in Throw()
832 return functions->ThrowNew(this, clazz, msg); in ThrowNew()
835 return functions->ExceptionOccurred(this); in ExceptionOccurred()
838 functions->ExceptionDescribe(this); in ExceptionDescribe()
841 functions->ExceptionClear(this); in ExceptionClear()
844 functions->FatalError(this, msg); in FatalError()
848 return functions->PushLocalFrame(this,capacity); in PushLocalFrame()
851 return functions->PopLocalFrame(this,result); in PopLocalFrame()
855 return functions->NewGlobalRef(this,lobj); in NewGlobalRef()
858 functions->DeleteGlobalRef(this,gref); in DeleteGlobalRef()
861 functions->DeleteLocalRef(this, obj); in DeleteLocalRef()
865 return functions->IsSameObject(this,obj1,obj2); in IsSameObject()
869 return functions->NewLocalRef(this,ref); in NewLocalRef()
872 return functions->EnsureLocalCapacity(this,capacity); in EnsureLocalCapacity()
876 return functions->AllocObject(this,clazz); in AllocObject()
882 result = functions->NewObjectV(this,clazz,methodID,args); in NewObject()
888 return functions->NewObjectV(this,clazz,methodID,args); in NewObjectV()
892 return functions->NewObjectA(this,clazz,methodID,args); in NewObjectA()
896 return functions->GetObjectClass(this,obj); in GetObjectClass()
899 return functions->IsInstanceOf(this,obj,clazz); in IsInstanceOf()
904 return functions->GetMethodID(this,clazz,name,sig); in GetMethodID()
911 result = functions->CallObjectMethodV(this,obj,methodID,args); in CallObjectMethod()
917 return functions->CallObjectMethodV(this,obj,methodID,args); in CallObjectMethodV()
921 return functions->CallObjectMethodA(this,obj,methodID,args); in CallObjectMethodA()
929 result = functions->CallBooleanMethodV(this,obj,methodID,args); in CallBooleanMethod()
935 return functions->CallBooleanMethodV(this,obj,methodID,args); in CallBooleanMethodV()
939 return functions->CallBooleanMethodA(this,obj,methodID, args); in CallBooleanMethodA()
946 result = functions->CallByteMethodV(this,obj,methodID,args); in CallByteMethod()
952 return functions->CallByteMethodV(this,obj,methodID,args); in CallByteMethodV()
956 return functions->CallByteMethodA(this,obj,methodID,args); in CallByteMethodA()
963 result = functions->CallCharMethodV(this,obj,methodID,args); in CallCharMethod()
969 return functions->CallCharMethodV(this,obj,methodID,args); in CallCharMethodV()
973 return functions->CallCharMethodA(this,obj,methodID,args); in CallCharMethodA()
980 result = functions->CallShortMethodV(this,obj,methodID,args); in CallShortMethod()
986 return functions->CallShortMethodV(this,obj,methodID,args); in CallShortMethodV()
990 return functions->CallShortMethodA(this,obj,methodID,args); in CallShortMethodA()
997 result = functions->CallIntMethodV(this,obj,methodID,args); in CallIntMethod()
1003 return functions->CallIntMethodV(this,obj,methodID,args); in CallIntMethodV()
1007 return functions->CallIntMethodA(this,obj,methodID,args); in CallIntMethodA()
1014 result = functions->CallLongMethodV(this,obj,methodID,args); in CallLongMethod()
1020 return functions->CallLongMethodV(this,obj,methodID,args); in CallLongMethodV()
1024 return functions->CallLongMethodA(this,obj,methodID,args); in CallLongMethodA()
1031 result = functions->CallFloatMethodV(this,obj,methodID,args); in CallFloatMethod()
1037 return functions->CallFloatMethodV(this,obj,methodID,args); in CallFloatMethodV()
1041 return functions->CallFloatMethodA(this,obj,methodID,args); in CallFloatMethodA()
1048 result = functions->CallDoubleMethodV(this,obj,methodID,args); in CallDoubleMethod()
1054 return functions->CallDoubleMethodV(this,obj,methodID,args); in CallDoubleMethodV()
1058 return functions->CallDoubleMethodA(this,obj,methodID,args); in CallDoubleMethodA()
1064 functions->CallVoidMethodV(this,obj,methodID,args); in CallVoidMethod()
1069 functions->CallVoidMethodV(this,obj,methodID,args); in CallVoidMethodV()
1073 functions->CallVoidMethodA(this,obj,methodID,args); in CallVoidMethodA()
1081 result = functions->CallNonvirtualObjectMethodV(this,obj,clazz, in CallNonvirtualObjectMethod()
1088 return functions->CallNonvirtualObjectMethodV(this,obj,clazz, in CallNonvirtualObjectMethodV()
1093 return functions->CallNonvirtualObjectMethodA(this,obj,clazz, in CallNonvirtualObjectMethodA()
1102 result = functions->CallNonvirtualBooleanMethodV(this,obj,clazz, in CallNonvirtualBooleanMethod()
1109 return functions->CallNonvirtualBooleanMethodV(this,obj,clazz, in CallNonvirtualBooleanMethodV()
1114 return functions->CallNonvirtualBooleanMethodA(this,obj,clazz, in CallNonvirtualBooleanMethodA()
1123 result = functions->CallNonvirtualByteMethodV(this,obj,clazz, in CallNonvirtualByteMethod()
1130 return functions->CallNonvirtualByteMethodV(this,obj,clazz, in CallNonvirtualByteMethodV()
1135 return functions->CallNonvirtualByteMethodA(this,obj,clazz, in CallNonvirtualByteMethodA()
1144 result = functions->CallNonvirtualCharMethodV(this,obj,clazz, in CallNonvirtualCharMethod()
1151 return functions->CallNonvirtualCharMethodV(this,obj,clazz, in CallNonvirtualCharMethodV()
1156 return functions->CallNonvirtualCharMethodA(this,obj,clazz, in CallNonvirtualCharMethodA()
1165 result = functions->CallNonvirtualShortMethodV(this,obj,clazz, in CallNonvirtualShortMethod()
1172 return functions->CallNonvirtualShortMethodV(this,obj,clazz, in CallNonvirtualShortMethodV()
1177 return functions->CallNonvirtualShortMethodA(this,obj,clazz, in CallNonvirtualShortMethodA()
1186 result = functions->CallNonvirtualIntMethodV(this,obj,clazz, in CallNonvirtualIntMethod()
1193 return functions->CallNonvirtualIntMethodV(this,obj,clazz, in CallNonvirtualIntMethodV()
1198 return functions->CallNonvirtualIntMethodA(this,obj,clazz, in CallNonvirtualIntMethodA()
1207 result = functions->CallNonvirtualLongMethodV(this,obj,clazz, in CallNonvirtualLongMethod()
1214 return functions->CallNonvirtualLongMethodV(this,obj,clazz, in CallNonvirtualLongMethodV()
1219 return functions->CallNonvirtualLongMethodA(this,obj,clazz, in CallNonvirtualLongMethodA()
1228 result = functions->CallNonvirtualFloatMethodV(this,obj,clazz, in CallNonvirtualFloatMethod()
1236 return functions->CallNonvirtualFloatMethodV(this,obj,clazz, in CallNonvirtualFloatMethodV()
1242 return functions->CallNonvirtualFloatMethodA(this,obj,clazz, in CallNonvirtualFloatMethodA()
1251 result = functions->CallNonvirtualDoubleMethodV(this,obj,clazz, in CallNonvirtualDoubleMethod()
1259 return functions->CallNonvirtualDoubleMethodV(this,obj,clazz, in CallNonvirtualDoubleMethodV()
1265 return functions->CallNonvirtualDoubleMethodA(this,obj,clazz, in CallNonvirtualDoubleMethodA()
1273 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethod()
1279 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethodV()
1284 functions->CallNonvirtualVoidMethodA(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethodA()
1289 return functions->GetFieldID(this,clazz,name,sig); in GetFieldID()
1293 return functions->GetObjectField(this,obj,fieldID); in GetObjectField()
1296 return functions->GetBooleanField(this,obj,fieldID); in GetBooleanField()
1299 return functions->GetByteField(this,obj,fieldID); in GetByteField()
1302 return functions->GetCharField(this,obj,fieldID); in GetCharField()
1305 return functions->GetShortField(this,obj,fieldID); in GetShortField()
1308 return functions->GetIntField(this,obj,fieldID); in GetIntField()
1311 return functions->GetLongField(this,obj,fieldID); in GetLongField()
1314 return functions->GetFloatField(this,obj,fieldID); in GetFloatField()
1317 return functions->GetDoubleField(this,obj,fieldID); in GetDoubleField()
1321 functions->SetObjectField(this,obj,fieldID,val); in SetObjectField()
1325 functions->SetBooleanField(this,obj,fieldID,val); in SetBooleanField()
1329 functions->SetByteField(this,obj,fieldID,val); in SetByteField()
1333 functions->SetCharField(this,obj,fieldID,val); in SetCharField()
1337 functions->SetShortField(this,obj,fieldID,val); in SetShortField()
1341 functions->SetIntField(this,obj,fieldID,val); in SetIntField()
1345 functions->SetLongField(this,obj,fieldID,val); in SetLongField()
1349 functions->SetFloatField(this,obj,fieldID,val); in SetFloatField()
1353 functions->SetDoubleField(this,obj,fieldID,val); in SetDoubleField()
1358 return functions->GetStaticMethodID(this,clazz,name,sig); in GetStaticMethodID()
1366 result = functions->CallStaticObjectMethodV(this,clazz,methodID,args); in CallStaticObjectMethod()
1372 return functions->CallStaticObjectMethodV(this,clazz,methodID,args); in CallStaticObjectMethodV()
1376 return functions->CallStaticObjectMethodA(this,clazz,methodID,args); in CallStaticObjectMethodA()
1384 result = functions->CallStaticBooleanMethodV(this,clazz,methodID,args); in CallStaticBooleanMethod()
1390 return functions->CallStaticBooleanMethodV(this,clazz,methodID,args); in CallStaticBooleanMethodV()
1394 return functions->CallStaticBooleanMethodA(this,clazz,methodID,args); in CallStaticBooleanMethodA()
1402 result = functions->CallStaticByteMethodV(this,clazz,methodID,args); in CallStaticByteMethod()
1408 return functions->CallStaticByteMethodV(this,clazz,methodID,args); in CallStaticByteMethodV()
1412 return functions->CallStaticByteMethodA(this,clazz,methodID,args); in CallStaticByteMethodA()
1420 result = functions->CallStaticCharMethodV(this,clazz,methodID,args); in CallStaticCharMethod()
1426 return functions->CallStaticCharMethodV(this,clazz,methodID,args); in CallStaticCharMethodV()
1430 return functions->CallStaticCharMethodA(this,clazz,methodID,args); in CallStaticCharMethodA()
1438 result = functions->CallStaticShortMethodV(this,clazz,methodID,args); in CallStaticShortMethod()
1444 return functions->CallStaticShortMethodV(this,clazz,methodID,args); in CallStaticShortMethodV()
1448 return functions->CallStaticShortMethodA(this,clazz,methodID,args); in CallStaticShortMethodA()
1456 result = functions->CallStaticIntMethodV(this,clazz,methodID,args); in CallStaticIntMethod()
1462 return functions->CallStaticIntMethodV(this,clazz,methodID,args); in CallStaticIntMethodV()
1466 return functions->CallStaticIntMethodA(this,clazz,methodID,args); in CallStaticIntMethodA()
1474 result = functions->CallStaticLongMethodV(this,clazz,methodID,args); in CallStaticLongMethod()
1480 return functions->CallStaticLongMethodV(this,clazz,methodID,args); in CallStaticLongMethodV()
1484 return functions->CallStaticLongMethodA(this,clazz,methodID,args); in CallStaticLongMethodA()
1492 result = functions->CallStaticFloatMethodV(this,clazz,methodID,args); in CallStaticFloatMethod()
1498 return functions->CallStaticFloatMethodV(this,clazz,methodID,args); in CallStaticFloatMethodV()
1502 return functions->CallStaticFloatMethodA(this,clazz,methodID,args); in CallStaticFloatMethodA()
1510 result = functions->CallStaticDoubleMethodV(this,clazz,methodID,args); in CallStaticDoubleMethod()
1516 return functions->CallStaticDoubleMethodV(this,clazz,methodID,args); in CallStaticDoubleMethodV()
1520 return functions->CallStaticDoubleMethodA(this,clazz,methodID,args); in CallStaticDoubleMethodA()
1526 functions->CallStaticVoidMethodV(this,cls,methodID,args); in CallStaticVoidMethod()
1531 functions->CallStaticVoidMethodV(this,cls,methodID,args); in CallStaticVoidMethodV()
1535 functions->CallStaticVoidMethodA(this,cls,methodID,args); in CallStaticVoidMethodA()
1540 return functions->GetStaticFieldID(this,clazz,name,sig); in GetStaticFieldID()
1543 return functions->GetStaticObjectField(this,clazz,fieldID); in GetStaticObjectField()
1546 return functions->GetStaticBooleanField(this,clazz,fieldID); in GetStaticBooleanField()
1549 return functions->GetStaticByteField(this,clazz,fieldID); in GetStaticByteField()
1552 return functions->GetStaticCharField(this,clazz,fieldID); in GetStaticCharField()
1555 return functions->GetStaticShortField(this,clazz,fieldID); in GetStaticShortField()
1558 return functions->GetStaticIntField(this,clazz,fieldID); in GetStaticIntField()
1561 return functions->GetStaticLongField(this,clazz,fieldID); in GetStaticLongField()
1564 return functions->GetStaticFloatField(this,clazz,fieldID); in GetStaticFloatField()
1567 return functions->GetStaticDoubleField(this,clazz,fieldID); in GetStaticDoubleField()
1572 functions->SetStaticObjectField(this,clazz,fieldID,value); in SetStaticObjectField()
1576 functions->SetStaticBooleanField(this,clazz,fieldID,value); in SetStaticBooleanField()
1580 functions->SetStaticByteField(this,clazz,fieldID,value); in SetStaticByteField()
1584 functions->SetStaticCharField(this,clazz,fieldID,value); in SetStaticCharField()
1588 functions->SetStaticShortField(this,clazz,fieldID,value); in SetStaticShortField()
1592 functions->SetStaticIntField(this,clazz,fieldID,value); in SetStaticIntField()
1596 functions->SetStaticLongField(this,clazz,fieldID,value); in SetStaticLongField()
1600 functions->SetStaticFloatField(this,clazz,fieldID,value); in SetStaticFloatField()
1604 functions->SetStaticDoubleField(this,clazz,fieldID,value); in SetStaticDoubleField()
1608 return functions->NewString(this,unicode,len); in NewString()
1611 return functions->GetStringLength(this,str); in GetStringLength()
1614 return functions->GetStringChars(this,str,isCopy); in GetStringChars()
1617 functions->ReleaseStringChars(this,str,chars); in ReleaseStringChars()
1621 return functions->NewStringUTF(this,utf); in NewStringUTF()
1624 return functions->GetStringUTFLength(this,str); in GetStringUTFLength()
1627 return functions->GetStringUTFChars(this,str,isCopy); in GetStringUTFChars()
1630 functions->ReleaseStringUTFChars(this,str,chars); in ReleaseStringUTFChars()
1634 return functions->GetArrayLength(this,array); in GetArrayLength()
1639 return functions->NewObjectArray(this,len,clazz,init); in NewObjectArray()
1642 return functions->GetObjectArrayElement(this,array,index); in GetObjectArrayElement()
1646 functions->SetObjectArrayElement(this,array,index,val); in SetObjectArrayElement()
1650 return functions->NewBooleanArray(this,len); in NewBooleanArray()
1653 return functions->NewByteArray(this,len); in NewByteArray()
1656 return functions->NewCharArray(this,len); in NewCharArray()
1659 return functions->NewShortArray(this,len); in NewShortArray()
1662 return functions->NewIntArray(this,len); in NewIntArray()
1665 return functions->NewLongArray(this,len); in NewLongArray()
1668 return functions->NewFloatArray(this,len); in NewFloatArray()
1671 return functions->NewDoubleArray(this,len); in NewDoubleArray()
1675 return functions->GetBooleanArrayElements(this,array,isCopy); in GetBooleanArrayElements()
1678 return functions->GetByteArrayElements(this,array,isCopy); in GetByteArrayElements()
1681 return functions->GetCharArrayElements(this,array,isCopy); in GetCharArrayElements()
1684 return functions->GetShortArrayElements(this,array,isCopy); in GetShortArrayElements()
1687 return functions->GetIntArrayElements(this,array,isCopy); in GetIntArrayElements()
1690 return functions->GetLongArrayElements(this,array,isCopy); in GetLongArrayElements()
1693 return functions->GetFloatArrayElements(this,array,isCopy); in GetFloatArrayElements()
1696 return functions->GetDoubleArrayElements(this,array,isCopy); in GetDoubleArrayElements()
1702 functions->ReleaseBooleanArrayElements(this,array,elems,mode); in ReleaseBooleanArrayElements()
1707 functions->ReleaseByteArrayElements(this,array,elems,mode); in ReleaseByteArrayElements()
1712 functions->ReleaseCharArrayElements(this,array,elems,mode); in ReleaseCharArrayElements()
1717 functions->ReleaseShortArrayElements(this,array,elems,mode); in ReleaseShortArrayElements()
1722 functions->ReleaseIntArrayElements(this,array,elems,mode); in ReleaseIntArrayElements()
1727 functions->ReleaseLongArrayElements(this,array,elems,mode); in ReleaseLongArrayElements()
1732 functions->ReleaseFloatArrayElements(this,array,elems,mode); in ReleaseFloatArrayElements()
1737 functions->ReleaseDoubleArrayElements(this,array,elems,mode); in ReleaseDoubleArrayElements()
1742 functions->GetBooleanArrayRegion(this,array,start,len,buf); in GetBooleanArrayRegion()
1746 functions->GetByteArrayRegion(this,array,start,len,buf); in GetByteArrayRegion()
1750 functions->GetCharArrayRegion(this,array,start,len,buf); in GetCharArrayRegion()
1754 functions->GetShortArrayRegion(this,array,start,len,buf); in GetShortArrayRegion()
1758 functions->GetIntArrayRegion(this,array,start,len,buf); in GetIntArrayRegion()
1762 functions->GetLongArrayRegion(this,array,start,len,buf); in GetLongArrayRegion()
1766 functions->GetFloatArrayRegion(this,array,start,len,buf); in GetFloatArrayRegion()
1770 functions->GetDoubleArrayRegion(this,array,start,len,buf); in GetDoubleArrayRegion()
1775 functions->SetBooleanArrayRegion(this,array,start,len,buf); in SetBooleanArrayRegion()
1779 functions->SetByteArrayRegion(this,array,start,len,buf); in SetByteArrayRegion()
1783 functions->SetCharArrayRegion(this,array,start,len,buf); in SetCharArrayRegion()
1787 functions->SetShortArrayRegion(this,array,start,len,buf); in SetShortArrayRegion()
1791 functions->SetIntArrayRegion(this,array,start,len,buf); in SetIntArrayRegion()
1795 functions->SetLongArrayRegion(this,array,start,len,buf); in SetLongArrayRegion()
1799 functions->SetFloatArrayRegion(this,array,start,len,buf); in SetFloatArrayRegion()
1803 functions->SetDoubleArrayRegion(this,array,start,len,buf); in SetDoubleArrayRegion()
1808 return functions->RegisterNatives(this,clazz,methods,nMethods); in RegisterNatives()
1811 return functions->UnregisterNatives(this,clazz); in UnregisterNatives()
1815 return functions->MonitorEnter(this,obj); in MonitorEnter()
1818 return functions->MonitorExit(this,obj); in MonitorExit()
1822 return functions->GetJavaVM(this,vm); in GetJavaVM()
1826 functions->GetStringRegion(this,str,start,len,buf); in GetStringRegion()
1829 functions->GetStringUTFRegion(this,str,start,len,buf); in GetStringUTFRegion()
1833 return functions->GetPrimitiveArrayCritical(this,array,isCopy); in GetPrimitiveArrayCritical()
1836 functions->ReleasePrimitiveArrayCritical(this,array,carray,mode); in ReleasePrimitiveArrayCritical()
1840 return functions->GetStringCritical(this,string,isCopy); in GetStringCritical()
1843 functions->ReleaseStringCritical(this,string,cstring); in ReleaseStringCritical()
1847 return functions->NewWeakGlobalRef(this,obj); in NewWeakGlobalRef()
1850 functions->DeleteWeakGlobalRef(this,ref); in DeleteWeakGlobalRef()
1854 return functions->ExceptionCheck(this); in ExceptionCheck()
1858 return functions->NewDirectByteBuffer(this, address, capacity); in NewDirectByteBuffer()
1861 return functions->GetDirectBufferAddress(this, buf); in GetDirectBufferAddress()
1864 return functions->GetDirectBufferCapacity(this, buf); in GetDirectBufferCapacity()
1867 return functions->GetObjectRefType(this, obj); in GetObjectRefType()
1873 return functions->GetModule(this, clazz); in GetModule()
1879 return functions->IsVirtualThread(this, obj); in IsVirtualThread()
1943 const struct JNIInvokeInterface_ *functions; member
1947 return functions->DestroyJavaVM(this); in DestroyJavaVM()
1950 return functions->AttachCurrentThread(this, penv, args); in AttachCurrentThread()
1953 return functions->DetachCurrentThread(this); in DetachCurrentThread()
1957 return functions->GetEnv(this, penv, version); in GetEnv()
1960 return functions->AttachCurrentThreadAsDaemon(this, penv, args); in AttachCurrentThreadAsDaemon()