| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | scope.cpp | 193 [[maybe_unused]] ScriptExtension extension) in AddLocal() argument 301 [[maybe_unused]] ScriptExtension extension) in AddBinding() argument 307 [[maybe_unused]] ScriptExtension extension) in AddBinding() argument 314 return AddFunction<LocalVariable>(allocator, currentVariable, newDecl, extension); in AddBinding() 339 [[maybe_unused]] ScriptExtension extension) in AddBinding() argument 346 return AddFunction<GlobalVariable>(allocator, currentVariable, newDecl, extension); in AddBinding() 397 [[maybe_unused]] ScriptExtension extension) in AddBinding() argument 416 AddFunction<ModuleVariable>(allocator, currentVariable, newDecl, extension) : in AddBinding() 417 AddFunction<LocalVariable>(allocator, currentVariable, newDecl, extension); in AddBinding() 449 [[maybe_unused]] ScriptExtension extension) in AddBinding() argument [all …]
|
| D | scope.h | 267 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl() argument 270 return AddBinding(allocator, FindLocal(decl->Name()), decl, extension); in AddDecl() 273 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() argument 276 …return AddBinding(allocator, FindLocal(decl->Name(), ResolveBindingOptions::ALL), decl, extension); in AddTsDecl() 303 [[maybe_unused]] ScriptExtension extension) = 0; 351 [[maybe_unused]] ScriptExtension extension); 424 [[maybe_unused]] ScriptExtension extension); 510 [[maybe_unused]] ScriptExtension extension) override; 591 [[maybe_unused]] ScriptExtension extension) override; 608 [[maybe_unused]] ScriptExtension extension) override; [all …]
|
| D | binder.h | 46 explicit Binder(parser::Program *program, ScriptExtension extension) in Binder() argument 52 extension_(extension) in Binder() 264 if (scope_->AddTsDecl(Allocator(), decl, program_->Extension())) { in AddTsDecl() 277 if (scope_->AddDecl(Allocator(), decl, program_->Extension())) { in AddDecl() 291 if (scope_->AddDecl(Allocator(), decl, program_->Extension())) { in AddDecl()
|
| /arkcompiler/runtime_core/runtime/tests/ |
| D | method_test.cpp | 91 auto *extension = classLinker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in VerifyLineNumber() local 95 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in VerifyLineNumber() 160 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 164 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() 222 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 225 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() 255 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 259 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R"), &descripto… in TEST_F() 292 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 296 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("_GLOBAL"), &des… in TEST_F() [all …]
|
| D | interpreter_test_resolve_field.cpp | 95 auto *extension = class_linker->GetExtension(panda_file::SourceLang::PANDA_ASSEMBLY); in TEST_F() local 100 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R1"), &descript… in TEST_F() 115 …Class *klass = extension->GetClass(ClassHelper::GetDescriptor(utf::CStringAsMutf8("R2"), &descript… in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
| D | assembler_x64.h | 177 // 0: Extension to the MODRM.rm field B in EmitRexPrefix() 183 // 0: Extension to the MODRM.rm field B in EmitRexPrefix() 184 // 2: Extension to the MODRM.reg field R in EmitRexPrefix() 190 // 0: Extension to the MODRM.rm field B in EmitRexPrefixl() 192 // 2: Extension to the MODRM.reg field R in EmitRexPrefixl() 199 // 0: Extension to the MODRM.rm field B in EmitRexPrefix() 200 // 2: Extension to the MODRM.reg field R in EmitRexPrefix() 206 // 0: Extension to the MODRM.rm field B in EmitRexPrefixl() 208 // 2: Extension to the MODRM.reg field R in EmitRexPrefixl()
|
| /arkcompiler/ets_frontend/es2panda/aot/ |
| D | options.cpp | 107 …Options::CollectInputFilesFromFileDirectory(const std::string &input, const std::string &extension) in CollectInputFilesFromFileDirectory() argument 110 if (!proto::MergeProgram::GetProtoFiles(input, extension, files)) { in CollectInputFilesFromFileDirectory() 158 panda::PandArg<std::string> inputExtension("extension", "js", in Parse() 159 … "Parse the input as the given extension (options: js | ts | as)"); in Parse() 310 std::string extension = inputExtension.GetValue(); in Parse() local 311 if (!extension.empty()) { in Parse() 312 if (extension == "js") { in Parse() 314 } else if (extension == "ts") { in Parse() 318 } else if (extension == "as") { in Parse() 321 errorMsg_ = "Invalid extension (available options: js, ts, as)"; in Parse() [all …]
|
| /arkcompiler/ets_frontend/es2panda/parser/program/ |
| D | program.cpp | 23 Program::Program(ScriptExtension extension) in Program() argument 25 binder_(allocator_->New<binder::Binder>(this, extension)), in Program() 28 extension_(extension) in Program()
|
| /arkcompiler/ets_frontend/es2panda/ |
| D | README.md | 16 - `--extension`: Parse the input as the given extension (options: js | ts | as)
|
| /arkcompiler/runtime_core/plugins/ecmascript/assembler/ |
| D | CMakeLists.txt | 14 set(EXTENSION_DIR ${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/assembler/extension) 21 DATAFILE ${PANDA_ECMASCRIPT_PLUGIN_SOURCE}/assembler/extension/metadata.yaml
|
| /arkcompiler/runtime_core/plugins/ecmascript/ |
| D | BUILD.gn | 36 "$ark_root/plugins/ecmascript/assembler/extension", 47 data_file = "$ark_root/plugins/ecmascript/assembler/extension/metadata.yaml"
|
| /arkcompiler/runtime_core/runtime/include/ |
| D | class_linker_extension.h | 253 explicit BootContext(ClassLinkerExtension *extension) in BootContext() argument 254 : ClassLinkerContext(extension->GetLanguage()), extension_(extension) in BootContext() 274 …explicit AppContext(ClassLinkerExtension *extension, PandaVector<const panda_file::File *> &&pf_li… in AppContext() argument 275 : ClassLinkerContext(extension->GetLanguage()), extension_(extension), pfs_(pf_list) in AppContext()
|
| D | class_linker.h | 222 …ClassLinkerExtension *extension = extensions_[panda::panda_file::GetLangArrIndex(ctx.GetLanguage()… in GetExtension() local 223 ASSERT(extension != nullptr); in GetExtension() 224 return extension; in GetExtension() 229 … ClassLinkerExtension *extension = extensions_[panda::panda_file::GetLangArrIndex(lang)].get(); in GetExtension() local 230 ASSERT(extension != nullptr); in GetExtension() 231 return extension; in GetExtension()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_locale.cpp | 184 parsedResult.extension = result.substr(foundExtension, extensionEnd - foundExtension); in HandleLocale() 348 // with all Unicode locale extension sequences removed. in LookupMatcher() 358 …// 2. c. ii. 1. Let extension be the String value consisting of the first substring of locale tha… in LookupMatcher() 359 // Unicode locale extension sequence. in LookupMatcher() 360 if (!parsedResult.extension.empty()) { in LookupMatcher() 361 result.extension = parsedResult.extension; in LookupMatcher() 363 // 2. c. ii. 2. Set result.[[extension]] to extension. in LookupMatcher() 364 std::string res = result.locale + result.extension; in LookupMatcher() 440 …t noExtensionsLocale be the String value that is locale with all Unicode locale extension sequences in LookupSupportedLocales() 692 // 9.2.5 UnicodeExtensionValue ( extension, key ) [all …]
|
| /arkcompiler/runtime_core/runtime/mem/gc/ |
| D | gc_root.cpp | 258 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in VisitClassRoots() local 259 extension->EnumerateClasses(class_root_visitor, flags); in VisitClassRoots() 290 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in VisitClassLinkerContextRoots() local 291 extension->EnumerateContexts([&gc_root_visitor](ClassLinkerContext *ctx) { in VisitClassLinkerContextRoots() 305 auto *extension = class_linker->GetExtension(LanguageConfig::LANG); in UpdateClassLinkerContextRoots() local 306 extension->EnumerateContexts([](ClassLinkerContext *ctx) { in UpdateClassLinkerContextRoots()
|
| /arkcompiler/runtime_core/runtime/core/ |
| D | core_language_context.cpp | 29 auto *extension = class_linker->GetExtension(ctx); in GetExceptionClass() local 30 auto *cls = class_linker->GetClass(mutf8_name, true, extension->GetBootContext()); in GetExceptionClass() 134 auto *extension = class_linker->GetExtension(ctx); in ThrowStackOverflowException() local 135 …auto *cls = class_linker->GetClass(ctx.GetStackOverflowErrorClassDescriptor(), true, extension->Ge… in ThrowStackOverflowException()
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | compilerImpl.cpp | 49 ASSERT(program->Extension() == ScriptExtension::TS); in Compile() 59 if (program->Extension() == ScriptExtension::TS) { in Compile()
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | u32tou16.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u32toi8.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u64toi32.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u32toi16.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u64tou32.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u32toi64.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | u32tou8.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
|
| D | i32tou8.yaml | 20 Perform specified integer extension or truncations of accumulator. 21 …If extension bytecode treats its source as signed integer, the value is sign-extended to destinati…
|