Searched refs:TEST_MEMORY_PAGE (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 28 const uint32_t TEST_MEMORY_PAGE = 64 << 10; // 64 KiB variable 81 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp() 231 TEST_MEMORY_PAGE, 0, "", false)); in TEST_F() 246 TEST_MEMORY_PAGE, 0, "", true)); in TEST_F() 281 Reference block1 = allocator_->Allocate(TEST_MEMORY_PAGE / 2, 1); in TEST_F() 283 EXPECT_GT(TEST_MEMORY_PAGE, block1); in TEST_F() 287 allocator_->Allocate(TEST_MEMORY_PAGE - 2 * kAllocAlignment, 2); in TEST_F() 288 EXPECT_EQ(TEST_MEMORY_PAGE, block2); in TEST_F() 292 EXPECT_EQ(2U * TEST_MEMORY_PAGE, block3); in TEST_F() 337 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F() [all …]
|