Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DScopedPrimitiveArray.h26 #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 DISALLOW_COPY_AND_ASSIGN(Scoped ## NAME ## ArrayRO); \
74 #define INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(PRIMITIVE_TYPE, NAME) \ argument
[all …]