Home
last modified time | relevance | path

Searched refs:dataReference (Results 1 – 15 of 15) sorted by relevance

/external/webkit/Source/WebKit2/Shared/cf/
DArgumentCodersCF.cpp273 CoreIPC::DataReference dataReference; in decode() local
274 if (!decoder->decode(dataReference)) in decode()
277 result.adoptCF(CFDataCreate(0, dataReference.data(), dataReference.size())); in decode()
395 CoreIPC::DataReference dataReference; in decode() local
396 if (!decoder->decode(dataReference)) in decode()
400 if (!neededBufferSize || dataReference.size() != neededBufferSize) in decode()
403 ASSERT(dataReference.data()); in decode()
404 CFNumberRef number = CFNumberCreate(0, numberType, dataReference.data()); in decode()
438 CoreIPC::DataReference dataReference; in decode() local
439 if (!decoder->decode(dataReference)) in decode()
[all …]
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DDataReference.cpp39 bool DataReference::decode(ArgumentDecoder* decoder, DataReference& dataReference) in decode() argument
41 return decoder->decodeBytes(dataReference); in decode()
DArgumentDecoder.cpp111 bool ArgumentDecoder::decodeBytes(DataReference& dataReference) in decodeBytes() argument
123 dataReference = DataReference(data, size); in decodeBytes()
DDataReference.h61 static bool decode(ArgumentDecoder* decoder, DataReference& dataReference);
/external/webkit/Source/WebKit2/Shared/mac/
DSandboxExtensionMac.mm78 CoreIPC::DataReference dataReference;
79 if (!decoder->decodeBytes(dataReference))
82 if (dataReference.isEmpty())
85 …nCreateFromSerializedFormat(reinterpret_cast<const char*>(dataReference.data()), dataReference.siz…
/external/webkit/Source/WebKit2/UIProcess/API/mac/
DWKViewInternal.h70 …estedFilename:(const String&)suggestedFilename dataReference:(const CoreIPC::DataReference&)dataRe…
DPDFViewController.mm397 … RetainPtr<CFDataRef> convertPostScriptDataSourceToPDF(const CoreIPC::DataReference& dataReference)
406 …NSData alloc] initWithBytesNoCopy:const_cast<uint8_t*>(dataReference.data()) length:dataReference.…
425 …nst String& mimeType, const String& suggestedFilename, const CoreIPC::DataReference& dataReference)
428 m_pdfData = convertPostScriptDataSourceToPDF(dataReference);
433 m_pdfData.adoptCF(CFDataCreate(0, dataReference.data(), dataReference.size()));
DPageClientImpl.mm348 …rCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference& dataReference)
350 …ingDataForCustomRepresentationWithSuggestedFilename:suggestedFilename dataReference:dataReference];
DWKView.mm2248 …estedFilename:(const String&)suggestedFilename dataReference:(const CoreIPC::DataReference&)dataRe…
2252 …oller->setPDFDocumentData(_data->_page->mainFrame()->mimeType(), suggestedFilename, dataReference);
/external/webkit/Source/WebKit2/WebProcess/Downloads/cfnet/
DDownloadCFNet.cpp207 CoreIPC::DataReference dataReference(0, 0); in didFailCallback() local
208 downloadFromClientInfo(clientInfo)->didFail(ResourceError(error), dataReference); in didFailCallback()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebPage.cpp1283 CoreIPC::DataReference dataReference; in runJavaScriptInMainFrame() local
1289dataReference = CoreIPC::DataReference(serializedResultValue->data().data(), serializedResultValue… in runJavaScriptInMainFrame()
1292 send(Messages::WebPageProxy::ScriptValueCallback(dataReference, callbackID)); in runJavaScriptInMainFrame()
1326 CoreIPC::DataReference dataReference; in getMainResourceDataOfFrame() local
1332dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(buffer->data()), buffer->s… in getMainResourceDataOfFrame()
1336 send(Messages::WebPageProxy::DataCallback(dataReference, callbackID)); in getMainResourceDataOfFrame()
1341 CoreIPC::DataReference dataReference; in getResourceDataFromFrame() local
1348dataReference = CoreIPC::DataReference(reinterpret_cast<const uint8_t*>(buffer->data()), buffer->s… in getResourceDataFromFrame()
1353 send(Messages::WebPageProxy::DataCallback(dataReference, callbackID)); in getResourceDataFromFrame()
1358 CoreIPC::DataReference dataReference; in getWebArchiveOfFrame() local
[all …]
/external/webkit/Source/WebKit2/WebProcess/Downloads/mac/
DDownloadMac.mm305 …CoreIPC::DataReference dataReference(reinterpret_cast<const uint8_t*>([resumeData.get() bytes]), […
307 _download->didFail(error, dataReference);
/external/webkit/Source/WebKit2/UIProcess/
DWebPageProxy.cpp2627 void WebPageProxy::dataCallback(const CoreIPC::DataReference& dataReference, uint64_t callbackID) in dataCallback() argument
2635 …callback->performCallbackWithReturnValue(WebData::create(dataReference.data(), dataReference.size(… in dataCallback()
2652 void WebPageProxy::scriptValueCallback(const CoreIPC::DataReference& dataReference, uint64_t callba… in scriptValueCallback() argument
2661 data.reserveInitialCapacity(dataReference.size()); in scriptValueCallback()
2662 data.append(dataReference.data(), dataReference.size()); in scriptValueCallback()
2932 …rCustomRepresentation(const String& suggestedFilename, const CoreIPC::DataReference& dataReference) in didFinishLoadingDataForCustomRepresentation() argument
2934 m_pageClient->didFinishLoadingDataForCustomRepresentation(suggestedFilename, dataReference); in didFinishLoadingDataForCustomRepresentation()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebFrameLoaderClient.cpp826 …CoreIPC::DataReference dataReference(reinterpret_cast<const uint8_t*>(mainResourceData ? mainResou… in finishedLoading()
828 …idFinishLoadingDataForCustomRepresentation(loader->response().suggestedFilename(), dataReference)); in finishedLoading()
/external/webkit/Source/WebKit2/
DChangeLog11491 …(-[WKView _didFinishLoadingDataForCustomRepresentationWithSuggestedFilename:dataReference:CoreIPC:…