Searched refs:sharedBuffer (Results 1 - 12 of 12) sorted by relevance

/external/webkit/WebCore/platform/mac/
H A DSharedBufferMac.mm42 RefPtr<SharedBuffer> sharedBuffer;
76 sharedBuffer = buffer;
83 return sharedBuffer->size();
88 return reinterpret_cast<const void*>(sharedBuffer->data());
/external/webkit/WebCore/platform/graphics/cg/
H A DImageSourceCG.cpp47 SharedBuffer* sharedBuffer = static_cast<SharedBuffer*>(info); local
48 size_t sourceSize = sharedBuffer->size();
52 const char* source = sharedBuffer->data() + position;
60 SharedBuffer* sharedBuffer = static_cast<SharedBuffer*>(info); local
61 sharedBuffer->deref();
/external/webkit/WebCore/platform/graphics/win/
H A DFontCustomPlatformData.cpp114 SharedBuffer* sharedBuffer = static_cast<SharedBuffer*>(info); local
116 if (offset + count > sharedBuffer->size())
117 availBytes -= (offset + count) - sharedBuffer->size();
118 memcpy(buffer, sharedBuffer->data() + offset, availBytes);
/external/webkit/JavaScriptCore/runtime/
H A DUStringImpl.h108 static PassRefPtr<UStringImpl> create(PassRefPtr<SharedUChar> sharedBuffer, UChar* buffer, int length) argument
110 return adoptRef(new UStringImpl(buffer, length, sharedBuffer));
143 SharedUChar* sharedBuffer();
246 UStringImpl(UChar* data, int length, PassRefPtr<SharedUChar> sharedBuffer) argument
252 , m_dataBuffer(sharedBuffer.releaseRef(), BufferShared)
H A DUStringImpl.cpp86 SharedUChar* UStringImpl::sharedBuffer() function in class:JSC::UStringImpl
/external/webkit/WebCore/platform/text/
H A DStringImpl.cpp118 SharedUChar* sharedBuffer = m_sharedBufferAndFlags.get(); local
119 if (sharedBuffer)
120 sharedBuffer->deref();
1002 SharedUChar* sharedBuffer = const_cast<JSC::UString*>(&str)->rep()->sharedBuffer();
1003 if (sharedBuffer) {
1005 sharedBuffer->ref();
1006 impl->m_sharedBufferAndFlags.set(sharedBuffer);
1014 SharedUChar* sharedBuffer = this->sharedBuffer(); local
1058 StringImpl::SharedUChar* StringImpl::sharedBuffer() function in class:WebCore::StringImpl
[all...]
H A DStringImpl.h98 SharedUChar* sharedBuffer();
/external/webkit/WebCore/platform/image-decoders/
H A DImageDecoder.cpp40 static unsigned copyFromSharedBuffer(char* buffer, unsigned bufferLength, const SharedBuffer& sharedBuffer, unsigned offset) argument
44 while (unsigned moreDataLength = sharedBuffer.getSomeData(moreData, offset)) {
/external/webkit/WebKit/wx/
H A DWebFrame.cpp163 WTF::PassRefPtr<WebCore::SharedBuffer> sharedBuffer = WebCore::SharedBuffer::create(contents, strlen(contents)); local
164 WebCore::SubstituteData substituteData(sharedBuffer, WebCore::String("text/html"), WebCore::String("UTF-8"), WebCore::blankURL(), url);
/external/webkit/WebKit/gtk/webkit/
H A Dwebkitwebframe.cpp549 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(content, strlen(content)); local
550 SubstituteData substituteData(sharedBuffer.release(),
/external/webkit/WebKit/win/
H A DWebFrame.cpp556 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(); local
566 sharedBuffer->append(dataBuffer.data(), static_cast<int>(dataBuffer.size()));
570 loadData(sharedBuffer, mimeType, textEncodingName, url, 0);
576 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<char*>(string), sizeof(UChar) * SysStringLen(string)); local
578 loadData(sharedBuffer.release(), 0, utf16Encoding, baseURL, unreachableURL);
/external/webkit/WebKit/android/jni/
H A DWebCoreFrameBridge.cpp1072 WTF::PassRefPtr<WebCore::SharedBuffer> sharedBuffer = local
1075 sharedBuffer->append(dataStr, strlen(dataStr));
1078 WebCore::SubstituteData substituteData(sharedBuffer,

Completed in 166 milliseconds