Home | History | Annotate | Download | only in nativehelper

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; \
78 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
80 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
84 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
88 if (mRawArray) { \
89 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, 0); \
94 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
96 const PRIMITIVE_TYPE* get() const { return mRawArray; } \
98 const PRIMITIVE_TYPE& operator[](size_t n) const { return mRawArray[n]; } \
99 PRIMITIVE_TYPE* get() { return mRawArray; } \
100 PRIMITIVE_TYPE& operator[](size_t n) { return mRawArray[n]; } \
105 PRIMITIVE_TYPE* mRawArray; \