• Home
  • Raw
  • Download

Lines Matching full:1024

74         for (int i = 0; i < 1024; i++) {  in HWTEST_F_L0()
190 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
192 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
194 EXPECT_EQ(newNativeSize - oldNativeSize, 1UL * 1024 * 1024); in HWTEST_F_L0()
196 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
198 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
201 EXPECT_TRUE(newNativeSize - oldNativeSize <= 2 * 1024 *1024); in HWTEST_F_L0()
203 … auto newData2 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
205 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
208 EXPECT_TRUE(newNativeSize - oldNativeSize < 22 * 1024 *1024); in HWTEST_F_L0()
225 … auto newData = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
227 NativeAreaAllocator::FreeBufferFunc, nullptr, true, 1 * 1024 * 1024); in HWTEST_F_L0()
229 EXPECT_EQ(newNativeSize - oldNativeSize, 1UL * 1024 * 1024); in HWTEST_F_L0()
231 … auto newData1 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1 * 1024 * 1024); in HWTEST_F_L0()
233 NativeAreaAllocator::FreeBufferFunc, nullptr, false, 1 * 1024 * 1024); in HWTEST_F_L0()
236 EXPECT_TRUE(newNativeSize - oldNativeSize <= 2 * 1024 *1024); in HWTEST_F_L0()
238 auto newData2 = thread->GetEcmaVM()->GetNativeAreaAllocator()->AllocateBuffer(1024); in HWTEST_F_L0()
241 NativeAreaAllocator::FreeBufferFunc, nullptr, true, 1 * 1024 * 1024); in HWTEST_F_L0()
244 EXPECT_TRUE(newNativeSize - oldNativeSize < 256 * 1024 *1024); in HWTEST_F_L0()
262 …nused]] JSHandle<TaggedArray> obj = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(1024 * 1024); in HWTEST_F_L0()