Searched refs:readonly_handle (Results 1 – 3 of 3) sorted by relevance
48 PlatformHandle readonly_handle) { in CreateSharedMemoryRegionHandleFromPlatformHandles() argument50 DCHECK(!readonly_handle.is_valid()); in CreateSharedMemoryRegionHandleFromPlatformHandles()53 DCHECK(!readonly_handle.is_valid()); in CreateSharedMemoryRegionHandleFromPlatformHandles()56 DCHECK(!readonly_handle.is_valid()); in CreateSharedMemoryRegionHandleFromPlatformHandles()59 DCHECK(!readonly_handle.is_valid()); in CreateSharedMemoryRegionHandleFromPlatformHandles()62 return base::subtle::ScopedFDPair(handle.TakeFD(), readonly_handle.TakeFD()); in CreateSharedMemoryRegionHandleFromPlatformHandles()
30 PlatformHandle readonly_handle);
379 SharedMemoryHandle readonly_handle = writable_shmem.GetReadOnlyHandle(); in TEST_P() local380 EXPECT_EQ(writable_shmem.handle().GetGUID(), readonly_handle.GetGUID()); in TEST_P()381 EXPECT_EQ(writable_shmem.handle().GetSize(), readonly_handle.GetSize()); in TEST_P()382 ASSERT_TRUE(readonly_handle.IsValid()); in TEST_P()383 SharedMemory readonly_shmem(readonly_handle, /*readonly=*/true); in TEST_P()