Home
last modified time | relevance | path

Searched refs:dataUri (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/svg/
DSkSVGDevice.cpp433 sk_sp<SkData> dataUri = SkData::MakeUninitialized(selectedPrefixLength + b64Size); in AsDataUri() local
434 char* dest = (char*)dataUri->writable_data(); in AsDataUri()
437 dest[dataUri->size() - 1] = 0; in AsDataUri()
438 return dataUri; in AsDataUri()
451 sk_sp<SkData> dataUri = AsDataUri(image); in addImageShaderResources() local
452 if (!dataUri) { in addImageShaderResources()
487 imageTag.addAttribute("xlink:href", static_cast<const char*>(dataUri->data())); in addImageShaderResources()
/external/skqp/src/svg/
DSkSVGDevice.cpp430 sk_sp<SkData> dataUri = SkData::MakeUninitialized(selectedPrefixLength + b64Size); in AsDataUri() local
431 char* dest = (char*)dataUri->writable_data(); in AsDataUri()
434 dest[dataUri->size() - 1] = 0; in AsDataUri()
435 return dataUri; in AsDataUri()
448 sk_sp<SkData> dataUri = AsDataUri(image); in addImageShaderResources() local
449 if (!dataUri) { in addImageShaderResources()
484 imageTag.addAttribute("xlink:href", static_cast<const char*>(dataUri->data())); in addImageShaderResources()