Lines Matching defs:_JNIEnv
505 struct _JNIEnv { struct
507 const struct JNINativeInterface* functions;
511 jint GetVersion() in GetVersion()
514 jclass DefineClass(const char *name, jobject loader, const jbyte* buf, in DefineClass()
518 jclass FindClass(const char* name) in FindClass()
521 jmethodID FromReflectedMethod(jobject method) in FromReflectedMethod()
524 jfieldID FromReflectedField(jobject field) in FromReflectedField()
527 jobject ToReflectedMethod(jclass cls, jmethodID methodID, jboolean isStatic) in ToReflectedMethod()
530 jclass GetSuperclass(jclass clazz) in GetSuperclass()
533 jboolean IsAssignableFrom(jclass clazz1, jclass clazz2) in IsAssignableFrom()
536 jobject ToReflectedField(jclass cls, jfieldID fieldID, jboolean isStatic) in ToReflectedField()
539 jint Throw(jthrowable obj) in Throw()
542 jint ThrowNew(jclass clazz, const char* message) in ThrowNew()
545 jthrowable ExceptionOccurred() in ExceptionOccurred()
548 void ExceptionDescribe() in ExceptionDescribe()
551 void ExceptionClear() in ExceptionClear()
554 void FatalError(const char* msg) in FatalError()
557 jint PushLocalFrame(jint capacity) in PushLocalFrame()
560 jobject PopLocalFrame(jobject result) in PopLocalFrame()
563 jobject NewGlobalRef(jobject obj) in NewGlobalRef()
566 void DeleteGlobalRef(jobject globalRef) in DeleteGlobalRef()
569 void DeleteLocalRef(jobject localRef) in DeleteLocalRef()
572 jboolean IsSameObject(jobject ref1, jobject ref2) in IsSameObject()
575 jobject NewLocalRef(jobject ref) in NewLocalRef()
578 jint EnsureLocalCapacity(jint capacity) in EnsureLocalCapacity()
581 jobject AllocObject(jclass clazz) in AllocObject()
584 jobject NewObject(jclass clazz, jmethodID methodID, ...) in NewObject()
593 jobject NewObjectV(jclass clazz, jmethodID methodID, va_list args) in NewObjectV()
596 jobject NewObjectA(jclass clazz, jmethodID methodID, jvalue* args) in NewObjectA()
599 jclass GetObjectClass(jobject obj) in GetObjectClass()
602 jboolean IsInstanceOf(jobject obj, jclass clazz) in IsInstanceOf()
605 jmethodID GetMethodID(jclass clazz, const char* name, const char* sig) in GetMethodID()
636 CALL_TYPE(jobject, Object) in CALL_TYPE()
653 void CallVoidMethodV(jobject obj, jmethodID methodID, va_list args) in CallVoidMethodV()
655 void CallVoidMethodA(jobject obj, jmethodID methodID, jvalue* args) in CallVoidMethodA()
689 CALL_NONVIRT_TYPE(jobject, Object) in CALL_NONVIRT_TYPE()
707 void CallNonvirtualVoidMethodV(jobject obj, jclass clazz, in CallNonvirtualVoidMethodV()
710 void CallNonvirtualVoidMethodA(jobject obj, jclass clazz, in CallNonvirtualVoidMethodA()
714 jfieldID GetFieldID(jclass clazz, const char* name, const char* sig) in GetFieldID()
717 jobject GetObjectField(jobject obj, jfieldID fieldID) in GetObjectField()
719 jboolean GetBooleanField(jobject obj, jfieldID fieldID) in GetBooleanField()
721 jbyte GetByteField(jobject obj, jfieldID fieldID) in GetByteField()
723 jchar GetCharField(jobject obj, jfieldID fieldID) in GetCharField()
725 jshort GetShortField(jobject obj, jfieldID fieldID) in GetShortField()
727 jint GetIntField(jobject obj, jfieldID fieldID) in GetIntField()
729 jlong GetLongField(jobject obj, jfieldID fieldID) in GetLongField()
732 jfloat GetFloatField(jobject obj, jfieldID fieldID) in GetFloatField()
735 jdouble GetDoubleField(jobject obj, jfieldID fieldID) in GetDoubleField()
738 void SetObjectField(jobject obj, jfieldID fieldID, jobject value) in SetObjectField()
740 void SetBooleanField(jobject obj, jfieldID fieldID, jboolean value) in SetBooleanField()
742 void SetByteField(jobject obj, jfieldID fieldID, jbyte value) in SetByteField()
744 void SetCharField(jobject obj, jfieldID fieldID, jchar value) in SetCharField()
746 void SetShortField(jobject obj, jfieldID fieldID, jshort value) in SetShortField()
748 void SetIntField(jobject obj, jfieldID fieldID, jint value) in SetIntField()
750 void SetLongField(jobject obj, jfieldID fieldID, jlong value) in SetLongField()
753 void SetFloatField(jobject obj, jfieldID fieldID, jfloat value) in SetFloatField()
756 void SetDoubleField(jobject obj, jfieldID fieldID, jdouble value) in SetDoubleField()
759 jmethodID GetStaticMethodID(jclass clazz, const char* name, const char* sig) in GetStaticMethodID()
793 CALL_STATIC_TYPE(jobject, Object) in CALL_STATIC_TYPE()
810 void CallStaticVoidMethodV(jclass clazz, jmethodID methodID, va_list args) in CallStaticVoidMethodV()
812 void CallStaticVoidMethodA(jclass clazz, jmethodID methodID, jvalue* args) in CallStaticVoidMethodA()
815 jfieldID GetStaticFieldID(jclass clazz, const char* name, const char* sig) in GetStaticFieldID()
818 jobject GetStaticObjectField(jclass clazz, jfieldID fieldID) in GetStaticObjectField()
820 jboolean GetStaticBooleanField(jclass clazz, jfieldID fieldID) in GetStaticBooleanField()
822 jbyte GetStaticByteField(jclass clazz, jfieldID fieldID) in GetStaticByteField()
824 jchar GetStaticCharField(jclass clazz, jfieldID fieldID) in GetStaticCharField()
826 jshort GetStaticShortField(jclass clazz, jfieldID fieldID) in GetStaticShortField()
828 jint GetStaticIntField(jclass clazz, jfieldID fieldID) in GetStaticIntField()
830 jlong GetStaticLongField(jclass clazz, jfieldID fieldID) in GetStaticLongField()
833 jfloat GetStaticFloatField(jclass clazz, jfieldID fieldID) in GetStaticFloatField()
836 jdouble GetStaticDoubleField(jclass clazz, jfieldID fieldID) in GetStaticDoubleField()
839 void SetStaticObjectField(jclass clazz, jfieldID fieldID, jobject value) in SetStaticObjectField()
841 void SetStaticBooleanField(jclass clazz, jfieldID fieldID, jboolean value) in SetStaticBooleanField()
843 void SetStaticByteField(jclass clazz, jfieldID fieldID, jbyte value) in SetStaticByteField()
845 void SetStaticCharField(jclass clazz, jfieldID fieldID, jchar value) in SetStaticCharField()
847 void SetStaticShortField(jclass clazz, jfieldID fieldID, jshort value) in SetStaticShortField()
849 void SetStaticIntField(jclass clazz, jfieldID fieldID, jint value) in SetStaticIntField()
851 void SetStaticLongField(jclass clazz, jfieldID fieldID, jlong value) in SetStaticLongField()
854 void SetStaticFloatField(jclass clazz, jfieldID fieldID, jfloat value) in SetStaticFloatField()
857 void SetStaticDoubleField(jclass clazz, jfieldID fieldID, jdouble value) in SetStaticDoubleField()
860 jstring NewString(const jchar* unicodeChars, jsize len) in NewString()
863 jsize GetStringLength(jstring string) in GetStringLength()
866 const jchar* GetStringChars(jstring string, jboolean* isCopy) in GetStringChars()
869 void ReleaseStringChars(jstring string, const jchar* chars) in ReleaseStringChars()
872 jstring NewStringUTF(const char* bytes) in NewStringUTF()
875 jsize GetStringUTFLength(jstring string) in GetStringUTFLength()
878 const char* GetStringUTFChars(jstring string, jboolean* isCopy) in GetStringUTFChars()
881 void ReleaseStringUTFChars(jstring string, const char* utf) in ReleaseStringUTFChars()
884 jsize GetArrayLength(jarray array) in GetArrayLength()
887 jobjectArray NewObjectArray(jsize length, jclass elementClass, in NewObjectArray()
892 jobject GetObjectArrayElement(jobjectArray array, jsize index) in GetObjectArrayElement()
895 void SetObjectArrayElement(jobjectArray array, jsize index, jobject value) in SetObjectArrayElement()
898 jbooleanArray NewBooleanArray(jsize length) in NewBooleanArray()
900 jbyteArray NewByteArray(jsize length) in NewByteArray()
902 jcharArray NewCharArray(jsize length) in NewCharArray()
904 jshortArray NewShortArray(jsize length) in NewShortArray()
906 jintArray NewIntArray(jsize length) in NewIntArray()
908 jlongArray NewLongArray(jsize length) in NewLongArray()
910 jfloatArray NewFloatArray(jsize length) in NewFloatArray()
912 jdoubleArray NewDoubleArray(jsize length) in NewDoubleArray()
915 jboolean* GetBooleanArrayElements(jbooleanArray array, jboolean* isCopy) in GetBooleanArrayElements()
917 jbyte* GetByteArrayElements(jbyteArray array, jboolean* isCopy) in GetByteArrayElements()
919 jchar* GetCharArrayElements(jcharArray array, jboolean* isCopy) in GetCharArrayElements()
921 jshort* GetShortArrayElements(jshortArray array, jboolean* isCopy) in GetShortArrayElements()
923 jint* GetIntArrayElements(jintArray array, jboolean* isCopy) in GetIntArrayElements()
925 jlong* GetLongArrayElements(jlongArray array, jboolean* isCopy) in GetLongArrayElements()
927 jfloat* GetFloatArrayElements(jfloatArray array, jboolean* isCopy) in GetFloatArrayElements()
929 jdouble* GetDoubleArrayElements(jdoubleArray array, jboolean* isCopy) in GetDoubleArrayElements()
932 void ReleaseBooleanArrayElements(jbooleanArray array, jboolean* elems, in ReleaseBooleanArrayElements()
935 void ReleaseByteArrayElements(jbyteArray array, jbyte* elems, in ReleaseByteArrayElements()
938 void ReleaseCharArrayElements(jcharArray array, jchar* elems, in ReleaseCharArrayElements()
941 void ReleaseShortArrayElements(jshortArray array, jshort* elems, in ReleaseShortArrayElements()
944 void ReleaseIntArrayElements(jintArray array, jint* elems, in ReleaseIntArrayElements()
947 void ReleaseLongArrayElements(jlongArray array, jlong* elems, in ReleaseLongArrayElements()
950 void ReleaseFloatArrayElements(jfloatArray array, jfloat* elems, in ReleaseFloatArrayElements()
953 void ReleaseDoubleArrayElements(jdoubleArray array, jdouble* elems, in ReleaseDoubleArrayElements()
957 void GetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, in GetBooleanArrayRegion()
960 void GetByteArrayRegion(jbyteArray array, jsize start, jsize len, in GetByteArrayRegion()
963 void GetCharArrayRegion(jcharArray array, jsize start, jsize len, in GetCharArrayRegion()
966 void GetShortArrayRegion(jshortArray array, jsize start, jsize len, in GetShortArrayRegion()
969 void GetIntArrayRegion(jintArray array, jsize start, jsize len, in GetIntArrayRegion()
972 void GetLongArrayRegion(jlongArray array, jsize start, jsize len, in GetLongArrayRegion()
975 void GetFloatArrayRegion(jfloatArray array, jsize start, jsize len, in GetFloatArrayRegion()
978 void GetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, in GetDoubleArrayRegion()
982 void SetBooleanArrayRegion(jbooleanArray array, jsize start, jsize len, in SetBooleanArrayRegion()
985 void SetByteArrayRegion(jbyteArray array, jsize start, jsize len, in SetByteArrayRegion()
988 void SetCharArrayRegion(jcharArray array, jsize start, jsize len, in SetCharArrayRegion()
991 void SetShortArrayRegion(jshortArray array, jsize start, jsize len, in SetShortArrayRegion()
994 void SetIntArrayRegion(jintArray array, jsize start, jsize len, in SetIntArrayRegion()
997 void SetLongArrayRegion(jlongArray array, jsize start, jsize len, in SetLongArrayRegion()
1000 void SetFloatArrayRegion(jfloatArray array, jsize start, jsize len, in SetFloatArrayRegion()
1003 void SetDoubleArrayRegion(jdoubleArray array, jsize start, jsize len, in SetDoubleArrayRegion()
1007 jint RegisterNatives(jclass clazz, const JNINativeMethod* methods, in RegisterNatives()
1011 jint UnregisterNatives(jclass clazz) in UnregisterNatives()
1014 jint MonitorEnter(jobject obj) in MonitorEnter()
1017 jint MonitorExit(jobject obj) in MonitorExit()
1020 jint GetJavaVM(JavaVM** vm) in GetJavaVM()
1023 void GetStringRegion(jstring str, jsize start, jsize len, jchar* buf) in GetStringRegion()
1026 void GetStringUTFRegion(jstring str, jsize start, jsize len, char* buf) in GetStringUTFRegion()
1029 void* GetPrimitiveArrayCritical(jarray array, jboolean* isCopy) in GetPrimitiveArrayCritical()
1032 void ReleasePrimitiveArrayCritical(jarray array, void* carray, jint mode) in ReleasePrimitiveArrayCritical()
1035 const jchar* GetStringCritical(jstring string, jboolean* isCopy) in GetStringCritical()
1038 void ReleaseStringCritical(jstring string, const jchar* carray) in ReleaseStringCritical()
1041 jweak NewWeakGlobalRef(jobject obj) in NewWeakGlobalRef()
1044 void DeleteWeakGlobalRef(jweak obj) in DeleteWeakGlobalRef()
1047 jboolean ExceptionCheck() in ExceptionCheck()
1050 jobject NewDirectByteBuffer(void* address, jlong capacity) in NewDirectByteBuffer()
1053 void* GetDirectBufferAddress(jobject buf) in GetDirectBufferAddress()
1056 jlong GetDirectBufferCapacity(jobject buf) in GetDirectBufferCapacity()
1060 jobjectRefType GetObjectRefType(jobject obj) in GetObjectRefType()