Lines Matching refs:hostVm
613 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()
703 success = SuspendVM(hostVm); in SuspendVMById()
707 success = hostVm->SuspendWorkerVm(tid); in SuspendVMById()