Home
last modified time | relevance | path

Searched refs:urlData (Results 1 – 6 of 6) sorted by relevance

/external/skia/tools/
DUrlDataManager.cpp17 UrlData* urlData = fCache.find(*data); in addData() local
19 SkASSERT(data->equals(urlData->fData.get())); in addData()
20 return urlData->fUrl; in addData()
23 urlData = new UrlData; in addData()
24 urlData->fData.reset(SkRef(data)); in addData()
25 urlData->fContentType.set(contentType); in addData()
26 urlData->fUrl.appendf("%s/%d", fRootUrl.c_str(), fDataId++); in addData()
28 fCache.add(urlData); in addData()
30 SkASSERT(!fUrlLookup.find(urlData->fUrl)); in addData()
31 fUrlLookup.add(urlData); in addData()
[all …]
/external/skia/tools/skiaserve/urlhandlers/
DDataHandler.cpp32 SkAutoTUnref<UrlDataManager::UrlData> urlData( in handle() local
35 if (urlData) { in handle()
36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str()); in handle()
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/
Dscan.js49 urlData = scan_results.dataUrls[i]
51 urlData.length + '.');
52 console.log('URL is ' + urlData);
54 scannedImage.src = urlData;
/external/skia/gm/
Dannotated_text.cpp19 SkAutoTUnref<SkData> urlData(SkData::NewWithCString(url)); in draw_url_annotated_text_with_box() local
20 SkAnnotateRectWithURL(canvas, bounds, urlData); in draw_url_annotated_text_with_box()
/external/skia/src/pdf/
DSkPDFDevice.cpp903 static SkPDFDict* create_link_to_url(const SkData* urlData, const SkRect& r) { in create_link_to_url() argument
906 SkString url(static_cast<const char *>(urlData->data()), in create_link_to_url()
907 urlData->size() - 1); in create_link_to_url()
1715 SkData* urlData = annotation->find(SkAnnotationKeys::URL_Key()); in handlePathAnnotation() local
1716 if (urlData) { in handlePathAnnotation()
1718 fLinkToURLs.push(new RectWithData(transformedRect, urlData)); in handlePathAnnotation()
/external/skia/tools/debugger/
DSkDrawCommand.cpp713 UrlDataManager::UrlData* urlData = urlDataManager.getDataFromUrl(SkString(data.asCString())); in decode_data() local
714 if (urlData == nullptr) { in decode_data()
719 *target = urlData->fData->data(); in decode_data()
721 return (Json::ArrayIndex) urlData->fData->size(); in decode_data()