Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
Djs_for_in_iterator.h26 class JSForInIterator : public JSObject {
28 CAST_CHECK(JSForInIterator, IsForinIterator);
30 …std::pair<JSTaggedValue, bool> NextInternal(JSThread *thread, const JSHandle<JSForInIterator> &it);
34 static bool CheckObjProto(const JSThread *thread, const JSHandle<JSForInIterator> &it);
36 static void GetAllEnumKeys(JSThread *thread, const JSHandle<JSForInIterator> &it,
Djs_for_in_iterator.cpp32 bool JSForInIterator::CheckObjProto(const JSThread *thread, const JSHandle<JSForInIterator> &it) in CheckObjProto()
52 void JSForInIterator::GetAllEnumKeys(JSThread *thread, const JSHandle<JSForInIterator> &it, in GetAllEnumKeys()
112 std::pair<JSTaggedValue, bool> JSForInIterator::NextInternal(JSThread *thread, const JSHandle<JSFor… in NextInternal()
154 JSTaggedValue JSForInIterator::Next(EcmaRuntimeCallInfo *msg) in Next()
160 JSHandle<JSForInIterator> it(BuiltinsBase::GetThis(msg)); in Next()
Djs_object.h40 class JSForInIterator; variable
518 …static JSHandle<JSForInIterator> EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTagg…
Dobject_factory.h56 class JSForInIterator; variable
350 JSHandle<JSForInIterator> NewJSForinIterator(const JSHandle<JSTaggedValue> &obj);
Ddump.cpp864 JSForInIterator::Cast(obj)->Dump(os); in DumpObject()
1840 void JSForInIterator::Dump(std::ostream &os) const in Dump()
4478 void JSForInIterator::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) const in DumpForSnapshot()
Dobject_factory.cpp655 JSHandle<JSForInIterator> ObjectFactory::NewJSForinIterator(const JSHandle<JSTaggedValue> &obj) in NewJSForinIterator()
660 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
Djs_object.cpp2060 JSHandle<JSForInIterator> JSObject::EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTa… in EnumerateObjectProperties()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_forin_iterator_test.cpp76 …JSHandle<JSForInIterator> it = thread->GetEcmaVM()->GetFactory()->NewJSForinIterator(JSHandle<JSTa… in HWTEST_F_L0()
77 std::pair<JSTaggedValue, bool> n1 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
81 std::pair<JSTaggedValue, bool> n2 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
85 std::pair<JSTaggedValue, bool> n3 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
89 std::pair<JSTaggedValue, bool> n4 = JSForInIterator::NextInternal(thread, it); in HWTEST_F_L0()
Ddump_test.cpp618 CHECK_DUMP_FIELDS(JSObject::SIZE, JSForInIterator::SIZE, 4U); in HWTEST_F_L0()
620 JSHandle<JSForInIterator> forInIter = factory->NewJSForinIterator(array); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h256 JSForInIterator::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h205 JSForInIterator::NextInternal(thread, JSHandle<JSForInIterator>::Cast(iter)); in RuntimeGetNextPropName()
1194 JSHandle<JSForInIterator> iteratorHandle = JSObject::EnumerateObjectProperties(thread, value); in RuntimeGetPropIterator()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp617 reinterpret_cast<uintptr_t>(JSForInIterator::Next),
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1926 …JSHandle<JSHClass> hclass = factory_->NewEcmaHClass(JSForInIterator::SIZE, JSType::JS_FORIN_ITERAT… in InitializeForinIterator()
1930 SetFunction(env, forinIteratorPrototype, "next", JSForInIterator::Next, FunctionLength::ONE); in InitializeForinIterator()