Home
last modified time | relevance | path

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

/art/test/ti-agent/
Dscoped_primitive_array.h48 : mEnv(env), mJavaArray(nullptr), mRawArray(nullptr), mSize(0) {} \
50 : mEnv(env) { \
62 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
67 mSize = mEnv->GetArrayLength(mJavaArray); \
69 mEnv->Get ## NAME ## ArrayRegion(mJavaArray, 0, mSize, mBuffer); \
72 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, nullptr); \
81 JNIEnv* const mEnv; \
108 : mEnv(env), mJavaArray(nullptr), mRawArray(nullptr) {} \
110 : mEnv(env), mJavaArray(javaArray), mRawArray(nullptr) { \
114 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, nullptr); \
[all …]
Dscoped_local_ref.h31 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
41 mEnv->DeleteLocalRef(mLocalRef);
58 JNIEnv* const mEnv;
/art/runtime/native/
Dlibcore_util_CharsetUtils.cc48 : mEnv(env), mJavaArray(nullptr), mRawArray(nullptr), mSize(-1), mOffset(0) { in NativeUnsafeByteSequence()
54 mEnv->ReleaseByteArrayElements(mJavaArray, mRawArray, 0); in ~NativeUnsafeByteSequence()
72 jbyteArray newJavaArray = mEnv->NewByteArray(newSize); in resize()
76 jbyte* newRawArray = mEnv->GetByteArrayElements(newJavaArray, nullptr); in resize()
85 mEnv->ReleaseByteArrayElements(mJavaArray, mRawArray, JNI_ABORT); in resize()
86 mEnv->DeleteLocalRef(mJavaArray); in resize()
103 JNIEnv* mEnv; member in art::NativeUnsafeByteSequence
Ddalvik_system_DexFile.cc127 NullableScopedUtfChars(JNIEnv* env, jstring s) : mEnv(env), mString(s) { in NullableScopedUtfChars()
133 mEnv->ReleaseStringUTFChars(mString, mUtfChars); in ~NullableScopedUtfChars()
151 JNIEnv* mEnv; member in art::NullableScopedUtfChars