Home
last modified time | relevance | path

Searched refs:ScopedSharedBufferHandle (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.h124 ScopedSharedBufferHandle WrapSharedMemoryHandle(
146 UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle,
155 MOJO_CPP_SYSTEM_EXPORT ScopedSharedBufferHandle
158 MOJO_CPP_SYSTEM_EXPORT ScopedSharedBufferHandle
161 MOJO_CPP_SYSTEM_EXPORT ScopedSharedBufferHandle
165 UnwrapReadOnlySharedMemoryRegion(ScopedSharedBufferHandle handle);
168 UnwrapUnsafeSharedMemoryRegion(ScopedSharedBufferHandle handle);
171 UnwrapWritableSharedMemoryRegion(ScopedSharedBufferHandle handle);
Dplatform_handle.cc36 ScopedSharedBufferHandle WrapPlatformSharedMemoryRegion( in WrapPlatformSharedMemoryRegion()
39 return ScopedSharedBufferHandle(); in WrapPlatformSharedMemoryRegion()
54 return ScopedSharedBufferHandle(); in WrapPlatformSharedMemoryRegion()
95 return ScopedSharedBufferHandle(); in WrapPlatformSharedMemoryRegion()
96 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapPlatformSharedMemoryRegion()
100 ScopedSharedBufferHandle mojo_handle) { in UnwrapPlatformSharedMemoryRegion()
237 ScopedSharedBufferHandle WrapSharedMemoryHandle( in WrapSharedMemoryHandle()
242 return ScopedSharedBufferHandle(); in WrapSharedMemoryHandle()
280 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapSharedMemoryHandle()
284 ScopedSharedBufferHandle handle, in UnwrapSharedMemoryHandle()
[all …]
Dbuffer.h41 typedef ScopedHandleBase<SharedBufferHandle> ScopedSharedBufferHandle; typedef
58 static ScopedSharedBufferHandle Create(uint64_t num_bytes);
63 ScopedSharedBufferHandle Clone(AccessMode access_mode) const;
79 static_assert(sizeof(ScopedSharedBufferHandle) == sizeof(SharedBufferHandle),
Dbuffer.cc10 ScopedSharedBufferHandle SharedBufferHandle::Create(uint64_t num_bytes) { in Create()
18 ScopedSharedBufferHandle SharedBufferHandle::Clone( in Clone()
20 ScopedSharedBufferHandle result; in Clone()
DREADME.md30 `ScopedMessagePipeHandle`, `ScopedSharedBufferHandle`, and so on. When a scoped
130 mojo::ScopedSharedBufferHandle buffer =
138 mojo::ScopedSharedBufferHandle another_handle = buffer->Clone();
139 mojo::ScopedSharedBufferHandle read_only_handle =
/external/libchrome/mojo/public/cpp/base/
Dshared_memory_mojom_traits.h24 static mojo::ScopedSharedBufferHandle buffer( in COMPONENT_EXPORT()
36 static mojo::ScopedSharedBufferHandle buffer( in COMPONENT_EXPORT()
48 static mojo::ScopedSharedBufferHandle buffer( in COMPONENT_EXPORT()
Dshared_memory_mojom_traits.cc27 mojo::ScopedSharedBufferHandle StructTraits<
58 mojo::ScopedSharedBufferHandle StructTraits<
89 mojo::ScopedSharedBufferHandle StructTraits<
Dbig_buffer.h29 BigBufferSharedMemoryRegion(mojo::ScopedSharedBufferHandle buffer_handle, in COMPONENT_EXPORT()
39 mojo::ScopedSharedBufferHandle TakeBufferHandle(); in COMPONENT_EXPORT()
46 mojo::ScopedSharedBufferHandle buffer_handle_; in COMPONENT_EXPORT()
Dbig_buffer.cc16 mojo::ScopedSharedBufferHandle buffer_handle, in BigBufferSharedMemoryRegion()
30 mojo::ScopedSharedBufferHandle BigBufferSharedMemoryRegion::TakeBufferHandle() { in TakeBufferHandle()
Dbig_buffer_mojom_traits.h27 static mojo::ScopedSharedBufferHandle buffer_handle( in COMPONENT_EXPORT()
Dbig_buffer_mojom_traits.cc23 ScopedSharedBufferHandle
/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc374 ScopedSharedBufferHandle buffer1 = SharedBufferHandle::Create(1024); in TEST()
377 ScopedSharedBufferHandle buffer2 = SharedBufferHandle::Create(1024); in TEST()
389 ScopedSharedBufferHandle h0 = SharedBufferHandle::Create(100); in TEST()
399 ScopedSharedBufferHandle h1 = in TEST()
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md1441 | `handle<shared_buffer>` | `mojo::ScopedSharedBufferHandle`