| /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 | 26 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Breakpoint() local 33 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Exception() local 42 [[maybe_unused]] LocalScope scope(debugger_->vm_); in SingleStep() local 66 [[maybe_unused]] LocalScope scope(debugger_->vm_); in LoadModule() local 78 [[maybe_unused]] LocalScope scope(debugger_->vm_); in PendingJobEntry() local 87 [[maybe_unused]] LocalScope scope(debugger_->vm_); in NativeCalling() local
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | variable.cpp | 43 void LocalVariable::SetLexical(Scope *scope, util::Hotfix *hotfixHelper) in SetLexical() 68 void GlobalVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *hotfi… in SetLexical() 69 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *hotfi… in SetLexical() 70 void EnumVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *hotfixH… in SetLexical() 71 void NamespaceVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *ho… in SetLexical() 72 void ImportEqualsVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix … 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 77 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 110 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 128 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 141 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 162 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local 189 [[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
|
| D | weak_ref_old_gc_test.cpp | 49 EcmaHandleScope *scope {nullptr}; member in panda::test::WeakRefOldGCTest 55 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in JSObjectTestCreate() local 67 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in ArrayTestCreate() local
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_locale.cpp | 28 [[maybe_unused]] EcmaHandleScope scope(thread); in LocaleConstructor() local 82 [[maybe_unused]] EcmaHandleScope scope(thread); in Maximize() local 113 [[maybe_unused]] EcmaHandleScope scope(thread); in Minimize() local 147 [[maybe_unused]] EcmaHandleScope scope(thread); in ToString() local 162 [[maybe_unused]] EcmaHandleScope scope(thread); in GetBaseName() local 180 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCalendar() local 197 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCaseFirst() local 213 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCollation() local 229 [[maybe_unused]] EcmaHandleScope scope(thread); in GetHourCycle() local 246 [[maybe_unused]] EcmaHandleScope scope(thread); in GetNumeric() local [all …]
|
| D | builtins_date_time_format.cpp | 30 [[maybe_unused]] EcmaHandleScope scope(thread); in DateTimeFormatConstructor() local 83 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 103 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 143 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousDateTimeFormat() local 176 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 214 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local 239 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRange() local 285 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRangeToParts() local
|
| D | builtins_collator.cpp | 31 [[maybe_unused]] EcmaHandleScope scope(thread); in CollatorConstructor() local 65 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 85 [[maybe_unused]] EcmaHandleScope scope(thread); in Compare() local 116 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousCollator() local 146 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
| D | builtins_number_format.cpp | 32 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatConstructor() local 85 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 105 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 140 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 160 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local 189 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatInternalFormatNumber() local
|
| D | builtins_list_format.cpp | 30 [[maybe_unused]] EcmaHandleScope scope(thread); in ListFormatConstructor() local 61 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 82 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 108 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 135 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
| D | builtins_plural_rules.cpp | 28 [[maybe_unused]] EcmaHandleScope scope(thread); in PluralRulesConstructor() local 58 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 78 [[maybe_unused]] EcmaHandleScope scope(thread); in Select() local 105 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
| D | builtins_relative_time_format.cpp | 22 [[maybe_unused]] EcmaHandleScope scope(thread); in RelativeTimeFormatConstructor() local 66 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 86 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local 118 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local 150 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
| D | builtins_displaynames.cpp | 31 [[maybe_unused]] EcmaHandleScope scope(thread); in DisplayNamesConstructor() local 60 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local 81 [[maybe_unused]] EcmaHandleScope scope(thread); in Of() local 121 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
|
| D | builtins.cpp | 188 [[maybe_unused]] EcmaHandleScope scope(thread_); in Initialize() local 361 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeGlobalObject() local 399 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeFunction() local 460 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeObject() local 530 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSymbol() local 635 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeSymbolWithRealm() local 726 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeNumber() local 779 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeBigIntWithRealm() local 791 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeBigInt() local 821 [[maybe_unused]] EcmaHandleScope scope(thread_); in InitializeDate() local [all …]
|
| D | builtins_cjs_exports.cpp | 25 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsExportsConstructor() local
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_tests.cpp | 69 EscapeLocalScope scope(info->GetVM()); in FunctionCallback() local 75 LocalScope scope(vm); in WeakRefCallback() local 94 LocalScope scope(vm_); in HWTEST_F_L0() local 107 LocalScope scope(vm_); in HWTEST_F_L0() local 121 LocalScope scope(vm_); in HWTEST_F_L0() local 133 LocalScope scope(vm_); in HWTEST_F_L0() local 153 LocalScope scope(vm_); in HWTEST_F_L0() local 171 LocalScope scope(vm_); in HWTEST_F_L0() local 182 LocalScope scope(vm_); in HWTEST_F_L0() local 191 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() 97 static bool NeedEnv(binder::VariableScope *scope) in NeedEnv()
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | hoisting.cpp | 40 auto *scope = pg->Scope(); in HoistVar() local 62 auto *scope = pg->Scope(); in HoistFunction() local 98 const auto *scope = pg->Scope(); in Hoist() local
|
| /arkcompiler/ets_frontend/es2panda/parser/transformer/ |
| D | transformer.h | 32 binder::Scope *scope; member 108 util::StringView FindTSModuleNameByScope(binder::Scope *scope) const in FindTSModuleNameByScope()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | concurrent_marker.cpp | 65 ClockScope scope; in Mark() local 83 ClockScope scope; in ReMark() local
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | lexenv.ts | 43 scope: Scope; property in VariableAccessBase
|