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

/external/webkit/WebCore/platform/
H A DSharedBuffer.h52 class SharedBuffer : public RefCounted<SharedBuffer> { class in namespace:WebCore
54 static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); }
55 static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
56 static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
58 static PassRefPtr<SharedBuffer> createWithContentsOfFile(const String& filePath);
60 static PassRefPtr<SharedBuffer> adoptVecto
[all...]
H A DSharedBuffer.cpp28 #include "SharedBuffer.h"
59 SharedBuffer::SharedBuffer() function in class:WebCore::SharedBuffer
64 SharedBuffer::SharedBuffer(const char* data, int size) function in class:WebCore::SharedBuffer
70 SharedBuffer::SharedBuffer(const unsigned char* data, int size) function in class:WebCore::SharedBuffer
76 SharedBuffer::~SharedBuffer()
81 PassRefPtr<SharedBuffer> SharedBuffe
[all...]
/external/webkit/WebCore/platform/cf/
H A DSharedBufferCF.cpp29 #include "SharedBuffer.h"
35 SharedBuffer::SharedBuffer(CFDataRef cfData) function in class:WebCore::SharedBuffer
44 CFDataRef SharedBuffer::createCFData()
55 PassRefPtr<SharedBuffer> SharedBuffer::wrapCFData(CFDataRef data)
57 return adoptRef(new SharedBuffer(data));
60 bool SharedBuffer::hasPlatformData() const
65 const char* SharedBuffer::platformData() const
70 unsigned SharedBuffer
[all...]
/external/webkit/WebKit/chromium/src/
H A DWebData.cpp34 #include "SharedBuffer.h"
40 class WebDataPrivate : public SharedBuffer {
62 SharedBuffer::create(data, size).releaseRef()));
79 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer)
84 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer)
90 WebData::operator PassRefPtr<SharedBuffer>() const
92 return PassRefPtr<SharedBuffer>(const_cast<WebDataPrivate*>(m_private));
/external/webkit/WebCore/loader/appcache/
H A DApplicationCacheResource.h45 static PassRefPtr<ApplicationCacheResource> create(const KURL& url, const ResourceResponse& response, unsigned type, PassRefPtr<SharedBuffer> buffer = SharedBuffer::create()) argument
64 ApplicationCacheResource(const KURL& url, const ResourceResponse& response, unsigned type, PassRefPtr<SharedBuffer> buffer);

Completed in 104 milliseconds