OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mRawArray
(Results
1 - 3
of
3
) sorted by null
/external/conscrypt/src/compat/native/
ScopedPrimitiveArray.h
30
: mEnv(env), mJavaArray(NULL),
mRawArray
(NULL) {} \
32
: mEnv(env), mJavaArray(javaArray),
mRawArray
(NULL) { \
36
mRawArray
= mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
40
if (
mRawArray
) { \
41
mEnv->Release ## NAME ## ArrayElements(mJavaArray,
mRawArray
, JNI_ABORT); \
46
mRawArray
= mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
48
const PRIMITIVE_TYPE* get() const { return
mRawArray
; } \
50
const PRIMITIVE_TYPE& operator[](size_t n) const { return
mRawArray
[n]; } \
55
PRIMITIVE_TYPE*
mRawArray
; \
79
: mEnv(env), mJavaArray(NULL),
mRawArray
(NULL) {}
[
all
...]
/libnativehelper/include/nativehelper/
ScopedPrimitiveArray.h
30
: mEnv(env), mJavaArray(NULL),
mRawArray
(NULL) {} \
32
: mEnv(env), mJavaArray(javaArray),
mRawArray
(NULL) { \
36
mRawArray
= mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
40
if (
mRawArray
) { \
41
mEnv->Release ## NAME ## ArrayElements(mJavaArray,
mRawArray
, JNI_ABORT); \
46
mRawArray
= mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
48
const PRIMITIVE_TYPE* get() const { return
mRawArray
; } \
50
const PRIMITIVE_TYPE& operator[](size_t n) const { return
mRawArray
[n]; } \
55
PRIMITIVE_TYPE*
mRawArray
; \
78
: mEnv(env), mJavaArray(NULL),
mRawArray
(NULL) {}
[
all
...]
/art/runtime/native/
libcore_util_CharsetUtils.cc
44
: mEnv(env), mJavaArray(nullptr),
mRawArray
(nullptr), mSize(-1), mOffset(0) {
49
if (
mRawArray
!= nullptr) {
50
mEnv->ReleaseByteArrayElements(mJavaArray,
mRawArray
, 0);
58
mRawArray
[mOffset++] = b;
79
if (
mRawArray
!= nullptr) {
80
memcpy(newRawArray,
mRawArray
, mOffset);
81
mEnv->ReleaseByteArrayElements(mJavaArray,
mRawArray
, JNI_ABORT);
87
mRawArray
= newRawArray;
101
jbyte*
mRawArray
;
Completed in 138 milliseconds