Searched refs:PlatformSharedBuffer (Results 1 - 15 of 15) sorted by relevance

/external/libmojo/mojo/edk/embedder/
H A Dplatform_shared_buffer.cc43 PlatformSharedBuffer* PlatformSharedBuffer::Create(size_t num_bytes) {
46 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, false);
50 scoped_refptr<PlatformSharedBuffer> deleter(rv);
58 PlatformSharedBuffer* PlatformSharedBuffer::CreateFromPlatformHandle(
64 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, read_only);
68 scoped_refptr<PlatformSharedBuffer> delete
216 PlatformSharedBuffer::PlatformSharedBuffer(size_t num_bytes, bool read_only) function in class:mojo::edk::PlatformSharedBuffer
[all...]
H A Dplatform_shared_buffer.h25 // |PlatformSharedBuffer| is a thread-safe, ref-counted wrapper around
27 // - A |PlatformSharedBuffer| simply represents a piece of shared memory that
29 // - A single |PlatformSharedBuffer| may be mapped multiple times. The
31 // separate from the lifetime of the |PlatformSharedBuffer|.
35 class MOJO_SYSTEM_IMPL_EXPORT PlatformSharedBuffer class in namespace:mojo::edk
36 : public base::RefCountedThreadSafe<PlatformSharedBuffer> {
40 static PlatformSharedBuffer* Create(size_t num_bytes);
44 static PlatformSharedBuffer* CreateFromPlatformHandle(
52 static PlatformSharedBuffer* CreateFromPlatformHandlePair(
59 static PlatformSharedBuffer* CreateFromSharedMemoryHandl
[all...]
/external/libmojo/mojo/edk/system/
H A Dbroker.h16 class PlatformSharedBuffer;
31 scoped_refptr<PlatformSharedBuffer> GetSharedBuffer(size_t num_bytes);
H A Dshared_buffer_dispatcher.h54 const scoped_refptr<PlatformSharedBuffer>& shared_buffer,
68 scoped_refptr<PlatformSharedBuffer> PassPlatformSharedBuffer();
93 scoped_refptr<PlatformSharedBuffer> shared_buffer) {
99 scoped_refptr<PlatformSharedBuffer> shared_buffer);
120 scoped_refptr<PlatformSharedBuffer> shared_buffer_;
H A Dshared_buffer_dispatcher.cc87 scoped_refptr<PlatformSharedBuffer> shared_buffer;
93 PlatformSharedBuffer::Create(static_cast<size_t>(num_bytes));
104 const scoped_refptr<PlatformSharedBuffer>& shared_buffer,
149 scoped_refptr<PlatformSharedBuffer> shared_buffer(
150 PlatformSharedBuffer::CreateFromPlatformHandle(
162 scoped_refptr<PlatformSharedBuffer>
168 scoped_refptr<PlatformSharedBuffer> retval = shared_buffer_;
204 scoped_refptr<PlatformSharedBuffer> read_only_buffer =
297 scoped_refptr<PlatformSharedBuffer> shared_buffer)
H A Dbroker_host_posix.cc64 scoped_refptr<PlatformSharedBuffer> buffer;
65 scoped_refptr<PlatformSharedBuffer> read_only_buffer;
67 buffer = PlatformSharedBuffer::Create(num_bytes);
H A Ddata_pipe_producer_dispatcher.h38 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer,
88 void OnSharedBufferCreated(const scoped_refptr<PlatformSharedBuffer>& buffer);
110 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
H A Dbroker_posix.cc92 scoped_refptr<PlatformSharedBuffer> Broker::GetSharedBuffer(size_t num_bytes) {
117 return PlatformSharedBuffer::CreateFromPlatformHandlePair(
H A Ddata_pipe_consumer_dispatcher.h39 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer,
106 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
H A Ddata_pipe_consumer_dispatcher.cc75 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer,
403 scoped_refptr<PlatformSharedBuffer> ring_buffer =
404 PlatformSharedBuffer::CreateFromPlatformHandle(
H A Ddata_pipe_producer_dispatcher.cc74 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer,
385 scoped_refptr<PlatformSharedBuffer> ring_buffer =
386 PlatformSharedBuffer::CreateFromPlatformHandle(
H A Dshared_buffer_dispatcher_unittest.cc148 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer =
149 PlatformSharedBuffer::Create(100);
H A Dcore.cc252 scoped_refptr<PlatformSharedBuffer> platform_buffer =
253 PlatformSharedBuffer::CreateFromSharedMemoryHandle(num_bytes, read_only,
296 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer =
783 scoped_refptr<PlatformSharedBuffer> ring_buffer =
1019 scoped_refptr<PlatformSharedBuffer> platform_buffer =
1020 PlatformSharedBuffer::CreateFromPlatformHandle(size, read_only,
1062 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer =
H A Dnode_controller.h114 scoped_refptr<PlatformSharedBuffer> CreateSharedBuffer(size_t num_bytes);
H A Dnode_controller.cc346 scoped_refptr<PlatformSharedBuffer> NodeController::CreateSharedBuffer(
357 return PlatformSharedBuffer::Create(num_bytes);

Completed in 1005 milliseconds