Home
last modified time | relevance | path

Searched refs:JSAPIHashMapIterator (Results 1 – 14 of 14) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashmap_iterator.h24 class JSAPIHashMapIterator : public JSObject {
26 static JSAPIHashMapIterator *Cast(TaggedObject *obj) in Cast()
29 return static_cast<JSAPIHashMapIterator *>(obj); in Cast()
34 …static JSHandle<JSTaggedValue> GetCurrentNode(JSThread *thread, JSHandle<JSAPIHashMapIterator> &it…
38 JSHandle<JSAPIHashMapIterator> &iter,
Djs_api_hashmap_iterator.cpp30 JSTaggedValue JSAPIHashMapIterator::Next(EcmaRuntimeCallInfo *argv) in Next()
42 JSHandle<JSAPIHashMapIterator> iter = JSHandle<JSAPIHashMapIterator>::Cast(input); in Next()
60 currentNode.Update(JSAPIHashMapIterator::FastGetCurrentNode(thread, iter, queue, tableArr)); in Next()
88 JSHandle<JSTaggedValue> JSAPIHashMapIterator::FastGetCurrentNode(JSThread *thread, in FastGetCurrentNode()
89 … JSHandle<JSAPIHashMapIterator> &iter, in FastGetCurrentNode()
115 JSHandle<JSTaggedValue> JSAPIHashMapIterator::GetCurrentNode(JSThread *thread, in GetCurrentNode()
116 JSHandle<JSAPIHashMapIterator> &iter, in GetCurrentNode()
149 JSHandle<JSTaggedValue> JSAPIHashMapIterator::CreateHashMapIterator(JSThread *thread, in CreateHashMapIterator()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_hashmap_iterator_test.cpp100 JSHandle<JSAPIHashMapIterator> hashMapIterator = factory->NewJSAPIHashMapIterator( in HWTEST_F_L0()
111 JSTaggedValue result = JSAPIHashMapIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
124 JSTaggedValue result = JSAPIHashMapIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
133JSAPIHashMapIterator::CreateHashMapIterator(thread, undefined, IterationKind::KEY_AND_VALUE); in HWTEST_F_L0()
Djs_api_hashmap_test.cpp274 HWTEST_F_L0(JSAPIHashMapTest, JSAPIHashMapIterator) in HWTEST_F_L0() argument
359 …JSHandle<JSAPIHashMapIterator> hashmapIterator = factory->NewJSAPIHashMapIterator(hashMap, Iterati… in HWTEST_F_L0()
366 JSTaggedValue result = JSAPIHashMapIterator::Next(ecmaRuntimeCallInfo); in HWTEST_F_L0()
Ddump_test.cpp1081 CHECK_DUMP_FIELDS(JSObject::SIZE, JSAPIHashMapIterator::SIZE, 4U); in HWTEST_F_L0()
1083 JSHandle<JSAPIHashMapIterator> jsHashMapIter = in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_hashmap.cpp76 JSAPIHashMapIterator::CreateHashMapIterator(thread, self, IterationKind::KEY); in Keys()
97 JSAPIHashMapIterator::CreateHashMapIterator(thread, self, IterationKind::VALUE); in Values()
118 JSAPIHashMapIterator::CreateHashMapIterator(thread, self, IterationKind::KEY_AND_VALUE); in Entries()
Dcontainers_private.cpp1166 …SetFrozenFunction(thread, hashMapIteratorPrototype, "next", JSAPIHashMapIterator::Next, FuncLength… in InitializeHashMapIterator()
/arkcompiler/ets_runtime/ecmascript/
Dobject_factory.h119 class JSAPIHashMapIterator; variable
576 …JSHandle<JSAPIHashMapIterator> NewJSAPIHashMapIterator(const JSHandle<JSAPIHashMap> &hashMap, Iter…
Dglobal_env_constants.cpp266 … factory->NewEcmaHClass(hClass, JSAPIHashMapIterator::SIZE, JSType::JS_API_HASHMAP_ITERATOR)); in InitRootsClass()
Ddump.cpp1028 JSAPIHashMapIterator::Cast(obj)->Dump(os); in DumpObject()
2068 void JSAPIHashMapIterator::Dump(std::ostream &os) const in Dump()
2075 void JSAPIHashMapIterator::DumpForSnapshot(std::vector<std::pair<CString, JSTaggedValue>> &vec) con… in DumpForSnapshot()
3993 JSAPIHashMapIterator::Cast(obj)->DumpForSnapshot(vec); in DumpObject()
Dobject_factory.cpp2750 JSHandle<JSAPIHashMapIterator> ObjectFactory::NewJSAPIHashMapIterator(const JSHandle<JSAPIHashMap> … in NewJSAPIHashMapIterator()
2759 JSHandle<JSAPIHashMapIterator> iter(NewJSObject(hclassHandle)); in NewJSAPIHashMapIterator()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_hashmap_test.cpp313 result.Update(JSAPIHashMapIterator::Next(callInfo)); in HWTEST_F_L0()
335 result.Update(JSAPIHashMapIterator::Next(callInfo)); in HWTEST_F_L0()
401 result3.Update(JSAPIHashMapIterator::Next(callInfo)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dobject_xray.h528 JSAPIHashMapIterator::Cast(object)->VisitRangeSlot(visitor); in VisitObjectBody()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp782 reinterpret_cast<uintptr_t>(JSAPIHashMapIterator::Next),