Home
last modified time | relevance | path

Searched refs:CastFromThread (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_coroutine.h51 static EtsCoroutine *CastFromThread(Thread *thread) in CastFromThread() function
61 return CastFromThread(co); in GetCurrent()
Dets_language_context.cpp31 EtsCoroutine *coroutine = EtsCoroutine::CastFromThread(thread); in ThrowException()
67 EtsCoroutine *coroutine = EtsCoroutine::CastFromThread(thread); in ThrowStackOverflowException()
Dets_handle.h31 : VMHandle<T>(ManagedThread::CastFromThread(coroutine), GetObjectHeader(etsObj)) in EtsHandle()
Dets_vm.cpp599 const auto coroutine = EtsCoroutine::CastFromThread(thread); in VisitVmRoots()
658 auto coroutine = EtsCoroutine::CastFromThread(thread); in UpdateVmRefs()
/arkcompiler/runtime_core/static_core/runtime/include/
Dmtmanaged_thread.h145 static MTManagedThread *CastFromThread(Thread *thread) in CastFromThread() function
160 return CastFromThread(Thread::GetCurrent()); in GetCurrentRaw()
172 return CastFromThread(thread); in GetCurrent()
Dmanaged_thread.h132 static ManagedThread *CastFromThread(Thread *thread) in CastFromThread() function
147 return CastFromThread(Thread::GetCurrent()); in GetCurrentRaw()
159 return CastFromThread(thread); in GetCurrent()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi_helpers.cpp187 auto coroutine = EtsCoroutine::CastFromThread(thread); in EtsNapiBeginCritical()
288 auto coroutine = EtsCoroutine::CastFromThread(thread); in EtsNapiBegin()
340 auto coroutine = EtsCoroutine::CastFromThread(thread); in EtsNapiEnd()
360 auto coroutine = EtsCoroutine::CastFromThread(thread); in EtsNapiObjEnd()
/arkcompiler/runtime_core/static_core/verification/
Ddefault_plugin.cpp32 MTManagedThread::CastFromThread(thr)->Destroy(); in DestroyManagedThread()
/arkcompiler/runtime_core/static_core/runtime/coroutines/
Dcoroutine.h144 static Coroutine *CastFromThread(Thread *thread) in CastFromThread() function
156 return CastFromThread(thread); in GetCurrent()
/arkcompiler/runtime_core/static_core/plugins/ets/verification/
Dets_plugin.cpp40 coroman->DestroyEntrypointlessCoroutine(Coroutine::CastFromThread(thr)); in DestroyManagedThread()
/arkcompiler/runtime_core/static_core/runtime/core/
Dcore_vm.cpp309 auto mtThread = MTManagedThread::CastFromThread(thread); in VisitVmRoots()
322 auto mtThread = MTManagedThread::CastFromThread(thread); in UpdateVmRefs()
/arkcompiler/runtime_core/static_core/runtime/
Dclass_initializer.cpp232 if (klass->GetInitTid() == Coroutine::CastFromThread(thread)->GetCoroutineId()) { in Initialize()
249 klass->SetInitTid(Coroutine::CastFromThread(thread)->GetCoroutineId()); in Initialize()
/arkcompiler/runtime_core/static_core/runtime/tooling/
Ddebugger.cpp213 MTManagedThread *mtManagedThread = MTManagedThread::CastFromThread(managedThread); in GetPandaFrameByPtThread()
422 MTManagedThread *mtManagedThread = MTManagedThread::CastFromThread(managedThread); in SuspendThread()
437 MTManagedThread *mtManagedThread = MTManagedThread::CastFromThread(managedThread); in ResumeThread()
580 hooks_.ClassLoad(PtThread(ManagedThread::CastFromThread(thread)), klass); in ClassLoad()
590 hooks_.ClassPrepare(PtThread(ManagedThread::CastFromThread(thread)), klass); in ClassPrepare()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_job_queue.cpp163 Coroutine *mainCoro = Coroutine::CastFromThread(mainT); in CreateLink()
/arkcompiler/runtime_core/static_core/runtime/tests/tooling/
Dtest_util.h179 auto mtManagedThread = MTManagedThread::CastFromThread(managedThread); in GetUserThreadList()
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc.cpp688 ManagedThread *thread = ManagedThread::CastFromThread(baseThread); in WaitForGCInManaged()
691 MTManagedThread::CastFromThread(baseThread)->IsDaemon(); in WaitForGCInManaged()
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dsampling_profiler.cpp311 …isCoroutineRunning = Coroutine::CastFromThread(mthread)->GetCoroutineStatus() == Coroutine::Status… in SigProfSamplingProfilerHandler()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/
Dinterpreter-inl.h478 return EtsCoroutine::CastFromThread(this->GetThread()); in GetCoro()