Searched refs:JSForInIterator (Results 1 – 13 of 13) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_for_in_iterator.h | 26 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,
|
| D | js_for_in_iterator.cpp | 32 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()
|
| D | js_object.h | 40 class JSForInIterator; variable 518 …static JSHandle<JSForInIterator> EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTagg…
|
| D | object_factory.h | 56 class JSForInIterator; variable 350 JSHandle<JSForInIterator> NewJSForinIterator(const JSHandle<JSTaggedValue> &obj);
|
| D | dump.cpp | 864 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()
|
| D | object_factory.cpp | 655 JSHandle<JSForInIterator> ObjectFactory::NewJSForinIterator(const JSHandle<JSTaggedValue> &obj) in NewJSForinIterator() 660 JSHandle<JSForInIterator> it = JSHandle<JSForInIterator>::Cast(NewJSObject(hclass)); in NewJSForinIterator()
|
| D | js_object.cpp | 2060 JSHandle<JSForInIterator> JSObject::EnumerateObjectProperties(JSThread *thread, const JSHandle<JSTa… in EnumerateObjectProperties()
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_forin_iterator_test.cpp | 76 …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()
|
| D | dump_test.cpp | 618 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/ |
| D | object_xray.h | 256 JSForInIterator::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs-inl.h | 205 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/ |
| D | snapshot_processor.cpp | 617 reinterpret_cast<uintptr_t>(JSForInIterator::Next),
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins.cpp | 1926 …JSHandle<JSHClass> hclass = factory_->NewEcmaHClass(JSForInIterator::SIZE, JSType::JS_FORIN_ITERAT… in InitializeForinIterator() 1930 SetFunction(env, forinIteratorPrototype, "next", JSForInIterator::Next, FunctionLength::ONE); in InitializeForinIterator()
|