Searched refs:urlData (Results 1 – 6 of 6) sorted by relevance
17 UrlData* urlData = fCache.find(*data); in addData() local19 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 …]
32 SkAutoTUnref<UrlDataManager::UrlData> urlData( in handle() local35 if (urlData) { in handle()36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str()); in handle()
49 urlData = scan_results.dataUrls[i]51 urlData.length + '.');52 console.log('URL is ' + urlData);54 scannedImage.src = urlData;
19 SkAutoTUnref<SkData> urlData(SkData::NewWithCString(url)); in draw_url_annotated_text_with_box() local20 SkAnnotateRectWithURL(canvas, bounds, urlData); in draw_url_annotated_text_with_box()
903 static SkPDFDict* create_link_to_url(const SkData* urlData, const SkRect& r) { in create_link_to_url() argument906 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() local1716 if (urlData) { in handlePathAnnotation()1718 fLinkToURLs.push(new RectWithData(transformedRect, urlData)); in handlePathAnnotation()
713 UrlDataManager::UrlData* urlData = urlDataManager.getDataFromUrl(SkString(data.asCString())); in decode_data() local714 if (urlData == nullptr) { in decode_data()719 *target = urlData->fData->data(); in decode_data()721 return (Json::ArrayIndex) urlData->fData->size(); in decode_data()