/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_dynamic_import.cpp | 30 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in ExecuteNativeModule() local 32 if (moduleManager->IsImportedModuleLoaded(specifierString.GetTaggedValue())) { in ExecuteNativeModule() 35 moduleManager->HostGetImportedModule(specifierString.GetTaggedValue()); in ExecuteNativeModule() 40 …JSHandle<JSTaggedValue> nativeModuleHld = moduleManager->ResolveNativeModule(requestPath, moduleTy… in ExecuteNativeModule()
|
D | js_module_deregister.cpp | 67 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in ReviseLoadedModuleCount() local 68 JSHandle<SourceTextModule> module = moduleManager->HostGetImportedModule(moduleName); in ReviseLoadedModuleCount() 85 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in RemoveModule() local 93 JSHandle<NameDictionary> dict(thread, moduleManager->resolvedModules_.GetTaggedObject()); in RemoveModule() 98 moduleManager->resolvedModules_ = NameDictionary::Remove(thread, dict, entry).GetTaggedValue(); in RemoveModule()
|
D | js_module_source_text.cpp | 85 auto moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in HostResolveImportedModuleWithMerge() local 86 if (moduleManager->IsImportedModuleLoaded(moduleRequest.GetTaggedValue())) { in HostResolveImportedModuleWithMerge() 87 …return JSHandle<JSTaggedValue>(moduleManager->HostGetImportedModule(moduleRequest.GetTaggedValue()… in HostResolveImportedModuleWithMerge() 93 return moduleManager->ResolveNativeModule(moduleRequestName, moduleType); in HostResolveImportedModuleWithMerge() 118 return moduleManager->HostResolveImportedModuleWithMerge(outFileName, entryPoint); in HostResolveImportedModuleWithMerge() 126 auto moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in HostResolveImportedModule() local 127 if (moduleManager->IsImportedModuleLoaded(moduleRequest.GetTaggedValue())) { in HostResolveImportedModule() 128 …return JSHandle<JSTaggedValue>(moduleManager->HostGetImportedModule(moduleRequest.GetTaggedValue()… in HostResolveImportedModule()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | js_pandafile_executor.cpp | 90 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in ExecuteFromFile() local 93 moduleRecord = moduleManager->HostResolveImportedModule(name, excuteFromJob); in ExecuteFromFile() 95 … moduleRecord = moduleManager->HostResolveImportedModuleWithMerge(name, entry, excuteFromJob); in ExecuteFromFile() 197 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in CommonExecuteBuffer() local 198 moduleManager->SetExecuteMode(true); in CommonExecuteBuffer() 201 moduleRecord.Update(moduleManager->HostResolveImportedModule(buffer, size, filename)); in CommonExecuteBuffer() 203 moduleRecord.Update(moduleManager->HostResolveImportedModuleWithMerge(filename, entry)); in CommonExecuteBuffer() 279 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in CommonExecuteBuffer() local 280 moduleManager->SetExecuteMode(true); in CommonExecuteBuffer() 283 moduleRecord.Update(moduleManager->HostResolveImportedModule(jsPandaFile, filename)); in CommonExecuteBuffer() [all …]
|
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
D | ecma_module_test.cpp | 240 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in HWTEST_F_L0() local 244 moduleManager->AddResolveImportedModule(baseFileName.c_str(), moduleRecord); in HWTEST_F_L0() 245 JSHandle<JSTaggedValue> res = moduleManager->HostResolveImportedModule(baseFileName.c_str()); in HWTEST_F_L0() 262 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in HWTEST_F_L0() local 263 moduleManager->AddResolveImportedModule(baseFileName, JSHandle<JSTaggedValue>::Cast(module)); in HWTEST_F_L0() 278 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in HWTEST_F_L0() local 279 …JSHandle<SourceTextModule> module = moduleManager->HostGetImportedModule("module_test_module_test_… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_job.cpp | 160 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in DynamicImportJob() local 192 if (!moduleManager->IsImportedModuleLoaded(moduleName.GetTaggedValue())) { in DynamicImportJob() 218 moduleManager->HostGetImportedModule(moduleName.GetTaggedValue()); in DynamicImportJob()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | pass_manager.cpp | 181 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in ResolveModule() local 186 …JSHandle<JSTaggedValue> moduleRecord = moduleManager->HostResolveImportedModuleWithMerge(fileName.… in ResolveModule()
|
D | bytecode_info_collector.cpp | 562 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in CollectExportIndexs() local 566 JSHandle<SourceTextModule> currentModule = moduleManager->HostGetImportedModule(recordName); in CollectExportIndexs() 646 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in CollectRecordImportInfo() local 648 JSHandle<SourceTextModule> currentModule = moduleManager->HostGetImportedModule(recordName); in CollectRecordImportInfo() 676 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in CollectRecordExportInfo() local 678 JSHandle<SourceTextModule> currentModule = moduleManager->HostGetImportedModule(recordName); in CollectRecordExportInfo()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 918 ecmascript::ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in GetExportObject() local 919 JSHandle<ecmascript::SourceTextModule> ecmaModule = moduleManager->HostGetImportedModule(entry); in GetExportObject() 939 ecmascript::ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in GetExportObjectFromBuffer() local 940 …JSHandle<ecmascript::SourceTextModule> ecmaModule = moduleManager->HostGetImportedModule(file.c_st… in GetExportObjectFromBuffer() 3617 ecmascript::ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in InitForConcurrentFunction() local 3622 moduleRecord = moduleManager->HostResolveImportedModule(moduleName); in InitForConcurrentFunction() 3625 moduleRecord = moduleManager->HostResolveImportedModuleWithMerge(moduleName, recordName); in InitForConcurrentFunction()
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | method_type_infer.cpp | 1082 ModuleManager *moduleManager = thread->GetCurrentEcmaContext()->GetModuleManager(); in InferLdExternalModuleVar() local 1084 … JSHandle<SourceTextModule> currentModule = moduleManager->HostGetImportedModule(recordName_); in InferLdExternalModuleVar()
|