Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/embedder/
Dplatform_shared_buffer.cc43 PlatformSharedBuffer* PlatformSharedBuffer::Create(size_t num_bytes) { in Create()
46 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, false); in Create()
50 scoped_refptr<PlatformSharedBuffer> deleter(rv); in Create()
58 PlatformSharedBuffer* PlatformSharedBuffer::CreateFromPlatformHandle( in CreateFromPlatformHandle()
64 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, read_only); in CreateFromPlatformHandle()
68 scoped_refptr<PlatformSharedBuffer> deleter(rv); in CreateFromPlatformHandle()
76 PlatformSharedBuffer* PlatformSharedBuffer::CreateFromPlatformHandlePair( in CreateFromPlatformHandlePair()
84 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, false); in CreateFromPlatformHandlePair()
89 scoped_refptr<PlatformSharedBuffer> deleter(rv); in CreateFromPlatformHandlePair()
97 PlatformSharedBuffer* PlatformSharedBuffer::CreateFromSharedMemoryHandle( in CreateFromSharedMemoryHandle()
[all …]
Dplatform_shared_buffer.h35 class MOJO_SYSTEM_IMPL_EXPORT PlatformSharedBuffer
36 : public base::RefCountedThreadSafe<PlatformSharedBuffer> {
40 static PlatformSharedBuffer* Create(size_t num_bytes);
44 static PlatformSharedBuffer* CreateFromPlatformHandle(
52 static PlatformSharedBuffer* CreateFromPlatformHandlePair(
59 static PlatformSharedBuffer* CreateFromSharedMemoryHandle(
99 PlatformSharedBuffer* CreateReadOnlyDuplicate();
102 friend class base::RefCountedThreadSafe<PlatformSharedBuffer>;
104 PlatformSharedBuffer(size_t num_bytes, bool read_only);
105 ~PlatformSharedBuffer();
[all …]
/external/libmojo/mojo/edk/system/
Dshared_buffer_dispatcher.cc87 scoped_refptr<PlatformSharedBuffer> shared_buffer; in Create()
93 PlatformSharedBuffer::Create(static_cast<size_t>(num_bytes)); in Create()
104 const scoped_refptr<PlatformSharedBuffer>& shared_buffer, in CreateFromPlatformSharedBuffer()
149 scoped_refptr<PlatformSharedBuffer> shared_buffer( in Deserialize()
150 PlatformSharedBuffer::CreateFromPlatformHandle( in Deserialize()
162 scoped_refptr<PlatformSharedBuffer>
168 scoped_refptr<PlatformSharedBuffer> retval = shared_buffer_; in PassPlatformSharedBuffer()
204 scoped_refptr<PlatformSharedBuffer> read_only_buffer = in DuplicateBufferHandle()
297 scoped_refptr<PlatformSharedBuffer> shared_buffer) in SharedBufferDispatcher()
Dshared_buffer_dispatcher.h54 const scoped_refptr<PlatformSharedBuffer>& shared_buffer,
68 scoped_refptr<PlatformSharedBuffer> PassPlatformSharedBuffer();
93 scoped_refptr<PlatformSharedBuffer> shared_buffer) { in CreateInternal()
99 scoped_refptr<PlatformSharedBuffer> shared_buffer);
120 scoped_refptr<PlatformSharedBuffer> shared_buffer_;
Dbroker_host_posix.cc64 scoped_refptr<PlatformSharedBuffer> buffer; in OnBufferRequest()
65 scoped_refptr<PlatformSharedBuffer> read_only_buffer; in OnBufferRequest()
67 buffer = PlatformSharedBuffer::Create(num_bytes); in OnBufferRequest()
Dbroker.h16 class PlatformSharedBuffer; variable
31 scoped_refptr<PlatformSharedBuffer> GetSharedBuffer(size_t num_bytes);
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_;
Ddata_pipe_consumer_dispatcher.h39 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer,
106 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
Dbroker_posix.cc92 scoped_refptr<PlatformSharedBuffer> Broker::GetSharedBuffer(size_t num_bytes) { in GetSharedBuffer()
117 return PlatformSharedBuffer::CreateFromPlatformHandlePair( in GetSharedBuffer()
Dcore.cc252 scoped_refptr<PlatformSharedBuffer> platform_buffer = in CreateSharedBufferWrapper()
253 PlatformSharedBuffer::CreateFromSharedMemoryHandle(num_bytes, read_only, in CreateSharedBufferWrapper()
296 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in PassSharedMemoryHandle()
783 scoped_refptr<PlatformSharedBuffer> ring_buffer = in CreateDataPipe()
1019 scoped_refptr<PlatformSharedBuffer> platform_buffer = in WrapPlatformSharedBufferHandle()
1020 PlatformSharedBuffer::CreateFromPlatformHandle(size, read_only, in WrapPlatformSharedBufferHandle()
1062 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in UnwrapPlatformSharedBufferHandle()
Ddata_pipe_producer_dispatcher.cc74 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, in DataPipeProducerDispatcher()
385 scoped_refptr<PlatformSharedBuffer> ring_buffer = in Deserialize()
386 PlatformSharedBuffer::CreateFromPlatformHandle( in Deserialize()
Ddata_pipe_consumer_dispatcher.cc75 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, in DataPipeConsumerDispatcher()
403 scoped_refptr<PlatformSharedBuffer> ring_buffer = in Deserialize()
404 PlatformSharedBuffer::CreateFromPlatformHandle( in Deserialize()
Dshared_buffer_dispatcher_unittest.cc148 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in TEST_F()
149 PlatformSharedBuffer::Create(100); in TEST_F()
Dnode_controller.h114 scoped_refptr<PlatformSharedBuffer> CreateSharedBuffer(size_t num_bytes);
Dnode_controller.cc346 scoped_refptr<PlatformSharedBuffer> NodeController::CreateSharedBuffer( in CreateSharedBuffer()
357 return PlatformSharedBuffer::Create(num_bytes); in CreateSharedBuffer()