Lines Matching refs:mJavaArray
30 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
32 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
33 if (mJavaArray == NULL) { \
36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
45 mJavaArray = javaArray; \
46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
49 PRIMITIVE_TYPE ## Array getJavaArray() const { return mJavaArray; } \
51 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
54 PRIMITIVE_TYPE ## Array mJavaArray; \
79 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
81 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
82 if (mJavaArray == NULL) { \
85 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
90 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, 0); \
94 mJavaArray = javaArray; \
95 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
98 PRIMITIVE_TYPE ## Array getJavaArray() const { return mJavaArray; } \
102 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
105 PRIMITIVE_TYPE ## Array mJavaArray; \