/system/core/libutils/ |
String8.cpp | 21 #include <utils/SharedBuffer.h> 40 static SharedBuffer* gEmptyStringBuf = NULL; 62 SharedBuffer* buf = SharedBuffer::alloc(1); 71 SharedBuffer::bufferFromData(gEmptyString)->release(); 81 SharedBuffer* buf = SharedBuffer::alloc(len+1); 104 SharedBuffer* buf = SharedBuffer::alloc(bytes+1); 126 SharedBuffer* buf = SharedBuffer::alloc(bytes+1) [all...] |
VectorImpl.cpp | 26 #include <utils/SharedBuffer.h> 54 SharedBuffer::bufferFromData(mStorage)->acquire(); 76 SharedBuffer::bufferFromData(mStorage)->acquire(); 88 SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage)->attemptEdit(); 90 sb = SharedBuffer::alloc(capacity() * mItemSize); 104 return SharedBuffer::bufferFromData(mStorage)->size() / mItemSize; 334 SharedBuffer* sb = SharedBuffer::alloc(new_capacity * mItemSize); 359 const SharedBuffer* sb = SharedBuffer::bufferFromData(mStorage) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
GIFImageDecoderTest.cpp | 35 #include "platform/SharedBuffer.h" 51 PassRefPtr<SharedBuffer> readFile(const char* fileName) 69 void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) 84 RefPtr<SharedBuffer> fullData = readFile(gifFile); 116 RefPtr<SharedBuffer> data = readFile(gifFile); 143 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); 169 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); 193 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); 200 RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length) [all...] |
WebImageTest.cpp | 35 #include "platform/SharedBuffer.h" 46 static PassRefPtr<SharedBuffer> readFile(const char* fileName) 57 RefPtr<SharedBuffer> data = readFile("white-1x1.png"); 68 RefPtr<SharedBuffer> data = readFile("black-and-white.ico"); 83 RefPtr<SharedBuffer> data = readFile("valid_header_missing_bitmap.ico");
|
WEBPImageDecoderTest.cpp | 36 #include "platform/SharedBuffer.h" 53 PassRefPtr<SharedBuffer> readFile(const char* fileName) 71 void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) 86 RefPtr<SharedBuffer> fullData = readFile(webpFile); 118 RefPtr<SharedBuffer> data = readFile(webpFile); 142 RefPtr<SharedBuffer> data = readFile(webpFile); 150 RefPtr<SharedBuffer> reallocatedData = data.get()->copy(); 165 RefPtr<SharedBuffer> data = readFile(webpFile); 190 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); 207 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp") [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
IDBBindingUtilities.h | 41 class SharedBuffer; 55 void assertPrimaryKeyValidOrInjectable(DOMRequestState*, PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PageSerializer.h | 51 class SharedBuffer; 80 void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageSource.h | 43 class SharedBuffer; 101 void setData(SharedBuffer* data, bool allDataReceived);
|
Image.h | 50 class SharedBuffer; 90 bool setData(PassRefPtr<SharedBuffer> data, bool allDataReceived); 97 SharedBuffer* data() { return m_encodedImageData.get(); } 138 RefPtr<SharedBuffer> m_encodedImageData;
|
/system/core/libpixelflinger/codeflinger/tinyutils/ |
VectorImpl.cpp | 27 #include "SharedBuffer.h" 56 SharedBuffer::sharedBuffer(mStorage)->acquire(); 79 SharedBuffer::sharedBuffer(mStorage)->acquire(); 91 SharedBuffer* sb = SharedBuffer::sharedBuffer(mStorage)->attemptEdit(); 93 sb = SharedBuffer::alloc(capacity() * mItemSize); 107 return SharedBuffer::sharedBuffer(mStorage)->size() / mItemSize [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeTypes.h | 28 #include "platform/SharedBuffer.h" 68 template <typename T> static const T* validateTable(const RefPtr<SharedBuffer>& buffer, size_t count = 1) 77 static bool isValidEnd(const SharedBuffer& buffer, const void* position) 85 template <typename T> static const T* validatePtr(const SharedBuffer& buffer, const void* position) 93 template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
ChromiumDataObjectItem.h | 35 #include "platform/SharedBuffer.h" 58 static PassRefPtr<ChromiumDataObjectItem> createFromSharedBuffer(const String& filename, PassRefPtr<SharedBuffer>); 68 PassRefPtr<SharedBuffer> sharedBuffer() const { return m_sharedBuffer; } 88 RefPtr<SharedBuffer> m_sharedBuffer;
|
ChromiumDataObject.h | 47 class SharedBuffer; 88 void addSharedBuffer(const String& name, PassRefPtr<SharedBuffer>);
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
ArchiveResource.cpp | 34 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) 57 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response)
|
MHTMLArchive.h | 44 class SharedBuffer; 51 static PassRefPtr<MHTMLArchive> create(const KURL&, SharedBuffer*); 59 static PassRefPtr<SharedBuffer> generateMHTMLData(const Vector<SerializedResource>&, EncodingPolicy, const String& title, const String& mimeType);
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBAny.h | 32 #include "platform/SharedBuffer.h" 73 static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDBKeyPath& keyPath) 106 SharedBuffer* buffer() const; 123 explicit IDBAny(PassRefPtr<SharedBuffer>); 124 explicit IDBAny(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); 138 const RefPtr<SharedBuffer> m_buffer;
|
IDBRequest.h | 51 class SharedBuffer; 99 virtual void onSuccess(PassOwnPtr<blink::WebIDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); 101 virtual void onSuccess(PassRefPtr<SharedBuffer>); 102 virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); 105 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); 154 void setResultCursor(PassRefPtr<IDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value); 172 RefPtr<SharedBuffer> m_cursorValue;
|
IDBCursor.h | 46 class SharedBuffer; 81 void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value); 115 RefPtr<SharedBuffer> m_value;
|
IDBKey.h | 29 #include "platform/SharedBuffer.h" 51 static PassRefPtr<IDBKey> createBinary(PassRefPtr<SharedBuffer> binary) 117 PassRefPtr<SharedBuffer> binary() const 152 explicit IDBKey(PassRefPtr<SharedBuffer> value) : m_type(BinaryType), m_binary(value), m_number(0) { } 157 RefPtr<SharedBuffer> m_binary;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Android.cpp | 274 phREF->SharedBuffer[i].BufferFd = -1; 275 phREF->SharedBuffer[i].BufferFd1 = -1; 276 phREF->SharedBuffer[i].BufferFd2 = -1; 309 if (phREF->SharedBuffer[i].BufferFd > -1) { 310 while(phREF->SharedBuffer[i].cnt > 0) { 311 if (phREF->SharedBuffer[i].BufferFd > -1) 312 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle); 313 if (phREF->SharedBuffer[i].BufferFd1 > -1) 314 ion_decRef(getIonFd(module), phREF->SharedBuffer[i].pIonHandle1); 315 if (phREF->SharedBuffer[i].BufferFd2 > -1 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
NetworkResourcesData.h | 47 class SharedBuffer; 113 PassRefPtr<SharedBuffer> buffer() const { return m_buffer; } 114 void setBuffer(PassRefPtr<SharedBuffer> buffer) { m_buffer = buffer; } 135 RefPtr<SharedBuffer> m_dataBuffer; 143 RefPtr<SharedBuffer> m_buffer; 159 void addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer>, const String& textEncodingName);
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebImageSkia.cpp | 35 #include "platform/SharedBuffer.h" 53 RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); 101 RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
BMPImageDecoder.h | 46 virtual void setData(SharedBuffer*, bool allDataReceived);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontCustomPlatformData.h | 60 class SharedBuffer; 65 static PassOwnPtr<FontCustomPlatformData> create(SharedBuffer*);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
FontCustomPlatformDataMac.cpp | 24 #include "platform/SharedBuffer.h" 50 PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) 55 RefPtr<SharedBuffer> transcodeBuffer = sanitizer.sanitize();
|