/arkcompiler/ets_frontend/ts2panda/tests/ |
D | scope.test.ts | 33 let scope = new GlobalScope(); variable 36 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable 43 let scope = new GlobalScope(); variable 46 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable 53 let scope = new GlobalScope(); variable 56 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable 63 let scope = new GlobalScope(); variable 66 let { scope: sp, level: lv, v: outVariable } = scope.find("x"); variable 73 let scope = new GlobalScope(); variable 81 let scope = new FunctionScope(globalScope); variable [all …]
|
/arkcompiler/toolchain/tooling/backend/ |
D | js_pt_hooks.cpp | 25 [[maybe_unused]] LocalScope scope(debugger_->vm_); in DebuggerStmt() local 34 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Breakpoint() local 41 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Exception() local 50 [[maybe_unused]] LocalScope scope(debugger_->vm_); in SingleStep() local 74 [[maybe_unused]] LocalScope scope(debugger_->vm_); in LoadModule() local 86 [[maybe_unused]] LocalScope scope(debugger_->vm_); in NativeCalling() local
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | variable.cpp | 43 void LocalVariable::SetLexical(Scope *scope, util::PatchFix *patchFixHelper) in SetLexical() 69 void GlobalVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical() 70 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical() 71 void EnumVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *patch… in SetLexical() 72 void NamespaceVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *… in SetLexical() 73 void ImportEqualsVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFi… in SetLexical() 74 void EnumLiteralVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix… in SetLexical()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | huge_object_test.cpp | 55 ecmascript::EcmaHandleScope *scope {nullptr}; member in panda::test::HugeObjectTest 60 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in JSObjectTestCreate() local 71 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in LargeArrayTestCreate() local 98 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local 105 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local 112 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local
|
D | js_handle_test.cpp | 49 ecmascript::EcmaHandleScope *scope {nullptr}; member in panda::test::JSHandleTest 59 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 79 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 116 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 134 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 147 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 170 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 199 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
|
D | handle_leak_test.cpp | 65 ecmascript::EcmaHandleScope *scope {nullptr}; member in panda::test::HandleLeakTest 93 EcmaHandleScope scope(thread); in HWTEST_F_L0() local 102 EcmaHandleScope scope(thread); in HWTEST_F_L0() local 125 EcmaHandleScope scope(thread); in HWTEST_F_L0() local 140 EcmaHandleScope scope(thread); in HWTEST_F_L0() local 166 EcmaHandleScope scope(thread); in HWTEST_F_L0() local 196 EcmaHandleScope scope(thread); in HWTEST_F_L0() local
|
D | throw_oom_error_test.cpp | 53 ecmascript::EcmaHandleScope *scope {nullptr}; member in panda::test::ThrowOOMErrorTest 59 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local 78 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local
|
D | weak_ref_semi_gc_test.cpp | 49 EcmaHandleScope *scope {nullptr}; member in panda::test::WeakRefSemiGCTest 55 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in JSObjectTestCreate() local 66 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in ArrayTestCreate() local
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_locale.cpp | 30 [[maybe_unused]] EcmaHandleScope scope(thread); in LocaleConstructor() local 87 [[maybe_unused]] EcmaHandleScope scope(thread); in Maximize() local 119 [[maybe_unused]] EcmaHandleScope scope(thread); in Minimize() local 154 [[maybe_unused]] EcmaHandleScope scope(thread); in ToString() local 170 [[maybe_unused]] EcmaHandleScope scope(thread); in GetBaseName() local 189 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCalendar() local 207 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCaseFirst() local 224 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCollation() local 241 [[maybe_unused]] EcmaHandleScope scope(thread); in GetHourCycle() local 259 [[maybe_unused]] EcmaHandleScope scope(thread); in GetNumeric() local [all …]
|
D | builtins_lazy_callback.cpp | 26 [[maybe_unused]] EcmaHandleScope scope(thread); in Date() local 40 [[maybe_unused]] EcmaHandleScope scope(thread); in Set() local 54 [[maybe_unused]] EcmaHandleScope scope(thread); in Map() local 68 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakMap() local 82 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakSet() local 96 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakRef() local 110 [[maybe_unused]] EcmaHandleScope scope(thread); in FinalizationRegistry() local 124 [[maybe_unused]] EcmaHandleScope scope(thread); in TypedArray() local 158 [[maybe_unused]] EcmaHandleScope scope(thread); in ITERATE_TYPED_ARRAY() local 172 [[maybe_unused]] EcmaHandleScope scope(thread); in DataView() local [all …]
|
D | builtins_number_format.cpp | 34 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatConstructor() local 88 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 109 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 145 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 166 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local 199 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatInternalFormatNumber() local
|
D | builtins_collator.cpp | 33 [[maybe_unused]] EcmaHandleScope scope(thread); in CollatorConstructor() local 68 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 89 [[maybe_unused]] EcmaHandleScope scope(thread); in Compare() local 121 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousCollator() local 152 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
D | builtins_list_format.cpp | 32 [[maybe_unused]] EcmaHandleScope scope(thread); in ListFormatConstructor() local 64 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 86 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 113 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 142 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
D | builtins_date_time_format.cpp | 32 [[maybe_unused]] EcmaHandleScope scope(thread); in DateTimeFormatConstructor() local 86 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 107 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 148 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousDateTimeFormat() local 182 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 221 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local 252 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRange() local 299 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRangeToParts() local
|
D | builtins_plural_rules.cpp | 30 [[maybe_unused]] EcmaHandleScope scope(thread); in PluralRulesConstructor() local 61 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 82 [[maybe_unused]] EcmaHandleScope scope(thread); in Select() local 110 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
D | builtins.cpp | 193 [[maybe_unused]] EcmaHandleScope scope(thread_); in Initialize() local 424 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeGlobalObject() local 471 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeFunction() local 532 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeObject() local 604 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSymbol() local 709 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSymbolWithRealm() local 800 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeNumber() local 853 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeBigIntWithRealm() local 865 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeBigInt() local 895 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeDate() local [all …]
|
D | builtins_displaynames.cpp | 33 [[maybe_unused]] EcmaHandleScope scope(thread); in DisplayNamesConstructor() local 63 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 85 [[maybe_unused]] EcmaHandleScope scope(thread); in Of() local 127 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
D | builtins_relative_time_format.cpp | 25 [[maybe_unused]] EcmaHandleScope scope(thread); in RelativeTimeFormatConstructor() local 70 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 93 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 126 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 159 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
D | builtins_cjs_exports.cpp | 26 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsExportsConstructor() local
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 73 EscapeLocalScope scope(info->GetVM()); in FunctionCallback() local 79 LocalScope scope(vm); in WeakRefCallback() local 98 LocalScope scope(vm_); in HWTEST_F_L0() local 111 LocalScope scope(vm_); in HWTEST_F_L0() local 125 LocalScope scope(vm_); in HWTEST_F_L0() local 137 LocalScope scope(vm_); in HWTEST_F_L0() local 157 LocalScope scope(vm_); in HWTEST_F_L0() local 175 LocalScope scope(vm_); in HWTEST_F_L0() local 186 LocalScope scope(vm_); in HWTEST_F_L0() local 195 LocalScope scope(vm_); in HWTEST_F_L0() local [all …]
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | envScope.h | 71 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope() 77 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, binder::LoopScope *scope) in LoopEnvScope() 99 static bool NeedEnv(binder::VariableScope *scope) in NeedEnv()
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | hoisting.cpp | 45 auto *scope = pg->Scope(); in HoistVar() local 71 auto *scope = pg->Scope(); in HoistFunction() local 104 const auto *scope = pg->Scope(); in Hoist() local
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.cpp | 148 auto *scope = it.second; in PushVariablesToNearestStatements() local 207 auto scope = FindEnumMemberScope(name); in VisitTSNode() local 213 auto scope = FindExportVariableInTsModuleScope(name); in VisitTSNode() local 1189 const binder::Scope *scope, in FindTSModuleVariable() 1262 binder::Variable *Transformer::FindTSVariable(const binder::Scope *scope, const util::StringView &n… in FindTSVariable() argument 1397 auto scope = node->AsTSModuleDeclaration()->Scope(); in GetParamName() local 1403 auto scope = node->AsTSEnumDeclaration()->Scope(); in GetParamName() local 1890 void Transformer::FindLocalTSVariables(binder::Scope *scope, const util::StringView name, in FindLocalTSVariables() 1926 void Transformer::FindExportTSVariables(binder::Scope *scope, const util::StringView name, in FindExportTSVariables() 1979 auto *scope = enumMemberVar->AsEnumVariable()->Declaration()-> in VerifyMemberExpressionDeque() local [all …]
|
D | transformer.h | 32 binder::Scope *scope; member 37 binder::Scope *scope; member 254 util::StringView FindTSModuleNameByScope(binder::Scope *scope) const in FindTSModuleNameByScope() 264 util::StringView FindTSEnumNameByScope(binder::Scope *scope) const in FindTSEnumNameByScope()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | lexenv.ts | 43 scope: Scope; property in VariableAccessBase
|