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

  /system/core/include/utils/
SharedBuffer.h 27 class SharedBuffer
39 static SharedBuffer* alloc(size_t size);
41 /*! free the memory associated with the SharedBuffer.
42 * Fails if there are any users associated with this SharedBuffer.
46 static ssize_t dealloc(const SharedBuffer* released);
57 //! get back a SharedBuffer object from its data
58 static inline SharedBuffer* bufferFromData(void* data);
60 //! get back a SharedBuffer object from its data
61 static inline const SharedBuffer* bufferFromData(const void* data);
63 //! get the size of a SharedBuffer object from its dat
    [all...]
  /system/core/libpixelflinger/codeflinger/tinyutils/
SharedBuffer.h 28 class SharedBuffer
40 static SharedBuffer* alloc(size_t size);
42 /*! free the memory associated with the SharedBuffer.
43 * Fails if there are any users associated with this SharedBuffer.
47 static ssize_t dealloc(const SharedBuffer* released);
49 //! get the SharedBuffer from the data pointer
50 static inline const SharedBuffer* sharedBuffer(const void* data);
61 //! get back a SharedBuffer object from its data
62 static inline SharedBuffer* bufferFromData(void* data)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
SharedBuffer.h 43 class PLATFORM_EXPORT SharedBuffer : public RefCounted<SharedBuffer> {
45 static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); }
46 static PassRefPtr<SharedBuffer> create(size_t size) { return adoptRef(new SharedBuffer(size)); }
47 static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
48 static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new SharedBuffer(c, i));
    [all...]
SharedBuffer.cpp 28 #include "platform/SharedBuffer.h"
77 static HashSet<SharedBuffer*>& liveBuffers()
79 DEFINE_STATIC_LOCAL(HashSet<SharedBuffer*>, buffers, ());
83 static bool sizeComparator(SharedBuffer* a, SharedBuffer* b)
88 static CString snippetForBuffer(SharedBuffer* sharedBuffer)
92 unsigned snippetLength = std::min(sharedBuffer->size(), kMaxSnippetLength);
97 while (unsigned segmentLength = sharedBuffer->getSomeData(segment, offset)) {
116 Vector<SharedBuffer*> buffers
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebData.cpp 34 #include "platform/SharedBuffer.h"
52 m_private = SharedBuffer::create(data, size);
69 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer)
74 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer)
80 WebData::operator PassRefPtr<SharedBuffer>() const
82 return PassRefPtr<SharedBuffer>(m_private.get());
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
Exynos_OSAL_Android.h 48 EXYNOS_OMX_SHARED_BUFFER SharedBuffer[MAX_BUFFER_REF];
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
SharedBuffer.java 21 public class SharedBuffer {
23 private static final String LOGTAG = "SharedBuffer";
  /external/chromium_org/remoting/host/
desktop_session_agent.cc 70 class DesktopSessionAgent::SharedBuffer : public webrtc::SharedMemory {
72 static scoped_ptr<SharedBuffer> Create(DesktopSessionAgent* agent,
77 return scoped_ptr<SharedBuffer>();
78 return scoped_ptr<SharedBuffer>(
79 new SharedBuffer(agent, memory.Pass(), size, id));
82 virtual ~SharedBuffer() {
87 SharedBuffer(DesktopSessionAgent* agent,
105 DISALLOW_COPY_AND_ASSIGN(SharedBuffer);
183 scoped_ptr<SharedBuffer> buffer =
184 SharedBuffer::Create(this, size, next_shared_buffer_id_)
    [all...]

Completed in 211 milliseconds