Lines Matching refs:NAME
26 #define INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(PRIMITIVE_TYPE, NAME) \ argument
27 class Scoped ## NAME ## ArrayRO { \
29 explicit Scoped ## NAME ## ArrayRO(JNIEnv* env) \
31 Scoped ## NAME ## ArrayRO(JNIEnv* env, PRIMITIVE_TYPE ## Array javaArray) \
36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
39 ~Scoped ## NAME ## ArrayRO() { \
41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
56 Scoped ## NAME ## ArrayRO(const Scoped ## NAME ## ArrayRO&); \
57 void operator=(const Scoped ## NAME ## ArrayRO&); \
75 #define INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(PRIMITIVE_TYPE, NAME) \ argument
76 class Scoped ## NAME ## ArrayRW { \
78 explicit Scoped ## NAME ## ArrayRW(JNIEnv* env) \
80 Scoped ## NAME ## ArrayRW(JNIEnv* env, PRIMITIVE_TYPE ## Array javaArray) \
85 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
88 ~Scoped ## NAME ## ArrayRW() { \
90 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, 0); \
95 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
107 Scoped ## NAME ## ArrayRW(const Scoped ## NAME ## ArrayRW&); \
108 void operator=(const Scoped ## NAME ## ArrayRW&); \