/art/runtime/ |
D | jni_env_ext.cc | 41 const JNINativeInterface* JNIEnvExt::table_override_ = nullptr; 46 static bool CheckLocalsValid(JNIEnvExt* in) NO_THREAD_SAFETY_ANALYSIS { in CheckLocalsValid() 53 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { in GetEnvHandler() 67 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() 68 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); in Create() 75 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt() function in art::JNIEnvExt 90 void JNIEnvExt::SetFunctionsToRuntimeShutdownFunctions() { in SetFunctionsToRuntimeShutdownFunctions() 95 JNIEnvExt::~JNIEnvExt() { in ~JNIEnvExt() 98 jobject JNIEnvExt::NewLocalRef(mirror::Object* obj) { in NewLocalRef() 105 void JNIEnvExt::DeleteLocalRef(jobject obj) { in DeleteLocalRef() [all …]
|
D | jni_env_ext.h | 40 struct JNIEnvExt : public JNIEnv { struct 43 static JNIEnvExt* Create(Thread* self, JavaVMExt* vm, std::string* error_msg); 45 ~JNIEnvExt(); 130 JNIEnvExt(Thread* self, JavaVMExt* vm, std::string* error_msg) 143 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : env_(env) { in ScopedJniEnvLocalRefState() 154 JNIEnvExt* const env_;
|
D | scoped_thread_state_change.h | 30 struct JNIEnvExt; 75 JNIEnvExt* Env() const { in Env() 126 JNIEnvExt* const env_;
|
D | jni_env_ext-inl.h | 27 inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { in AddLocalReference()
|
D | non_debuggable_classes.cc | 32 JNIEnvExt* env = self->GetJniEnv(); in AddNonDebuggableClass()
|
D | scoped_thread_state_change-inl.h | 98 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) {} in ScopedObjectAccessAlreadyRunnable() 102 env_(down_cast<JNIEnvExt*>(self->GetJniEnv())), in ScopedObjectAccessAlreadyRunnable()
|
D | thread-inl.h | 35 JNIEnvExt* full_env(down_cast<JNIEnvExt*>(env)); in ThreadForEnv()
|
D | jni_internal_test.cc | 870 return reinterpret_cast<JNIEnvExt*>(env)->locals.Capacity(); in GetLocalsCapacity() 1057 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(false); \ 1080 down_cast<JNIEnvExt*>(env_)->SetCheckJniEnabled(true); \ 2354 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, local_ref_cookie), in TEST_F() 2355 JNIEnvExt::LocalRefCookieOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2357 EXPECT_EQ(OFFSETOF_MEMBER(JNIEnvExt, self), JNIEnvExt::SelfOffset(sizeof(void*)).Uint32Value()); in TEST_F() 2362 OFFSETOF_MEMBER(JNIEnvExt, locals) + in TEST_F() 2364 uint32_t segment_state_computed = JNIEnvExt::SegmentStateOffset(sizeof(void*)).Uint32Value(); in TEST_F() 2389 JNIEnvExt::SetTableOverride(&env_override); in TEST_F() 2396 JNIEnvExt::SetTableOverride(nullptr); in TEST_F()
|
D | thread.h | 87 struct JNIEnvExt; 481 JNIEnvExt* GetJniEnv() const { in GetJniEnv() 1284 bool Init(ThreadList*, JavaVMExt*, JNIEnvExt* jni_env_ext = nullptr) 1530 JNIEnvExt* jni_env; in PACKED() 1534 JNIEnvExt* tmp_jni_env; in PACKED()
|
D | jni_internal.cc | 386 return reinterpret_cast<JNIEnvExt*>(env)->vm; in JavaVmExtFromEnv() 548 return static_cast<JNIEnvExt*>(env)->self->IsExceptionPending() ? JNI_TRUE : JNI_FALSE; in ExceptionCheck() 602 down_cast<JNIEnvExt*>(env)->PushFrame(capacity); in PushLocalFrame() 626 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm; in DeleteGlobalRef() 627 Thread* self = down_cast<JNIEnvExt*>(env)->self; in DeleteGlobalRef() 638 JavaVMExt* vm = down_cast<JNIEnvExt*>(env)->vm; in DeleteWeakGlobalRef() 639 Thread* self = down_cast<JNIEnvExt*>(env)->self; in DeleteWeakGlobalRef() 661 auto* ext_env = down_cast<JNIEnvExt*>(env); in DeleteLocalRef() 2313 bool warn_on_going_to_parent = down_cast<JNIEnvExt*>(env)->vm->IsCheckJniEnabled(); in RegisterNatives() 2456 return static_cast<JNIEnvExt*>(env)->self->IsExceptionPending() ? nullptr : result; in NewDirectByteBuffer()
|
D | thread.cc | 609 Thread* self = static_cast<JNIEnvExt*>(env)->self; in CreateNativeThread() 659 std::unique_ptr<JNIEnvExt> child_jni_env_ext( in CreateNativeThread() 660 JNIEnvExt::Create(child_thread, Runtime::Current()->GetJavaVM(), &error_msg)); in CreateNativeThread() 709 bool Thread::Init(ThreadList* thread_list, JavaVMExt* java_vm, JNIEnvExt* jni_env_ext) { in Init() 747 tlsPtr_.jni_env = JNIEnvExt::Create(this, java_vm, &error_msg); in Init()
|
D | check_jni.cc | 1192 JNIEnvExt* threadEnv = self->GetJniEnv(); in CheckThread() 1198 Thread* envThread = reinterpret_cast<JNIEnvExt*>(env)->self; in CheckThread() 2482 down_cast<JNIEnvExt*>(env)->RecordMonitorEnter(obj); in PRIMITIVE_ARRAY_FUNCTIONS() 2499 down_cast<JNIEnvExt*>(env)->CheckMonitorRelease(obj); in MonitorExit() 2593 return reinterpret_cast<JNIEnvExt*>(env)->vm; in GetJavaVMExt() 2597 return reinterpret_cast<JNIEnvExt*>(env)->unchecked_functions; in baseEnv()
|
D | common_throws.cc | 743 JNIEnvExt* env = self->GetJniEnv(); in ThrowStackOverflowError()
|
/art/runtime/openjdkjvmti/ |
D | ti_jni.cc | 52 art::JNIEnvExt::SetTableOverride(function_table); in SetJNIFunctionTable() 75 current_table = art::JNIEnvExt::GetFunctionTable(check_jni); in GetJNIFunctionTable()
|
D | events.cc | 209 art::JNIEnvExt* jni_env = self->GetJniEnv(); in ObjectAllocated() 304 static Type AddLocalRef(art::JNIEnvExt* e, art::mirror::Object* obj) in AddLocalRef() 314 void RunEventCallback(art::Thread* self, art::JNIEnvExt* jnienv, Args... args) in RunEventCallback() 338 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodEntered() 358 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited() 383 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodExited() 408 art::JNIEnvExt* jnienv = self->GetJniEnv(); in MethodUnwind() 439 art::JNIEnvExt* jnienv = self->GetJniEnv(); in DexPcMoved() 460 art::JNIEnvExt* jnienv = self->GetJniEnv(); in FieldRead() 484 art::JNIEnvExt* jnienv = self->GetJniEnv(); in FieldWritten() [all …]
|
D | jvmti_weak_table-inl.h | 332 art::JNIEnvExt* jni_env = self->GetJniEnv();
|
D | ti_method.cc | 58 art::JNIEnvExt* jnienv = thread->GetJniEnv(); in RegisterNativeMethod()
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 76 ___ Ldr(temp_reg, MemOperand(r0, JNIEnvExt::SelfOffset(4).Int32Value())); in CreateTrampoline() 113 Offset(JNIEnvExt::SelfOffset(8).Int32Value())); in CreateTrampoline() 148 __ LoadFromOffset(kLoadWord, T9, A0, JNIEnvExt::SelfOffset(4).Int32Value()); in CreateTrampoline() 180 __ LoadFromOffset(kLoadDoubleword, T9, A0, JNIEnvExt::SelfOffset(8).Int32Value()); in CreateTrampoline()
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 51 JNIEnvExt* env = self->GetJniEnv(); in JniMethodFastStart() 66 JNIEnvExt* env = self->GetJniEnv(); in JniMethodStart() 120 JNIEnvExt* env = self->GetJniEnv(); in PopLocalReferences()
|
D | quick_trampoline_entrypoints.cc | 915 JNIEnvExt* env = self->GetJniEnv(); in artQuickProxyInvokeHandler() 1071 JNIEnvExt* env = self->GetJniEnv(); in artQuickResolutionTrampoline() 2571 JNIEnvExt* env = self->GetJniEnv(); in artInvokePolymorphic()
|
/art/test/136-daemon-jni-shutdown/ |
D | daemon_jni_shutdown.cc | 61 JavaVM* vm = down_cast<JNIEnvExt*>(env)->vm; in Java_Main_destroyJavaVMAndExit()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 137 Thread* self = static_cast<JNIEnvExt*>(env)->self; in DdmVmInternal_getThreadStats()
|
D | java_lang_Thread.cc | 40 return static_cast<JNIEnvExt*>(env)->self->Interrupted() ? JNI_TRUE : JNI_FALSE; in Thread_interrupted()
|
/art/runtime/openjdkjvm/ |
D | OpenjdkJvm.cc | 389 return static_cast<art::JNIEnvExt*>(env)->self->Interrupted() ? JNI_TRUE : JNI_FALSE; in JVM_IsInterrupted()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 226 const Offset functions(OFFSETOF_MEMBER(JNIEnvExt, functions)); in ArtJniCompileMethodInternal()
|