Lines Matching refs:sharedBuffer
556 void WebFrame::loadData(PassRefPtr<WebCore::SharedBuffer> data, BSTR mimeType, BSTR textEncodingName, BSTR baseURL, BSTR failingURL)
586 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create();
593 // FIXME: this does a needless copy, would be better to read right into the SharedBuffer
596 sharedBuffer->append(dataBuffer.data(), static_cast<int>(dataBuffer.size()));
600 loadData(sharedBuffer, mimeType, textEncodingName, url, 0);
608 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<char*>(string), sizeof(UChar) * SysStringLen(string));
611 loadData(sharedBuffer.release(), plainTextMimeType, utf16Encoding, url, 0);
617 RefPtr<SharedBuffer> sharedBuffer = SharedBuffer::create(reinterpret_cast<char*>(string), sizeof(UChar) * SysStringLen(string));
619 loadData(sharedBuffer.release(), 0, utf16Encoding, baseURL, unreachableURL);