Searched refs:ScopedSharedBufferHandle (Results 1 – 5 of 5) sorted by relevance
40 typedef ScopedHandleBase<SharedBufferHandle> ScopedSharedBufferHandle; typedef57 static ScopedSharedBufferHandle Create(uint64_t num_bytes);62 ScopedSharedBufferHandle Clone(AccessMode = AccessMode::READ_WRITE) const;75 static_assert(sizeof(ScopedSharedBufferHandle) == sizeof(SharedBufferHandle),
10 ScopedSharedBufferHandle SharedBufferHandle::Create(uint64_t num_bytes) { in Create()18 ScopedSharedBufferHandle SharedBufferHandle::Clone( in Clone()20 ScopedSharedBufferHandle result; in Clone()
62 ScopedSharedBufferHandle WrapSharedMemoryHandle(69 MojoResult UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle,
60 ScopedSharedBufferHandle WrapSharedMemoryHandle( in WrapSharedMemoryHandle()87 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapSharedMemoryHandle()90 MojoResult UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle, in UnwrapSharedMemoryHandle()
468 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()