Home
last modified time | relevance | path

Searched refs:hostVm (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/
H A Ddfx_jsnapi.cpp844 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsFrames) in BuildJsStackInfoList() argument
847 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in BuildJsStackInfoList()
848 vm = const_cast<EcmaVM*>(hostVm); in BuildJsStackInfoList()
850 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid); in BuildJsStackInfoList()
926 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid) in ResumeVMById() argument
928 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) { in ResumeVMById()
929 ResumeVM(hostVm); in ResumeVMById()
931 hostVm->ResumeWorkerVm(tid); in ResumeVMById()
935 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid) in SuspendVMById() argument
938 if (hostVm in SuspendVMById()
[all...]
H A Djsnapi_expo.cpp5353 void JSNApi::AddWorker(EcmaVM *hostVm, EcmaVM *workerVm) in AddWorker() argument
5355 if (hostVm != nullptr && workerVm != nullptr) { in AddWorker()
5356 hostVm->WorkersetInfo(workerVm); in AddWorker()
5357 workerVm->SetBundleName(hostVm->GetBundleName()); in AddWorker()
5361 bool JSNApi::DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm) in DeleteWorker() argument
5363 if (hostVm != nullptr && workerVm != nullptr) { in DeleteWorker()
5364 return hostVm->DeleteWorker(workerVm); in DeleteWorker()
/arkcompiler/ets_runtime/ecmascript/napi/include/
H A Ddfx_jsnapi.h109 static bool BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsFrames);
H A Djsnapi_expo.h1679 static void AddWorker(EcmaVM *hostVm, EcmaVM *workerVm);
1680 static bool DeleteWorker(EcmaVM *hostVm, EcmaVM *workerVm);

Completed in 17 milliseconds