Home
last modified time | relevance | path

Searched refs:JSArrayIterator (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_array_iterator.h23 class JSArrayIterator : public JSObject {
25 CAST_CHECK(JSArrayIterator, IsJSArrayIterator);
Djs_array_iterator.cpp27 JSTaggedValue JSArrayIterator::Next(EcmaRuntimeCallInfo *argv) in Next()
41 JSHandle<JSArrayIterator> iter(input); in Next()
Dobject_factory.h63 class JSArrayIterator; variable
406 … JSHandle<JSArrayIterator> NewJSArrayIterator(const JSHandle<JSObject> &array, IterationKind kind);
Dglobal_env_constants.cpp239 factory->NewEcmaHClass(hClass, JSArrayIterator::SIZE, JSType::JS_ARRAY_ITERATOR)); in InitRootsClass()
Ddump.cpp876 JSArrayIterator::Cast(obj)->Dump(os); in DumpObject()
1976 void JSArrayIterator::Dump(std::ostream &os) const in Dump()
4637 void JSArrayIterator::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) const in DumpForSnapshot()
Dobject_factory.cpp2793 JSHandle<JSArrayIterator> ObjectFactory::NewJSArrayIterator(const JSHandle<JSObject> &array, Iterat… in NewJSArrayIterator()
2800 JSHandle<JSArrayIterator> iter(NewJSObject(hclassHandle)); in NewJSArrayIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_array_iterator_test.cpp80 …JSHandle<JSArrayIterator> handleJSArrayIter = factory->NewJSArrayIterator(handleJSObjectTaggedArra… in HWTEST_F_L0()
123 …JSHandle<JSArrayIterator> handleJSArrayIter = factory->NewJSArrayIterator(handleJSObjectTaggedArra… in HWTEST_F_L0()
157 …JSHandle<JSArrayIterator> handleJSArrayIter = factory->NewJSArrayIterator(handleJSObjectTaggedArra… in HWTEST_F_L0()
Djs_iterator_test.cpp69 JSHandle<JSArrayIterator> iter(JSIterator::GetIterator(thread, array)); in HWTEST_F_L0()
Djs_array_test.cpp146 JSTaggedValue ret = JSArrayIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
Djs_list_format_test.cpp345 JSHandle<JSArrayIterator> iter(JSIterator::GetIterator(thread, array)); in HWTEST_F_L0()
Ddump_test.cpp648 CHECK_DUMP_FIELDS(JSObject::SIZE, JSArrayIterator::SIZE, 2U); in HWTEST_F_L0()
649 JSHandle<JSArrayIterator> arrayIter = in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h268 JSArrayIterator::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp475 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::KEY_AND_VALUE)); in Entries()
854 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::KEY)); in Keys()
1569 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::VALUE)); in Values()
Dbuiltins_array.cpp654 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::KEY_AND_VALUE)); in Entries()
1306 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::KEY)); in Keys()
2704 JSHandle<JSArrayIterator> iter(factory->NewJSArrayIterator(self, IterationKind::VALUE)); in Values()
Dbuiltins.cpp1962 SetFunction(env, arrayIteratorPrototype, "next", JSArrayIterator::Next, FunctionLength::ZERO); in InitializeArrayIterator()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp621 reinterpret_cast<uintptr_t>(JSArrayIterator::Next),