OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mJavaArray
(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) { \
33
if (
mJavaArray
== NULL) { \
36
mRawArray = mEnv->Get ## NAME ## ArrayElements(
mJavaArray
, NULL); \
41
mEnv->Release ## NAME ## ArrayElements(
mJavaArray
, mRawArray, JNI_ABORT); \
45
mJavaArray
= javaArray; \
46
mRawArray = mEnv->Get ## NAME ## ArrayElements(
mJavaArray
, NULL); \
49
PRIMITIVE_TYPE ## Array getJavaArray() const { return
mJavaArray
; } \
51
size_t size() const { return mEnv->GetArrayLength(
mJavaArray
); } \
54
PRIMITIVE_TYPE ## Array
mJavaArray
; \
[
all
...]
/libnativehelper/include/nativehelper/
ScopedPrimitiveArray.h
30
: mEnv(env),
mJavaArray
(NULL), mRawArray(NULL) {} \
32
: mEnv(env),
mJavaArray
(javaArray), mRawArray(NULL) { \
33
if (
mJavaArray
== NULL) { \
36
mRawArray = mEnv->Get ## NAME ## ArrayElements(
mJavaArray
, NULL); \
41
mEnv->Release ## NAME ## ArrayElements(
mJavaArray
, mRawArray, JNI_ABORT); \
45
mJavaArray
= javaArray; \
46
mRawArray = mEnv->Get ## NAME ## ArrayElements(
mJavaArray
, NULL); \
49
PRIMITIVE_TYPE ## Array getJavaArray() const { return
mJavaArray
; } \
51
size_t size() const { return mEnv->GetArrayLength(
mJavaArray
); } \
54
PRIMITIVE_TYPE ## Array
mJavaArray
; \
[
all
...]
/art/runtime/native/
libcore_util_CharsetUtils.cc
44
: mEnv(env),
mJavaArray
(nullptr), mRawArray(nullptr), mSize(-1), mOffset(0) {
50
mEnv->ReleaseByteArrayElements(
mJavaArray
, mRawArray, 0);
81
mEnv->ReleaseByteArrayElements(
mJavaArray
, mRawArray, JNI_ABORT);
82
mEnv->DeleteLocalRef(
mJavaArray
);
86
mJavaArray
= newJavaArray;
95
return okay ?
mJavaArray
: nullptr;
100
jbyteArray
mJavaArray
;
Completed in 1010 milliseconds