Home
last modified time | relevance | path

Searched refs:JSForInIterator (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_for_in_iterator.cpp25 bool JSForInIterator::IsEnumCacheValid(JSTaggedValue receiver, JSTaggedValue cachedHclass, EnumCach… in IsEnumCacheValid()
49 bool JSForInIterator::NeedCheckProperty(JSTaggedValue receiver) in NeedCheckProperty()
62 bool JSForInIterator::HasProperty(JSThread *thread, JSHandle<JSTaggedValue> receiver, JSHandle<JSTa… in HasProperty()
77 JSTaggedValue JSForInIterator::NextInternal(JSThread *thread, const JSHandle<JSForInIterator> &it) in NextInternal()
105 JSTaggedValue JSForInIterator::NextInternalSlowpath(JSThread *thread, const JSHandle<JSForInIterato… in NextInternalSlowpath()
140 JSTaggedValue JSForInIterator::Next(EcmaRuntimeCallInfo *msg) in Next()
146 JSHandle<JSForInIterator> it(BuiltinsBase::GetThis(msg)); in Next()
Djs_for_in_iterator.h26 class JSForInIterator : public JSObject {
28 CAST_CHECK(JSForInIterator, IsForinIterator);
30 static JSTaggedValue NextInternal(JSThread *thread, const JSHandle<JSForInIterator> &it);
31 … static JSTaggedValue NextInternalSlowpath(JSThread *thread, const JSHandle<JSForInIterator> &it);
Djs_object.h41 class JSForInIterator; variable
579 …static JSHandle<JSForInIterator> EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTagg…
580 …static JSHandle<JSForInIterator> LoadEnumerateProperties(JSThread *thread, const JSHandle<JSTagged…
Dobject_factory.h58 class JSForInIterator; variable
372 JSHandle<JSForInIterator> NewJSForinIterator(const JSHandle<JSTaggedValue> &obj,
Djs_object.cpp2459 JSHandle<JSForInIterator> JSObject::EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTa… in EnumerateObjectProperties()
2485 JSHandle<JSForInIterator> JSObject::LoadEnumerateProperties(JSThread *thread, const JSHandle<JSTagg… in LoadEnumerateProperties()
2489 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSForInIterator, thread); in LoadEnumerateProperties()
2494 RETURN_HANDLE_IF_ABRUPT_COMPLETION(JSForInIterator, thread); in LoadEnumerateProperties()
Ddump.cpp951 JSForInIterator::Cast(obj)->Dump(os); in DumpObject()
1963 void JSForInIterator::Dump(std::ostream &os) const in Dump()
4848 void JSForInIterator::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
Dobject_factory.cpp717 JSHandle<JSForInIterator> ObjectFactory::NewJSForinIterator(const JSHandle<JSTaggedValue> &obj, in NewJSForinIterator()
724 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_forin_iterator_test.cpp76 …JSHandle<JSForInIterator> it = JSObject::EnumerateObjectProperties(thread, JSHandle<JSTaggedValue>… in HWTEST_F_L0()
77 JSTaggedValue n1 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
80 JSTaggedValue n2 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
83 JSTaggedValue n3 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
86 JSTaggedValue n4 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
Ddump_test.cpp649 CHECK_DUMP_FIELDS(JSObject::SIZE, JSForInIterator::SIZE, 4U); in HWTEST_F_L0()
653 … JSHandle<JSForInIterator> forInIter = factory->NewJSForinIterator(array, keys, hclass); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_builder.cpp589 GateRef offset = IntPtr(JSForInIterator::LENGTH_OFFSET); in GetLengthFromForInIterator()
595 GateRef offset = IntPtr(JSForInIterator::INDEX_OFFSET); in GetIndexFromForInIterator()
601 GateRef offset = IntPtr(JSForInIterator::KEYS_OFFSET); in GetKeysFromForInIterator()
607 GateRef offset = IntPtr(JSForInIterator::OBJECT_OFFSET); in GetObjectFromForInIterator()
613 GateRef offset = IntPtr(JSForInIterator::CACHED_HCLASS_OFFSET); in GetCachedHclassFromForInIterator()
619 GateRef offset = IntPtr(JSForInIterator::LENGTH_OFFSET); in SetLengthOfForInIterator()
625 GateRef offset = IntPtr(JSForInIterator::INDEX_OFFSET); in SetIndexOfForInIterator()
631 GateRef offset = IntPtr(JSForInIterator::KEYS_OFFSET); in SetKeysOfForInIterator()
637 GateRef offset = IntPtr(JSForInIterator::OBJECT_OFFSET); in SetObjectOfForInIterator()
643 GateRef offset = IntPtr(JSForInIterator::CACHED_HCLASS_OFFSET); in SetCachedHclassOfForInIterator()
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h279 JSForInIterator::Cast(object)->VisitRangeSlot<visitType>(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h208 … JSTaggedValue res = JSForInIterator::NextInternal(thread, JSHandle<JSForInIterator>::Cast(iter)); in RuntimeGetNextPropName()
1302 JSHandle<JSForInIterator> iteratorHandle = JSObject::EnumerateObjectProperties(thread, value); in RuntimeGetPropIterator()
Druntime_stubs.cpp937 …JSTaggedValue res = JSForInIterator::NextInternalSlowpath(thread, JSHandle<JSForInIterator>::Cast(… in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp619 reinterpret_cast<uintptr_t>(JSForInIterator::Next),
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1898 …JSHandle<JSHClass> hclass = factory_->NewEcmaHClass(JSForInIterator::SIZE, JSType::JS_FORIN_ITERAT… in InitializeForinIterator()
1902 SetFunction(env, forinIteratorPrototype, "next", JSForInIterator::Next, FunctionLength::ONE); in InitializeForinIterator()