Searched refs:mLocalRef (Results 1 – 4 of 4) sorted by relevance
28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()36 if (ptr != mLocalRef) {37 if (mLocalRef != NULL) {38 mEnv->DeleteLocalRef(mLocalRef);40 mLocalRef = ptr;45 T localRef = mLocalRef; in release()46 mLocalRef = NULL; in release()51 return mLocalRef; in get()56 T mLocalRef; variable
35 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()44 if (mLocalRef != NULL) { in reset()45 mEnv->DeleteLocalRef(mLocalRef); in reset()46 mLocalRef = localRef; in reset()51 return mLocalRef; in get()56 T mLocalRef; member in scoped_local_ref
36 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()45 if (mLocalRef != NULL) { in reset()46 (*mEnv)->DeleteLocalRef(reinterpret_cast<JNIEnv*>(mEnv), mLocalRef); in reset()47 mLocalRef = localRef; in reset()52 return mLocalRef; in get()57 T mLocalRef; member in scoped_local_ref