Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp503 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
506 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
507 vm = const_cast<EcmaVM*>(hostVm); in BuildJsStackInfoList()
509 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
576 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
578 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
579 ResumeVM(hostVm); in ResumeVMById()
581 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
585 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
587 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
[all …]
Djsnapi.cpp664 void JSNApi::addWorker(EcmaVM *hostVm, EcmaVM *workerVm) in addWorker() argument
666 if (hostVm != nullptr && workerVm != nullptr) { in addWorker()
667 hostVm->WorkersetInfo(hostVm, workerVm); in addWorker()
671 bool JSNApi::DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm) in DeleteWorker() argument
673 if (hostVm != nullptr && workerVm != nullptr) { in DeleteWorker()
674 return hostVm->DeleteWorker(hostVm, workerVm); in DeleteWorker()
/arkcompiler/ets_runtime/ecmascript/
Decma_vm.cpp621 void EcmaVM::WorkersetInfo(EcmaVM *hostVm, EcmaVM *workerVm) in WorkersetInfo() argument
625 if (thread != nullptr && hostVm != nullptr) { in WorkersetInfo()
646 bool EcmaVM::DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm) in DeleteWorker() argument
650 if (hostVm != nullptr && thread != nullptr) { in DeleteWorker()
Decma_vm.h278 void WorkersetInfo(EcmaVM *hostVm, EcmaVM *workerVm);
282 bool DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm);
/arkcompiler/ets_runtime/ecmascript/napi/include/
Ddfx_jsnapi.h78 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF…
Djsnapi.h1376 static void addWorker(EcmaVM *hostVm, EcmaVM *workerVm);
1377 static bool DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm);