Home
last modified time | relevance | path

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

/libnativehelper/include/nativehelper/
DScopedPrimitiveArray.h38 #define INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RO(PRIMITIVE_TYPE, NAME) \ argument
39 class Scoped ## NAME ## ArrayRO { \
41 explicit Scoped ## NAME ## ArrayRO(JNIEnv* env) \
43 Scoped ## NAME ## ArrayRO(JNIEnv* env, PRIMITIVE_TYPE ## Array javaArray) \
54 ~Scoped ## NAME ## ArrayRO() { \
56 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
63 mEnv->Get ## NAME ## ArrayRegion(mJavaArray, 0, mSize, mBuffer); \
66 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
80 DISALLOW_COPY_AND_ASSIGN(Scoped ## NAME ## ArrayRO); \
98 #define INSTANTIATE_SCOPED_PRIMITIVE_ARRAY_RW(PRIMITIVE_TYPE, NAME) \ argument
[all …]