Lines Matching refs:mRawArray
30 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
32 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
40 if (mRawArray) { \
41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
48 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
50 const PRIMITIVE_TYPE& operator[](size_t n) const { return mRawArray[n]; } \
55 PRIMITIVE_TYPE* mRawArray; \
79 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
81 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
85 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
89 if (mRawArray) { \
90 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, 0); \
95 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
97 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
99 const PRIMITIVE_TYPE& operator[](size_t n) const { return mRawArray[n]; } \
100 PRIMITIVE_TYPE* get() { return mRawArray; } \
101 PRIMITIVE_TYPE& operator[](size_t n) { return mRawArray[n]; } \
106 PRIMITIVE_TYPE* mRawArray; \