Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/module/
Djs_dynamic_import.cpp42 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in ExecuteNativeOrJsonModule() local
46 …andle<JSTaggedValue> nativeModuleHld = moduleManager->ResolveNativeModule(requestPath, moduleType); in ExecuteNativeOrJsonModule()
49 LOG_FULL(ERROR) << " dynamically loading native module" << requestPath << " failed"; in ExecuteNativeOrJsonModule()
54 thread, jsPandaFile, jsPandaFile->GetJSPandaFileDesc(), requestPath)); in ExecuteNativeOrJsonModule()
59 thread->GetEcmaVM()->PushToDeregisterModuleList(requestPath); in ExecuteNativeOrJsonModule()
Dmodule_path_helper.cpp505 void ModulePathHelper::TranstaleExpressionInput(JSThread *thread, CString &requestPath, in TranstaleExpressionInput() argument
508 LOG_ECMA(DEBUG) << "Enter Translate OhmUrl for DynamicImport, requestPath: " << requestPath; in TranstaleExpressionInput()
509 if (StringHelper::StringStartWith(requestPath, RAW_ARKUIX_PREFIX)) { in TranstaleExpressionInput()
510requestPath = StringHelper::Replace(requestPath, RAW_ARKUIX_PREFIX, REQUIRE_NAPI_OHOS_PREFIX); in TranstaleExpressionInput()
516 if (jsPandaFile->FindOhmUrlInPF(requestPath, outEntryPoint)) { in TranstaleExpressionInput()
517 requestPath = outEntryPoint; in TranstaleExpressionInput()
521 ChangeTag(requestPath); in TranstaleExpressionInput()
523 specifierString = thread->GetEcmaVM()->GetFactory()->NewFromUtf8(requestPath); in TranstaleExpressionInput()
524 LOG_ECMA(DEBUG) << "Exit Translate OhmUrl for DynamicImport, resultPath: " << requestPath; in TranstaleExpressionInput()
Djs_module_manager.cpp786 CString requestPath = ConvertToString(keyHandle.GetTaggedValue()); in LoadNativeModule() local
787 CString entryPoint = PathHelper::GetStrippedModuleName(requestPath); in LoadNativeModule()
788 auto [isNative, moduleType] = SourceTextModule::CheckNativeModule(requestPath); in LoadNativeModule()
789 JSHandle<JSTaggedValue> nativeModuleHandle = ResolveNativeModule(requestPath, moduleType); in LoadNativeModule()
793 LOG_FULL(ERROR) << "loading native module " << requestPath << " failed"; in LoadNativeModule()
Dmodule_path_helper.h127 …static void TranstaleExpressionInput(JSThread *thread, CString &requestPath, const JSPandaFile *js…
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp157 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in DynamicImportJob() local
158 LOG_ECMA(DEBUG) << "Start importing dynamic module : " << requestPath; in DynamicImportJob()
169 if (ModulePathHelper::NeedTranstale(requestPath)) { in DynamicImportJob()
170 …ModulePathHelper::TranstaleExpressionInput(thread, requestPath, curJsPandaFile.get(), specifierStr… in DynamicImportJob()
174 auto [isNative, moduleType] = SourceTextModule::CheckNativeModule(requestPath); in DynamicImportJob()
188 fileNameStr, recordNameStr, requestPath); in DynamicImportJob()