Searched refs:mEnv (Results 1 – 5 of 5) sorted by relevance
/libnativehelper/include/nativehelper/ |
D | ScopedPrimitiveArray.h | 30 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \ 32 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \ 34 jniThrowNullPointerException(mEnv, NULL); \ 36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \ 41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \ 46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \ 51 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \ 53 JNIEnv* const mEnv; \ 78 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \ 80 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \ [all …]
|
D | ScopedBytes.h | 32 : mEnv(env), mObject(object), mByteArray(NULL), mPtr(NULL) in ScopedBytes() 35 jniThrowNullPointerException(mEnv, NULL); in ScopedBytes() 36 } else if (mEnv->IsInstanceOf(mObject, JniConstants::byteArrayClass)) { in ScopedBytes() 38 mPtr = mEnv->GetByteArrayElements(mByteArray, NULL); in ScopedBytes() 40 mPtr = reinterpret_cast<jbyte*>(mEnv->GetDirectBufferAddress(mObject)); in ScopedBytes() 46 mEnv->ReleaseByteArrayElements(mByteArray, mPtr, readOnly ? JNI_ABORT : 0); in ~ScopedBytes() 51 JNIEnv* const mEnv;
|
D | ScopedLocalFrame.h | 24 ScopedLocalFrame(JNIEnv* env) : mEnv(env) { in ScopedLocalFrame() 25 mEnv->PushLocalFrame(128); in ScopedLocalFrame() 29 mEnv->PopLocalFrame(NULL); in ~ScopedLocalFrame() 33 JNIEnv* const mEnv;
|
D | ScopedLocalRef.h | 29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef() 39 mEnv->DeleteLocalRef(mLocalRef); 56 JNIEnv* const mEnv;
|
/libnativehelper/ |
D | JNIHelp.cpp | 42 : mEnv(env), mLocalRef(localRef) in scoped_local_ref() 52 (*mEnv)->DeleteLocalRef(reinterpret_cast<JNIEnv*>(mEnv), mLocalRef); in reset() 62 C_JNIEnv* const mEnv; member in scoped_local_ref
|