/arkcompiler/ets_runtime/test/typeinfer/automatedcases/extendingClassFromAliasAndUsageInIndexer/ |
D | extendingClassFromAliasAndUsageInIndexer_main.ts | 45 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/ |
D | js_module_deregister.cpp | 64 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 …]
|
D | module_path_helper.cpp | 80 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 …]
|
D | js_module_deregister.h | 49 static void ReviseLoadedModuleCount(JSThread *thread, JSTaggedValue moduleName);
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | path_helper.h | 46 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/ |
D | builtins_promise_job.cpp | 152 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/ |
D | ecmaModule.ts | 44 private moduleName: string; property in SourceTextModuleRecord 55 constructor(moduleName: string) { 56 this.moduleName = moduleName; 122 return this.moduleName;
|
/arkcompiler/toolchain/tooling/test/testcases/ |
D | js_step_into_test.h | 32 loadModule = [this](std::string_view moduleName) { in JsStepIntoTest() 43 ASSERT_EQ(moduleName, pandaFile_); in JsStepIntoTest() 44 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepIntoTest()
|
D | js_step_over_test.h | 32 loadModule = [this](std::string_view moduleName) { in JsStepOverTest() 41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOverTest() 42 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepOverTest()
|
D | js_step_out_test.h | 32 loadModule = [this](std::string_view moduleName) { in JsStepOutTest() 41 ASSERT_EQ(moduleName, pandaFile_); in JsStepOutTest() 42 debugger_->NotifyScriptParsed(0, moduleName.data()); in JsStepOutTest()
|
D | js_breakpoint_test.h | 34 loadModule = [this](std::string_view moduleName) { in JsBreakpointTest() 40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointTest()
|
D | js_breakpoint_async_test.h | 34 loadModule = [this](std::string_view moduleName) { in JsBreakpointAsyncTest() 40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointAsyncTest()
|
D | js_breakpoint_arrow_test.h | 34 loadModule = [this](std::string_view moduleName) { in JsBreakpointArrowTest() 40 ASSERT_EQ(moduleName, pandaFile_); in JsBreakpointArrowTest()
|
D | js_single_step_test.h | 32 loadModule = [this](std::string_view moduleName) { in JsSingleStepTest() 39 ASSERT_EQ(moduleName, pandaFile_); in JsSingleStepTest()
|
D | js_syntax_exception_test.h | 57 loadModule = [this](std::string_view moduleName) { in JsSyntaxExceptionTest() 63 ASSERT_EQ(moduleName, pandaFile_); in JsSyntaxExceptionTest()
|
D | js_exception_test.h | 57 loadModule = [this](std::string_view moduleName) { in JsExceptionTest() 63 ASSERT_EQ(moduleName, pandaFile_); in JsExceptionTest()
|
D | js_range_error_test.h | 57 loadModule = [this](std::string_view moduleName) { in JsRangeErrorTest() 63 ASSERT_EQ(moduleName, pandaFile_); in JsRangeErrorTest()
|
D | js_throw_exception_test.h | 58 loadModule = [this](std::string_view moduleName) { in JsThrowExceptionTest() 66 ASSERT_EQ(moduleName, pandaFile_); in JsThrowExceptionTest()
|
D | js_module_variable_test.h | 39 loadModule = [this](std::string_view moduleName) { in JsModuleVariableTest() 40 if (moduleName != gg_pandaFile) { in JsModuleVariableTest() 49 ASSERT_EQ(moduleName, gg_pandaFile); in JsModuleVariableTest()
|
D | js_local_variable_scope_test.h | 35 loadModule = [this](std::string_view moduleName) { in JsLocalVariableScopeTest() 44 ASSERT_EQ(moduleName, pandaFile); in JsLocalVariableScopeTest()
|
D | js_variable_first_test.h | 35 loadModule = [this](std::string_view moduleName) { in JsVariableFirstTest() 44 ASSERT_EQ(moduleName, pandaFile); in JsVariableFirstTest()
|
D | js_variable_second_test.h | 35 loadModule = [this](std::string_view moduleName) { in JsVariableSecondTest() 44 ASSERT_EQ(moduleName, panfaFile); in JsVariableSecondTest()
|
D | js_container_test.h | 35 loadModule = [this](std::string_view moduleName) { in JsContainerTest() 44 ASSERT_EQ(moduleName, pandaFile); in JsContainerTest()
|
D | js_dropframe_test.h | 50 loadModule = [this](std::string_view moduleName) { in JsDropFrameTest() 58 ASSERT_EQ(moduleName, pandaFile_); in JsDropFrameTest()
|
/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | OhsUtil.ts | 69 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) {
|