HomeSort by relevance Sort by last modified time
    Searched defs:PlatformSharedBuffer (Results 1 - 2 of 2) sorted by null

  /external/libmojo/mojo/edk/embedder/
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
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
    [all...]
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> deleter(rv)
    [all...]

Completed in 60 milliseconds