Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/napi/
Ddfx_jsnapi.cpp613 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& … in BuildJsStackInfoList() argument
616 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
617 vm = const_cast<EcmaVM*>(hostVm); in BuildJsStackInfoList()
619 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
690 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
692 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
693 ResumeVM(hostVm); in ResumeVMById()
695 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
699 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
702 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in SuspendVMById()
[all …]
Djsnapi_expo.cpp3463 void JSNApi::AddWorker(EcmaVM *hostVm, EcmaVM *workerVm) in AddWorker() argument
3465 if (hostVm != nullptr && workerVm != nullptr) { in AddWorker()
3466 hostVm->WorkersetInfo(workerVm); in AddWorker()
3467 workerVm->SetBundleName(hostVm->GetBundleName()); in AddWorker()
3471 bool JSNApi::DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm) in DeleteWorker() argument
3473 if (hostVm != nullptr && workerVm != nullptr) { in DeleteWorker()
3474 return hostVm->DeleteWorker(workerVm); in DeleteWorker()
DJSNapi接口说明.md482 void JSNApi::addWorker(EcmaVM *hostVm, EcmaVM *workerVm)
490 | hostVm | const EcmaVM * | �� | ָ����������� |
504 JSNApi::addWorker(hostVm, workerVm);
/arkcompiler/ets_runtime/ecmascript/napi/include/
Ddfx_jsnapi.h103 …static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsF…
Djsnapi_expo.h1271 static void AddWorker(EcmaVM *hostVm, EcmaVM *workerVm);
1272 static bool DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm);