Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 25 of 44) sorted by relevance

12

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/extendingClassFromAliasAndUsageInIndexer/
DextendingClassFromAliasAndUsageInIndexer_main.ts45 let moduleName: string; variable
46 AssertType(moduleName, "string");
48 let visModel = new moduleMap[moduleName].VisualizationModel(); variable
50 AssertType(new moduleMap[moduleName].VisualizationModel(), "Backbone.Model");
51 AssertType(moduleMap[moduleName].VisualizationModel, "typeof Backbone.Model");
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_deregister.cpp64 void ModuleDeregister::ReviseLoadedModuleCount(JSThread *thread, JSTaggedValue moduleName) in ReviseLoadedModuleCount() argument
68 JSHandle<SourceTextModule> module = moduleManager->HostGetImportedModule(moduleName); in ReviseLoadedModuleCount()
75 CString recordNameStr = ConvertToString(moduleName); in ReviseLoadedModuleCount()
112 CString moduleName; in IncreaseRegisterCounts() local
118 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in IncreaseRegisterCounts()
125 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in IncreaseRegisterCounts()
127 if (increaseModule.find(moduleName) != increaseModule.end()) { in IncreaseRegisterCounts()
132 increaseModule.emplace(moduleName); in IncreaseRegisterCounts()
162 CString moduleName; in DecreaseRegisterCounts() local
168 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in DecreaseRegisterCounts()
[all …]
Dmodule_path_helper.cpp80 CString moduleName = inputFileName.substr(startStrLen, pos - startStrLen); in ParseOhmUrl() local
81 outBaseFileName = BUNDLE_INSTALL_PATH + moduleName + MERGE_ABC_ETS_MODULES; in ParseOhmUrl()
127 CString moduleName = vec[1]; in ParseUrl() local
128 PathHelper::DeleteNamespace(moduleName); in ParseUrl()
133 baseFileName = BUNDLE_INSTALL_PATH + bundleName + PathHelper::SLASH_TAG + moduleName + in ParseUrl()
134 PathHelper::SLASH_TAG + moduleName + MERGE_ABC_ETS_MODULES; in ParseUrl()
137 baseFileName = BUNDLE_INSTALL_PATH + moduleName + MERGE_ABC_ETS_MODULES; in ParseUrl()
162 CString moduleName = vec[1]; in ParsePrefixBundle() local
163 PathHelper::DeleteNamespace(moduleName); in ParsePrefixBundle()
167 baseFileName = BUNDLE_INSTALL_PATH + bundleName + PathHelper::SLASH_TAG + moduleName + in ParsePrefixBundle()
[all …]
Djs_module_deregister.h49 static void ReviseLoadedModuleCount(JSThread *thread, JSTaggedValue moduleName);
/arkcompiler/ets_runtime/ecmascript/base/
Dpath_helper.h46 inline static void DeleteNamespace(CString &moduleName) in DeleteNamespace() argument
48 size_t pos = moduleName.find(NAME_SPACE_TAG); in DeleteNamespace()
52 moduleName.erase(pos, moduleName.size() - pos); in DeleteNamespace()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp152 JSMutableHandle<JSTaggedValue> moduleName(thread, thread->GlobalConstants()->GetUndefined()); in DynamicImportJob() local
166 moduleName.Update(ResolveFilenameFromNative(thread, dirPath.GetTaggedValue(), in DynamicImportJob()
169 fileNameStr = ConvertToString(moduleName.GetTaggedValue()); in DynamicImportJob()
181 moduleName.Update(factory->NewFromUtf8(entryPoint).GetTaggedValue()); in DynamicImportJob()
192 if (!moduleManager->IsImportedModuleLoaded(moduleName.GetTaggedValue())) { in DynamicImportJob()
198 … thread->GetEcmaVM()->PushToDeregisterModuleList(ConvertToString(moduleName.GetTaggedValue())); in DynamicImportJob()
200 ModuleDeregister::ReviseLoadedModuleCount(thread, moduleName.GetTaggedValue()); in DynamicImportJob()
218 moduleManager->HostGetImportedModule(moduleName.GetTaggedValue()); in DynamicImportJob()
/arkcompiler/ets_frontend/ts2panda/src/
DecmaModule.ts44 private moduleName: string; property in SourceTextModuleRecord
55 constructor(moduleName: string) {
56 this.moduleName = moduleName;
122 return this.moduleName;
/arkcompiler/toolchain/tooling/test/testcases/
Djs_step_into_test.h32 loadModule = [this](std::string_view moduleName) { in JsStepIntoTest()
43 ASSERT_EQ(moduleName, pandaFile_); in JsStepIntoTest()
44 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepIntoTest()
Djs_step_over_test.h32 loadModule = [this](std::string_view moduleName) { in JsStepOverTest()
41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOverTest()
42 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepOverTest()
Djs_step_out_test.h32 loadModule = [this](std::string_view moduleName) { in JsStepOutTest()
41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOutTest()
42 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepOutTest()
Djs_breakpoint_test.h34 loadModule = [this](std::string_view moduleName) { in JsBreakpointTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointTest()
Djs_breakpoint_async_test.h34 loadModule = [this](std::string_view moduleName) { in JsBreakpointAsyncTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointAsyncTest()
Djs_breakpoint_arrow_test.h34 loadModule = [this](std::string_view moduleName) { in JsBreakpointArrowTest()
40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointArrowTest()
Djs_single_step_test.h32 loadModule = [this](std::string_view moduleName) { in JsSingleStepTest()
39 ASSERT_EQ(moduleName, pandaFile_); in JsSingleStepTest()
Djs_syntax_exception_test.h57 loadModule = [this](std::string_view moduleName) { in JsSyntaxExceptionTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsSyntaxExceptionTest()
Djs_exception_test.h57 loadModule = [this](std::string_view moduleName) { in JsExceptionTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsExceptionTest()
Djs_range_error_test.h57 loadModule = [this](std::string_view moduleName) { in JsRangeErrorTest()
63 ASSERT_EQ(moduleName, pandaFile_); in JsRangeErrorTest()
Djs_throw_exception_test.h58 loadModule = [this](std::string_view moduleName) { in JsThrowExceptionTest()
66 ASSERT_EQ(moduleName, pandaFile_); in JsThrowExceptionTest()
Djs_module_variable_test.h39 loadModule = [this](std::string_view moduleName) { in JsModuleVariableTest()
40 if (moduleName != gg_pandaFile) { in JsModuleVariableTest()
49 ASSERT_EQ(moduleName, gg_pandaFile); in JsModuleVariableTest()
Djs_local_variable_scope_test.h35 loadModule = [this](std::string_view moduleName) { in JsLocalVariableScopeTest()
44 ASSERT_EQ(moduleName, pandaFile); in JsLocalVariableScopeTest()
Djs_variable_first_test.h35 loadModule = [this](std::string_view moduleName) { in JsVariableFirstTest()
44 ASSERT_EQ(moduleName, pandaFile); in JsVariableFirstTest()
Djs_variable_second_test.h35 loadModule = [this](std::string_view moduleName) { in JsVariableSecondTest()
44 ASSERT_EQ(moduleName, panfaFile); in JsVariableSecondTest()
Djs_container_test.h35 loadModule = [this](std::string_view moduleName) { in JsContainerTest()
44 ASSERT_EQ(moduleName, pandaFile); in JsContainerTest()
Djs_dropframe_test.h50 loadModule = [this](std::string_view moduleName) { in JsDropFrameTest()
58 ASSERT_EQ(moduleName, pandaFile_); in JsDropFrameTest()
/arkcompiler/ets_frontend/arkguard/src/utils/
DOhsUtil.ts69 export function findOhImportStatement(node: Statement, moduleName: string): OhPackType {
108 if (isStringLiteral(arg) && arg.text === moduleName.substring('@ohos.'.length)) {
134 if (!isStringLiteral(innerArg) || innerArg.text !== moduleName) {

12