Home
last modified time | relevance | path

Searched refs:IteratorValue (Results 1 – 19 of 19) sorted by relevance

/ark/js_runtime/ecmascript/tests/
Djs_map_test.cpp141 EXPECT_EQ(0, JSIterator::IteratorValue(thread, keyResult0)->GetInt()); in HWTEST_F_L0()
142 EXPECT_EQ(10, JSIterator::IteratorValue(thread, valueResult0)->GetInt()); in HWTEST_F_L0()
143 JSHandle<JSTaggedValue> result0Handle = JSIterator::IteratorValue(thread, result0); in HWTEST_F_L0()
148 EXPECT_EQ(1, JSIterator::IteratorValue(thread, keyResult1)->GetInt()); in HWTEST_F_L0()
154 EXPECT_EQ(3, JSIterator::IteratorValue(thread, keyResult2)->GetInt()); in HWTEST_F_L0()
156 EXPECT_EQ(4, JSIterator::IteratorValue(thread, keyResult3)->GetInt()); in HWTEST_F_L0()
161 EXPECT_EQ(5, JSIterator::IteratorValue(thread, keyResult4)->GetInt()); in HWTEST_F_L0()
Djs_set_test.cpp132 EXPECT_EQ(0, JSIterator::IteratorValue(thread, keyResult0)->GetInt()); in HWTEST_F_L0()
133 EXPECT_EQ(0, JSIterator::IteratorValue(thread, valueResult0)->GetInt()); in HWTEST_F_L0()
136 EXPECT_EQ(1, JSIterator::IteratorValue(thread, keyResult1)->GetInt()); in HWTEST_F_L0()
144 EXPECT_EQ(3, JSIterator::IteratorValue(thread, keyResult2)->GetInt()); in HWTEST_F_L0()
146 EXPECT_EQ(4, JSIterator::IteratorValue(thread, keyResult3)->GetInt()); in HWTEST_F_L0()
150 EXPECT_EQ(5, JSIterator::IteratorValue(thread, keyResult4)->GetInt()); in HWTEST_F_L0()
Djs_iterator_test.cpp104 HWTEST_F_L0(JSIteratorTest, IteratorValue) in HWTEST_F_L0() argument
115 JSHandle<JSTaggedValue> resultValue(JSIterator::IteratorValue(thread, result)); in HWTEST_F_L0()
128 EXPECT_EQ(JSIterator::IteratorValue(thread, result1)->GetInt(), 1); in HWTEST_F_L0()
130 EXPECT_EQ(JSIterator::IteratorValue(thread, result2)->GetInt(), 2); in HWTEST_F_L0()
Djs_array_test.cpp148 EXPECT_EQ(JSIterator::IteratorValue(thread, result)->GetInt(), i); in HWTEST_F_L0()
173 JSHandle<JSTaggedValue> iter_value(JSIterator::IteratorValue(thread, iter_result)); in HWTEST_F_L0()
177 EXPECT_EQ(i, JSIterator::IteratorValue(thread, key_result)->GetInt()); in HWTEST_F_L0()
178 …EXPECT_EQ(JSTaggedValue::Undefined(), JSIterator::IteratorValue(thread, value_result).GetTaggedVal… in HWTEST_F_L0()
184 EXPECT_EQ(i, JSIterator::IteratorValue(thread, key_result)->GetInt()); in HWTEST_F_L0()
185 EXPECT_EQ(i, JSIterator::IteratorValue(thread, value_result)->GetInt()); in HWTEST_F_L0()
Djs_api_tree_set_test.cpp249 EXPECT_EQ(i, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
250 EXPECT_EQ(i, JSIterator::IteratorValue(thread, valueIterResult)->GetInt()); in HWTEST_F_L0()
261 result.Update(JSIterator::IteratorValue(thread, iterResult).GetTaggedValue()); in HWTEST_F_L0()
273 EXPECT_EQ(i, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
274 EXPECT_EQ(i, JSIterator::IteratorValue(thread, valueIterResult)->GetInt()); in HWTEST_F_L0()
281 EXPECT_EQ(NODE_NUMBERS, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
Djs_api_tree_map_test.cpp284 EXPECT_EQ(i, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
285 EXPECT_EQ(i + 1, JSIterator::IteratorValue(thread, valueIterResult)->GetInt()); in HWTEST_F_L0()
296 result.Update(JSIterator::IteratorValue(thread, iterResult).GetTaggedValue()); in HWTEST_F_L0()
308 EXPECT_EQ(i, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
309 EXPECT_EQ(i + 1, JSIterator::IteratorValue(thread, valueIterResult)->GetInt()); in HWTEST_F_L0()
316 EXPECT_EQ(NODE_NUMBERS, JSIterator::IteratorValue(thread, keyIterResult)->GetInt()); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/
Djs_iterator.h46 …static JSHandle<JSTaggedValue> IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &iter…
Djs_iterator.cpp120 JSHandle<JSTaggedValue> JSIterator::IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &… in IteratorValue() function in panda::ecmascript::JSIterator
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_set.cpp83 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in SetConstructor()
208 JSHandle<JSTaggedValue> value = JSIterator::IteratorValue(thread, result); in ForEach()
Dbuiltins_map.cpp82 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in MapConstructor()
246 JSHandle<JSTaggedValue> iterValue(JSIterator::IteratorValue(thread, result)); in ForEach()
Dbuiltins_weak_set.cpp83 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in WeakSetConstructor()
Dbuiltins_weak_map.cpp84 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in WeakMapConstructor()
Dbuiltins_promise.cpp493 JSHandle<JSTaggedValue> nextVal = JSIterator::IteratorValue(thread, next); in PerformPromiseAll()
586 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in PerformPromiseRace()
Dbuiltins_typedarray.cpp166 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in From()
Dbuiltins_array.cpp214 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in From()
/ark/js_runtime/ecmascript/containers/tests/
Dcontainers_treeset_test.cpp813 EXPECT_EQ(i, JSIterator::IteratorValue(thread, result)->GetInt()); in HWTEST_F_L0()
849 JSHandle<JSTaggedValue> itRes = JSIterator::IteratorValue(thread, result); in HWTEST_F_L0()
875 entries.Update(JSIterator::IteratorValue(thread, result).GetTaggedValue()); in HWTEST_F_L0()
890 entries.Update(JSIterator::IteratorValue(thread, result).GetTaggedValue()); in HWTEST_F_L0()
1057 JSHandle<JSTaggedValue> itRes = JSIterator::IteratorValue(thread, result); in HWTEST_F_L0()
1068 EXPECT_EQ((NODE_NUMBERS - 1 - i), JSIterator::IteratorValue(thread, result)->GetInt()); in HWTEST_F_L0()
Dcontainers_treemap_test.cpp878 EXPECT_EQ(i, JSIterator::IteratorValue(thread, result)->GetInt()); in HWTEST_F_L0()
898 EXPECT_EQ(i, JSIterator::IteratorValue(thread, result)->GetInt()); in HWTEST_F_L0()
936 JSHandle<JSTaggedValue> itRes = JSIterator::IteratorValue(thread, result); in HWTEST_F_L0()
951 EXPECT_TRUE(JSTaggedValue::SameValue(value, JSIterator::IteratorValue(thread, result))); in HWTEST_F_L0()
976 entries.Update(JSIterator::IteratorValue(thread, result).GetTaggedValue()); in HWTEST_F_L0()
994 entries.Update(JSIterator::IteratorValue(thread, result).GetTaggedValue()); in HWTEST_F_L0()
1315 JSHandle<JSTaggedValue> itRes = JSIterator::IteratorValue(thread, result); in HWTEST_F_L0()
1326 EXPECT_EQ((NODE_NUMBERS - 1 - i), JSIterator::IteratorValue(thread, result)->GetInt()); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/base/
Dtyped_array_helper.cpp110 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in CreateFromOrdinaryObject()
/ark/js_runtime/ecmascript/interpreter/
Dslow_runtime_stub.cpp2006 nextArg.Update(JSIterator::IteratorValue(thread, next).GetTaggedValue()); in GetCallSpreadArgs()