Home
last modified time | relevance | path

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

/external/skqp/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/
DUrlDataManager.cpp19 UrlData* urlData = fCache.find(*data); in addData() local
21 SkASSERT(data->equals(urlData->fData.get())); in addData()
22 return urlData->fUrl; in addData()
25 urlData = new UrlData; in addData()
26 urlData->fData.reset(SkRef(data)); in addData()
27 urlData->fContentType.set(contentType); in addData()
28 urlData->fUrl.appendf("%s/%d", fRootUrl.c_str(), fDataId++); in addData()
30 fCache.add(urlData); in addData()
32 SkASSERT(!fUrlLookup.find(urlData->fUrl)); in addData()
33 fUrlLookup.add(urlData); in addData()
[all …]
/external/skqp/tools/skiaserve/urlhandlers/
DDataHandler.cpp32 sk_sp<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/skia/tools/skiaserve/urlhandlers/
DDataHandler.cpp32 sk_sp<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/docs/examples/
DCanvas_drawAnnotation_2.cpp14 sk_sp<SkData> urlData(SkData::MakeWithCString(url));
15 canvas->drawAnnotation(bounds, "url_key", urlData.get());
DCanvas_129.cpp14 sk_sp<SkData> urlData(SkData::MakeWithCString(url));
15 canvas->drawAnnotation(bounds, "url_key", urlData.get());
/external/skqp/gm/
Dannotated_text.cpp20 sk_sp<SkData> urlData(SkData::MakeWithCString(url)); in draw_url_annotated_text_with_box() local
21 SkAnnotateRectWithURL(canvas, bounds, urlData.get()); in draw_url_annotated_text_with_box()
/external/skia/gm/
Dannotated_text.cpp29 sk_sp<SkData> urlData(SkData::MakeWithCString(url)); in draw_url_annotated_text_with_box() local
30 SkAnnotateRectWithURL(canvas, bounds, urlData.get()); in draw_url_annotated_text_with_box()
/external/skqp/src/pdf/
DSkPDFDevice.cpp650 static std::unique_ptr<SkPDFDict> create_link_to_url(const SkData* urlData, const SkRect& r) { in create_link_to_url() argument
652 SkString url(static_cast<const char *>(urlData->data()), in create_link_to_url()
653 urlData->size() - 1); in create_link_to_url()
/external/skqp/docs/
DSkCanvas_Reference.bmh4534 sk_sp<SkData> urlData(SkData::MakeWithCString(url));
4535 canvas->drawAnnotation(bounds, "url_key", urlData.get());
4555 sk_sp<SkData> urlData(SkData::MakeWithCString(url));
4556 canvas->drawAnnotation(bounds, "url_key", urlData.get());