Searched refs:TEST_MEMORY_PAGE (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/base/metrics/ |
D | persistent_memory_allocator_unittest.cc | 25 const uint32_t TEST_MEMORY_PAGE = 64 << 10; // 64 KiB variable 64 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp() 192 TEST_MEMORY_PAGE, 0, "", false)); in TEST_F() 209 TEST_MEMORY_PAGE, 0, "", true)); in TEST_F() 230 Reference block1 = allocator_->Allocate(TEST_MEMORY_PAGE / 2, 1); in TEST_F() 232 EXPECT_GT(TEST_MEMORY_PAGE, block1); in TEST_F() 236 allocator_->Allocate(TEST_MEMORY_PAGE - 2 * kAllocAlignment, 2); in TEST_F() 237 EXPECT_EQ(TEST_MEMORY_PAGE, block2); in TEST_F() 241 EXPECT_EQ(2U * TEST_MEMORY_PAGE, block3); in TEST_F() 286 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F() [all …]
|