Home
last modified time | relevance | path

Searched refs:TEST_MEMORY_PAGE (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc25 const uint32_t TEST_MEMORY_PAGE = 64 << 10; // 64 KiB variable
68 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp()
218 TEST_MEMORY_PAGE, 0, "", false)); in TEST_F()
233 TEST_MEMORY_PAGE, 0, "", true)); in TEST_F()
268 Reference block1 = allocator_->Allocate(TEST_MEMORY_PAGE / 2, 1); in TEST_F()
270 EXPECT_GT(TEST_MEMORY_PAGE, block1); in TEST_F()
274 allocator_->Allocate(TEST_MEMORY_PAGE - 2 * kAllocAlignment, 2); in TEST_F()
275 EXPECT_EQ(TEST_MEMORY_PAGE, block2); in TEST_F()
279 EXPECT_EQ(2U * TEST_MEMORY_PAGE, block3); in TEST_F()
324 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F()
[all …]