Home
last modified time | relevance | path

Searched refs:mLocalRef (Results 1 – 4 of 4) sorted by relevance

/external/conscrypt/src/openjdk/native/
DScopedLocalRef.h28 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
DJNIHelp.cpp35 : 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
/external/conscrypt/src/compat/native/
DScopedLocalRef.h28 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
DJNIHelp.cpp36 : 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