Searched refs:PlatformSharedBuffer (Results 1 - 15 of 15) sorted by relevance
/external/libmojo/mojo/edk/embedder/ |
H A D | platform_shared_buffer.cc | 43 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 D | platform_shared_buffer.h | 25 // |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 D | broker.h | 16 class PlatformSharedBuffer; 31 scoped_refptr<PlatformSharedBuffer> GetSharedBuffer(size_t num_bytes);
|
H A D | shared_buffer_dispatcher.h | 54 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 D | shared_buffer_dispatcher.cc | 87 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 D | broker_host_posix.cc | 64 scoped_refptr<PlatformSharedBuffer> buffer; 65 scoped_refptr<PlatformSharedBuffer> read_only_buffer; 67 buffer = PlatformSharedBuffer::Create(num_bytes);
|
H A 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_;
|
H A D | broker_posix.cc | 92 scoped_refptr<PlatformSharedBuffer> Broker::GetSharedBuffer(size_t num_bytes) { 117 return PlatformSharedBuffer::CreateFromPlatformHandlePair(
|
H A D | data_pipe_consumer_dispatcher.h | 39 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, 106 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer_;
|
H A D | data_pipe_consumer_dispatcher.cc | 75 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, 403 scoped_refptr<PlatformSharedBuffer> ring_buffer = 404 PlatformSharedBuffer::CreateFromPlatformHandle(
|
H A D | data_pipe_producer_dispatcher.cc | 74 scoped_refptr<PlatformSharedBuffer> shared_ring_buffer, 385 scoped_refptr<PlatformSharedBuffer> ring_buffer = 386 PlatformSharedBuffer::CreateFromPlatformHandle(
|
H A D | shared_buffer_dispatcher_unittest.cc | 148 scoped_refptr<PlatformSharedBuffer> platform_shared_buffer = 149 PlatformSharedBuffer::Create(100);
|
H A D | core.cc | 252 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 D | node_controller.h | 114 scoped_refptr<PlatformSharedBuffer> CreateSharedBuffer(size_t num_bytes);
|
H A D | node_controller.cc | 346 scoped_refptr<PlatformSharedBuffer> NodeController::CreateSharedBuffer( 357 return PlatformSharedBuffer::Create(num_bytes);
|
Completed in 1005 milliseconds