Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dscoped_nullable_primitive_array.h59 mRawArray = nullptr; in ARRAY_TRAITS()
64 mRawArray = mBuffer; in ARRAY_TRAITS()
66 mRawArray = Traits::getArrayElements(mEnv, mJavaArray); in ARRAY_TRAITS()
72 if (mRawArray != nullptr && mRawArray != mBuffer) { in ARRAY_TRAITS()
73 Traits::releaseArrayElements(mEnv, mJavaArray, mRawArray, JNI_ABORT); in ARRAY_TRAITS()
77 const PrimitiveType* get() const { return mRawArray; } in ARRAY_TRAITS()
78 const PrimitiveType& operator[](size_t n) const { return mRawArray[n]; } in ARRAY_TRAITS()
84 PrimitiveType* mRawArray; in ARRAY_TRAITS() local
/frameworks/base/libs/hwui/jni/
Dscoped_nullable_primitive_array.h59 mRawArray = nullptr; in ARRAY_TRAITS()
64 mRawArray = mBuffer; in ARRAY_TRAITS()
66 mRawArray = Traits::getArrayElements(mEnv, mJavaArray); in ARRAY_TRAITS()
72 if (mRawArray != nullptr && mRawArray != mBuffer) { in ARRAY_TRAITS()
73 Traits::releaseArrayElements(mEnv, mJavaArray, mRawArray, JNI_ABORT); in ARRAY_TRAITS()
77 const PrimitiveType* get() const { return mRawArray; } in ARRAY_TRAITS()
78 const PrimitiveType& operator[](size_t n) const { return mRawArray[n]; } in ARRAY_TRAITS()
84 PrimitiveType* mRawArray; in ARRAY_TRAITS() local