Home
last modified time | relevance | path

Searched refs:EcmaHandleScope (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/arkcompiler/ets_runtime/ecmascript/
Decma_handle_scope.h33 class EcmaHandleScope {
35 explicit PUBLIC_API EcmaHandleScope(JSThread *thread);
37 PUBLIC_API ~EcmaHandleScope();
52 EcmaHandleScope *prevHandleScope_ {nullptr};
55 NO_COPY_SEMANTIC(EcmaHandleScope);
56 NO_MOVE_SEMANTIC(EcmaHandleScope);
Decma_handle_scope.cpp21 EcmaHandleScope::EcmaHandleScope(JSThread *thread) : thread_(thread) in EcmaHandleScope() function in panda::ecmascript::EcmaHandleScope
34 EcmaHandleScope::~EcmaHandleScope() in ~EcmaHandleScope()
49 uintptr_t EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value) in NewHandle()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp51 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CallSpread()
62 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Neg()
71 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncFunctionEnter()
79 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumber()
89 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumeric()
99 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Not()
108 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Inc()
117 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Dec()
132 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetPropIterator()
141 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ThrowConstAssignment()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_cjs_module.cpp31 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsModuleConstructor()
42 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Compiler()
51 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Load()
60 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ResolveFilename()
84 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Require()
93 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetExportsForCircularRequire()
102 [[maybe_unused]] EcmaHandleScope handleScope(thread); in UpdateChildren()
Dbuiltins_math.cpp34 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Abs()
53 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Acos()
72 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Acosh()
90 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Asin()
108 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Asinh()
127 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atan()
146 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atanh()
164 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atan2()
195 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Cbrt()
214 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Ceil()
[all …]
Dbuiltins_lazy_callback.cpp26 [[maybe_unused]] EcmaHandleScope scope(thread); in Date()
41 [[maybe_unused]] EcmaHandleScope scope(thread); in Set()
56 [[maybe_unused]] EcmaHandleScope scope(thread); in Map()
71 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakMap()
85 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakSet()
99 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakRef()
113 [[maybe_unused]] EcmaHandleScope scope(thread); in FinalizationRegistry()
127 [[maybe_unused]] EcmaHandleScope scope(thread); in TypedArray()
149 … [[maybe_unused]] EcmaHandleScope scope(thread); \
162 [[maybe_unused]] EcmaHandleScope scope(thread); in ITERATE_TYPED_ARRAY()
[all …]
Dbuiltins_ark_tools.cpp44 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ObjectDump()
68 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CompareHClass()
88 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DumpHClass()
103 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsTSHClass()
116 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetHClass()
128 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasTSSubtyping()
140 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsSlicedString()
152 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsNotHoleProperty()
179 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ExcutePendingJob()
189 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLexicalEnv()
[all …]
Dbuiltins_reflect.cpp28 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectApply()
58 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectConstruct()
92 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectDefineProperty()
116 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectDeleteProperty()
135 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGet()
161 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGetOwnPropertyDescriptor()
187 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGetPrototypeOf()
203 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectHas()
221 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectIsExtensible()
237 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectOwnKeys()
[all …]
Dbuiltins_object.cpp39 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ObjectConstructor()
102 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Assign()
254 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Create()
288 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineProperties()
299 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineProperty()
343 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Freeze()
367 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyDescriptor()
400 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyDescriptors()
506 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyNames()
520 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertySymbols()
[all …]
Dbuiltins_locale.cpp30 [[maybe_unused]] EcmaHandleScope scope(thread); in LocaleConstructor()
87 [[maybe_unused]] EcmaHandleScope scope(thread); in Maximize()
119 [[maybe_unused]] EcmaHandleScope scope(thread); in Minimize()
154 [[maybe_unused]] EcmaHandleScope scope(thread); in ToString()
170 [[maybe_unused]] EcmaHandleScope scope(thread); in GetBaseName()
190 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCalendar()
208 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCaseFirst()
225 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCollation()
242 [[maybe_unused]] EcmaHandleScope scope(thread); in GetHourCycle()
260 [[maybe_unused]] EcmaHandleScope scope(thread); in GetNumeric()
[all …]
Dbuiltins_cjs_require.cpp31 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsRequireConstructor()
55 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Main()
64 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Resolve()
Dbuiltins_set.cpp33 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetConstructor()
110 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
130 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
148 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Delete()
167 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
184 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ForEach()
244 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetSize()
261 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
273 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Values()
Dbuiltins_map.cpp31 [[maybe_unused]] EcmaHandleScope handleScope(thread); in MapConstructor()
72 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
93 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
111 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Delete()
129 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
146 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
163 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ForEach()
223 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetSize()
239 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
250 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Keys()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dhuge_object_test.cpp55 ecmascript::EcmaHandleScope *scope {nullptr};
60 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in JSObjectTestCreate()
71 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in LargeArrayTestCreate()
98 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
105 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
112 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
Dhandle_leak_test.cpp56 scope = new EcmaHandleScope(thread); in SetUp()
65 ecmascript::EcmaHandleScope *scope {nullptr};
93 EcmaHandleScope scope(thread); in HWTEST_F_L0()
102 EcmaHandleScope scope(thread); in HWTEST_F_L0()
125 EcmaHandleScope scope(thread); in HWTEST_F_L0()
140 EcmaHandleScope scope(thread); in HWTEST_F_L0()
166 EcmaHandleScope scope(thread); in HWTEST_F_L0()
196 EcmaHandleScope scope(thread); in HWTEST_F_L0()
Dgc_second_test.cpp48 scope = new EcmaHandleScope(thread); in SetUp()
60 ecmascript::EcmaHandleScope *scope {nullptr};
73 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
88 [[maybe_unused]] ecmascript::EcmaHandleScope baseScopeForeach(thread); in HWTEST_F_L0()
108 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
122 [[maybe_unused]] ecmascript::EcmaHandleScope baseScopeForeach(thread); in HWTEST_F_L0()
143 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
167 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
176 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
Dgc_third_test.cpp48 scope = new EcmaHandleScope(thread); in SetUp()
60 ecmascript::EcmaHandleScope *scope {nullptr};
71 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
80 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
97 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
105 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
122 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
148 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
Djs_handle_test.cpp49 ecmascript::EcmaHandleScope *scope {nullptr};
59 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
79 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
116 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
134 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
147 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
170 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
199 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp34 [[maybe_unused]] EcmaHandleScope handleScope(thread); in VectorConstructor()
56 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
78 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Insert()
105 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetLength()
132 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetCapacity()
153 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IncreaseCapacityTo()
180 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
206 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexOf()
228 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexFrom()
256 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsEmpty()
[all …]
Dcontainers_treeset.cpp33 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TreeSetConstructor()
76 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
100 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Remove()
122 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
147 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetFirstValue()
168 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLastValue()
189 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
210 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLowerValue()
241 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetHigherValue()
272 [[maybe_unused]] EcmaHandleScope handleScope(thread); in PopFirst()
[all …]
Dcontainers_treemap.cpp33 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TreeMapConstructor()
77 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
104 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
126 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Remove()
148 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasKey()
173 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasValue()
195 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetFirstKey()
216 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLastKey()
237 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetAll()
278 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
[all …]
Dcontainers_lightweightmap.cpp37 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LightWeightMapConstructor()
65 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Length()
86 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasAll()
123 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasKey()
145 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasValue()
167 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IncreaseCapacityTo()
202 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
214 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
237 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexOfKey()
261 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexOfValue()
[all …]
Dcontainers_linked_list.cpp34 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LinkedListConstructor()
57 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
80 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AddFirst()
103 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetFirst()
123 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLast()
143 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Length()
163 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Insert()
200 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
221 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clone()
243 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
[all …]
Dcontainers_lightweightset.cpp32 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LightWeightSetConstructor()
60 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
81 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AddAll()
115 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsEmpty()
135 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetValueAt()
165 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasAll()
198 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
219 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasHash()
240 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Equal()
260 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IncreaseCapacityTo()
[all …]
/arkcompiler/ets_runtime/ecmascript/jobs/
Dmicro_job_queue.cpp32 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetPromiseQueueSize()
46 [[maybe_unused]] EcmaHandleScope handleScope(thread); in EnqueueJob()
63 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ExecutePendingJob()
93 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasPendingJob()

12345678910>>...16