/ark/js_runtime/ecmascript/tests/ |
D | js_map_test.cpp | 141 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()
|
D | js_set_test.cpp | 132 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()
|
D | js_iterator_test.cpp | 104 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()
|
D | js_array_test.cpp | 148 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()
|
D | js_api_tree_set_test.cpp | 249 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()
|
D | js_api_tree_map_test.cpp | 284 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/ |
D | js_iterator.h | 46 …static JSHandle<JSTaggedValue> IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &iter…
|
D | js_iterator.cpp | 120 JSHandle<JSTaggedValue> JSIterator::IteratorValue(JSThread *thread, const JSHandle<JSTaggedValue> &… in IteratorValue() function in panda::ecmascript::JSIterator
|
/ark/js_runtime/ecmascript/builtins/ |
D | builtins_set.cpp | 83 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in SetConstructor() 208 JSHandle<JSTaggedValue> value = JSIterator::IteratorValue(thread, result); in ForEach()
|
D | builtins_map.cpp | 82 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in MapConstructor() 246 JSHandle<JSTaggedValue> iterValue(JSIterator::IteratorValue(thread, result)); in ForEach()
|
D | builtins_weak_set.cpp | 83 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in WeakSetConstructor()
|
D | builtins_weak_map.cpp | 84 JSHandle<JSTaggedValue> nextValue(JSIterator::IteratorValue(thread, next)); in WeakMapConstructor()
|
D | builtins_promise.cpp | 493 JSHandle<JSTaggedValue> nextVal = JSIterator::IteratorValue(thread, next); in PerformPromiseAll() 586 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in PerformPromiseRace()
|
D | builtins_typedarray.cpp | 166 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in From()
|
D | builtins_array.cpp | 214 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in From()
|
/ark/js_runtime/ecmascript/containers/tests/ |
D | containers_treeset_test.cpp | 813 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()
|
D | containers_treemap_test.cpp | 878 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/ |
D | typed_array_helper.cpp | 110 JSHandle<JSTaggedValue> nextValue = JSIterator::IteratorValue(thread, next); in CreateFromOrdinaryObject()
|
/ark/js_runtime/ecmascript/interpreter/ |
D | slow_runtime_stub.cpp | 2006 nextArg.Update(JSIterator::IteratorValue(thread, next).GetTaggedValue()); in GetCallSpreadArgs()
|