• Home
  • Raw
  • Download

Lines Matching refs:JNIEnv

198 static inline Thread* self(JNIEnv* env) {  in self()
221 explicit ScopedJniThreadState(JNIEnv* env) { in ScopedJniThreadState()
307 static inline IndirectRefTable* getLocalRefTable(JNIEnv* env) { in getLocalRefTable()
321 Object* dvmDecodeIndirectRef(JNIEnv* env, jobject jobj) { in dvmDecodeIndirectRef()
386 static jobject addLocalReference(JNIEnv* env, Object* obj) { in addLocalReference()
433 static bool ensureLocalCapacity(JNIEnv* env, int capacity) { in ensureLocalCapacity()
443 static void deleteLocalReference(JNIEnv* env, jobject jobj) { in deleteLocalReference()
678 JNIEnv* env = self->jniEnv; in dvmDumpJniReferenceTables()
697 jobjectRefType dvmGetJNIRefType(JNIEnv* env, jobject jobj) { in dvmGetJNIRefType()
1111 static inline void convertReferenceResult(JNIEnv* env, JValue* pResult, in convertReferenceResult()
1125 JNIEnv* env = self->jniEnv; in dvmCallJNIMethod()
1234 static jint GetVersion(JNIEnv* env) { in GetVersion()
1249 static jclass DefineClass(JNIEnv* env, const char *name, jobject loader, in DefineClass()
1276 static jclass FindClass(JNIEnv* env, const char* name) { in FindClass()
1315 static jclass GetSuperclass(JNIEnv* env, jclass jclazz) { in GetSuperclass()
1326 static jboolean IsAssignableFrom(JNIEnv* env, jclass jclazz1, jclass jclazz2) { in IsAssignableFrom()
1336 static jmethodID FromReflectedMethod(JNIEnv* env, jobject jmethod) { in FromReflectedMethod()
1345 static jfieldID FromReflectedField(JNIEnv* env, jobject jfield) { in FromReflectedField()
1358 static jobject ToReflectedMethod(JNIEnv* env, jclass jcls, jmethodID methodID, jboolean isStatic) { in ToReflectedMethod()
1373 static jobject ToReflectedField(JNIEnv* env, jclass jcls, jfieldID fieldID, jboolean isStatic) { in ToReflectedField()
1384 static jint Throw(JNIEnv* env, jthrowable jobj) { in Throw()
1398 static jint ThrowNew(JNIEnv* env, jclass jclazz, const char* message) { in ThrowNew()
1414 static jthrowable ExceptionOccurred(JNIEnv* env) { in ExceptionOccurred()
1434 static void ExceptionDescribe(JNIEnv* env) { in ExceptionDescribe()
1449 static void ExceptionClear(JNIEnv* env) { in ExceptionClear()
1457 static void FatalError(JNIEnv* env, const char* msg) { in FatalError()
1469 static jint PushLocalFrame(JNIEnv* env, jint capacity) { in PushLocalFrame()
1486 static jobject PopLocalFrame(JNIEnv* env, jobject jresult) { in PopLocalFrame()
1500 static jobject NewGlobalRef(JNIEnv* env, jobject jobj) { in NewGlobalRef()
1509 static void DeleteGlobalRef(JNIEnv* env, jobject jglobalRef) { in DeleteGlobalRef()
1518 static jobject NewLocalRef(JNIEnv* env, jobject jobj) { in NewLocalRef()
1527 static void DeleteLocalRef(JNIEnv* env, jobject jlocalRef) { in DeleteLocalRef()
1536 static jint EnsureLocalCapacity(JNIEnv* env, jint capacity) { in EnsureLocalCapacity()
1549 static jboolean IsSameObject(JNIEnv* env, jobject jref1, jobject jref2) { in IsSameObject()
1559 static jobject AllocObject(JNIEnv* env, jclass jclazz) { in AllocObject()
1577 static jobject NewObject(JNIEnv* env, jclass jclazz, jmethodID methodID, ...) { in NewObject()
1598 static jobject NewObjectV(JNIEnv* env, jclass jclazz, jmethodID methodID, va_list args) { in NewObjectV()
1616 static jobject NewObjectA(JNIEnv* env, jclass jclazz, jmethodID methodID, jvalue* args) { in NewObjectA()
1639 static jclass GetObjectClass(JNIEnv* env, jobject jobj) { in GetObjectClass()
1651 static jboolean IsInstanceOf(JNIEnv* env, jobject jobj, jclass jclazz) { in IsInstanceOf()
1678 static jmethodID GetMethodID(JNIEnv* env, jclass jclazz, const char* name, const char* sig) { in GetMethodID()
1725 static jfieldID GetFieldID(JNIEnv* env, jclass jclazz, const char* name, const char* sig) { in GetFieldID()
1747 static jmethodID GetStaticMethodID(JNIEnv* env, jclass jclazz, const char* name, const char* sig) { in GetStaticMethodID()
1781 static jfieldID GetStaticFieldID(JNIEnv* env, jclass jclazz, const char* name, const char* sig) { in GetStaticFieldID()
1805 static _ctype GetStatic##_jname##Field(JNIEnv* env, jclass jclazz, \
1843 static void SetStatic##_jname##Field(JNIEnv* env, jclass jclazz, \
1883 static _ctype Get##_jname##Field(JNIEnv* env, jobject jobj, \
1923 static void Set##_jname##Field(JNIEnv* env, jobject jobj, \
1966 static _ctype Call##_jname##Method(JNIEnv* env, jobject jobj, \
1985 static _ctype Call##_jname##MethodV(JNIEnv* env, jobject jobj, \
2001 static _ctype Call##_jname##MethodA(JNIEnv* env, jobject jobj, \
2036 static _ctype CallNonvirtual##_jname##Method(JNIEnv* env, jobject jobj, \
2057 static _ctype CallNonvirtual##_jname##MethodV(JNIEnv* env, jobject jobj,\
2075 static _ctype CallNonvirtual##_jname##MethodA(JNIEnv* env, jobject jobj,\
2109 static _ctype CallStatic##_jname##Method(JNIEnv* env, jclass jclazz, \
2123 static _ctype CallStatic##_jname##MethodV(JNIEnv* env, jclass jclazz, \
2134 static _ctype CallStatic##_jname##MethodA(JNIEnv* env, jclass jclazz, \
2162 static jstring NewString(JNIEnv* env, const jchar* unicodeChars, jsize len) { in NewString()
2175 static jsize GetStringLength(JNIEnv* env, jstring jstr) { in GetStringLength()
2188 static const jchar* GetStringChars(JNIEnv* env, jstring jstr, jboolean* isCopy) { in GetStringChars()
2206 static void ReleaseStringChars(JNIEnv* env, jstring jstr, const jchar* chars) { in ReleaseStringChars()
2219 static jstring NewStringUTF(JNIEnv* env, const char* bytes) { in NewStringUTF()
2234 static jsize GetStringUTFLength(JNIEnv* env, jstring jstr) { in GetStringUTFLength()
2257 static const char* GetStringUTFChars(JNIEnv* env, jstring jstr, jboolean* isCopy) { in GetStringUTFChars()
2278 static void ReleaseStringUTFChars(JNIEnv* env, jstring jstr, const char* utf) { in ReleaseStringUTFChars()
2286 static jsize GetArrayLength(JNIEnv* env, jarray jarr) { in GetArrayLength()
2295 static jobjectArray NewObjectArray(JNIEnv* env, jsize length, in NewObjectArray()
2343 static jobject GetObjectArrayElement(JNIEnv* env, jobjectArray jarr, jsize index) { in GetObjectArrayElement()
2358 static void SetObjectArrayElement(JNIEnv* env, jobjectArray jarr, jsize index, jobject jobj) { in SetObjectArrayElement()
2376 static _artype New##_jname##Array(JNIEnv* env, jsize length) { \
2405 static _ctype* Get##_jname##ArrayElements(JNIEnv* env, \
2426 static void Release##_jname##ArrayElements(JNIEnv* env, \
2451 static void Get##_jname##ArrayRegion(JNIEnv* env, \
2468 static void Set##_jname##ArrayRegion(JNIEnv* env, \
2509 static jint RegisterNatives(JNIEnv* env, jclass jclazz, in RegisterNatives()
2557 static jint UnregisterNatives(JNIEnv* env, jclass jclazz) { in UnregisterNatives()
2575 static jint MonitorEnter(JNIEnv* env, jobject jobj) { in MonitorEnter()
2592 static jint MonitorExit(JNIEnv* env, jobject jobj) { in MonitorExit()
2605 static jint GetJavaVM(JNIEnv* env, JavaVM** vm) { in GetJavaVM()
2614 static void GetStringRegion(JNIEnv* env, jstring jstr, jsize start, jsize len, jchar* buf) { in GetStringRegion()
2629 static void GetStringUTFRegion(JNIEnv* env, jstring jstr, jsize start, jsize len, char* buf) { in GetStringUTFRegion()
2648 static void* GetPrimitiveArrayCritical(JNIEnv* env, jarray jarr, jboolean* isCopy) { in GetPrimitiveArrayCritical()
2662 static void ReleasePrimitiveArrayCritical(JNIEnv* env, jarray jarr, void* carray, jint mode) { in ReleasePrimitiveArrayCritical()
2673 static const jchar* GetStringCritical(JNIEnv* env, jstring jstr, jboolean* isCopy) { in GetStringCritical()
2691 static void ReleaseStringCritical(JNIEnv* env, jstring jstr, const jchar* carray) { in ReleaseStringCritical()
2701 static jweak NewWeakGlobalRef(JNIEnv* env, jobject jobj) { in NewWeakGlobalRef()
2710 static void DeleteWeakGlobalRef(JNIEnv* env, jweak wref) { in DeleteWeakGlobalRef()
2720 static jboolean ExceptionCheck(JNIEnv* env) { in ExceptionCheck()
2733 static jobjectRefType GetObjectRefType(JNIEnv* env, jobject jobj) { in GetObjectRefType()
2744 static jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity) { in NewDirectByteBuffer()
2773 static void* GetDirectBufferAddress(JNIEnv* env, jobject jbuf) { in GetDirectBufferAddress()
2788 static jlong GetDirectBufferCapacity(JNIEnv* env, jobject jbuf) { in GetDirectBufferCapacity()
2827 static jint attachThread(JavaVM* vm, JNIEnv** p_env, void* thr_args, bool isDaemon) { in attachThread()
2904 static jint AttachCurrentThread(JavaVM* vm, JNIEnv** p_env, void* thr_args) { in AttachCurrentThread()
2911 static jint AttachCurrentThreadAsDaemon(JavaVM* vm, JNIEnv** p_env, void* thr_args) in AttachCurrentThreadAsDaemon()
2990 JNIEnv* tmpEnv; in DestroyJavaVM()
3334 JNIEnv* dvmCreateJNIEnv(Thread* self) { in dvmCreateJNIEnv()
3345 dvmSetJniEnvThreadId((JNIEnv*) newEnv, self); in dvmCreateJNIEnv()
3371 return (JNIEnv*) newEnv; in dvmCreateJNIEnv()
3377 void dvmDestroyJNIEnv(JNIEnv* env) { in dvmDestroyJNIEnv()
3460 jint JNI_CreateJavaVM(JavaVM** p_vm, JNIEnv** p_env, void* vm_args) { in JNI_CreateJavaVM()
3557 dvmStartup(argc, argv.get(), args->ignoreUnrecognized, (JNIEnv*)pEnv); in JNI_CreateJavaVM()
3571 *p_env = (JNIEnv*) pEnv; in JNI_CreateJavaVM()