Searched refs:dataUri (Results 1 – 2 of 2) sorted by relevance
433 sk_sp<SkData> dataUri = SkData::MakeUninitialized(selectedPrefixLength + b64Size); in AsDataUri() local434 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() local452 if (!dataUri) { in addImageShaderResources()487 imageTag.addAttribute("xlink:href", static_cast<const char*>(dataUri->data())); in addImageShaderResources()
430 sk_sp<SkData> dataUri = SkData::MakeUninitialized(selectedPrefixLength + b64Size); in AsDataUri() local431 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() local449 if (!dataUri) { in addImageShaderResources()484 imageTag.addAttribute("xlink:href", static_cast<const char*>(dataUri->data())); in addImageShaderResources()