Searched refs:mem_segment_ (Results 1 – 2 of 2) sorted by relevance
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()104 std::unique_ptr<char[]> mem_segment_; member in base::PersistentMemoryAllocatorTest230 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()245 new PersistentMemoryAllocator(mem_segment_.get(), TEST_MEMORY_SIZE, in TEST_F()336 void* memory = mem_segment_.get(); in TEST_F()539 char* memory = mem_segment_.get(); in TEST_F()585 uint32_t* header4 = (uint32_t*)(mem_segment_.get() + block4); in TEST_F()
35 mem_segment_(std::move(memory)) {} in TestActivityTracker()40 std::unique_ptr<char[]> mem_segment_; member in base::debug::__anon642a02a00111::TestActivityTracker