Lines Matching refs:data
183 } rec = { path, offset, glyphRun.positions().data() };
185 glyphRun.font().getPaths(glyphRun.glyphsIDs().data(), SkToInt(glyphRun.glyphsIDs().size()),
473 // Returns data uri from bytes.
474 // it will use any cached data if available, otherwise will
486 if (SkJpegCodec::IsJpeg(imageData->data(), imageData->size())) {
487 const static char jpgDataPrefix[] = "data:image/jpeg;base64,";
494 if (!is_png(imageData->data(), imageData->size())) {
501 const static char pngDataPrefix[] = "data:image/png;base64,";
506 size_t b64Size = SkBase64::Encode(imageData->data(), imageData->size(), nullptr);
510 SkBase64::Encode(imageData->data(), imageData->size(), dest + selectedPrefixLength - 1);
561 imageTag.addAttribute("xlink:href", static_cast<const char*>(dataUri->data()));
820 SkString url(static_cast<const char*>(value->data()), value->size() - 1);
938 size_t b64Size = SkBase64::Encode(pngData->data(), pngData->size(), nullptr);
940 SkBase64::Encode(pngData->data(), pngData->size(), b64Data.get());
942 SkString svgImageData("data:image/png;base64,");
991 SkFontPriv::GlyphsToUnichars(glyphRun.font(), glyphRun.glyphsIDs().data(),