Home
last modified time | relevance | path

Searched refs:EcmaHandleScope (Results 1 - 25 of 265) sorted by relevance

1234567891011

/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dslow_runtime_stub.cpp26 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CallSpread()
37 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Neg()
46 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AsyncFunctionEnter()
54 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumber()
64 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ToNumeric()
74 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Not()
83 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Inc()
92 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Dec()
107 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetPropIterator()
116 [[maybe_unused]] EcmaHandleScope handleScop in ThrowConstAssignment()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Decma_handle_scope.h33 class EcmaHandleScope { class
35 explicit PUBLIC_API EcmaHandleScope(JSThread *thread);
37 PUBLIC_API ~EcmaHandleScope();
60 EcmaHandleScope *prevHandleScope_ {nullptr};
61 EcmaHandleScope *prevPrimitiveScope_ {nullptr};
64 NO_COPY_SEMANTIC(EcmaHandleScope);
65 NO_MOVE_SEMANTIC(EcmaHandleScope);
H A Decma_handle_scope.cpp21 EcmaHandleScope::EcmaHandleScope(JSThread *thread) : thread_(thread) in EcmaHandleScope() function in panda::ecmascript::EcmaHandleScope
28 void EcmaHandleScope::OpenHandleScope(EcmaContext *context) in OpenHandleScope()
40 void EcmaHandleScope::OpenPrimitiveScope(EcmaContext *context) in OpenPrimitiveScope()
52 EcmaHandleScope::~EcmaHandleScope() in ~EcmaHandleScope()
59 void EcmaHandleScope::CloseHandleScope(EcmaContext *context) in CloseHandleScope()
73 void EcmaHandleScope::ClosePrimitiveScope(EcmaContext *context) in ClosePrimitiveScope()
87 uintptr_t EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value) in NewHandle()
133 uintptr_t EcmaHandleScope
[all...]
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_cjs_module.cpp27 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsModuleConstructor()
38 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Compiler()
47 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Load()
56 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ResolveFilename()
81 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Require()
90 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetExportsForCircularRequire()
99 [[maybe_unused]] EcmaHandleScope handleScope(thread); in UpdateChildren()
H A Dbuiltins_reflect.cpp28 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectApply()
39 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectApplyInternal()
66 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectConstruct()
91 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectConstructInternal()
107 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectDefineProperty()
131 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectDeleteProperty()
150 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGet()
175 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGetOwnPropertyDescriptor()
201 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ReflectGetPrototypeOf()
217 [[maybe_unused]] EcmaHandleScope handleScop in ReflectHas()
[all...]
H A Dbuiltins_math.cpp31 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Abs()
54 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Acos()
73 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Acosh()
91 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Asin()
109 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Asinh()
128 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atan()
147 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atanh()
165 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Atan2()
196 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Cbrt()
215 [[maybe_unused]] EcmaHandleScope handleScop in Ceil()
[all...]
H A Dbuiltins_object.cpp30 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ObjectConstructor()
93 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Assign()
245 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Create()
279 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineProperties()
290 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DefineProperty()
334 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Freeze()
364 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyDescriptor()
397 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyDescriptors()
503 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetOwnPropertyNames()
517 [[maybe_unused]] EcmaHandleScope handleScop in GetOwnPropertySymbols()
[all...]
H A Dbuiltins_locale.cpp28 [[maybe_unused]] EcmaHandleScope scope(thread); in LocaleConstructor()
85 [[maybe_unused]] EcmaHandleScope scope(thread); in Maximize()
117 [[maybe_unused]] EcmaHandleScope scope(thread); in Minimize()
152 [[maybe_unused]] EcmaHandleScope scope(thread); in ToString()
168 [[maybe_unused]] EcmaHandleScope scope(thread); in GetBaseName()
188 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCalendar()
206 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCaseFirst()
223 [[maybe_unused]] EcmaHandleScope scope(thread); in GetCollation()
240 [[maybe_unused]] EcmaHandleScope scope(thread); in GetHourCycle()
258 [[maybe_unused]] EcmaHandleScope scop in GetNumeric()
[all...]
H A Dbuiltins_set.cpp28 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetConstructor()
105 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
125 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
143 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Delete()
162 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
179 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ForEach()
239 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetSize()
256 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
268 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Values()
H A Dbuiltins_lazy_callback.cpp24 [[maybe_unused]] EcmaHandleScope scope(thread); in Date()
39 [[maybe_unused]] EcmaHandleScope scope(thread); in Set()
54 [[maybe_unused]] EcmaHandleScope scope(thread); in Map()
69 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakMap()
83 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakSet()
97 [[maybe_unused]] EcmaHandleScope scope(thread); in WeakRef()
111 [[maybe_unused]] EcmaHandleScope scope(thread); in FinalizationRegistry()
125 [[maybe_unused]] EcmaHandleScope scope(thread); in TypedArray()
147 [[maybe_unused]] EcmaHandleScope scope(thread); \
160 [[maybe_unused]] EcmaHandleScope scop in ArrayBuffer()
[all...]
H A Dbuiltins_cjs_require.cpp26 [[maybe_unused]] EcmaHandleScope scope(thread); in CjsRequireConstructor()
50 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Main()
59 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Resolve()
H A Dbuiltins_ark_tools.cpp58 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ObjectDump()
83 [[maybe_unused]] EcmaHandleScope handleScope(thread); in CompareHClass()
104 [[maybe_unused]] EcmaHandleScope handleScope(thread); in DumpHClass()
120 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsTSHClass()
134 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetHClass()
147 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsSlicedString()
160 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsNotHoleProperty()
189 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ExcutePendingJob()
200 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLexicalEnv()
252 [[maybe_unused]] EcmaHandleScope handleScop in RemoveAOTFlag()
[all...]
H A Dbuiltins_collator.cpp30 [[maybe_unused]] EcmaHandleScope scope(thread); in CollatorConstructor()
65 [[maybe_unused]] EcmaHandleScope scope(thread); in SupportedLocalesOf()
86 [[maybe_unused]] EcmaHandleScope scope(thread); in Compare()
118 [[maybe_unused]] EcmaHandleScope scope(thread); in AnonymousCollator()
149 [[maybe_unused]] EcmaHandleScope scope(thread); in ResolvedOptions()
H A Dbuiltins_map.cpp28 [[maybe_unused]] EcmaHandleScope handleScope(thread); in MapConstructor()
69 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
90 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
108 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Delete()
126 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
143 [[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 handleScop in Keys()
[all...]
H A Dbuiltins_shared_map.cpp30 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Constructor()
74 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
92 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
108 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Delete()
125 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
142 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
159 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ForEach()
206 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetSize()
220 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
236 [[maybe_unused]] EcmaHandleScope handleScop in Keys()
[all...]
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dhuge_object_test.cpp39 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in LargeArrayTestCreate()
65 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
72 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
79 [[maybe_unused]] ecmascript::EcmaHandleScope scope(thread); in HWTEST_F_L0()
H A Dhandle_leak_test.cpp47 scope = new EcmaHandleScope(thread);
75 EcmaHandleScope scope(thread); in HWTEST_F_L0()
84 EcmaHandleScope scope(thread); in HWTEST_F_L0()
114 EcmaHandleScope scope(thread); in HWTEST_F_L0()
134 EcmaHandleScope scope(thread); in HWTEST_F_L0()
H A Djs_handle_test.cpp35 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
52 [[maybe_unused]] EcmaHandleScope scope(thread); in GlobalHandleCommon()
104 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
117 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
140 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
170 [[maybe_unused]] EcmaHandleScope scope(thread); in HWTEST_F_L0()
H A Dtest_helper.h33 using panda::ecmascript::EcmaHandleScope;
108 static void CreateEcmaVMWithScope(EcmaVM *&instance, JSThread *&thread, EcmaHandleScope *&scope, in CreateEcmaVMWithScope()
126 scope = new EcmaHandleScope(thread); in CreateEcmaVMWithScope()
129 static inline void DestroyEcmaVMWithScope(EcmaVM *instance, EcmaHandleScope *scope, bool exitManagedCode = true) in DestroyEcmaVMWithScope()
201 scope = new EcmaHandleScope(thread);
211 EcmaHandleScope *scope {nullptr};
H A Dgc_second_test.cpp41 scope = new EcmaHandleScope(thread);
78 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
102 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
122 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
141 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
149 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
166 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
188 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
259 [[maybe_unused]] ecmascript::EcmaHandleScope baseScope(thread); in HWTEST_F_L0()
286 [[maybe_unused]] ecmascript::EcmaHandleScope baseScop in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_vector.cpp29 [[maybe_unused]] EcmaHandleScope handleScope(thread); in VectorConstructor()
51 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
73 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Insert()
100 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetLength()
127 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetCapacity()
148 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IncreaseCapacityTo()
175 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
201 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexOf()
223 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIndexFrom()
251 [[maybe_unused]] EcmaHandleScope handleScop in IsEmpty()
[all...]
H A Dcontainers_hashmap.cpp29 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HashMapConstructor()
57 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Keys()
78 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Values()
99 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetIteratorObj()
120 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Entries()
141 [[maybe_unused]] EcmaHandleScope handleScope(thread); in ForEach()
194 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
218 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetAll()
255 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
276 [[maybe_unused]] EcmaHandleScope handleScop in Remove()
[all...]
H A Dcontainers_treeset.cpp31 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TreeSetConstructor()
74 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
98 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Remove()
120 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
145 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetFirstValue()
166 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLastValue()
187 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Clear()
208 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLowerValue()
231 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetHigherValue()
254 [[maybe_unused]] EcmaHandleScope handleScop in PopFirst()
[all...]
H A Dcontainers_lightweightset.cpp29 [[maybe_unused]] EcmaHandleScope handleScope(thread); in LightWeightSetConstructor()
57 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Add()
78 [[maybe_unused]] EcmaHandleScope handleScope(thread); in AddAll()
112 [[maybe_unused]] EcmaHandleScope handleScope(thread); in IsEmpty()
132 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetValueAt()
164 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasAll()
197 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Has()
218 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasHash()
239 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Equal()
259 [[maybe_unused]] EcmaHandleScope handleScop in IncreaseCapacityTo()
[all...]
H A Dcontainers_treemap.cpp31 [[maybe_unused]] EcmaHandleScope handleScope(thread); in TreeMapConstructor()
75 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Set()
102 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Get()
124 [[maybe_unused]] EcmaHandleScope handleScope(thread); in Remove()
146 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasKey()
171 [[maybe_unused]] EcmaHandleScope handleScope(thread); in HasValue()
193 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetFirstKey()
214 [[maybe_unused]] EcmaHandleScope handleScope(thread); in GetLastKey()
235 [[maybe_unused]] EcmaHandleScope handleScope(thread); in SetAll()
278 [[maybe_unused]] EcmaHandleScope handleScop in Clear()
[all...]

Completed in 22 milliseconds

1234567891011