Searched refs:memory_ptr (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/memory/ |
D | read_only_shared_memory_region.cc | 21 void* memory_ptr = nullptr; in Create() local 23 if (!handle.MapAt(0, handle.GetSize(), &memory_ptr, &mapped_size)) in Create() 26 WritableSharedMemoryMapping mapping(memory_ptr, size, mapped_size, in Create() 29 handle.ConvertToReadOnly(memory_ptr); in Create()
|
D | shared_memory_region_unittest.cc | 266 void* memory_ptr = const_cast<void*>(mapping.memory()); in TEST_F() local 267 EXPECT_DEATH_IF_SUPPORTED(memset(memory_ptr, 'G', kRegionSize), ""); in TEST_F() 276 void* memory_ptr = const_cast<void*>(mapping.memory()); in TEST_F() local 277 EXPECT_DEATH_IF_SUPPORTED(memset(memory_ptr, 'G', kRegionSize), ""); in TEST_F()
|