Home
last modified time | relevance | path

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

/external/conscrypt/common/src/jni/unbundled/include/nativehelper/
Dscoped_primitive_array.h30 : mEnv(env), mJavaArray(nullptr), mRawArray(nullptr) {} \
32 : mEnv(env), mJavaArray(javaArray), mRawArray(nullptr) { \
34 conscrypt::jniutil::throwNullPointerException(mEnv, nullptr); \
36 mRawArray = mEnv->Get##NAME##ArrayElements(mJavaArray, nullptr); \
41 mEnv->Release##NAME##ArrayElements(mJavaArray, mRawArray, JNI_ABORT); \
46 mRawArray = mEnv->Get##NAME##ArrayElements(mJavaArray, nullptr); \
58 return static_cast<size_t>(mEnv->GetArrayLength(mJavaArray)); \
62 JNIEnv* mEnv; \
88 : mEnv(env), mJavaArray(nullptr), mRawArray(nullptr) {} \
90 : mEnv(env), mJavaArray(javaArray), mRawArray(nullptr) { \
[all …]
Dscoped_local_ref.h29 ScopedLocalRef(JNIEnv* env, T localRef) : mEnv(env), mLocalRef(localRef) {} in ScopedLocalRef()
38 mEnv->DeleteLocalRef(mLocalRef);
56 JNIEnv* mEnv;
/external/conscrypt/common/src/jni/main/include/conscrypt/
DNetFd.h28 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) {} in NetFd()
31 mFd = conscrypt::jniutil::jniGetFDFromFileDescriptor(mEnv, mFileDescriptor); in isClosed()
34 conscrypt::jniutil::throwException(mEnv, "java/net/SocketException", "Socket closed"); in isClosed()
44 JNIEnv* mEnv;
/external/icu/android_icu4j/libcore_bridge/src/native/
DScopedJavaUnicodeString.h28 ScopedJavaUnicodeString(JNIEnv* env, jstring s) : mEnv(env), mString(s) { in ScopedJavaUnicodeString()
30 jniThrowNullPointerException(mEnv, NULL); in ScopedJavaUnicodeString()
40 mEnv->ReleaseStringChars(mString, mChars); in ~ScopedJavaUnicodeString()
57 JNIEnv* mEnv;
DScopedIcuLocale.h26 ScopedIcuLocale(JNIEnv* env, jstring javaLanguageTag) : mEnv(env) { in ScopedIcuLocale()
30 jniThrowNullPointerException(mEnv, "javaLanguageTag == null"); in ScopedIcuLocale()
60 JNIEnv* const mEnv;
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp538 PipelineFunctionEnv mEnv; member in __anon4e3055eb0111::UpdatePipelineFunctions
579 mEnv(compiler, in UpdatePipelineFunctions()
630 if (!mEnv.isOriginalPipelineFunction(oldCalledFunc)) in visitAggregatePost()
634 const TFunction &newCalledFunc = mEnv.getUpdatedFunction(oldCalledFunc); in visitAggregatePost()
638 const TFunction &newOwnerFunc = mEnv.getUpdatedFunction(*oldOwnerFunc); in visitAggregatePost()
650 mEnv.createUpdatedFunctionPrototype(funcProtoNode); in visitFunctionPrototypePost()
676 mEnv.createUpdatedFunctionPrototype(funcProtoNode); in visitNonMain()
696 mEnv.createUpdatedFunctionPrototype(funcProtoNode); in visitMain()