Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc27 const uint32_t TEST_MEMORY_SIZE = 1 << 20; // 1 MiB variable
74 mem_segment_.reset(new char[TEST_MEMORY_SIZE]); in PersistentMemoryAllocatorTest()
79 ::memset(mem_segment_.get(), 0, TEST_MEMORY_SIZE); in SetUp()
81 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp()
122 EXPECT_EQ(TEST_MEMORY_SIZE, meminfo0.total); in TEST_F()
230 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()
245 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()
337 AllocatorThread t1("t1", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F()
338 AllocatorThread t2("t2", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F()
339 AllocatorThread t3("t3", memory, TEST_MEMORY_SIZE, TEST_MEMORY_PAGE); in TEST_F()
[all …]