SharedBuffer 57 Source/bindings/v8/IDBBindingUtilities.cpp static v8::Handle<v8::Value> deserializeIDBValueBuffer(SharedBuffer*, v8::Isolate*); SharedBuffer 185 Source/bindings/v8/IDBBindingUtilities.cpp return IDBKey::createBinary(SharedBuffer::create(start, length)); SharedBuffer 352 Source/bindings/v8/IDBBindingUtilities.cpp static v8::Handle<v8::Value> deserializeIDBValueBuffer(SharedBuffer* buffer, v8::Isolate* isolate) SharedBuffer 444 Source/bindings/v8/IDBBindingUtilities.cpp void assertPrimaryKeyValidOrInjectable(DOMRequestState* state, PassRefPtr<SharedBuffer> buffer, PassRefPtr<IDBKey> prpKey, const IDBKeyPath& keyPath) SharedBuffer 41 Source/bindings/v8/IDBBindingUtilities.h class SharedBuffer; SharedBuffer 55 Source/bindings/v8/IDBBindingUtilities.h void assertPrimaryKeyValidOrInjectable(DOMRequestState*, PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); SharedBuffer 277 Source/core/clipboard/Clipboard.cpp SharedBuffer* imageBuffer = cachedImage->imageForRenderer(element->renderer())->data(); SharedBuffer 225 Source/core/clipboard/DataObject.cpp void DataObject::addSharedBuffer(const String& name, PassRefPtr<SharedBuffer> buffer) SharedBuffer 48 Source/core/clipboard/DataObject.h class SharedBuffer; SharedBuffer 90 Source/core/clipboard/DataObject.h void addSharedBuffer(const String& name, PassRefPtr<SharedBuffer>); SharedBuffer 72 Source/core/clipboard/DataObjectItem.cpp PassRefPtrWillBeRawPtr<DataObjectItem> DataObjectItem::createFromSharedBuffer(const String& name, PassRefPtr<SharedBuffer> buffer) SharedBuffer 129 Source/core/clipboard/DataObjectItem.cpp RefPtr<SharedBuffer> data = static_cast<PassRefPtr<SharedBuffer> >(blink::Platform::current()->clipboard()->readImage(blink::WebClipboard::BufferStandard)); SharedBuffer 57 Source/core/clipboard/DataObjectItem.h static PassRefPtrWillBeRawPtr<DataObjectItem> createFromSharedBuffer(const String& filename, PassRefPtr<SharedBuffer>); SharedBuffer 66 Source/core/clipboard/DataObjectItem.h PassRefPtr<SharedBuffer> sharedBuffer() const { return m_sharedBuffer; } SharedBuffer 88 Source/core/clipboard/DataObjectItem.h RefPtr<SharedBuffer> m_sharedBuffer; SharedBuffer 15 Source/core/css/BinaryDataFontFaceSource.cpp BinaryDataFontFaceSource::BinaryDataFontFaceSource(SharedBuffer* data) SharedBuffer 14 Source/core/css/BinaryDataFontFaceSource.h class SharedBuffer; SharedBuffer 18 Source/core/css/BinaryDataFontFaceSource.h explicit BinaryDataFontFaceSource(SharedBuffer*); SharedBuffer 605 Source/core/css/FontFace.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(data, size); SharedBuffer 55 Source/core/editing/Editor.h class SharedBuffer; SharedBuffer 212 Source/core/fetch/Resource.cpp m_data = SharedBuffer::createPurgeable(data, length); SharedBuffer 216 Source/core/fetch/Resource.cpp void Resource::setResourceBuffer(PassRefPtr<SharedBuffer> resourceBuffer) SharedBuffer 51 Source/core/fetch/Resource.h class SharedBuffer; SharedBuffer 179 Source/core/fetch/Resource.h SharedBuffer* resourceBuffer() const { return m_data.get(); } SharedBuffer 180 Source/core/fetch/Resource.h void setResourceBuffer(PassRefPtr<SharedBuffer>); SharedBuffer 334 Source/core/fetch/Resource.h RefPtr<SharedBuffer> m_data; SharedBuffer 154 Source/core/fetch/ResourceFetcher.cpp RefPtr<SharedBuffer> data = PassRefPtr<SharedBuffer>(blink::Platform::current()->parseDataURL(url, mimetype, charset)); SharedBuffer 42 Source/core/html/parser/BackgroundHTMLParser.h class SharedBuffer; SharedBuffer 612 Source/core/inspector/InspectorOverlay.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(reinterpret_cast<const char*>(InspectorOverlayPage_html), sizeof(InspectorOverlayPage_html)); SharedBuffer 192 Source/core/inspector/InspectorPageAgent.cpp RefPtr<SharedBuffer> buffer = hasZeroSize ? SharedBuffer::create() : cachedResource->resourceBuffer(); SharedBuffer 217 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); SharedBuffer 226 Source/core/inspector/InspectorPageAgent.cpp SharedBuffer* buffer = cachedResource->resourceBuffer(); SharedBuffer 234 Source/core/inspector/InspectorPageAgent.cpp bool InspectorPageAgent::sharedBufferContent(PassRefPtr<SharedBuffer> buffer, const String& textEncodingName, bool withBase64Encode, String* result) SharedBuffer 58 Source/core/inspector/InspectorPageAgent.h class SharedBuffer; SharedBuffer 84 Source/core/inspector/InspectorPageAgent.h static bool sharedBufferContent(PassRefPtr<SharedBuffer>, const String& textEncodingName, bool withBase64Encode, String* result); SharedBuffer 86 Source/core/inspector/InspectorPageAgent.h static PassRefPtr<SharedBuffer> resourceData(LocalFrame*, const KURL&, String* textEncodingName); SharedBuffer 125 Source/core/inspector/NetworkResourcesData.cpp m_dataBuffer = SharedBuffer::create(data, dataLength); SharedBuffer 263 Source/core/inspector/NetworkResourcesData.cpp void NetworkResourcesData::addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer> buffer, const String& textEncodingName) SharedBuffer 49 Source/core/inspector/NetworkResourcesData.h class SharedBuffer; SharedBuffer 117 Source/core/inspector/NetworkResourcesData.h PassRefPtr<SharedBuffer> buffer() const { return m_buffer; } SharedBuffer 118 Source/core/inspector/NetworkResourcesData.h void setBuffer(PassRefPtr<SharedBuffer> buffer) { m_buffer = buffer; } SharedBuffer 139 Source/core/inspector/NetworkResourcesData.h RefPtr<SharedBuffer> m_dataBuffer; SharedBuffer 147 Source/core/inspector/NetworkResourcesData.h RefPtr<SharedBuffer> m_buffer; SharedBuffer 163 Source/core/inspector/NetworkResourcesData.h void addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer>, const String& textEncodingName); SharedBuffer 662 Source/core/loader/DocumentLoader.cpp SharedBuffer* data = archiveResource->data(); SharedBuffer 66 Source/core/loader/DocumentLoader.h class SharedBuffer; SharedBuffer 426 Source/core/loader/DocumentThreadableLoader.cpp SharedBuffer* data = resource->resourceBuffer(); SharedBuffer 746 Source/core/loader/FrameLoader.cpp return SubstituteData(SharedBuffer::create(encodedSrcdoc.data(), encodedSrcdoc.length()), "text/html", "UTF-8", KURL()); SharedBuffer 84 Source/core/loader/FrameLoaderClient.h class SharedBuffer; SharedBuffer 48 Source/core/loader/SubstituteData.h SubstituteData(PassRefPtr<SharedBuffer> content, const AtomicString& mimeType, const AtomicString& textEncoding, const KURL& failingURL, SubstituteDataLoadPolicy substituteDataLoadPolicy = LoadNormally) SharedBuffer 59 Source/core/loader/SubstituteData.h SharedBuffer* content() const { return m_content.get(); } SharedBuffer 66 Source/core/loader/SubstituteData.h RefPtr<SharedBuffer> m_content; SharedBuffer 40 Source/core/page/PagePopupClient.cpp void PagePopupClient::addJavaScriptString(const String& str, SharedBuffer* data) SharedBuffer 54 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, const String& value, SharedBuffer* data) SharedBuffer 62 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, int value, SharedBuffer* data) SharedBuffer 70 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, unsigned value, SharedBuffer* data) SharedBuffer 78 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, bool value, SharedBuffer* data) SharedBuffer 89 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, const Vector<String>& values, SharedBuffer* data) SharedBuffer 101 Source/core/page/PagePopupClient.cpp void PagePopupClient::addProperty(const char* name, const IntRect& rect, SharedBuffer* data) SharedBuffer 52 Source/core/page/PagePopupClient.h virtual void writeDocument(SharedBuffer*) = 0; SharedBuffer 73 Source/core/page/PagePopupClient.h static void addString(const String&, SharedBuffer*); SharedBuffer 74 Source/core/page/PagePopupClient.h static void addJavaScriptString(const String&, SharedBuffer*); SharedBuffer 75 Source/core/page/PagePopupClient.h static void addProperty(const char* name, const String& value, SharedBuffer*); SharedBuffer 76 Source/core/page/PagePopupClient.h static void addProperty(const char* name, int value, SharedBuffer*); SharedBuffer 77 Source/core/page/PagePopupClient.h static void addProperty(const char* name, unsigned value, SharedBuffer*); SharedBuffer 78 Source/core/page/PagePopupClient.h static void addProperty(const char* name, bool value, SharedBuffer*); SharedBuffer 79 Source/core/page/PagePopupClient.h static void addProperty(const char* name, const Vector<String>& values, SharedBuffer*); SharedBuffer 80 Source/core/page/PagePopupClient.h static void addProperty(const char* name, const IntRect&, SharedBuffer*); SharedBuffer 83 Source/core/page/PagePopupClient.h inline void PagePopupClient::addString(const String& str, SharedBuffer* data) SharedBuffer 214 Source/core/page/PageSerializer.cpp m_resources->append(SerializedResource(url, document.suggestedMIMEType(), SharedBuffer::create(frameHTML.data(), frameHTML.length()))); SharedBuffer 291 Source/core/page/PageSerializer.cpp m_resources->append(SerializedResource(url, String("text/css"), SharedBuffer::create(text.data(), text.length()))); SharedBuffer 301 Source/core/page/PageSerializer.cpp void PageSerializer::addToResources(Resource* resource, PassRefPtr<SharedBuffer> data, const KURL& url) SharedBuffer 321 Source/core/page/PageSerializer.cpp RefPtr<SharedBuffer> data = imageRenderer ? image->imageForRenderer(imageRenderer)->data() : 0; SharedBuffer 333 Source/core/page/PageSerializer.cpp RefPtr<SharedBuffer> data(font->resourceBuffer()); SharedBuffer 51 Source/core/page/PageSerializer.h class SharedBuffer; SharedBuffer 80 Source/core/page/PageSerializer.h void addToResources(Resource *, PassRefPtr<SharedBuffer>, const KURL&); SharedBuffer 72 Source/core/testing/MockPagePopupDriver.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(scriptToSetUpPagePopupController, sizeof(scriptToSetUpPagePopupController)); SharedBuffer 1331 Source/core/xml/XMLHttpRequest.cpp m_binaryResponseBuilder = SharedBuffer::create(); SharedBuffer 49 Source/core/xml/XMLHttpRequest.h class SharedBuffer; SharedBuffer 238 Source/core/xml/XMLHttpRequest.h RefPtr<SharedBuffer> m_binaryResponseBuilder; SharedBuffer 120 Source/core/xml/XSLTProcessorLibxslt.cpp SharedBuffer* data = resource->resourceBuffer(); SharedBuffer 43 Source/core/xml/parser/SharedBufferReader.cpp SharedBufferReader::SharedBufferReader(PassRefPtr<SharedBuffer> buffer) SharedBuffer 40 Source/core/xml/parser/SharedBufferReader.h class SharedBuffer; SharedBuffer 46 Source/core/xml/parser/SharedBufferReader.h SharedBufferReader(PassRefPtr<SharedBuffer>); SharedBuffer 54 Source/core/xml/parser/SharedBufferReader.h RefPtr<SharedBuffer> m_buffer; SharedBuffer 53 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(); SharedBuffer 62 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData, sizeof(testData)); SharedBuffer 88 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(&testData[0], testData.size()); SharedBuffer 107 Source/core/xml/parser/SharedBufferReaderTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(&testData[0], testData.size()); SharedBuffer 618 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<SharedBuffer> data; SharedBuffer 330 Source/modules/imagebitmap/ImageBitmapFactories.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create((char*)m_loader.arrayBufferResult()->data(), m_loader.arrayBufferResult()->byteLength()); SharedBuffer 119 Source/modules/indexeddb/IDBAny.cpp SharedBuffer* IDBAny::buffer() const SharedBuffer 179 Source/modules/indexeddb/IDBAny.cpp IDBAny::IDBAny(PassRefPtr<SharedBuffer> value) SharedBuffer 186 Source/modules/indexeddb/IDBAny.cpp IDBAny::IDBAny(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDBKeyPath& keyPath) SharedBuffer 73 Source/modules/indexeddb/IDBAny.h static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDBKeyPath& keyPath) SharedBuffer 106 Source/modules/indexeddb/IDBAny.h SharedBuffer* buffer() const; SharedBuffer 123 Source/modules/indexeddb/IDBAny.h explicit IDBAny(PassRefPtr<SharedBuffer>); SharedBuffer 124 Source/modules/indexeddb/IDBAny.h explicit IDBAny(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); SharedBuffer 138 Source/modules/indexeddb/IDBAny.h const RefPtr<SharedBuffer> m_buffer; SharedBuffer 353 Source/modules/indexeddb/IDBCursor.cpp void IDBCursor::setValueReady(PassRefPtr<IDBKey> key, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value) SharedBuffer 46 Source/modules/indexeddb/IDBCursor.h class SharedBuffer; SharedBuffer 81 Source/modules/indexeddb/IDBCursor.h void setValueReady(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value); SharedBuffer 115 Source/modules/indexeddb/IDBCursor.h RefPtr<SharedBuffer> m_value; SharedBuffer 51 Source/modules/indexeddb/IDBKey.h static PassRefPtr<IDBKey> createBinary(PassRefPtr<SharedBuffer> binary) SharedBuffer 117 Source/modules/indexeddb/IDBKey.h PassRefPtr<SharedBuffer> binary() const SharedBuffer 152 Source/modules/indexeddb/IDBKey.h explicit IDBKey(PassRefPtr<SharedBuffer> value) : m_type(BinaryType), m_binary(value), m_number(0) { } SharedBuffer 157 Source/modules/indexeddb/IDBKey.h RefPtr<SharedBuffer> m_binary; SharedBuffer 232 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<SharedBuffer> valueBuffer = SharedBuffer::adoptVector(wireBytes); SharedBuffer 183 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::setResultCursor(PassRefPtr<IDBCursor> cursor, PassRefPtr<IDBKey> key, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value) SharedBuffer 242 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::onSuccess(PassOwnPtr<blink::WebIDBCursor> backend, PassRefPtr<IDBKey> key, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value) SharedBuffer 275 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::onSuccess(PassRefPtr<SharedBuffer> valueBuffer) SharedBuffer 304 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::onSuccess(PassRefPtr<SharedBuffer> prpValueBuffer, PassRefPtr<IDBKey> prpPrimaryKey, const IDBKeyPath& keyPath) SharedBuffer 314 Source/modules/indexeddb/IDBRequest.cpp RefPtr<SharedBuffer> valueBuffer = prpValueBuffer; SharedBuffer 354 Source/modules/indexeddb/IDBRequest.cpp void IDBRequest::onSuccess(PassRefPtr<IDBKey> key, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value) SharedBuffer 52 Source/modules/indexeddb/IDBRequest.h class SharedBuffer; SharedBuffer 100 Source/modules/indexeddb/IDBRequest.h virtual void onSuccess(PassOwnPtr<blink::WebIDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); SharedBuffer 102 Source/modules/indexeddb/IDBRequest.h virtual void onSuccess(PassRefPtr<SharedBuffer>); SharedBuffer 103 Source/modules/indexeddb/IDBRequest.h virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); SharedBuffer 106 Source/modules/indexeddb/IDBRequest.h virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); SharedBuffer 155 Source/modules/indexeddb/IDBRequest.h void setResultCursor(PassRefPtr<IDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value); SharedBuffer 173 Source/modules/indexeddb/IDBRequest.h RefPtr<SharedBuffer> m_cursorValue; SharedBuffer 102 Source/modules/indexeddb/IDBRequestTest.cpp request->onSuccess(PassRefPtr<SharedBuffer>(nullptr)); SharedBuffer 103 Source/modules/indexeddb/IDBRequestTest.cpp request->onSuccess(PassRefPtr<SharedBuffer>(nullptr), IDBKey::createInvalid(), IDBKeyPath()); SharedBuffer 43 Source/platform/SerializedResource.h RefPtr<SharedBuffer> data; SharedBuffer 45 Source/platform/SerializedResource.h SerializedResource(const KURL& url, const String& mimeType, PassRefPtr<SharedBuffer> data) SharedBuffer 75 Source/platform/SharedBuffer.cpp static HashSet<SharedBuffer*>& liveBuffers() SharedBuffer 77 Source/platform/SharedBuffer.cpp DEFINE_STATIC_LOCAL(HashSet<SharedBuffer*>, buffers, ()); SharedBuffer 81 Source/platform/SharedBuffer.cpp static bool sizeComparator(SharedBuffer* a, SharedBuffer* b) SharedBuffer 86 Source/platform/SharedBuffer.cpp static CString snippetForBuffer(SharedBuffer* sharedBuffer) SharedBuffer 114 Source/platform/SharedBuffer.cpp Vector<SharedBuffer*> buffers; SharedBuffer 115 Source/platform/SharedBuffer.cpp for (HashSet<SharedBuffer*>::const_iterator iter = liveBuffers().begin(); iter != liveBuffers().end(); ++iter) SharedBuffer 126 Source/platform/SharedBuffer.cpp static void didCreateSharedBuffer(SharedBuffer* buffer) SharedBuffer 134 Source/platform/SharedBuffer.cpp static void willDestroySharedBuffer(SharedBuffer* buffer) SharedBuffer 142 Source/platform/SharedBuffer.cpp SharedBuffer::SharedBuffer() SharedBuffer 151 Source/platform/SharedBuffer.cpp SharedBuffer::SharedBuffer(size_t size) SharedBuffer 162 Source/platform/SharedBuffer.cpp SharedBuffer::SharedBuffer(const char* data, int size) SharedBuffer 177 Source/platform/SharedBuffer.cpp SharedBuffer::SharedBuffer(const char* data, int size, PurgeableVector::PurgeableOption purgeable) SharedBuffer 192 Source/platform/SharedBuffer.cpp SharedBuffer::SharedBuffer(const unsigned char* data, int size) SharedBuffer 207 Source/platform/SharedBuffer.cpp SharedBuffer::~SharedBuffer() SharedBuffer 216 Source/platform/SharedBuffer.cpp PassRefPtr<SharedBuffer> SharedBuffer::adoptVector(Vector<char>& vector) SharedBuffer 218 Source/platform/SharedBuffer.cpp RefPtr<SharedBuffer> buffer = create(); SharedBuffer 224 Source/platform/SharedBuffer.cpp unsigned SharedBuffer::size() const SharedBuffer 229 Source/platform/SharedBuffer.cpp const char* SharedBuffer::data() const SharedBuffer 235 Source/platform/SharedBuffer.cpp void SharedBuffer::append(SharedBuffer* data) SharedBuffer 245 Source/platform/SharedBuffer.cpp void SharedBuffer::append(const char* data, unsigned length) SharedBuffer 284 Source/platform/SharedBuffer.cpp void SharedBuffer::append(const Vector<char>& data) SharedBuffer 289 Source/platform/SharedBuffer.cpp void SharedBuffer::clear() SharedBuffer 299 Source/platform/SharedBuffer.cpp PassRefPtr<SharedBuffer> SharedBuffer::copy() const SharedBuffer 301 Source/platform/SharedBuffer.cpp RefPtr<SharedBuffer> clone(adoptRef(new SharedBuffer)); SharedBuffer 317 Source/platform/SharedBuffer.cpp void SharedBuffer::mergeSegmentsIntoBuffer() const SharedBuffer 333 Source/platform/SharedBuffer.cpp unsigned SharedBuffer::getSomeData(const char*& someData, unsigned position) const SharedBuffer 365 Source/platform/SharedBuffer.cpp PassRefPtr<ArrayBuffer> SharedBuffer::getAsArrayBuffer() const SharedBuffer 385 Source/platform/SharedBuffer.cpp PassRefPtr<SkData> SharedBuffer::getAsSkData() const SharedBuffer 404 Source/platform/SharedBuffer.cpp bool SharedBuffer::lock() SharedBuffer 409 Source/platform/SharedBuffer.cpp void SharedBuffer::unlock() SharedBuffer 415 Source/platform/SharedBuffer.cpp bool SharedBuffer::isLocked() const SharedBuffer 41 Source/platform/SharedBuffer.h class PLATFORM_EXPORT SharedBuffer : public RefCounted<SharedBuffer> { SharedBuffer 43 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); } SharedBuffer 44 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> create(size_t size) { return adoptRef(new SharedBuffer(size)); } SharedBuffer 45 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c, i)); } SharedBuffer 46 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new SharedBuffer(c, i)); } SharedBuffer 48 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> createPurgeable(const char* c, int i) { return adoptRef(new SharedBuffer(c, i, PurgeableVector::Purgeable)); } SharedBuffer 50 Source/platform/SharedBuffer.h static PassRefPtr<SharedBuffer> adoptVector(Vector<char>&); SharedBuffer 52 Source/platform/SharedBuffer.h ~SharedBuffer(); SharedBuffer 63 Source/platform/SharedBuffer.h void append(SharedBuffer*); SharedBuffer 69 Source/platform/SharedBuffer.h PassRefPtr<SharedBuffer> copy() const; SharedBuffer 104 Source/platform/SharedBuffer.h SharedBuffer(); SharedBuffer 105 Source/platform/SharedBuffer.h explicit SharedBuffer(size_t); SharedBuffer 106 Source/platform/SharedBuffer.h SharedBuffer(const char*, int); SharedBuffer 107 Source/platform/SharedBuffer.h SharedBuffer(const char*, int, PurgeableVector::PurgeableOption); SharedBuffer 108 Source/platform/SharedBuffer.h SharedBuffer(const unsigned char*, int); SharedBuffer 38 Source/platform/SharedBufferChunkReader.cpp SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const Vector<char>& separator) SharedBuffer 50 Source/platform/SharedBufferChunkReader.cpp SharedBufferChunkReader::SharedBufferChunkReader(SharedBuffer* buffer, const char* separator) SharedBuffer 40 Source/platform/SharedBufferChunkReader.h class SharedBuffer; SharedBuffer 44 Source/platform/SharedBufferChunkReader.h SharedBufferChunkReader(SharedBuffer*, const Vector<char>& separator); SharedBuffer 45 Source/platform/SharedBufferChunkReader.h SharedBufferChunkReader(SharedBuffer*, const char* separator); SharedBuffer 61 Source/platform/SharedBufferChunkReader.h SharedBuffer* m_buffer; SharedBuffer 55 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData0, strlen(testData0)); SharedBuffer 78 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::adoptVector(vector0); SharedBuffer 106 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData.data(), length); SharedBuffer 113 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> clone = sharedBuffer->copy(); SharedBuffer 124 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(length); SharedBuffer 143 Source/platform/SharedBufferTest.cpp RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::createPurgeable(testData.data(), length); SharedBuffer 52 Source/platform/exported/WebData.cpp m_private = SharedBuffer::create(data, size); SharedBuffer 69 Source/platform/exported/WebData.cpp WebData::WebData(const PassRefPtr<SharedBuffer>& buffer) SharedBuffer 74 Source/platform/exported/WebData.cpp WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer) SharedBuffer 80 Source/platform/exported/WebData.cpp WebData::operator PassRefPtr<SharedBuffer>() const SharedBuffer 82 Source/platform/exported/WebData.cpp return PassRefPtr<SharedBuffer>(m_private.get()); SharedBuffer 53 Source/platform/exported/WebImageSkia.cpp RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); SharedBuffer 101 Source/platform/exported/WebImageSkia.cpp RefPtr<SharedBuffer> buffer = PassRefPtr<SharedBuffer>(data); SharedBuffer 54 Source/platform/fonts/FontCustomPlatformData.h class SharedBuffer; SharedBuffer 59 Source/platform/fonts/FontCustomPlatformData.h static PassOwnPtr<FontCustomPlatformData> create(SharedBuffer*); SharedBuffer 71 Source/platform/fonts/FontPlatformData.h class SharedBuffer; SharedBuffer 51 Source/platform/fonts/SimpleFontData.h class SharedBuffer; SharedBuffer 97 Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h PassRefPtr<SharedBuffer> openTypeTable(uint32_t table) const; SharedBuffer 50 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) SharedBuffer 55 Source/platform/fonts/mac/FontCustomPlatformDataMac.cpp RefPtr<SharedBuffer> transcodeBuffer = sanitizer.sanitize(); SharedBuffer 41 Source/platform/fonts/opentype/OpenTypeSanitizer.cpp PassRefPtr<SharedBuffer> OpenTypeSanitizer::sanitize() SharedBuffer 66 Source/platform/fonts/opentype/OpenTypeSanitizer.cpp return SharedBuffer::create(static_cast<unsigned char*>(output.get()), transcodeLen); SharedBuffer 38 Source/platform/fonts/opentype/OpenTypeSanitizer.h class SharedBuffer; SharedBuffer 42 Source/platform/fonts/opentype/OpenTypeSanitizer.h explicit OpenTypeSanitizer(SharedBuffer* buffer) SharedBuffer 47 Source/platform/fonts/opentype/OpenTypeSanitizer.h PassRefPtr<SharedBuffer> sanitize(); SharedBuffer 52 Source/platform/fonts/opentype/OpenTypeSanitizer.h SharedBuffer* const m_buffer; SharedBuffer 68 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> static const T* validateTable(const RefPtr<SharedBuffer>& buffer, size_t count = 1) SharedBuffer 77 Source/platform/fonts/opentype/OpenTypeTypes.h static bool isValidEnd(const SharedBuffer& buffer, const void* position) SharedBuffer 85 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> static const T* validatePtr(const SharedBuffer& buffer, const void* position) SharedBuffer 93 Source/platform/fonts/opentype/OpenTypeTypes.h template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const SharedBuffer 147 Source/platform/fonts/opentype/OpenTypeUtilities.cpp static size_t renameFont(SharedBuffer* fontData, const String& fontName, Vector<char> &rewrittenFontData) SharedBuffer 206 Source/platform/fonts/opentype/OpenTypeUtilities.cpp HANDLE renameAndActivateFont(SharedBuffer* fontData, const String& fontName) SharedBuffer 35 Source/platform/fonts/opentype/OpenTypeUtilities.h class SharedBuffer; SharedBuffer 37 Source/platform/fonts/opentype/OpenTypeUtilities.h HANDLE renameAndActivateFont(SharedBuffer*, const String&); SharedBuffer 137 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const CoverageTable* coverage(const SharedBuffer& buffer) const { return validateOffset<CoverageTable>(buffer, coverageOffset); } SharedBuffer 152 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const SharedBuffer 215 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupTable* lookup(uint16_t index, const SharedBuffer& buffer) const SharedBuffer 229 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getGlyphSubstitutions(const LookupList* lookups, HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const SharedBuffer 250 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(uint16_t index, OpenType::Tag tag, const SharedBuffer& buffer) const SharedBuffer 260 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* findFeature(OpenType::Tag tag, const SharedBuffer& buffer) const SharedBuffer 276 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(OpenType::Tag featureTag, const FeatureList* features, const SharedBuffer& buffer) const SharedBuffer 298 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const SharedBuffer 319 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* script(OpenType::Tag tag, const SharedBuffer& buffer) const SharedBuffer 331 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptTable* defaultScript(const SharedBuffer& buffer) const SharedBuffer 342 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const SharedBuffer 357 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const ScriptList* scriptList(const SharedBuffer& buffer) const { return validateOffset<ScriptList>(buffer, scriptListOffset); } SharedBuffer 358 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureList* featureList(const SharedBuffer& buffer) const { return validateOffset<FeatureList>(buffer, featureListOffset); } SharedBuffer 359 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LookupList* lookupList(const SharedBuffer& buffer) const { return validateOffset<LookupList>(buffer, lookupListOffset); } SharedBuffer 361 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const SharedBuffer 369 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp const FeatureTable* feature(OpenType::Tag featureTag, const SharedBuffer& buffer) const SharedBuffer 386 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp bool getVerticalGlyphSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const SharedBuffer 411 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::HheaTag); SharedBuffer 494 Source/platform/fonts/opentype/OpenTypeVerticalData.cpp RefPtr<SharedBuffer> buffer = platformData.openTypeTable(OpenType::GSUBTag); SharedBuffer 85 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp PassOwnPtr<FontCustomPlatformData> FontCustomPlatformData::create(SharedBuffer* buffer) SharedBuffer 90 Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp RefPtr<SharedBuffer> transcodeBuffer = sanitizer.sanitize(); SharedBuffer 64 Source/platform/fonts/skia/FontPlatformDataSkia.cpp PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const SharedBuffer 66 Source/platform/fonts/skia/FontPlatformDataSkia.cpp RefPtr<SharedBuffer> buffer; SharedBuffer 73 Source/platform/fonts/skia/FontPlatformDataSkia.cpp buffer = SharedBuffer::adoptVector(tableBuffer); SharedBuffer 62 Source/platform/graphics/BitmapImageTest.cpp static PassRefPtr<SharedBuffer> readFile(const char* fileName) SharedBuffer 78 Source/platform/graphics/BitmapImageTest.cpp RefPtr<SharedBuffer> imageData = readFile(fileName); SharedBuffer 55 Source/platform/graphics/DecodingImageGenerator.cpp RefPtr<SharedBuffer> buffer = nullptr; SharedBuffer 64 Source/platform/graphics/DeferredImageDecoder.cpp PassOwnPtr<DeferredImageDecoder> DeferredImageDecoder::create(const SharedBuffer& data, ImageSource::AlphaOption alphaOption, ImageSource::GammaAndColorProfileOption gammaAndColorOption) SharedBuffer 115 Source/platform/graphics/DeferredImageDecoder.cpp void DeferredImageDecoder::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 42 Source/platform/graphics/DeferredImageDecoder.h class SharedBuffer; SharedBuffer 48 Source/platform/graphics/DeferredImageDecoder.h static PassOwnPtr<DeferredImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSource::GammaAndColorProfileOption); SharedBuffer 60 Source/platform/graphics/DeferredImageDecoder.h void setData(SharedBuffer* data, bool allDataReceived); SharedBuffer 85 Source/platform/graphics/DeferredImageDecoder.h void setData(PassRefPtr<SharedBuffer>, bool allDataReceived); SharedBuffer 87 Source/platform/graphics/DeferredImageDecoder.h RefPtr<SharedBuffer> m_data; SharedBuffer 75 Source/platform/graphics/DeferredImageDecoderTest.cpp m_data = SharedBuffer::create(whitePNG, sizeof(whitePNG)); SharedBuffer 142 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<SharedBuffer> m_data; SharedBuffer 176 Source/platform/graphics/DeferredImageDecoderTest.cpp RefPtr<SharedBuffer> partialData = SharedBuffer::create(m_data->data(), m_data->size() - 10); SharedBuffer 81 Source/platform/graphics/Image.cpp bool Image::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived) SharedBuffer 50 Source/platform/graphics/Image.h class SharedBuffer; SharedBuffer 90 Source/platform/graphics/Image.h bool setData(PassRefPtr<SharedBuffer> data, bool allDataReceived); SharedBuffer 97 Source/platform/graphics/Image.h SharedBuffer* data() { return m_encodedImageData.get(); } SharedBuffer 141 Source/platform/graphics/Image.h RefPtr<SharedBuffer> m_encodedImageData; SharedBuffer 47 Source/platform/graphics/ImageDecodingStore.h class SharedBuffer; SharedBuffer 46 Source/platform/graphics/ImageDecodingStoreTest.cpp m_data = SharedBuffer::create(); SharedBuffer 141 Source/platform/graphics/ImageDecodingStoreTest.cpp RefPtr<SharedBuffer> m_data; SharedBuffer 74 Source/platform/graphics/ImageFrameGenerator.cpp ImageFrameGenerator::ImageFrameGenerator(const SkISize& fullSize, PassRefPtr<SharedBuffer> data, bool allDataReceived, bool isMultiFrame) SharedBuffer 93 Source/platform/graphics/ImageFrameGenerator.cpp void ImageFrameGenerator::setData(PassRefPtr<SharedBuffer> data, bool allDataReceived) SharedBuffer 98 Source/platform/graphics/ImageFrameGenerator.cpp void ImageFrameGenerator::copyData(RefPtr<SharedBuffer>* data, bool* allDataReceived) SharedBuffer 100 Source/platform/graphics/ImageFrameGenerator.cpp SharedBuffer* buffer = 0; SharedBuffer 238 Source/platform/graphics/ImageFrameGenerator.cpp SharedBuffer* data = 0; SharedBuffer 46 Source/platform/graphics/ImageFrameGenerator.h class SharedBuffer; SharedBuffer 59 Source/platform/graphics/ImageFrameGenerator.h static PassRefPtr<ImageFrameGenerator> create(const SkISize& fullSize, PassRefPtr<SharedBuffer> data, bool allDataReceived, bool isMultiFrame = false) SharedBuffer 64 Source/platform/graphics/ImageFrameGenerator.h ImageFrameGenerator(const SkISize& fullSize, PassRefPtr<SharedBuffer>, bool allDataReceived, bool isMultiFrame); SharedBuffer 76 Source/platform/graphics/ImageFrameGenerator.h void setData(PassRefPtr<SharedBuffer>, bool allDataReceived); SharedBuffer 79 Source/platform/graphics/ImageFrameGenerator.h void copyData(RefPtr<SharedBuffer>*, bool* allDataReceived); SharedBuffer 52 Source/platform/graphics/ImageFrameGeneratorTest.cpp m_data = SharedBuffer::create(); SharedBuffer 123 Source/platform/graphics/ImageFrameGeneratorTest.cpp RefPtr<SharedBuffer> m_data; SharedBuffer 58 Source/platform/graphics/ImageSource.cpp void ImageSource::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 43 Source/platform/graphics/ImageSource.h class SharedBuffer; SharedBuffer 101 Source/platform/graphics/ImageSource.h void setData(SharedBuffer* data, bool allDataReceived); SharedBuffer 53 Source/platform/graphics/LazyDecodingPixelRef.cpp RefPtr<SharedBuffer> buffer = nullptr; SharedBuffer 35 Source/platform/graphics/ThreadSafeDataTransport.cpp : m_readBuffer(SharedBuffer::create()) SharedBuffer 45 Source/platform/graphics/ThreadSafeDataTransport.cpp void ThreadSafeDataTransport::setData(SharedBuffer* buffer, bool allDataReceived) SharedBuffer 48 Source/platform/graphics/ThreadSafeDataTransport.cpp Vector<RefPtr<SharedBuffer> > newBufferQueue; SharedBuffer 53 Source/platform/graphics/ThreadSafeDataTransport.cpp newBufferQueue.append(SharedBuffer::create(segment, length)); SharedBuffer 61 Source/platform/graphics/ThreadSafeDataTransport.cpp void ThreadSafeDataTransport::data(SharedBuffer** buffer, bool* allDataReceived) SharedBuffer 63 Source/platform/graphics/ThreadSafeDataTransport.cpp Vector<RefPtr<SharedBuffer> > newBufferQueue; SharedBuffer 38 Source/platform/graphics/ThreadSafeDataTransport.h class SharedBuffer; SharedBuffer 53 Source/platform/graphics/ThreadSafeDataTransport.h void setData(SharedBuffer*, bool allDataReceived); SharedBuffer 56 Source/platform/graphics/ThreadSafeDataTransport.h void data(SharedBuffer**, bool* allDataReceived); SharedBuffer 65 Source/platform/graphics/ThreadSafeDataTransport.h Vector<RefPtr<SharedBuffer> > m_newBufferQueue; SharedBuffer 66 Source/platform/graphics/ThreadSafeDataTransport.h RefPtr<SharedBuffer> m_readBuffer; SharedBuffer 42 Source/platform/graphics/ThreadSafeDataTransportTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(testString, sizeof(testString)); SharedBuffer 47 Source/platform/graphics/ThreadSafeDataTransportTest.cpp SharedBuffer* tempBuffer = 0; SharedBuffer 61 Source/platform/graphics/ThreadSafeDataTransportTest.cpp RefPtr<SharedBuffer> buffer1 = SharedBuffer::create(testString1, sizeof(testString1) - 1); SharedBuffer 63 Source/platform/graphics/ThreadSafeDataTransportTest.cpp RefPtr<SharedBuffer> buffer2 = SharedBuffer::create(testString2, sizeof(testString2) - 1); SharedBuffer 65 Source/platform/graphics/ThreadSafeDataTransportTest.cpp RefPtr<SharedBuffer> buffer3 = SharedBuffer::create(testString3, sizeof(testString3) - 1); SharedBuffer 72 Source/platform/graphics/ThreadSafeDataTransportTest.cpp SharedBuffer* tempBuffer = 0; SharedBuffer 34 Source/platform/image-decoders/ImageDecoder.cpp static unsigned copyFromSharedBuffer(char* buffer, unsigned bufferLength, const SharedBuffer& sharedBuffer, unsigned offset) SharedBuffer 84 Source/platform/image-decoders/ImageDecoder.cpp PassOwnPtr<ImageDecoder> ImageDecoder::create(const SharedBuffer& data, ImageSource::AlphaOption alphaOption, ImageSource::GammaAndColorProfileOption gammaAndColorProfileOption) SharedBuffer 76 Source/platform/image-decoders/ImageDecoder.h static PassOwnPtr<ImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSource::GammaAndColorProfileOption); SharedBuffer 79 Source/platform/image-decoders/ImageDecoder.h static PassOwnPtr<ImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption, ImageSource::GammaAndColorProfileOption, size_t maxDecodedSize); SharedBuffer 85 Source/platform/image-decoders/ImageDecoder.h virtual void setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 274 Source/platform/image-decoders/ImageDecoder.h RefPtr<SharedBuffer> m_data; // The encoded data. SharedBuffer 52 Source/platform/image-decoders/bmp/BMPImageDecoder.cpp void BMPImageDecoder::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 46 Source/platform/image-decoders/bmp/BMPImageDecoder.h virtual void setData(SharedBuffer*, bool allDataReceived) OVERRIDE; SharedBuffer 47 Source/platform/image-decoders/bmp/BMPImageReader.h static inline uint16_t readUint16(SharedBuffer* data, int offset) SharedBuffer 57 Source/platform/image-decoders/bmp/BMPImageReader.h static inline uint32_t readUint32(SharedBuffer* data, int offset) SharedBuffer 74 Source/platform/image-decoders/bmp/BMPImageReader.h void setData(SharedBuffer* data) { m_data = data; } SharedBuffer 282 Source/platform/image-decoders/bmp/BMPImageReader.h RefPtr<SharedBuffer> m_data; SharedBuffer 49 Source/platform/image-decoders/gif/GIFImageDecoder.cpp void GIFImageDecoder::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 50 Source/platform/image-decoders/gif/GIFImageDecoder.h virtual void setData(SharedBuffer* data, bool allDataReceived) OVERRIDE; SharedBuffer 51 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp PassRefPtr<SharedBuffer> readFile(const char* fileName) SharedBuffer 69 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) SharedBuffer 84 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile(gifFile); SharedBuffer 116 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(gifFile); SharedBuffer 143 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 169 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 193 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 200 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length); SharedBuffer 218 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated-gif-with-offsets.gif"); SharedBuffer 226 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length); SharedBuffer 246 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/Source/web/tests/data/broken.gif"); SharedBuffer 258 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/Source/web/tests/data/radient.gif"); SharedBuffer 272 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), i); SharedBuffer 286 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), i); SharedBuffer 311 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 315 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), data->size() - 10); SharedBuffer 331 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 346 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); SharedBuffer 350 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), data->size() - 10); SharedBuffer 366 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> referenceData = readFile("/Source/web/tests/data/radient.gif"); SharedBuffer 367 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/web/tests/data/radient-bad-terminator.gif"); SharedBuffer 390 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/animated-10color.gif"); SharedBuffer 397 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), partialSize); SharedBuffer 432 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/animated-10color.gif"); SharedBuffer 443 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), partialSize); SharedBuffer 465 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-initial-code.gif"); SharedBuffer 478 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> testData = readFile("/Source/platform/image-decoders/testing/bad-code.gif"); SharedBuffer 493 Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/Source/web/tests/data/invalid-disposal-method.gif"); SharedBuffer 298 Source/platform/image-decoders/gif/GIFImageReader.h void setData(PassRefPtr<WebCore::SharedBuffer> data) { m_data = data; } SharedBuffer 359 Source/platform/image-decoders/gif/GIFImageReader.h RefPtr<WebCore::SharedBuffer> m_data; SharedBuffer 60 Source/platform/image-decoders/ico/ICOImageDecoder.cpp void ICOImageDecoder::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 174 Source/platform/image-decoders/ico/ICOImageDecoder.cpp RefPtr<SharedBuffer> pngData(SharedBuffer::create(&m_data->data()[dirEntry.m_imageOffset], m_data->size() - dirEntry.m_imageOffset)); SharedBuffer 48 Source/platform/image-decoders/ico/ICOImageDecoder.h virtual void setData(SharedBuffer*, bool allDataReceived) OVERRIDE; SharedBuffer 325 Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp bool decode(const SharedBuffer& data, bool onlySize) SharedBuffer 52 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp PassRefPtr<SharedBuffer> readFile(const char* fileName) SharedBuffer 69 Source/platform/image-decoders/jpeg/JPEGImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(imageFilePath); SharedBuffer 141 Source/platform/image-decoders/png/PNGImageDecoder.cpp bool decode(const SharedBuffer& data, bool sizeOnly) SharedBuffer 158 Source/platform/image-decoders/webp/WEBPImageDecoder.cpp void WEBPImageDecoder::setData(SharedBuffer* data, bool allDataReceived) SharedBuffer 48 Source/platform/image-decoders/webp/WEBPImageDecoder.h virtual void setData(SharedBuffer* data, bool allDataReceived) OVERRIDE; SharedBuffer 53 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp PassRefPtr<SharedBuffer> readFile(const char* fileName) SharedBuffer 71 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) SharedBuffer 86 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile(webpFile); SharedBuffer 118 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(webpFile); SharedBuffer 142 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(webpFile); SharedBuffer 150 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> reallocatedData = data.get()->copy(); SharedBuffer 167 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(webpFile); SharedBuffer 186 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); SharedBuffer 203 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); SharedBuffer 245 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated-opaque.webp"); SharedBuffer 288 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated-no-blend.webp"); SharedBuffer 339 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile(testImages[i].filename); SharedBuffer 347 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length); SharedBuffer 376 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/invalid-animated-webp2.webp"); SharedBuffer 392 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/invalid-animated-webp4.webp"); SharedBuffer 394 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), fullData->size() - 1); SharedBuffer 406 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/invalid_vp8_vp8x.webp"); SharedBuffer 412 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), partialSize); SharedBuffer 426 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); SharedBuffer 440 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), i); SharedBuffer 453 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), i); SharedBuffer 477 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); SharedBuffer 481 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), data->size() - 10); SharedBuffer 505 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); SharedBuffer 512 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), partialSize); SharedBuffer 545 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> fullData = readFile("/LayoutTests/fast/images/resources/webp-animated-large.webp"); SharedBuffer 556 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(fullData->data(), partialSize); SharedBuffer 591 Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-color-profile-lossy.webp"); SharedBuffer 34 Source/platform/mhtml/ArchiveResource.cpp inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) SharedBuffer 45 Source/platform/mhtml/ArchiveResource.cpp PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse& response) SharedBuffer 57 Source/platform/mhtml/ArchiveResource.cpp PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) SharedBuffer 42 Source/platform/mhtml/ArchiveResource.h static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, const ResourceResponse&); SharedBuffer 43 Source/platform/mhtml/ArchiveResource.h static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, SharedBuffer 49 Source/platform/mhtml/ArchiveResource.h SharedBuffer* data() const { return m_data.get(); } SharedBuffer 55 Source/platform/mhtml/ArchiveResource.h ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const AtomicString& mimeType, const AtomicString& textEncoding, const String& frameName, const ResourceResponse&); SharedBuffer 59 Source/platform/mhtml/ArchiveResource.h RefPtr<SharedBuffer> m_data; SharedBuffer 98 Source/platform/mhtml/MHTMLArchive.cpp PassRefPtr<MHTMLArchive> MHTMLArchive::create(const KURL& url, SharedBuffer* data) SharedBuffer 122 Source/platform/mhtml/MHTMLArchive.cpp PassRefPtr<SharedBuffer> MHTMLArchive::generateMHTMLData(const Vector<SerializedResource>& resources, EncodingPolicy encodingPolicy, const String& title, const String& mimeType) SharedBuffer 150 Source/platform/mhtml/MHTMLArchive.cpp RefPtr<SharedBuffer> mhtmlData = SharedBuffer::create(); SharedBuffer 44 Source/platform/mhtml/MHTMLArchive.h class SharedBuffer; SharedBuffer 51 Source/platform/mhtml/MHTMLArchive.h static PassRefPtr<MHTMLArchive> create(const KURL&, SharedBuffer*); SharedBuffer 59 Source/platform/mhtml/MHTMLArchive.h static PassRefPtr<SharedBuffer> generateMHTMLData(const Vector<SerializedResource>&, EncodingPolicy, const String& title, const String& mimeType); SharedBuffer 192 Source/platform/mhtml/MHTMLParser.cpp MHTMLParser::MHTMLParser(SharedBuffer* data) SharedBuffer 287 Source/platform/mhtml/MHTMLParser.cpp RefPtr<SharedBuffer> content = SharedBuffer::create(); SharedBuffer 359 Source/platform/mhtml/MHTMLParser.cpp RefPtr<SharedBuffer> contentBuffer = SharedBuffer::adoptVector(data); SharedBuffer 47 Source/platform/mhtml/MHTMLParser.h class SharedBuffer; SharedBuffer 51 Source/platform/mhtml/MHTMLParser.h explicit MHTMLParser(SharedBuffer*); SharedBuffer 83 Source/web/ColorChooserPopupUIController.cpp void ColorChooserPopupUIController::writeDocument(SharedBuffer* data) SharedBuffer 54 Source/web/ColorChooserPopupUIController.h virtual void writeDocument(WebCore::SharedBuffer*) OVERRIDE; SharedBuffer 102 Source/web/DateTimeChooserImpl.cpp void DateTimeChooserImpl::writeDocument(WebCore::SharedBuffer* data) SharedBuffer 59 Source/web/DateTimeChooserImpl.h virtual void writeDocument(WebCore::SharedBuffer*) OVERRIDE; SharedBuffer 204 Source/web/WebEmbeddedWorkerImpl.cpp RefPtr<SharedBuffer> buffer(SharedBuffer::create(content.data(), length)); SharedBuffer 71 Source/web/WebImageDecoder.cpp m_private->setData(PassRefPtr<SharedBuffer>(data).get(), allDataReceived); SharedBuffer 225 Source/web/WebPagePopupImpl.cpp RefPtr<SharedBuffer> data = SharedBuffer::create(); SharedBuffer 174 Source/web/WebPageSerializer.cpp static PassRefPtr<SharedBuffer> serializePageToMHTML(Page* page, MHTMLArchive::EncodingPolicy encodingPolicy) SharedBuffer 185 Source/web/WebPageSerializer.cpp RefPtr<SharedBuffer> mhtml = serializePageToMHTML(toWebViewImpl(view)->page(), MHTMLArchive::UseDefaultEncoding); SharedBuffer 192 Source/web/WebPageSerializer.cpp RefPtr<SharedBuffer> mhtml = serializePageToMHTML(toWebViewImpl(view)->page(), MHTMLArchive::UseBinaryEncoding); SharedBuffer 204 Source/web/WebSharedWorkerImpl.cpp RefPtr<SharedBuffer> buffer(SharedBuffer::create(content.data(), length)); SharedBuffer 42 Source/web/tests/OpenTypeVerticalDataTest.cpp template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const SharedBuffer 50 Source/web/tests/OpenTypeVerticalDataTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); SharedBuffer 54 Source/web/tests/OpenTypeVerticalDataTest.cpp buffer = SharedBuffer::create(sizeof(TestTable) - 1); SharedBuffer 58 Source/web/tests/OpenTypeVerticalDataTest.cpp buffer = SharedBuffer::create(sizeof(TestTable) + 1); SharedBuffer 65 Source/web/tests/OpenTypeVerticalDataTest.cpp RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); SharedBuffer 46 Source/web/tests/WebImageTest.cpp static PassRefPtr<SharedBuffer> readFile(const char* fileName) SharedBuffer 57 Source/web/tests/WebImageTest.cpp RefPtr<SharedBuffer> data = readFile("white-1x1.png"); SharedBuffer 68 Source/web/tests/WebImageTest.cpp RefPtr<SharedBuffer> data = readFile("black-and-white.ico"); SharedBuffer 83 Source/web/tests/WebImageTest.cpp RefPtr<SharedBuffer> data = readFile("valid_header_missing_bitmap.ico"); SharedBuffer 37 public/platform/WebData.h namespace WebCore { class SharedBuffer; } SharedBuffer 83 public/platform/WebData.h WebData(const PassRefPtr<WebCore::SharedBuffer>&); SharedBuffer 84 public/platform/WebData.h WebData& operator=(const PassRefPtr<WebCore::SharedBuffer>&); SharedBuffer 85 public/platform/WebData.h operator PassRefPtr<WebCore::SharedBuffer>() const; SharedBuffer 102 public/platform/WebData.h WebPrivatePtr<WebCore::SharedBuffer> m_private;