Lines Matching refs:functions

157  * possible return values for JNI functions.
776 * We use inlined functions for C++ so that programmers can write:
788 const struct JNINativeInterface_ *functions;
792 return functions->GetVersion(this);
796 return functions->DefineClass(this, name, loader, buf, len);
799 return functions->FindClass(this, name);
802 return functions->FromReflectedMethod(this,method);
805 return functions->FromReflectedField(this,field);
809 return functions->ToReflectedMethod(this, cls, methodID, isStatic);
813 return functions->GetSuperclass(this, sub);
816 return functions->IsAssignableFrom(this, sub, sup);
820 return functions->ToReflectedField(this,cls,fieldID,isStatic);
824 return functions->Throw(this, obj);
827 return functions->ThrowNew(this, clazz, msg);
830 return functions->ExceptionOccurred(this);
833 functions->ExceptionDescribe(this);
836 functions->ExceptionClear(this);
839 functions->FatalError(this, msg);
843 return functions->PushLocalFrame(this,capacity);
846 return functions->PopLocalFrame(this,result);
850 return functions->NewGlobalRef(this,lobj);
853 functions->DeleteGlobalRef(this,gref);
856 functions->DeleteLocalRef(this, obj);
860 return functions->IsSameObject(this,obj1,obj2);
864 return functions->NewLocalRef(this,ref);
867 return functions->EnsureLocalCapacity(this,capacity);
871 return functions->AllocObject(this,clazz);
877 result = functions->NewObjectV(this,clazz,methodID,args);
883 return functions->NewObjectV(this,clazz,methodID,args);
887 return functions->NewObjectA(this,clazz,methodID,args);
891 return functions->GetObjectClass(this,obj);
894 return functions->IsInstanceOf(this,obj,clazz);
899 return functions->GetMethodID(this,clazz,name,sig);
906 result = functions->CallObjectMethodV(this,obj,methodID,args);
912 return functions->CallObjectMethodV(this,obj,methodID,args);
916 return functions->CallObjectMethodA(this,obj,methodID,args);
924 result = functions->CallBooleanMethodV(this,obj,methodID,args);
930 return functions->CallBooleanMethodV(this,obj,methodID,args);
934 return functions->CallBooleanMethodA(this,obj,methodID, args);
941 result = functions->CallByteMethodV(this,obj,methodID,args);
947 return functions->CallByteMethodV(this,obj,methodID,args);
951 return functions->CallByteMethodA(this,obj,methodID,args);
958 result = functions->CallCharMethodV(this,obj,methodID,args);
964 return functions->CallCharMethodV(this,obj,methodID,args);
968 return functions->CallCharMethodA(this,obj,methodID,args);
975 result = functions->CallShortMethodV(this,obj,methodID,args);
981 return functions->CallShortMethodV(this,obj,methodID,args);
985 return functions->CallShortMethodA(this,obj,methodID,args);
992 result = functions->CallIntMethodV(this,obj,methodID,args);
998 return functions->CallIntMethodV(this,obj,methodID,args);
1002 return functions->CallIntMethodA(this,obj,methodID,args);
1009 result = functions->CallLongMethodV(this,obj,methodID,args);
1015 return functions->CallLongMethodV(this,obj,methodID,args);
1019 return functions->CallLongMethodA(this,obj,methodID,args);
1026 result = functions->CallFloatMethodV(this,obj,methodID,args);
1032 return functions->CallFloatMethodV(this,obj,methodID,args);
1036 return functions->CallFloatMethodA(this,obj,methodID,args);
1043 result = functions->CallDoubleMethodV(this,obj,methodID,args);
1049 return functions->CallDoubleMethodV(this,obj,methodID,args);
1053 return functions->CallDoubleMethodA(this,obj,methodID,args);
1059 functions->CallVoidMethodV(this,obj,methodID,args);
1064 functions->CallVoidMethodV(this,obj,methodID,args);
1068 functions->CallVoidMethodA(this,obj,methodID,args);
1076 result = functions->CallNonvirtualObjectMethodV(this,obj,clazz,
1083 return functions->CallNonvirtualObjectMethodV(this,obj,clazz,
1088 return functions->CallNonvirtualObjectMethodA(this,obj,clazz,
1097 result = functions->CallNonvirtualBooleanMethodV(this,obj,clazz,
1104 return functions->CallNonvirtualBooleanMethodV(this,obj,clazz,
1109 return functions->CallNonvirtualBooleanMethodA(this,obj,clazz,
1118 result = functions->CallNonvirtualByteMethodV(this,obj,clazz,
1125 return functions->CallNonvirtualByteMethodV(this,obj,clazz,
1130 return functions->CallNonvirtualByteMethodA(this,obj,clazz,
1139 result = functions->CallNonvirtualCharMethodV(this,obj,clazz,
1146 return functions->CallNonvirtualCharMethodV(this,obj,clazz,
1151 return functions->CallNonvirtualCharMethodA(this,obj,clazz,
1160 result = functions->CallNonvirtualShortMethodV(this,obj,clazz,
1167 return functions->CallNonvirtualShortMethodV(this,obj,clazz,
1172 return functions->CallNonvirtualShortMethodA(this,obj,clazz,
1181 result = functions->CallNonvirtualIntMethodV(this,obj,clazz,
1188 return functions->CallNonvirtualIntMethodV(this,obj,clazz,
1193 return functions->CallNonvirtualIntMethodA(this,obj,clazz,
1202 result = functions->CallNonvirtualLongMethodV(this,obj,clazz,
1209 return functions->CallNonvirtualLongMethodV(this,obj,clazz,
1214 return functions->CallNonvirtualLongMethodA(this,obj,clazz,
1223 result = functions->CallNonvirtualFloatMethodV(this,obj,clazz,
1231 return functions->CallNonvirtualFloatMethodV(this,obj,clazz,
1237 return functions->CallNonvirtualFloatMethodA(this,obj,clazz,
1246 result = functions->CallNonvirtualDoubleMethodV(this,obj,clazz,
1254 return functions->CallNonvirtualDoubleMethodV(this,obj,clazz,
1260 return functions->CallNonvirtualDoubleMethodA(this,obj,clazz,
1268 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args);
1274 functions->CallNonvirtualVoidMethodV(this,obj,clazz,methodID,args);
1279 functions->CallNonvirtualVoidMethodA(this,obj,clazz,methodID,args);
1284 return functions->GetFieldID(this,clazz,name,sig);
1288 return functions->GetObjectField(this,obj,fieldID);
1291 return functions->GetBooleanField(this,obj,fieldID);
1294 return functions->GetByteField(this,obj,fieldID);
1297 return functions->GetCharField(this,obj,fieldID);
1300 return functions->GetShortField(this,obj,fieldID);
1303 return functions->GetIntField(this,obj,fieldID);
1306 return functions->GetLongField(this,obj,fieldID);
1309 return functions->GetFloatField(this,obj,fieldID);
1312 return functions->GetDoubleField(this,obj,fieldID);
1316 functions->SetObjectField(this,obj,fieldID,val);
1320 functions->SetBooleanField(this,obj,fieldID,val);
1324 functions->SetByteField(this,obj,fieldID,val);
1328 functions->SetCharField(this,obj,fieldID,val);
1332 functions->SetShortField(this,obj,fieldID,val);
1336 functions->SetIntField(this,obj,fieldID,val);
1340 functions->SetLongField(this,obj,fieldID,val);
1344 functions->SetFloatField(this,obj,fieldID,val);
1348 functions->SetDoubleField(this,obj,fieldID,val);
1353 return functions->GetStaticMethodID(this,clazz,name,sig);
1361 result = functions->CallStaticObjectMethodV(this,clazz,methodID,args);
1367 return functions->CallStaticObjectMethodV(this,clazz,methodID,args);
1371 return functions->CallStaticObjectMethodA(this,clazz,methodID,args);
1379 result = functions->CallStaticBooleanMethodV(this,clazz,methodID,args);
1385 return functions->CallStaticBooleanMethodV(this,clazz,methodID,args);
1389 return functions->CallStaticBooleanMethodA(this,clazz,methodID,args);
1397 result = functions->CallStaticByteMethodV(this,clazz,methodID,args);
1403 return functions->CallStaticByteMethodV(this,clazz,methodID,args);
1407 return functions->CallStaticByteMethodA(this,clazz,methodID,args);
1415 result = functions->CallStaticCharMethodV(this,clazz,methodID,args);
1421 return functions->CallStaticCharMethodV(this,clazz,methodID,args);
1425 return functions->CallStaticCharMethodA(this,clazz,methodID,args);
1433 result = functions->CallStaticShortMethodV(this,clazz,methodID,args);
1439 return functions->CallStaticShortMethodV(this,clazz,methodID,args);
1443 return functions->CallStaticShortMethodA(this,clazz,methodID,args);
1451 result = functions->CallStaticIntMethodV(this,clazz,methodID,args);
1457 return functions->CallStaticIntMethodV(this,clazz,methodID,args);
1461 return functions->CallStaticIntMethodA(this,clazz,methodID,args);
1469 result = functions->CallStaticLongMethodV(this,clazz,methodID,args);
1475 return functions->CallStaticLongMethodV(this,clazz,methodID,args);
1479 return functions->CallStaticLongMethodA(this,clazz,methodID,args);
1487 result = functions->CallStaticFloatMethodV(this,clazz,methodID,args);
1493 return functions->CallStaticFloatMethodV(this,clazz,methodID,args);
1497 return functions->CallStaticFloatMethodA(this,clazz,methodID,args);
1505 result = functions->CallStaticDoubleMethodV(this,clazz,methodID,args);
1511 return functions->CallStaticDoubleMethodV(this,clazz,methodID,args);
1515 return functions->CallStaticDoubleMethodA(this,clazz,methodID,args);
1521 functions->CallStaticVoidMethodV(this,cls,methodID,args);
1526 functions->CallStaticVoidMethodV(this,cls,methodID,args);
1530 functions->CallStaticVoidMethodA(this,cls,methodID,args);
1535 return functions->GetStaticFieldID(this,clazz,name,sig);
1538 return functions->GetStaticObjectField(this,clazz,fieldID);
1541 return functions->GetStaticBooleanField(this,clazz,fieldID);
1544 return functions->GetStaticByteField(this,clazz,fieldID);
1547 return functions->GetStaticCharField(this,clazz,fieldID);
1550 return functions->GetStaticShortField(this,clazz,fieldID);
1553 return functions->GetStaticIntField(this,clazz,fieldID);
1556 return functions->GetStaticLongField(this,clazz,fieldID);
1559 return functions->GetStaticFloatField(this,clazz,fieldID);
1562 return functions->GetStaticDoubleField(this,clazz,fieldID);
1567 functions->SetStaticObjectField(this,clazz,fieldID,value);
1571 functions->SetStaticBooleanField(this,clazz,fieldID,value);
1575 functions->SetStaticByteField(this,clazz,fieldID,value);
1579 functions->SetStaticCharField(this,clazz,fieldID,value);
1583 functions->SetStaticShortField(this,clazz,fieldID,value);
1587 functions->SetStaticIntField(this,clazz,fieldID,value);
1591 functions->SetStaticLongField(this,clazz,fieldID,value);
1595 functions->SetStaticFloatField(this,clazz,fieldID,value);
1599 functions->SetStaticDoubleField(this,clazz,fieldID,value);
1603 return functions->NewString(this,unicode,len);
1606 return functions->GetStringLength(this,str);
1609 return functions->GetStringChars(this,str,isCopy);
1612 functions->ReleaseStringChars(this,str,chars);
1616 return functions->NewStringUTF(this,utf);
1619 return functions->GetStringUTFLength(this,str);
1622 return functions->GetStringUTFChars(this,str,isCopy);
1625 functions->ReleaseStringUTFChars(this,str,chars);
1629 return functions->GetArrayLength(this,array);
1634 return functions->NewObjectArray(this,len,clazz,init);
1637 return functions->GetObjectArrayElement(this,array,index);
1641 functions->SetObjectArrayElement(this,array,index,val);
1645 return functions->NewBooleanArray(this,len);
1648 return functions->NewByteArray(this,len);
1651 return functions->NewCharArray(this,len);
1654 return functions->NewShortArray(this,len);
1657 return functions->NewIntArray(this,len);
1660 return functions->NewLongArray(this,len);
1663 return functions->NewFloatArray(this,len);
1666 return functions->NewDoubleArray(this,len);
1670 return functions->GetBooleanArrayElements(this,array,isCopy);
1673 return functions->GetByteArrayElements(this,array,isCopy);
1676 return functions->GetCharArrayElements(this,array,isCopy);
1679 return functions->GetShortArrayElements(this,array,isCopy);
1682 return functions->GetIntArrayElements(this,array,isCopy);
1685 return functions->GetLongArrayElements(this,array,isCopy);
1688 return functions->GetFloatArrayElements(this,array,isCopy);
1691 return functions->GetDoubleArrayElements(this,array,isCopy);
1697 functions->ReleaseBooleanArrayElements(this,array,elems,mode);
1702 functions->ReleaseByteArrayElements(this,array,elems,mode);
1707 functions->ReleaseCharArrayElements(this,array,elems,mode);
1712 functions->ReleaseShortArrayElements(this,array,elems,mode);
1717 functions->ReleaseIntArrayElements(this,array,elems,mode);
1722 functions->ReleaseLongArrayElements(this,array,elems,mode);
1727 functions->ReleaseFloatArrayElements(this,array,elems,mode);
1732 functions->ReleaseDoubleArrayElements(this,array,elems,mode);
1737 functions->GetBooleanArrayRegion(this,array,start,len,buf);
1741 functions->GetByteArrayRegion(this,array,start,len,buf);
1745 functions->GetCharArrayRegion(this,array,start,len,buf);
1749 functions->GetShortArrayRegion(this,array,start,len,buf);
1753 functions->GetIntArrayRegion(this,array,start,len,buf);
1757 functions->GetLongArrayRegion(this,array,start,len,buf);
1761 functions->GetFloatArrayRegion(this,array,start,len,buf);
1765 functions->GetDoubleArrayRegion(this,array,start,len,buf);
1770 functions->SetBooleanArrayRegion(this,array,start,len,buf);
1774 functions->SetByteArrayRegion(this,array,start,len,buf);
1778 functions->SetCharArrayRegion(this,array,start,len,buf);
1782 functions->SetShortArrayRegion(this,array,start,len,buf);
1786 functions->SetIntArrayRegion(this,array,start,len,buf);
1790 functions->SetLongArrayRegion(this,array,start,len,buf);
1794 functions->SetFloatArrayRegion(this,array,start,len,buf);
1798 functions->SetDoubleArrayRegion(this,array,start,len,buf);
1803 return functions->RegisterNatives(this,clazz,methods,nMethods);
1806 return functions->UnregisterNatives(this,clazz);
1810 return functions->MonitorEnter(this,obj);
1813 return functions->MonitorExit(this,obj);
1817 return functions->GetJavaVM(this,vm);
1821 functions->GetStringRegion(this,str,start,len,buf);
1824 functions->GetStringUTFRegion(this,str,start,len,buf);
1828 return functions->GetPrimitiveArrayCritical(this,array,isCopy);
1831 functions->ReleasePrimitiveArrayCritical(this,array,carray,mode);
1835 return functions->GetStringCritical(this,string,isCopy);
1838 functions->ReleaseStringCritical(this,string,cstring);
1842 return functions->NewWeakGlobalRef(this,obj);
1845 functions->DeleteWeakGlobalRef(this,ref);
1849 return functions->ExceptionCheck(this);
1853 return functions->NewDirectByteBuffer(this, address, capacity);
1856 return functions->GetDirectBufferAddress(this, buf);
1859 return functions->GetDirectBufferCapacity(this, buf);
1862 return functions->GetObjectRefType(this, obj);
1868 return functions->GetModule(this, clazz);
1918 const struct JNIInvokeInterface_ *functions;
1922 return functions->DestroyJavaVM(this);
1925 return functions->AttachCurrentThread(this, penv, args);
1928 return functions->DetachCurrentThread(this);
1932 return functions->GetEnv(this, penv, version);
1935 return functions->AttachCurrentThreadAsDaemon(this, penv, args);