Searched refs:shm_start (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/src/tracing/ipc/ |
D | posix_shared_memory_unittest.cc | 52 void* const shm_start = shm->start(); in TEST() local 54 ASSERT_NE(nullptr, shm_start); in TEST() 57 memcpy(shm_start, "test", 5); in TEST() 58 ASSERT_TRUE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST() 61 ASSERT_FALSE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST() 85 void* const shm_start = shm->start(); in TEST() local 87 ASSERT_NE(nullptr, shm_start); in TEST() 89 ASSERT_EQ(0, memcmp("foobar", shm_start, 7)); in TEST() 95 ASSERT_FALSE(base::vm_test_utils::IsMapped(shm_start, shm_size)); in TEST() 120 void* const shm_start = shm->start(); in TEST() local [all …]
|