Lines Matching refs:newArray
120 static void HeandleLeakTestCommon(const EcmaVM *instance, JSHandle<TaggedArray>& newArray) in HeandleLeakTestCommon() argument
126 verifier(*newArray); in HeandleLeakTestCommon()
140 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
142 newArray->SetLength(SIZE); in HWTEST_F_L0()
148 HeandleLeakTestCommon(instance, newArray); in HWTEST_F_L0()
156 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
158 newArray->SetLength(SIZE); in HWTEST_F_L0()
161 ecmascript::Barriers::SetPrimitive(newArray->GetData(), offset, JSTaggedValue::Undefined()); in HWTEST_F_L0()
168 HeandleLeakTestCommon(instance, newArray); in HWTEST_F_L0()
176 …JSHandle<TaggedArray> newArray(thread, const_cast<Heap *>(instance->GetHeap())->AllocateNonMovable… in HWTEST_F_L0() local
179 newArray->InitializeWithSpecialValue(JSTaggedValue::Hole(), SIZE); in HWTEST_F_L0()
182 verifier(*newArray); in HWTEST_F_L0()
183 ASSERT_TRUE(newArray.GetTaggedValue().IsTaggedArray()); in HWTEST_F_L0()