Searched refs:readonly_shmem (Results 1 – 1 of 1) sorted by relevance
336 SharedMemory readonly_shmem(readonly_handle, /*readonly=*/true); in TEST() local338 ASSERT_TRUE(readonly_shmem.Map(contents.size())); in TEST()340 StringPiece(static_cast<const char*>(readonly_shmem.memory()), in TEST()342 EXPECT_TRUE(readonly_shmem.Unmap()); in TEST()359 SharedMemoryHandle handle = readonly_shmem.handle(); in TEST()378 EXPECT_EQ(0, munmap(writable, readonly_shmem.mapped_size())); in TEST()