Searched refs:shm_start (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory_unittest.cc | 46 void* const shm_start = shm->start(); in TEST() local 48 ASSERT_NE(nullptr, shm_start); in TEST() 51 memcpy(shm_start, "test", 5); in TEST() 52 ASSERT_TRUE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST() 55 ASSERT_FALSE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST() 77 void* const shm_start = shm->start(); in TEST() local 79 ASSERT_NE(nullptr, shm_start); in TEST() 81 ASSERT_EQ(0, memcmp("foobar", shm_start, 7)); in TEST() 87 ASSERT_FALSE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST()
|