Searched defs:SharedBuffer (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/mojo/public/cpp/system/
H A Dbuffer.h84 class SharedBuffer { class in namespace:mojo
86 explicit SharedBuffer(uint64_t num_bytes);
87 SharedBuffer(uint64_t num_bytes,
89 ~SharedBuffer();
94 inline SharedBuffer::SharedBuffer(uint64_t num_bytes) { function in class:mojo::SharedBuffer
100 inline SharedBuffer::SharedBuffer( function in class:mojo::SharedBuffer
108 inline SharedBuffer::~SharedBuffer() {
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DSharedBuffer.h41 class PLATFORM_EXPORT SharedBuffer : public RefCounted<SharedBuffer> { class in namespace:blink
43 static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); }
44 static PassRefPtr<SharedBuffer> create(size_t size) { return adoptRef(new SharedBuffer(size)); }
45 static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
46 static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new SharedBuffer(
[all...]
H A DSharedBuffer.cpp28 #include "platform/SharedBuffer.h"
73 static HashSet<SharedBuffer*>& liveBuffers()
75 DEFINE_STATIC_LOCAL(HashSet<SharedBuffer*>, buffers, ());
79 static bool sizeComparator(SharedBuffer* a, SharedBuffer* b)
84 static CString snippetForBuffer(SharedBuffer* sharedBuffer)
112 Vector<SharedBuffer*> buffers;
113 for (HashSet<SharedBuffer*>::const_iterator iter = liveBuffers().begin(); iter != liveBuffers().end(); ++iter)
124 static void didCreateSharedBuffer(SharedBuffer* buffer)
132 static void willDestroySharedBuffer(SharedBuffer* buffe
140 SharedBuffer::SharedBuffer() function in class:blink::SharedBuffer
149 SharedBuffer::SharedBuffer(size_t size) function in class:blink::SharedBuffer
160 SharedBuffer::SharedBuffer(const char* data, int size) function in class:blink::SharedBuffer
175 SharedBuffer::SharedBuffer(const char* data, int size, PurgeableVector::PurgeableOption purgeable) function in class:blink::SharedBuffer
190 SharedBuffer::SharedBuffer(const unsigned char* data, int size) function in class:blink::SharedBuffer
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebData.cpp34 #include "platform/SharedBuffer.h"
50 m_private = SharedBuffer::create(data, size);
67 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer)
72 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer)
78 WebData::operator PassRefPtr<SharedBuffer>() const
80 return PassRefPtr<SharedBuffer>(m_private.get());
/external/chromium_org/remoting/host/
H A Ddesktop_session_agent.cc71 class DesktopSessionAgent::SharedBuffer : public webrtc::SharedMemory { class in class:remoting::DesktopSessionAgent
73 static scoped_ptr<SharedBuffer> Create(DesktopSessionAgent* agent,
78 return scoped_ptr<SharedBuffer>();
79 return scoped_ptr<SharedBuffer>(
80 new SharedBuffer(agent, memory.Pass(), size, id));
83 virtual ~SharedBuffer() {
88 SharedBuffer(DesktopSessionAgent* agent, function in class:remoting::DesktopSessionAgent::SharedBuffer
106 DISALLOW_COPY_AND_ASSIGN(SharedBuffer);
185 scoped_ptr<SharedBuffer> buffer =
186 SharedBuffer
[all...]

Completed in 188 milliseconds