/external/chromium_org/third_party/WebKit/Source/platform/ |
D | SharedBuffer.h | 43 class PLATFORM_EXPORT SharedBuffer : public RefCounted<SharedBuffer> { 45 static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); } in create() 46 static PassRefPtr<SharedBuffer> create(size_t size) { return adoptRef(new SharedBuffer(size)); } in create() 47 …static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c,… in create() 48 …static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new Shared… in create() 50 static PassRefPtr<SharedBuffer> adoptVector(Vector<char>& vector); 54 static PassRefPtr<SharedBuffer> adoptPurgeableBuffer(PassOwnPtr<PurgeableBuffer>); 56 ~SharedBuffer(); 69 void append(SharedBuffer*); 75 PassRefPtr<SharedBuffer> copy() const; [all …]
|
D | SharedBuffer.cpp | 77 static HashSet<SharedBuffer*>& liveBuffers() in liveBuffers() 79 DEFINE_STATIC_LOCAL(HashSet<SharedBuffer*>, buffers, ()); in liveBuffers() 83 static bool sizeComparator(SharedBuffer* a, SharedBuffer* b) in sizeComparator() 88 static CString snippetForBuffer(SharedBuffer* sharedBuffer) in snippetForBuffer() 116 Vector<SharedBuffer*> buffers; in printStats() 117 …for (HashSet<SharedBuffer*>::const_iterator iter = liveBuffers().begin(); iter != liveBuffers().en… in printStats() 128 static void didCreateSharedBuffer(SharedBuffer* buffer) in didCreateSharedBuffer() 136 static void willDestroySharedBuffer(SharedBuffer* buffer) in willDestroySharedBuffer() 144 SharedBuffer::SharedBuffer() in SharedBuffer() function in WebCore::SharedBuffer 152 SharedBuffer::SharedBuffer(size_t size) in SharedBuffer() function in WebCore::SharedBuffer [all …]
|
D | SharedBufferTest.cpp | 50 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData0, strlen(testData0)); in TEST() 65 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData, strlen(testData)); in TEST() 90 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::adoptVector(vector0); in TEST() 115 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::adoptVector(vector0); in TEST() 158 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(testData, length); in TEST() 165 RefPtr<SharedBuffer> clone = sharedBuffer->copy(); in TEST()
|
D | SharedBufferChunkReader.h | 40 class SharedBuffer; variable 44 SharedBufferChunkReader(SharedBuffer*, const Vector<char>& separator); 45 SharedBufferChunkReader(SharedBuffer*, const char* separator); 61 SharedBuffer* m_buffer;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | ThreadSafeDataTransportTest.cpp | 42 RefPtr<SharedBuffer> buffer = SharedBuffer::create(testString, sizeof(testString)); in TEST() 47 SharedBuffer* tempBuffer = 0; in TEST() 61 RefPtr<SharedBuffer> buffer1 = SharedBuffer::create(testString1, sizeof(testString1) - 1); in TEST() 63 RefPtr<SharedBuffer> buffer2 = SharedBuffer::create(testString2, sizeof(testString2) - 1); in TEST() 65 RefPtr<SharedBuffer> buffer3 = SharedBuffer::create(testString3, sizeof(testString3) - 1); in TEST() 72 SharedBuffer* tempBuffer = 0; in TEST()
|
D | ThreadSafeDataTransport.h | 38 class SharedBuffer; variable 53 void setData(SharedBuffer*, bool allDataReceived); 56 void data(SharedBuffer**, bool* allDataReceived); 65 Vector<RefPtr<SharedBuffer> > m_newBufferQueue; 66 RefPtr<SharedBuffer> m_readBuffer;
|
D | ThreadSafeDataTransport.cpp | 35 : m_readBuffer(SharedBuffer::create()) in ThreadSafeDataTransport() 44 void ThreadSafeDataTransport::setData(SharedBuffer* buffer, bool allDataReceived) in setData() 47 Vector<RefPtr<SharedBuffer> > newBufferQueue; in setData() 52 newBufferQueue.append(SharedBuffer::create(segment, length)); in setData() 60 void ThreadSafeDataTransport::data(SharedBuffer** buffer, bool* allDataReceived) in data() 62 Vector<RefPtr<SharedBuffer> > newBufferQueue; in data()
|
D | DeferredImageDecoder.h | 42 class SharedBuffer; variable 48 …static PassOwnPtr<DeferredImageDecoder> create(const SharedBuffer& data, ImageSource::AlphaOption,… 60 void setData(SharedBuffer* data, bool allDataReceived); 85 void setData(PassRefPtr<SharedBuffer>, bool allDataReceived); 87 RefPtr<SharedBuffer> m_data;
|
D | ImageFrameGenerator.h | 46 class SharedBuffer; variable 59 …static PassRefPtr<ImageFrameGenerator> create(const SkISize& fullSize, PassRefPtr<SharedBuffer> da… 64 …ImageFrameGenerator(const SkISize& fullSize, PassRefPtr<SharedBuffer>, bool allDataReceived, bool … 76 void setData(PassRefPtr<SharedBuffer>, bool allDataReceived); 79 void copyData(RefPtr<SharedBuffer>*, bool* allDataReceived);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | GIFImageDecoderTest.cpp | 51 PassRefPtr<SharedBuffer> readFile(const char* fileName) in readFile() 69 void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) in createDecodingBaseline() 84 RefPtr<SharedBuffer> fullData = readFile(gifFile); in testRandomFrameDecode() 116 RefPtr<SharedBuffer> data = readFile(gifFile); in testRandomDecodeAfterClearFrameBufferCache() 143 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); in TEST() 169 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); in TEST() 193 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated.gif"); in TEST() 200 RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length); in TEST() 218 …RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/animated-gif-with-offsets… in TEST() 226 RefPtr<SharedBuffer> tempData = SharedBuffer::create(data->data(), length); in TEST() [all …]
|
D | WEBPImageDecoderTest.cpp | 53 PassRefPtr<SharedBuffer> readFile(const char* fileName) in readFile() 71 void createDecodingBaseline(SharedBuffer* data, Vector<unsigned>* baselineHashes) in createDecodingBaseline() 86 RefPtr<SharedBuffer> fullData = readFile(webpFile); in testRandomFrameDecode() 118 RefPtr<SharedBuffer> data = readFile(webpFile); in testRandomDecodeAfterClearFrameBufferCache() 142 RefPtr<SharedBuffer> data = readFile(webpFile); in testDecodeAfterReallocatingData() 150 RefPtr<SharedBuffer> reallocatedData = data.get()->copy(); in testDecodeAfterReallocatingData() 165 RefPtr<SharedBuffer> data = readFile(webpFile); in testInvalidImage() 190 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); in TEST_F() 207 RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated.webp"); in TEST_F() 249 …RefPtr<SharedBuffer> data = readFile("/LayoutTests/fast/images/resources/webp-animated-opaque.webp… in TEST_F() [all …]
|
D | OpenTypeVerticalDataTest.cpp | 42 template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const in validateOffset() 50 RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); in TEST() 54 buffer = SharedBuffer::create(sizeof(TestTable) - 1); in TEST() 58 buffer = SharedBuffer::create(sizeof(TestTable) + 1); in TEST() 65 RefPtr<SharedBuffer> buffer = SharedBuffer::create(sizeof(TestTable)); in TEST()
|
D | WebImageTest.cpp | 46 static PassRefPtr<SharedBuffer> readFile(const char* fileName) in readFile() 57 RefPtr<SharedBuffer> data = readFile("white-1x1.png"); in TEST() 68 RefPtr<SharedBuffer> data = readFile("black-and-white.ico"); in TEST() 83 RefPtr<SharedBuffer> data = readFile("valid_header_missing_bitmap.ico"); in TEST()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebData.cpp | 52 m_private = SharedBuffer::create(data, size); in assign() 69 WebData::WebData(const PassRefPtr<SharedBuffer>& buffer) in WebData() 74 WebData& WebData::operator=(const PassRefPtr<SharedBuffer>& buffer) in operator =() 80 WebData::operator PassRefPtr<SharedBuffer>() const in operator PassRefPtr<SharedBuffer>() 82 return PassRefPtr<SharedBuffer>(m_private.get()); in operator PassRefPtr<SharedBuffer>()
|
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/ |
D | ArchiveResource.h | 42 …static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, const ResourceRes… 43 static PassRefPtr<ArchiveResource> create(PassRefPtr<SharedBuffer>, const KURL&, 49 SharedBuffer* data() const { return m_data.get(); } in data() 55 …ArchiveResource(PassRefPtr<SharedBuffer>, const KURL&, const AtomicString& mimeType, const AtomicS… 59 RefPtr<SharedBuffer> m_data;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
D | OpenTypeSanitizer.h | 38 class SharedBuffer; variable 42 explicit OpenTypeSanitizer(SharedBuffer* buffer) in OpenTypeSanitizer() 47 PassRefPtr<SharedBuffer> sanitize(); 52 SharedBuffer* const m_buffer;
|
D | OpenTypeVerticalData.cpp | 137 …const CoverageTable* coverage(const SharedBuffer& buffer) const { return validateOffset<CoverageTa… in coverage() 152 bool getSubstitutions(HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const in getSubstitutions() 215 const LookupTable* lookup(uint16_t index, const SharedBuffer& buffer) const in lookup() 229 …stitutions(const LookupList* lookups, HashMap<Glyph, Glyph>* map, const SharedBuffer& buffer) const in getGlyphSubstitutions() 250 const FeatureTable* feature(uint16_t index, OpenType::Tag tag, const SharedBuffer& buffer) const in feature() 260 const FeatureTable* findFeature(OpenType::Tag tag, const SharedBuffer& buffer) const in findFeature() 276 …e* feature(OpenType::Tag featureTag, const FeatureList* features, const SharedBuffer& buffer) const in feature() 298 const LangSysTable* defaultLangSys(const SharedBuffer& buffer) const in defaultLangSys() 319 const ScriptTable* script(OpenType::Tag tag, const SharedBuffer& buffer) const in script() 331 const ScriptTable* defaultScript(const SharedBuffer& buffer) const in defaultScript() [all …]
|
D | OpenTypeTypes.h | 68 template <typename T> static const T* validateTable(const RefPtr<SharedBuffer>& buffer, size_t coun… 77 static bool isValidEnd(const SharedBuffer& buffer, const void* position) in isValidEnd() 85 …template <typename T> static const T* validatePtr(const SharedBuffer& buffer, const void* position) in validatePtr() 93 template <typename T> const T* validateOffset(const SharedBuffer& buffer, uint16_t offset) const in validateOffset()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebData.h | 37 namespace WebCore { class SharedBuffer; } variable 83 WebData(const PassRefPtr<WebCore::SharedBuffer>&); 84 WebData& operator=(const PassRefPtr<WebCore::SharedBuffer>&); 85 operator PassRefPtr<WebCore::SharedBuffer>() const; 102 WebPrivatePtr<WebCore::SharedBuffer> m_private;
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
D | IDBRequest.h | 51 class SharedBuffer; variable 99 …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 …irtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); 154 …Ptr<IDBCursor>, PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer> value); 172 RefPtr<SharedBuffer> m_cursorValue;
|
D | IDBAny.h | 73 …static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr<IDBKey> key, const IDB… in create() 106 SharedBuffer* buffer() const; 123 explicit IDBAny(PassRefPtr<SharedBuffer>); 124 explicit IDBAny(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const IDBKeyPath&); 138 const RefPtr<SharedBuffer> m_buffer;
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | SubstituteData.h | 40 …SubstituteData(PassRefPtr<SharedBuffer> content, const AtomicString& mimeType, const AtomicString&… in SubstituteData() 50 const SharedBuffer* content() const { return m_content.get(); } in content() 56 RefPtr<SharedBuffer> m_content;
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | NetworkResourcesData.h | 47 class SharedBuffer; variable 113 PassRefPtr<SharedBuffer> buffer() const { return m_buffer; } in buffer() 114 void setBuffer(PassRefPtr<SharedBuffer> buffer) { m_buffer = buffer; } in setBuffer() 135 RefPtr<SharedBuffer> m_dataBuffer; 143 RefPtr<SharedBuffer> m_buffer; 159 …void addResourceSharedBuffer(const String& requestId, PassRefPtr<SharedBuffer>, const String& text…
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
D | FontPlatformDataSkia.cpp | 64 PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const in openTypeTable() 66 RefPtr<SharedBuffer> buffer; in openTypeTable() 73 buffer = SharedBuffer::adoptVector(tableBuffer); in openTypeTable()
|
/external/chromium_org/remoting/host/ |
D | desktop_session_agent.cc | 70 class DesktopSessionAgent::SharedBuffer : public webrtc::SharedMemory { class in remoting::DesktopSessionAgent 72 static scoped_ptr<SharedBuffer> Create(DesktopSessionAgent* agent, in Create() 77 return scoped_ptr<SharedBuffer>(); in Create() 78 return scoped_ptr<SharedBuffer>( in Create() 79 new SharedBuffer(agent, memory.Pass(), size, id)); in Create() 82 virtual ~SharedBuffer() { in ~SharedBuffer() 87 SharedBuffer(DesktopSessionAgent* agent, in SharedBuffer() function in remoting::DesktopSessionAgent::SharedBuffer 105 DISALLOW_COPY_AND_ASSIGN(SharedBuffer); 183 scoped_ptr<SharedBuffer> buffer = in CreateSharedMemory() 184 SharedBuffer::Create(this, size, next_shared_buffer_id_); in CreateSharedMemory()
|