Home
last modified time | relevance | path

Searched defs:scope (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/arkcompiler/toolchain/tooling/dynamic/backend/
Djs_pt_hooks.cpp24 [[maybe_unused]] LocalScope scope(debugger_->vm_); in DebuggerStmt() local
33 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Breakpoint() local
40 [[maybe_unused]] LocalScope scope(debugger_->vm_); in Exception() local
47 [[maybe_unused]] LocalScope scope(debugger_->vm_); in SingleStep() local
83 [[maybe_unused]] LocalScope scope(debugger_->vm_); in NativeOut() local
96 [[maybe_unused]] LocalScope scope(debugger_->vm_); in LoadModule() local
109 [[maybe_unused]] LocalScope scope(debugger_->vm_); in NativeCalling() local
116 [[maybe_unused]] LocalScope scope(debugger_->vm_); in NativeReturn() local
125 [[maybe_unused]] LocalScope scope(debugger_->vm_); in SendableMethodEntry() local
141 [[maybe_unused]] LocalScope scope(debugger_->vm_); in GenerateAsyncFrames() local
/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DScopeAnalyzer.spec.ts338 const scope = scopeManager.getScopeOfNode(node); constant
344 const scope = scopeManager.getScopeOfNode(node); constant
352 const scope = scopeManager.getScopeOfNode(node); constant
359 const scope = scopeManager.getScopeOfNode(node); constant
379 const scope = scopeManager.getScopeOfNode(node); constant
385 const scope = scopeManager.getScopeOfNode(node); constant
393 const scope = scopeManager.getScopeOfNode(node); constant
400 const scope = scopeManager.getScopeOfNode(node); constant
420 const scope = scopeManager.getScopeOfNode(node); constant
426 const scope = scopeManager.getScopeOfNode(node); constant
[all …]
/arkcompiler/ets_frontend/es2panda/binder/
Dvariable.cpp42 void LocalVariable::SetLexical(Scope *scope, util::PatchFix *patchFixHelper) in SetLexical()
81 void GlobalVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical()
82 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical()
83 void EnumVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *patch… in SetLexical()
84 void NamespaceVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *… in SetLexical()
85 void ImportEqualsVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFi… in SetLexical()
86 void EnumLiteralVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix… in SetLexical()
/arkcompiler/ets_runtime/ecmascript/shared_objects/
Djs_shared_map.cpp30 [[maybe_unused]] ConcurrentApiScope<JSSharedMap, ModType::WRITE> scope(thread, in Set() local
41 [[maybe_unused]] ConcurrentApiScope<JSSharedMap, ModType::WRITE> scope(thread, in Delete() local
55 [[maybe_unused]] ConcurrentApiScope<JSSharedMap, ModType::WRITE> scope(thread, in Clear() local
65 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in Has() local
72 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in Get() local
79 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in GetSize() local
86 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in GetKey() local
94 …[[maybe_unused]] ConcurrentApiScope<JSSharedMap> scope(thread, JSHandle<JSTaggedValue>::Cast(map)); in GetValue() local
Djs_shared_set.cpp29 [[maybe_unused]] ConcurrentApiScope<JSSharedSet, ModType::WRITE> scope(thread, in Add() local
40 [[maybe_unused]] ConcurrentApiScope<JSSharedSet, ModType::WRITE> scope(thread, in Delete() local
54 [[maybe_unused]] ConcurrentApiScope<JSSharedSet, ModType::WRITE> scope(thread, in Clear() local
64 …[[maybe_unused]] ConcurrentApiScope<JSSharedSet> scope(thread, JSHandle<JSTaggedValue>::Cast(set)); in Has() local
71 …[[maybe_unused]] ConcurrentApiScope<JSSharedSet> scope(thread, JSHandle<JSTaggedValue>::Cast(set)); in GetSize() local
78 …[[maybe_unused]] ConcurrentApiScope<JSSharedSet> scope(thread, JSHandle<JSTaggedValue>::Cast(set)); in GetValue() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_thread_state_test.cpp149 … ecmascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::CREATED> scope(thread); in HWTEST_F_L0() local
154 … ecmascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::RUNNING> scope(thread); in HWTEST_F_L0() local
159 … ecmascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::NATIVE> scope(thread); in HWTEST_F_L0() local
164 … ecmascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::WAIT> scope(thread); in HWTEST_F_L0() local
169 …ascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::IS_SUSPENDED> scope(thread); in HWTEST_F_L0() local
174 …ecmascript::ThreadStateTransitionScope<JSThread, ecmascript::ThreadState::TERMINATED> scope(thread… in HWTEST_F_L0() local
184 ecmascript::ThreadManagedScope scope(thread); in HWTEST_F_L0() local
190 ecmascript::ThreadManagedScope scope(thread); in HWTEST_F_L0() local
202 ecmascript::ThreadNativeScope scope(thread); in HWTEST_F_L0() local
208 ecmascript::ThreadNativeScope scope(thread); in HWTEST_F_L0() local
[all …]
Dhuge_object_test.cpp39 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in LargeArrayTestCreate() local
65 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local
72 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local
79 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0() local
Djs_handle_test.cpp35 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
52 [[maybe_unused]] EcmaHandleScope scope(thread); in GlobalHandleCommon() local
104 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
117 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
140 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
170 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/napi/test/
Dffi_workload.cpp108 EscapeLocalScope scope(info->GetVM()); in FunCallback() local
204 LocalScope scope(vm_); in HWTEST_F_L0() local
216 LocalScope scope(vm_); in HWTEST_F_L0() local
229 LocalScope scope(vm_); in HWTEST_F_L0() local
243 LocalScope scope(vm_); in HWTEST_F_L0() local
257 LocalScope scope(vm_); in HWTEST_F_L0() local
271 LocalScope scope(vm_); in HWTEST_F_L0() local
285 LocalScope scope(vm_); in HWTEST_F_L0() local
299 LocalScope scope(vm_); in HWTEST_F_L0() local
313 LocalScope scope(vm_); in HWTEST_F_L0() local
[all …]
Djsnapi_second_tests.cpp112 LocalScope scope(vm_); in TestNumberRef() local
144 EscapeLocalScope scope(info->GetVM()); in FunctionCallback() local
150 EscapeLocalScope scope(info->GetVM()); in InternalFunctionCallback() local
157 LocalScope scope(vm); in WeakRefCallback() local
184 LocalScope scope(info->GetVM()); in RejectCallback() local
232 LocalScope scope(vm_); in HWTEST_F_L0() local
254 LocalScope scope(vm_); in HWTEST_F_L0() local
274 LocalScope scope(vm_); in HWTEST_F_L0() local
293 LocalScope scope(vm_); in HWTEST_F_L0() local
320 LocalScope scope(vm_); in HWTEST_F_L0() local
[all …]
Djsnapi_third_tests.cpp106 LocalScope scope(vm_); in TestNumberRef() local
162 EscapeLocalScope scope(info->GetVM()); in FunctionCallback() local
168 LocalScope scope(vm); in WeakRefCallback() local
195 LocalScope scope(info->GetVM()); in RejectCallback() local
214 LocalScope scope(vm_); in HWTEST_F_L0() local
247 LocalScope scope(vm_); in HWTEST_F_L0() local
283 LocalScope scope(vm_); in HWTEST_F_L0() local
302 LocalScope scope(vm_); in HWTEST_F_L0() local
320 LocalScope scope(vm_); in HWTEST_F_L0() local
353 EscapeLocalScope scope(vm_); in HWTEST_F_L0() local
[all …]
Djsnapi_sendable_tests.cpp64 LocalScope scope(vm_); in TestNumberRef() local
169 LocalScope scope(vm_); in HWTEST_F_L0() local
192 LocalScope scope(vm_); in HWTEST_F_L0() local
226 LocalScope scope(vm_); in HWTEST_F_L0() local
260 LocalScope scope(vm_); in HWTEST_F_L0() local
302 LocalScope scope(vm_); in HWTEST_F_L0() local
344 LocalScope scope(vm_); in HWTEST_F_L0() local
369 LocalScope scope(vm_); in HWTEST_F_L0() local
394 LocalScope scope(vm_); in HWTEST_F_L0() local
411 LocalScope scope(vm_); in HWTEST_F_L0() local
[all …]
Djsnapi_first_tests.cpp108 LocalScope scope(vm_); in TestNumberRef() local
147 EscapeLocalScope scope(info->GetVM()); in FunctionCallback() local
153 LocalScope scope(vm); in WeakRefCallback() local
172 LocalScope scope(vm_); in HWTEST_F_L0() local
194 LocalScope scope(vm_); in HWTEST_F_L0() local
208 LocalScope scope(vm_); in HWTEST_F_L0() local
220 LocalScope scope(vm_); in HWTEST_F_L0() local
247 LocalScope scope(vm_); in HWTEST_F_L0() local
265 LocalScope scope(vm_); in HWTEST_F_L0() local
284 LocalScope scope(vm_); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DenvScope.h78 explicit LoopEnvScope(PandaGen *pg, varbinder::LoopScope *scope, LabelTarget target) in LoopEnvScope()
84 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, varbinder::LoopScope *scope) in LoopEnvScope()
90 explicit LoopEnvScope(PandaGen *pg, varbinder::LoopDeclarationScope *scope) in LoopEnvScope()
110 static bool NeedEnv(varbinder::VariableScope *scope) in NeedEnv()
DmoduleContext.cpp28 void CompileImports(PandaGen *pg, varbinder::ModuleScope *scope) in CompileImports()
51 void CompileExports(PandaGen *pg, const varbinder::ModuleScope *scope) in CompileExports()
81 void ModuleContext::Compile(PandaGen *pg, varbinder::ModuleScope *scope) in Compile()
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvariable.cpp47 void LocalVariable::SetLexical(Scope *scope) in SetLexical()
58 void GlobalVariable::SetLexical([[maybe_unused]] Scope *scope) {} in SetLexical()
59 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope) {} in SetLexical()
60 void EnumVariable::SetLexical([[maybe_unused]] Scope *scope) {} in SetLexical()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_locale.cpp28 [[maybe_unused]] EcmaHandleScope scope(thread); in LocaleConstructor() local
85 [[maybe_unused]] EcmaHandleScope scope(thread); in Maximize() local
117 [[maybe_unused]] EcmaHandleScope scope(thread); in Minimize() local
152 [[maybe_unused]] EcmaHandleScope scope(thread); in ToString() local
168 [[maybe_unused]] EcmaHandleScope scope(thread); in GetBaseName() local
188 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCalendar() local
206 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCaseFirst() local
223 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCollation() local
240 [[maybe_unused]] EcmaHandleScope scope(thread); in GetHourCycle() local
258 [[maybe_unused]] EcmaHandleScope scope(thread); in GetNumeric() local
[all …]
Dbuiltins_lazy_callback.cpp24 [[maybe_unused]] EcmaHandleScope scope(thread); in Date() local
39 [[maybe_unused]] EcmaHandleScope scope(thread); in Set() local
54 [[maybe_unused]] EcmaHandleScope scope(thread); in Map() local
70 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakMap() local
85 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakSet() local
100 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakRef() local
115 [[maybe_unused]] EcmaHandleScope scope(thread); in FinalizationRegistry() local
130 [[maybe_unused]] EcmaHandleScope scope(thread); in TypedArray() local
166 [[maybe_unused]] EcmaHandleScope scope(thread); in ITERATE_TYPED_ARRAY() local
180 [[maybe_unused]] EcmaHandleScope scope(thread); in DataView() local
[all …]
Dbuiltins_number_format.cpp27 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatConstructor() local
84 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local
105 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local
141 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local
162 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
195 [[maybe_unused]] EcmaHandleScope scope(thread); in NumberFormatInternalFormatNumber() local
Dbuiltins_collator.cpp30 [[maybe_unused]] EcmaHandleScope scope(thread); in CollatorConstructor() local
65 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local
86 [[maybe_unused]] EcmaHandleScope scope(thread); in Compare() local
118 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousCollator() local
149 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
Dbuiltins_list_format.cpp27 [[maybe_unused]] EcmaHandleScope scope(thread); in ListFormatConstructor() local
59 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local
81 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local
108 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local
137 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
Dbuiltins_date_time_format.cpp31 [[maybe_unused]] EcmaHandleScope scope(thread); in DateTimeFormatConstructor() local
88 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf() local
109 [[maybe_unused]] EcmaHandleScope scope(thread); in Format() local
150 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousDateTimeFormat() local
184 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatToParts() local
223 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions() local
254 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRange() local
297 [[maybe_unused]] EcmaHandleScope scope(thread); in FormatRangeToParts() local
/arkcompiler/ets_frontend/ets2panda/compiler/base/
Dhoisting.cpp25 auto *scope = pg->Scope(); in HoistVar() local
42 auto *scope = pg->Scope(); in HoistFunction() local
62 const auto *scope = pg->Scope(); in Hoist() local
/arkcompiler/ets_frontend/es2panda/compiler/core/
DenvScope.h71 explicit VariableEnvScope(PandaGen *pg, binder::VariableScope *scope, LabelTarget target) in VariableEnvScope()
99 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope()
104 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, binder::LoopScope *scope) in LoopEnvScope()
/arkcompiler/ets_runtime/test/fuzztest/arraylist_fuzzer/
Darraylist_fuzzer.cpp135 JsiFastNativeScope scope(vm); in ArrayListForEachFuzzTest() local
173 JsiFastNativeScope scope(vm); in ArrayListAddFuzzTest() local
208 JsiFastNativeScope scope(vm); in ArrayListClearFuzzTest() local
244 JsiFastNativeScope scope(vm); in ArrayListCloneFuzzTest() local
280 JsiFastNativeScope scope(vm); in ArrayListConvertToArrayFuzzTest() local
316 JsiFastNativeScope scope(vm); in ArrayListGetFuzzTest() local
353 JsiFastNativeScope scope(vm); in ArrayListGetCapacityFuzzTest() local
389 JsiFastNativeScope scope(vm); in ArrayListGetIndexOfFuzzTest() local
426 JsiFastNativeScope scope(vm); in ArrayListGetIteratorObjFuzzTest() local
462 JsiFastNativeScope scope(vm); in ArrayListGetLastIndexOfFuzzTest() local
[all …]

12345678910>>...22