Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc57 mem_segment_.reset(new char[TEST_MEMORY_SIZE]); in PersistentMemoryAllocatorTest()
62 ::memset(mem_segment_.get(), 0, TEST_MEMORY_SIZE); in SetUp()
64 mem_segment_.get(), TEST_MEMORY_SIZE, TEST_MEMORY_PAGE, in SetUp()
88 std::unique_ptr<char[]> mem_segment_; member in base::PersistentMemoryAllocatorTest
191 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()
208 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()
285 void* memory = mem_segment_.get(); in TEST_F()
447 char* memory = mem_segment_.get(); in TEST_F()
493 uint32_t* header4 = (uint32_t*)(mem_segment_.get() + block4); in TEST_F()