Searched refs:requiredModule (Results 1 – 5 of 5) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_deregister.cpp | 110 …JSMutableHandle<SourceTextModule> requiredModule(thread, thread->GlobalConstants()->GetUndefined()… in IncreaseRegisterCounts() local 117 requiredModule.Update(JSHandle<SourceTextModule>::Cast(requiredVal)); in IncreaseRegisterCounts() 118 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in IncreaseRegisterCounts() 124 requiredModule.Update(JSHandle<SourceTextModule>::Cast(requiredVal)); in IncreaseRegisterCounts() 125 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in IncreaseRegisterCounts() 129 requiredModule->SetLoadingTypes(LoadingTypes::STABLE_MODULE); in IncreaseRegisterCounts() 133 LoadingTypes type = requiredModule->GetLoadingTypes(); in IncreaseRegisterCounts() 135 IncreaseRegisterCounts(thread, requiredModule, increaseModule); in IncreaseRegisterCounts() 160 …JSMutableHandle<SourceTextModule> requiredModule(thread, thread->GlobalConstants()->GetUndefined()… in DecreaseRegisterCounts() local 167 requiredModule.Update(JSHandle<SourceTextModule>::Cast(requiredVal)); in DecreaseRegisterCounts() [all …]
|
D | js_dynamic_import.cpp | 31 … JSMutableHandle<JSTaggedValue> requiredModule(thread, thread->GlobalConstants()->GetUndefined()); in ExecuteNativeModule() local 36 requiredModule.Update(moduleRecord); in ExecuteNativeModule() 53 requiredModule.Update(nativeModule); in ExecuteNativeModule() 57 JSHandle<SourceTextModule>(requiredModule)); in ExecuteNativeModule()
|
D | js_module_source_text.cpp | 266 const JSHandle<SourceTextModule> &requiredModule) in InstantiateCJS() argument 268 JSTaggedValue cjsFileName(requiredModule->GetEcmaModuleFilename()); in InstantiateCJS() 269 JSTaggedValue cjsRecordName(requiredModule->GetEcmaModuleRecordName()); in InstantiateCJS() 340 …ol SourceTextModule::LoadNativeModule(JSThread *thread, JSHandle<SourceTextModule> &requiredModule, in LoadNativeModule() argument 371 requiredModule->StoreModuleValue(thread, 0, JSNApiHelper::ToJSHandle(exportObject)); in LoadNativeModule() 376 JSHandle<SourceTextModule> &requiredModule, const JSHandle<JSTaggedValue> &moduleRequest, in InstantiateNativeModule() argument 379 if (requiredModule->GetStatus() != ModuleStatus::EVALUATED) { in InstantiateNativeModule() 380 … if (!SourceTextModule::LoadNativeModule(thread, requiredModule, moduleRequest, moduleType)) { in InstantiateNativeModule() 387 JSHandle<JSTaggedValue> nativeModuleName(thread, requiredModule->GetEcmaModuleRecordName()); in InstantiateNativeModule() 388 JSHandle<JSTaggedValue> nativeExports(thread, requiredModule->GetModuleValue(thread, 0, false)); in InstantiateNativeModule() [all …]
|
D | js_module_source_text.h | 109 static bool LoadNativeModule(JSThread *thread, JSHandle<SourceTextModule> &requiredModule, 162 const JSHandle<SourceTextModule> &requiredModule); 164 JSHandle<SourceTextModule> &requiredModule,
|
D | js_module_manager.cpp | 585 JSHandle<JSTaggedValue> requiredModule; in GetModuleNamespaceInternal() local 587 requiredModule = SourceTextModule::HostResolveImportedModule(thread, in GetModuleNamespaceInternal() 591 requiredModule = SourceTextModule::HostResolveImportedModuleWithMerge(thread, in GetModuleNamespaceInternal() 595 JSHandle<SourceTextModule> requiredModuleST = JSHandle<SourceTextModule>::Cast(requiredModule); in GetModuleNamespaceInternal()
|