Searched refs:PlatformSharedBuffer (Results 1 – 15 of 15) sorted by relevance
/external/libmojo/mojo/edk/embedder/ |
D | platform_shared_buffer.cc | 43 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 …]
|
D | platform_shared_buffer.h | 35 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/ |
D | shared_buffer_dispatcher.cc | 87 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()
|
D | shared_buffer_dispatcher.h | 54 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_;
|
D | broker_host_posix.cc | 64 scoped_refptr<PlatformSharedBuffer> buffer; in OnBufferRequest() 65 scoped_refptr<PlatformSharedBuffer> read_only_buffer; in OnBufferRequest() 67 buffer = PlatformSharedBuffer::Create(num_bytes); in OnBufferRequest()
|
D | broker.h | 16 class PlatformSharedBuffer; variable 31 scoped_refptr<PlatformSharedBuffer> GetSharedBuffer(size_t num_bytes);
|
D | data_pipe_producer_dispatcher.h | 38 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, 88 void OnSharedBufferCreated(const scoped_refptr<PlatformSharedBuffer>& buffer); 110 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
|
D | data_pipe_consumer_dispatcher.h | 39 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, 106 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
|
D | broker_posix.cc | 92 scoped_refptr<PlatformSharedBuffer> Broker::GetSharedBuffer(size_t num_bytes) { in GetSharedBuffer() 117 return PlatformSharedBuffer::CreateFromPlatformHandlePair( in GetSharedBuffer()
|
D | core.cc | 252 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()
|
D | data_pipe_producer_dispatcher.cc | 74 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, in DataPipeProducerDispatcher() 385 scoped_refptr<PlatformSharedBuffer> ring_buffer = in Deserialize() 386 PlatformSharedBuffer::CreateFromPlatformHandle( in Deserialize()
|
D | data_pipe_consumer_dispatcher.cc | 75 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, in DataPipeConsumerDispatcher() 403 scoped_refptr<PlatformSharedBuffer> ring_buffer = in Deserialize() 404 PlatformSharedBuffer::CreateFromPlatformHandle( in Deserialize()
|
D | shared_buffer_dispatcher_unittest.cc | 148 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = in TEST_F() 149 PlatformSharedBuffer::Create(100); in TEST_F()
|
D | node_controller.h | 114 scoped_refptr<PlatformSharedBuffer> CreateSharedBuffer(size_t num_bytes);
|
D | node_controller.cc | 346 scoped_refptr<PlatformSharedBuffer> NodeController::CreateSharedBuffer( in CreateSharedBuffer() 357 return PlatformSharedBuffer::Create(num_bytes); in CreateSharedBuffer()
|