Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/cpp/system/
Dbuffer.h40 typedef ScopedHandleBase<SharedBufferHandle> ScopedSharedBufferHandle; typedef
57 static ScopedSharedBufferHandle Create(uint64_t num_bytes);
62 ScopedSharedBufferHandle Clone(AccessMode = AccessMode::READ_WRITE) const;
75 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()
Dplatform_handle.h62 ScopedSharedBufferHandle WrapSharedMemoryHandle(
69 MojoResult UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle,
Dplatform_handle.cc60 ScopedSharedBufferHandle WrapSharedMemoryHandle( in WrapSharedMemoryHandle()
87 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapSharedMemoryHandle()
90 MojoResult UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle, in UnwrapSharedMemoryHandle()
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc468 ScopedSharedBufferHandle buffer1 = SharedBufferHandle::Create(1024); in TEST()
471 ScopedSharedBufferHandle buffer2 = SharedBufferHandle::Create(1024); in TEST()
483 ScopedSharedBufferHandle h0 = SharedBufferHandle::Create(100); in TEST()
492 ScopedSharedBufferHandle h1 = in TEST()