Searched refs:lastKey (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_weak_set_test.cpp | 157 void HasAndDeleteCommon(JSThread* thread, JSHandle<JSWeakSet>& weakSet, JSTaggedValue& lastKey) in HasAndDeleteCommon() argument 162 ecmaRuntimeCallInfo1->SetCallArg(0, lastKey); in HasAndDeleteCommon() 187 JSTaggedValue lastKey(JSTaggedValue::Undefined()); in HWTEST_F_L0() 192 lastKey = key.GetTaggedValue(); in HWTEST_F_L0() 194 // whether jsWeakSet has delete lastKey in HWTEST_F_L0() 196 HasAndDeleteCommon(thread, weakSet, lastKey); in HWTEST_F_L0() 205 JSTaggedValue lastKey(JSTaggedValue::Undefined()); in HWTEST_F_L0() 211 lastKey = key.GetTaggedValue(); in HWTEST_F_L0() 213 // whether jsWeakSet has delete lastKey in HWTEST_F_L0() 215 HasAndDeleteCommon(thread, weakSet, lastKey); in HWTEST_F_L0() [all...] |
H A D | builtins_weak_map_test.cpp | 167 JSTaggedValue lastKey(JSTaggedValue::Undefined()); in HWTEST_F_L0() 171 lastKey = key.GetTaggedValue(); in HWTEST_F_L0() 174 // whether jsWeakMap has delete lastKey in HWTEST_F_L0() 179 ecmaRuntimeCallInfo1->SetCallArg(0, lastKey); in HWTEST_F_L0() 204 JSTaggedValue lastKey(JSTaggedValue::Undefined()); in HWTEST_F_L0() 209 lastKey = key.GetTaggedValue(); in HWTEST_F_L0() 212 // check whether jsWeakMap can get and delete lastKey in HWTEST_F_L0() 218 ecmaRuntimeCallInfo1->SetCallArg(0, lastKey); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_hclass-inl.h | 64 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddTransitions() local 67 transitions = TransitionsDictionary::PutIfAbsent(thread, dict, lastKey, lastHClass, in AddTransitions() 102 auto lastKey = JSHandle<JSTaggedValue>(thread, layoutInfo->GetKey(last)); in AddProtoTransitions() local 105 transitions = TransitionsDictionary::PutIfAbsent(thread, dict, lastKey, lastHClass, in AddProtoTransitions() 131 auto lastKey = layoutInfo->GetKey(last); in FindTransitions() local 132 if (lastMetaData == metaData.GetInt() && key == lastKey) { in FindTransitions()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | tagged_tree_test.cpp | 433 JSTaggedValue lastKey = tmap->GetLastKey(); in HWTEST_F_L0() local 434 EXPECT_EQ(lastKey, JSTaggedValue(NODE_NUMBERS - 1)); in HWTEST_F_L0() 442 lastKey = tmap->GetLastKey(); in HWTEST_F_L0() 443 EXPECT_EQ(lastKey, keyValue[0].GetTaggedValue()); in HWTEST_F_L0() 631 JSTaggedValue lastKey = tset->GetLastKey(); in HWTEST_F_L0() local 632 EXPECT_EQ(lastKey, JSTaggedValue(NODE_NUMBERS - 1)); in HWTEST_F_L0() 642 lastKey = tset->GetLastKey(); in HWTEST_F_L0() 643 EXPECT_EQ(lastKey, key.GetTaggedValue()); in HWTEST_F_L0()
|
Completed in 5 milliseconds