Searched refs:platform_shared_buffer (Results 1 – 4 of 4) sorted by relevance
296 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in PassSharedMemoryHandle() local299 if (!platform_shared_buffer) in PassSharedMemoryHandle()303 *num_bytes = platform_shared_buffer->GetNumBytes(); in PassSharedMemoryHandle()305 *read_only = platform_shared_buffer->IsReadOnly(); in PassSharedMemoryHandle()306 *shared_memory_handle = platform_shared_buffer->DuplicateSharedMemoryHandle(); in PassSharedMemoryHandle()1062 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in UnwrapPlatformSharedBufferHandle() local1064 CHECK(platform_shared_buffer); in UnwrapPlatformSharedBufferHandle()1067 *size = platform_shared_buffer->GetNumBytes(); in UnwrapPlatformSharedBufferHandle()1071 if (platform_shared_buffer->IsReadOnly()) in UnwrapPlatformSharedBufferHandle()1074 ScopedPlatformHandle handle = platform_shared_buffer->PassPlatformHandle(); in UnwrapPlatformSharedBufferHandle()
148 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in TEST_F() local150 ASSERT_TRUE(platform_shared_buffer); in TEST_F()154 platform_shared_buffer, &dispatcher)); in TEST_F()
92 "platform_shared_buffer.cc",93 "platform_shared_buffer.h",
89 mojo/edk/embedder/platform_shared_buffer.cc \