Home
last modified time | relevance | path

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

/external/conscrypt/src/compat/native/
DScopedPrimitiveArray.h30 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
32 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
34 jniThrowNullPointerException(mEnv, NULL); \
36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
51 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
53 JNIEnv* mEnv; \
79 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
81 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
[all …]
DNetFd.h26 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) in NetFd()
31 mFd = jniGetFDFromFileDescriptor(mEnv, mFileDescriptor); in isClosed()
34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed"); in isClosed()
44 JNIEnv* mEnv;
DScopedLocalRef.h28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
38 mEnv->DeleteLocalRef(mLocalRef);
55 JNIEnv* mEnv;
DJNIHelp.cpp36 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()
46 (*mEnv)->DeleteLocalRef(reinterpret_cast<JNIEnv*>(mEnv), mLocalRef); in reset()
56 C_JNIEnv* mEnv; member in scoped_local_ref
/external/conscrypt/src/openjdk/native/
DScopedPrimitiveArray.h30 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
32 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
34 jniThrowNullPointerException(mEnv, NULL); \
36 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
41 mEnv->Release ## NAME ## ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
46 mRawArray = mEnv->Get ## NAME ## ArrayElements(mJavaArray, NULL); \
51 size_t size() const { return mEnv->GetArrayLength(mJavaArray); } \
53 JNIEnv* mEnv; \
79 : mEnv(env), mJavaArray(NULL), mRawArray(NULL) {} \
81 : mEnv(env), mJavaArray(javaArray), mRawArray(NULL) { \
[all …]
DNetFd.h26 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) in NetFd()
31 mFd = jniGetFDFromFileDescriptor(mEnv, mFileDescriptor); in isClosed()
34 jniThrowException(mEnv, "java/net/SocketException", "Socket closed"); in isClosed()
44 JNIEnv* mEnv;
DScopedLocalRef.h28 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) { in ScopedLocalRef()
38 mEnv->DeleteLocalRef(mLocalRef);
55 JNIEnv* mEnv;
DJNIHelp.cpp35 : mEnv(env), mLocalRef(localRef) in scoped_local_ref()
45 mEnv->DeleteLocalRef(mLocalRef); in reset()
55 JNIEnv* mEnv; member in scoped_local_ref