• Home
  • Raw
  • Download

Lines Matching full:functions

157  * possible return values for JNI functions.
771 * We use inlined functions for C++ so that programmers can write:
783 const struct JNINativeInterface_ *functions; member
787 return functions->GetVersion(this); in GetVersion()
791 return functions->DefineClass(this, name, loader, buf, len); in DefineClass()
794 return functions->FindClass(this, name); in FindClass()
797 return functions->FromReflectedMethod(this,method); in FromReflectedMethod()
800 return functions->FromReflectedField(this,field); in FromReflectedField()
804 return functions->ToReflectedMethod(this, cls, methodID, isStatic); in ToReflectedMethod()
808 return functions->GetSuperclass(this, sub); in GetSuperclass()
811 return functions->IsAssignableFrom(this, sub, sup); in IsAssignableFrom()
815 return functions->ToReflectedField(this,cls,fieldID,isStatic); in ToReflectedField()
819 return functions->Throw(this, obj); in Throw()
822 return functions->ThrowNew(this, clazz, msg); in ThrowNew()
825 return functions->ExceptionOccurred(this); in ExceptionOccurred()
828 functions->ExceptionDescribe(this); in ExceptionDescribe()
831 functions->ExceptionClear(this); in ExceptionClear()
834 functions->FatalError(this, msg); in FatalError()
838 return functions->PushLocalFrame(this,capacity); in PushLocalFrame()
841 return functions->PopLocalFrame(this,result); in PopLocalFrame()
845 return functions->NewGlobalRef(this,lobj); in NewGlobalRef()
848 functions->DeleteGlobalRef(this,gref); in DeleteGlobalRef()
851 functions->DeleteLocalRef(this, obj); in DeleteLocalRef()
855 return functions->IsSameObject(this,obj1,obj2); in IsSameObject()
859 return functions->NewLocalRef(this,ref); in NewLocalRef()
862 return functions->EnsureLocalCapacity(this,capacity); in EnsureLocalCapacity()
866 return functions->AllocObject(this,clazz); in AllocObject()
872 result = functions->NewObjectV(this,clazz,methodID,args); in NewObject()
878 return functions->NewObjectV(this,clazz,methodID,args); in NewObjectV()
882 return functions->NewObjectA(this,clazz,methodID,args); in NewObjectA()
886 return functions->GetObjectClass(this,obj); in GetObjectClass()
889 return functions->IsInstanceOf(this,obj,clazz); in IsInstanceOf()
894 return functions->GetMethodID(this,clazz,name,sig); in GetMethodID()
901 result = functions->CallObjectMethodV(this,obj,methodID,args); in CallObjectMethod()
907 return functions->CallObjectMethodV(this,obj,methodID,args); in CallObjectMethodV()
911 return functions->CallObjectMethodA(this,obj,methodID,args); in CallObjectMethodA()
919 result = functions->CallBooleanMethodV(this,obj,methodID,args); in CallBooleanMethod()
925 return functions->CallBooleanMethodV(this,obj,methodID,args); in CallBooleanMethodV()
929 return functions->CallBooleanMethodA(this,obj,methodID, args); in CallBooleanMethodA()
936 result = functions->CallByteMethodV(this,obj,methodID,args); in CallByteMethod()
942 return functions->CallByteMethodV(this,obj,methodID,args); in CallByteMethodV()
946 return functions->CallByteMethodA(this,obj,methodID,args); in CallByteMethodA()
953 result = functions->CallCharMethodV(this,obj,methodID,args); in CallCharMethod()
959 return functions->CallCharMethodV(this,obj,methodID,args); in CallCharMethodV()
963 return functions->CallCharMethodA(this,obj,methodID,args); in CallCharMethodA()
970 result = functions->CallShortMethodV(this,obj,methodID,args); in CallShortMethod()
976 return functions->CallShortMethodV(this,obj,methodID,args); in CallShortMethodV()
980 return functions->CallShortMethodA(this,obj,methodID,args); in CallShortMethodA()
987 result = functions->CallIntMethodV(this,obj,methodID,args); in CallIntMethod()
993 return functions->CallIntMethodV(this,obj,methodID,args); in CallIntMethodV()
997 return functions->CallIntMethodA(this,obj,methodID,args); in CallIntMethodA()
1004 result = functions->CallLongMethodV(this,obj,methodID,args); in CallLongMethod()
1010 return functions->CallLongMethodV(this,obj,methodID,args); in CallLongMethodV()
1014 return functions->CallLongMethodA(this,obj,methodID,args); in CallLongMethodA()
1021 result = functions->CallFloatMethodV(this,obj,methodID,args); in CallFloatMethod()
1027 return functions->CallFloatMethodV(this,obj,methodID,args); in CallFloatMethodV()
1031 return functions->CallFloatMethodA(this,obj,methodID,args); in CallFloatMethodA()
1038 result = functions->CallDoubleMethodV(this,obj,methodID,args); in CallDoubleMethod()
1044 return functions->CallDoubleMethodV(this,obj,methodID,args); in CallDoubleMethodV()
1048 return functions->CallDoubleMethodA(this,obj,methodID,args); in CallDoubleMethodA()
1054 functions->CallVoidMethodV(this,obj,methodID,args); in CallVoidMethod()
1059 functions->CallVoidMethodV(this,obj,methodID,args); in CallVoidMethodV()
1063 functions->CallVoidMethodA(this,obj,methodID,args); in CallVoidMethodA()
1071 result = functions->CallNonvirtualObjectMethodV(this,obj,clazz, in CallNonvirtualObjectMethod()
1078 return functions->CallNonvirtualObjectMethodV(this,obj,clazz, in CallNonvirtualObjectMethodV()
1083 return functions->CallNonvirtualObjectMethodA(this,obj,clazz, in CallNonvirtualObjectMethodA()
1092 result = functions->CallNonvirtualBooleanMethodV(this,obj,clazz, in CallNonvirtualBooleanMethod()
1099 return functions->CallNonvirtualBooleanMethodV(this,obj,clazz, in CallNonvirtualBooleanMethodV()
1104 return functions->CallNonvirtualBooleanMethodA(this,obj,clazz, in CallNonvirtualBooleanMethodA()
1113 result = functions->CallNonvirtualByteMethodV(this,obj,clazz, in CallNonvirtualByteMethod()
1120 return functions->CallNonvirtualByteMethodV(this,obj,clazz, in CallNonvirtualByteMethodV()
1125 return functions->CallNonvirtualByteMethodA(this,obj,clazz, in CallNonvirtualByteMethodA()
1134 result = functions->CallNonvirtualCharMethodV(this,obj,clazz, in CallNonvirtualCharMethod()
1141 return functions->CallNonvirtualCharMethodV(this,obj,clazz, in CallNonvirtualCharMethodV()
1146 return functions->CallNonvirtualCharMethodA(this,obj,clazz, in CallNonvirtualCharMethodA()
1155 result = functions->CallNonvirtualShortMethodV(this,obj,clazz, in CallNonvirtualShortMethod()
1162 return functions->CallNonvirtualShortMethodV(this,obj,clazz, in CallNonvirtualShortMethodV()
1167 return functions->CallNonvirtualShortMethodA(this,obj,clazz, in CallNonvirtualShortMethodA()
1176 result = functions->CallNonvirtualIntMethodV(this,obj,clazz, in CallNonvirtualIntMethod()
1183 return functions->CallNonvirtualIntMethodV(this,obj,clazz, in CallNonvirtualIntMethodV()
1188 return functions->CallNonvirtualIntMethodA(this,obj,clazz, in CallNonvirtualIntMethodA()
1197 result = functions->CallNonvirtualLongMethodV(this,obj,clazz, in CallNonvirtualLongMethod()
1204 return functions->CallNonvirtualLongMethodV(this,obj,clazz, in CallNonvirtualLongMethodV()
1209 return functions->CallNonvirtualLongMethodA(this,obj,clazz, in CallNonvirtualLongMethodA()
1218 result = functions->CallNonvirtualFloatMethodV(this,obj,clazz, in CallNonvirtualFloatMethod()
1226 return functions->CallNonvirtualFloatMethodV(this,obj,clazz, in CallNonvirtualFloatMethodV()
1232 return functions->CallNonvirtualFloatMethodA(this,obj,clazz, in CallNonvirtualFloatMethodA()
1241 result = functions->CallNonvirtualDoubleMethodV(this,obj,clazz, in CallNonvirtualDoubleMethod()
1249 return functions->CallNonvirtualDoubleMethodV(this,obj,clazz, in CallNonvirtualDoubleMethodV()
1255 return functions->CallNonvirtualDoubleMethodA(this,obj,clazz, in CallNonvirtualDoubleMethodA()
1263 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethod()
1269 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethodV()
1274 functions->CallNonvirtualVoidMethodA(this,obj,clazz,methodID,args); in CallNonvirtualVoidMethodA()
1279 return functions->GetFieldID(this,clazz,name,sig); in GetFieldID()
1283 return functions->GetObjectField(this,obj,fieldID); in GetObjectField()
1286 return functions->GetBooleanField(this,obj,fieldID); in GetBooleanField()
1289 return functions->GetByteField(this,obj,fieldID); in GetByteField()
1292 return functions->GetCharField(this,obj,fieldID); in GetCharField()
1295 return functions->GetShortField(this,obj,fieldID); in GetShortField()
1298 return functions->GetIntField(this,obj,fieldID); in GetIntField()
1301 return functions->GetLongField(this,obj,fieldID); in GetLongField()
1304 return functions->GetFloatField(this,obj,fieldID); in GetFloatField()
1307 return functions->GetDoubleField(this,obj,fieldID); in GetDoubleField()
1311 functions->SetObjectField(this,obj,fieldID,val); in SetObjectField()
1315 functions->SetBooleanField(this,obj,fieldID,val); in SetBooleanField()
1319 functions->SetByteField(this,obj,fieldID,val); in SetByteField()
1323 functions->SetCharField(this,obj,fieldID,val); in SetCharField()
1327 functions->SetShortField(this,obj,fieldID,val); in SetShortField()
1331 functions->SetIntField(this,obj,fieldID,val); in SetIntField()
1335 functions->SetLongField(this,obj,fieldID,val); in SetLongField()
1339 functions->SetFloatField(this,obj,fieldID,val); in SetFloatField()
1343 functions->SetDoubleField(this,obj,fieldID,val); in SetDoubleField()
1348 return functions->GetStaticMethodID(this,clazz,name,sig); in GetStaticMethodID()
1356 result = functions->CallStaticObjectMethodV(this,clazz,methodID,args); in CallStaticObjectMethod()
1362 return functions->CallStaticObjectMethodV(this,clazz,methodID,args); in CallStaticObjectMethodV()
1366 return functions->CallStaticObjectMethodA(this,clazz,methodID,args); in CallStaticObjectMethodA()
1374 result = functions->CallStaticBooleanMethodV(this,clazz,methodID,args); in CallStaticBooleanMethod()
1380 return functions->CallStaticBooleanMethodV(this,clazz,methodID,args); in CallStaticBooleanMethodV()
1384 return functions->CallStaticBooleanMethodA(this,clazz,methodID,args); in CallStaticBooleanMethodA()
1392 result = functions->CallStaticByteMethodV(this,clazz,methodID,args); in CallStaticByteMethod()
1398 return functions->CallStaticByteMethodV(this,clazz,methodID,args); in CallStaticByteMethodV()
1402 return functions->CallStaticByteMethodA(this,clazz,methodID,args); in CallStaticByteMethodA()
1410 result = functions->CallStaticCharMethodV(this,clazz,methodID,args); in CallStaticCharMethod()
1416 return functions->CallStaticCharMethodV(this,clazz,methodID,args); in CallStaticCharMethodV()
1420 return functions->CallStaticCharMethodA(this,clazz,methodID,args); in CallStaticCharMethodA()
1428 result = functions->CallStaticShortMethodV(this,clazz,methodID,args); in CallStaticShortMethod()
1434 return functions->CallStaticShortMethodV(this,clazz,methodID,args); in CallStaticShortMethodV()
1438 return functions->CallStaticShortMethodA(this,clazz,methodID,args); in CallStaticShortMethodA()
1446 result = functions->CallStaticIntMethodV(this,clazz,methodID,args); in CallStaticIntMethod()
1452 return functions->CallStaticIntMethodV(this,clazz,methodID,args); in CallStaticIntMethodV()
1456 return functions->CallStaticIntMethodA(this,clazz,methodID,args); in CallStaticIntMethodA()
1464 result = functions->CallStaticLongMethodV(this,clazz,methodID,args); in CallStaticLongMethod()
1470 return functions->CallStaticLongMethodV(this,clazz,methodID,args); in CallStaticLongMethodV()
1474 return functions->CallStaticLongMethodA(this,clazz,methodID,args); in CallStaticLongMethodA()
1482 result = functions->CallStaticFloatMethodV(this,clazz,methodID,args); in CallStaticFloatMethod()
1488 return functions->CallStaticFloatMethodV(this,clazz,methodID,args); in CallStaticFloatMethodV()
1492 return functions->CallStaticFloatMethodA(this,clazz,methodID,args); in CallStaticFloatMethodA()
1500 result = functions->CallStaticDoubleMethodV(this,clazz,methodID,args); in CallStaticDoubleMethod()
1506 return functions->CallStaticDoubleMethodV(this,clazz,methodID,args); in CallStaticDoubleMethodV()
1510 return functions->CallStaticDoubleMethodA(this,clazz,methodID,args); in CallStaticDoubleMethodA()
1516 functions->CallStaticVoidMethodV(this,cls,methodID,args); in CallStaticVoidMethod()
1521 functions->CallStaticVoidMethodV(this,cls,methodID,args); in CallStaticVoidMethodV()
1525 functions->CallStaticVoidMethodA(this,cls,methodID,args); in CallStaticVoidMethodA()
1530 return functions->GetStaticFieldID(this,clazz,name,sig); in GetStaticFieldID()
1533 return functions->GetStaticObjectField(this,clazz,fieldID); in GetStaticObjectField()
1536 return functions->GetStaticBooleanField(this,clazz,fieldID); in GetStaticBooleanField()
1539 return functions->GetStaticByteField(this,clazz,fieldID); in GetStaticByteField()
1542 return functions->GetStaticCharField(this,clazz,fieldID); in GetStaticCharField()
1545 return functions->GetStaticShortField(this,clazz,fieldID); in GetStaticShortField()
1548 return functions->GetStaticIntField(this,clazz,fieldID); in GetStaticIntField()
1551 return functions->GetStaticLongField(this,clazz,fieldID); in GetStaticLongField()
1554 return functions->GetStaticFloatField(this,clazz,fieldID); in GetStaticFloatField()
1557 return functions->GetStaticDoubleField(this,clazz,fieldID); in GetStaticDoubleField()
1562 functions->SetStaticObjectField(this,clazz,fieldID,value); in SetStaticObjectField()
1566 functions->SetStaticBooleanField(this,clazz,fieldID,value); in SetStaticBooleanField()
1570 functions->SetStaticByteField(this,clazz,fieldID,value); in SetStaticByteField()
1574 functions->SetStaticCharField(this,clazz,fieldID,value); in SetStaticCharField()
1578 functions->SetStaticShortField(this,clazz,fieldID,value); in SetStaticShortField()
1582 functions->SetStaticIntField(this,clazz,fieldID,value); in SetStaticIntField()
1586 functions->SetStaticLongField(this,clazz,fieldID,value); in SetStaticLongField()
1590 functions->SetStaticFloatField(this,clazz,fieldID,value); in SetStaticFloatField()
1594 functions->SetStaticDoubleField(this,clazz,fieldID,value); in SetStaticDoubleField()
1598 return functions->NewString(this,unicode,len); in NewString()
1601 return functions->GetStringLength(this,str); in GetStringLength()
1604 return functions->GetStringChars(this,str,isCopy); in GetStringChars()
1607 functions->ReleaseStringChars(this,str,chars); in ReleaseStringChars()
1611 return functions->NewStringUTF(this,utf); in NewStringUTF()
1614 return functions->GetStringUTFLength(this,str); in GetStringUTFLength()
1617 return functions->GetStringUTFChars(this,str,isCopy); in GetStringUTFChars()
1620 functions->ReleaseStringUTFChars(this,str,chars); in ReleaseStringUTFChars()
1624 return functions->GetArrayLength(this,array); in GetArrayLength()
1629 return functions->NewObjectArray(this,len,clazz,init); in NewObjectArray()
1632 return functions->GetObjectArrayElement(this,array,index); in GetObjectArrayElement()
1636 functions->SetObjectArrayElement(this,array,index,val); in SetObjectArrayElement()
1640 return functions->NewBooleanArray(this,len); in NewBooleanArray()
1643 return functions->NewByteArray(this,len); in NewByteArray()
1646 return functions->NewCharArray(this,len); in NewCharArray()
1649 return functions->NewShortArray(this,len); in NewShortArray()
1652 return functions->NewIntArray(this,len); in NewIntArray()
1655 return functions->NewLongArray(this,len); in NewLongArray()
1658 return functions->NewFloatArray(this,len); in NewFloatArray()
1661 return functions->NewDoubleArray(this,len); in NewDoubleArray()
1665 return functions->GetBooleanArrayElements(this,array,isCopy); in GetBooleanArrayElements()
1668 return functions->GetByteArrayElements(this,array,isCopy); in GetByteArrayElements()
1671 return functions->GetCharArrayElements(this,array,isCopy); in GetCharArrayElements()
1674 return functions->GetShortArrayElements(this,array,isCopy); in GetShortArrayElements()
1677 return functions->GetIntArrayElements(this,array,isCopy); in GetIntArrayElements()
1680 return functions->GetLongArrayElements(this,array,isCopy); in GetLongArrayElements()
1683 return functions->GetFloatArrayElements(this,array,isCopy); in GetFloatArrayElements()
1686 return functions->GetDoubleArrayElements(this,array,isCopy); in GetDoubleArrayElements()
1692 functions->ReleaseBooleanArrayElements(this,array,elems,mode); in ReleaseBooleanArrayElements()
1697 functions->ReleaseByteArrayElements(this,array,elems,mode); in ReleaseByteArrayElements()
1702 functions->ReleaseCharArrayElements(this,array,elems,mode); in ReleaseCharArrayElements()
1707 functions->ReleaseShortArrayElements(this,array,elems,mode); in ReleaseShortArrayElements()
1712 functions->ReleaseIntArrayElements(this,array,elems,mode); in ReleaseIntArrayElements()
1717 functions->ReleaseLongArrayElements(this,array,elems,mode); in ReleaseLongArrayElements()
1722 functions->ReleaseFloatArrayElements(this,array,elems,mode); in ReleaseFloatArrayElements()
1727 functions->ReleaseDoubleArrayElements(this,array,elems,mode); in ReleaseDoubleArrayElements()
1732 functions->GetBooleanArrayRegion(this,array,start,len,buf); in GetBooleanArrayRegion()
1736 functions->GetByteArrayRegion(this,array,start,len,buf); in GetByteArrayRegion()
1740 functions->GetCharArrayRegion(this,array,start,len,buf); in GetCharArrayRegion()
1744 functions->GetShortArrayRegion(this,array,start,len,buf); in GetShortArrayRegion()
1748 functions->GetIntArrayRegion(this,array,start,len,buf); in GetIntArrayRegion()
1752 functions->GetLongArrayRegion(this,array,start,len,buf); in GetLongArrayRegion()
1756 functions->GetFloatArrayRegion(this,array,start,len,buf); in GetFloatArrayRegion()
1760 functions->GetDoubleArrayRegion(this,array,start,len,buf); in GetDoubleArrayRegion()
1765 functions->SetBooleanArrayRegion(this,array,start,len,buf); in SetBooleanArrayRegion()
1769 functions->SetByteArrayRegion(this,array,start,len,buf); in SetByteArrayRegion()
1773 functions->SetCharArrayRegion(this,array,start,len,buf); in SetCharArrayRegion()
1777 functions->SetShortArrayRegion(this,array,start,len,buf); in SetShortArrayRegion()
1781 functions->SetIntArrayRegion(this,array,start,len,buf); in SetIntArrayRegion()
1785 functions->SetLongArrayRegion(this,array,start,len,buf); in SetLongArrayRegion()
1789 functions->SetFloatArrayRegion(this,array,start,len,buf); in SetFloatArrayRegion()
1793 functions->SetDoubleArrayRegion(this,array,start,len,buf); in SetDoubleArrayRegion()
1798 return functions->RegisterNatives(this,clazz,methods,nMethods); in RegisterNatives()
1801 return functions->UnregisterNatives(this,clazz); in UnregisterNatives()
1805 return functions->MonitorEnter(this,obj); in MonitorEnter()
1808 return functions->MonitorExit(this,obj); in MonitorExit()
1812 return functions->GetJavaVM(this,vm); in GetJavaVM()
1816 functions->GetStringRegion(this,str,start,len,buf); in GetStringRegion()
1819 functions->GetStringUTFRegion(this,str,start,len,buf); in GetStringUTFRegion()
1823 return functions->GetPrimitiveArrayCritical(this,array,isCopy); in GetPrimitiveArrayCritical()
1826 functions->ReleasePrimitiveArrayCritical(this,array,carray,mode); in ReleasePrimitiveArrayCritical()
1830 return functions->GetStringCritical(this,string,isCopy); in GetStringCritical()
1833 functions->ReleaseStringCritical(this,string,cstring); in ReleaseStringCritical()
1837 return functions->NewWeakGlobalRef(this,obj); in NewWeakGlobalRef()
1840 functions->DeleteWeakGlobalRef(this,ref); in DeleteWeakGlobalRef()
1844 return functions->ExceptionCheck(this); in ExceptionCheck()
1848 return functions->NewDirectByteBuffer(this, address, capacity); in NewDirectByteBuffer()
1851 return functions->GetDirectBufferAddress(this, buf); in GetDirectBufferAddress()
1854 return functions->GetDirectBufferCapacity(this, buf); in GetDirectBufferCapacity()
1857 return functions->GetObjectRefType(this, obj); in GetObjectRefType()
1907 const struct JNIInvokeInterface_ *functions; member
1911 return functions->DestroyJavaVM(this); in DestroyJavaVM()
1914 return functions->AttachCurrentThread(this, penv, args); in AttachCurrentThread()
1917 return functions->DetachCurrentThread(this); in DetachCurrentThread()
1921 return functions->GetEnv(this, penv, version); in GetEnv()
1924 return functions->AttachCurrentThreadAsDaemon(this, penv, args); in AttachCurrentThreadAsDaemon()