Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/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()
/third_party/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());
/third_party/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()