Searched refs:weakVector (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | weak_vector_test.cpp | 38 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 39 EXPECT_TRUE(*weakVector != nullptr); in HWTEST_F_L0() 40 JSHandle<TaggedArray> weakVectArr(weakVector); in HWTEST_F_L0() 41 EXPECT_EQ(weakVector->GetEnd(), 0U); in HWTEST_F_L0() 42 EXPECT_TRUE(weakVector->Empty()); in HWTEST_F_L0() 58 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 65 weakVector->Set(thread, i, weakValue); in HWTEST_F_L0() 66 EXPECT_EQ(weakVector->Get(i), weakValue); in HWTEST_F_L0() 123 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 130 weakVector in HWTEST_F_L0() 159 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); HWTEST_F_L0() local [all...] |
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | proto_change_details_test.cpp | 100 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 101 JSHandle<ChangeListener> handleChangeListener = JSHandle<ChangeListener>::Cast(weakVector); in HWTEST_F_L0() 143 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 145 weakVector->PushBack(thread, JSTaggedValue(i)); in HWTEST_F_L0() 146 } // weakVector is not full in HWTEST_F_L0() 147 JSHandle<ChangeListener> handleChangeListenerArr = JSHandle<ChangeListener>::Cast(weakVector); in HWTEST_F_L0() 174 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); in HWTEST_F_L0() local 176 weakVector->PushBack(thread, JSTaggedValue(i)); in HWTEST_F_L0() 178 JSHandle<ChangeListener> handleChangeListenerArr = JSHandle<ChangeListener>::Cast(weakVector); in HWTEST_F_L0() 179 // weakVector exis in HWTEST_F_L0() 207 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); HWTEST_F_L0() local 233 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); HWTEST_F_L0() local 258 JSHandle<WeakVector> weakVector = WeakVector::Create(thread, weakVectorCapacity); HWTEST_F_L0() local [all...] |
Completed in 2 milliseconds