Home
last modified time | relevance | path

Searched refs:SharedBufferDispatcher (Results 1 – 7 of 7) sorted by relevance

/external/libchrome/mojo/core/
Dshared_buffer_dispatcher_unittest.cc40 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in RevalidateCreateOptions()
60 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in TEST_F()
78 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::ValidateCreateOptions( in TEST_F()
96 SharedBufferDispatcher::ValidateCreateOptions(&options, &unused)); in TEST_F()
107 SharedBufferDispatcher::ValidateCreateOptions(&options, &unused)); in TEST_F()
112 scoped_refptr<SharedBufferDispatcher> dispatcher; in TEST_F()
113 EXPECT_EQ(MOJO_RESULT_OK, SharedBufferDispatcher::Create( in TEST_F()
114 SharedBufferDispatcher::kDefaultCreateOptions, in TEST_F()
147 scoped_refptr<SharedBufferDispatcher> dispatcher; in TEST_F()
149 SharedBufferDispatcher::CreateFromPlatformSharedMemoryRegion( in TEST_F()
[all …]
Dshared_buffer_dispatcher.cc48 SharedBufferDispatcher::kDefaultCreateOptions = {
53 MojoResult SharedBufferDispatcher::ValidateCreateOptions( in ValidateCreateOptions()
81 MojoResult SharedBufferDispatcher::Create( in Create()
85 scoped_refptr<SharedBufferDispatcher>* result) { in Create()
109 MojoResult SharedBufferDispatcher::CreateFromPlatformSharedMemoryRegion( in CreateFromPlatformSharedMemoryRegion()
111 scoped_refptr<SharedBufferDispatcher>* result) { in CreateFromPlatformSharedMemoryRegion()
120 scoped_refptr<SharedBufferDispatcher> SharedBufferDispatcher::Deserialize( in Deserialize()
194 SharedBufferDispatcher::PassPlatformSharedMemoryRegion() { in PassPlatformSharedMemoryRegion()
202 Dispatcher::Type SharedBufferDispatcher::GetType() const { in GetType()
206 MojoResult SharedBufferDispatcher::Close() { in Close()
[all …]
Dshared_buffer_dispatcher.h25 class MOJO_SYSTEM_IMPL_EXPORT SharedBufferDispatcher final : public Dispatcher {
49 scoped_refptr<SharedBufferDispatcher>* result);
54 scoped_refptr<SharedBufferDispatcher>* result);
57 static scoped_refptr<SharedBufferDispatcher> Deserialize(
96 explicit SharedBufferDispatcher(
98 ~SharedBufferDispatcher() override;
100 static scoped_refptr<SharedBufferDispatcher> CreateInternal(
118 DISALLOW_COPY_AND_ASSIGN(SharedBufferDispatcher);
Dembedder_unittest.cc49 scoped_refptr<SharedBufferDispatcher> buffer; in CreateSharedBufferFromRegion()
51 SharedBufferDispatcher::CreateFromPlatformSharedMemoryRegion( in CreateSharedBufferFromRegion()
67 auto* buffer = static_cast<SharedBufferDispatcher*>(dispatcher.get()); in ExtractRegionFromSharedBuffer()
Dshared_buffer_unittest.cc246 static_cast<SharedBufferDispatcher*>(Core::Get()->GetDispatcher(b).get()); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
307 auto* dispatcher = static_cast<SharedBufferDispatcher*>( in TEST_F()
Dcore.cc870 MojoResult result = SharedBufferDispatcher::ValidateCreateOptions( in CreateSharedBuffer()
875 scoped_refptr<SharedBufferDispatcher> dispatcher; in CreateSharedBuffer()
876 result = SharedBufferDispatcher::Create( in CreateSharedBuffer()
1095 scoped_refptr<SharedBufferDispatcher> dispatcher; in WrapPlatformSharedMemoryRegion()
1097 SharedBufferDispatcher::CreateFromPlatformSharedMemoryRegion( in WrapPlatformSharedMemoryRegion()
1134 SharedBufferDispatcher* shm_dispatcher = in UnwrapPlatformSharedMemoryRegion()
1135 static_cast<SharedBufferDispatcher*>(dispatcher.get()); in UnwrapPlatformSharedMemoryRegion()
Ddispatcher.cc172 return SharedBufferDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()