/external/skia/tests/ |
D | EncodeTest.cpp | 82 sk_sp<SkData> data0 = dst0.detachAsData(); in test_encode() 83 sk_sp<SkData> data1 = dst1.detachAsData(); in test_encode() 84 sk_sp<SkData> data2 = dst2.detachAsData(); in test_encode() 85 sk_sp<SkData> data3 = dst3.detachAsData(); in test_encode() 160 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST() 161 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST() 162 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST() 274 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST() 275 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST() 276 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST() [all …]
|
D | AnnotationTest.cpp | 54 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST() 72 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
|
D | PDFDocumentTest.cpp | 192 sk_sp<SkData> data(buffer.detachAsData()); in DEF_TEST() 211 data = buffer.detachAsData(); in DEF_TEST()
|
D | PDFMetadataAttributeTest.cpp | 32 sk_sp<SkData> data = pdf.detachAsData(); in DEF_TEST()
|
D | StreamTest.cpp | 403 sk_sp<SkData> data(tgt.detachAsData()); in stream_copy_test() 421 auto data = dmws.detachAsData(); in DEF_TEST()
|
D | PDFJpegEmbedTest.cpp | 72 sk_sp<SkData> pdfData = pdf.detachAsData(); in DEF_TEST()
|
D | PipeTest.cpp | 22 sk_sp<SkData> data = stream->detachAsData(); in drain()
|
D | PDFPrimitivesTest.cpp | 112 sk_sp<SkData> expectedResultData2(expected.detachAsData()); in TestPDFStream()
|
D | CodecTest.cpp | 788 std::unique_ptr<SkCodec> codec(SkCodec::NewFromData(wStream.detachAsData(), &chunkReader)); in DEF_TEST() 1488 sk_sp<SkData> srgbData = srgbBuf.detachAsData(); in test_encode_icc() 1498 sk_sp<SkData> p3Data = p3Buf.detachAsData(); in test_encode_icc()
|
/external/skia/gm/ |
D | encode-platform.cpp | 69 return SkEncodeImageWithCG(&buf, src, type) ? buf.detachAsData() : nullptr; in encode_data() 71 return SkEncodeImageWithWIC(&buf, src, type, 100) ? buf.detachAsData() : nullptr; in encode_data() 78 return success ? buf.detachAsData() : nullptr; in encode_data() 82 return success ? buf.detachAsData() : nullptr; in encode_data() 88 return success ? buf.detachAsData() : nullptr; in encode_data()
|
D | encode-srgb.cpp | 94 return buf.detachAsData(); in encode_data()
|
D | encode-alpha-jpeg.cpp | 29 return SkImage::MakeFromEncoded(dst.detachAsData()); in encode_pixmap_and_make_image()
|
/external/skia/tools/skiaserve/ |
D | Request.cpp | 70 return buffer.detachAsData(); in writeCanvasToPng() 128 return outStream.detachAsData(); in writeOutSkp() 275 return stream.detachAsData(); in getJsonOps() 287 return stream.detachAsData(); in getJsonOpList()
|
/external/skia/tools/fiddle/ |
D | fiddle_main.cpp | 169 pdfData = pdfStream.detachAsData(); in main() 181 skpData = skpStream.detachAsData(); in main()
|
/external/skia/src/sksl/ |
D | SkSLStringStream.h | 66 sk_sp<SkData> data = fStream.detachAsData();
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 83 return SendData(connection, stream.detachAsData().get(), "application/json"); in handle()
|
/external/skia/src/images/ |
D | SkWebpEncoder.cpp | 203 sk_sp<SkData> encodedData = tmp.detachAsData(); in Encode()
|
/external/skia/src/image/ |
D | SkImage.cpp | 102 return SkEncodeImage(&buf, bm, type, quality) ? buf.detachAsData() : nullptr; in encodeToData() 123 ? buf.detachAsData() : nullptr; in encodeToData()
|
/external/skia/tools/ |
D | sk_tool_utils.h | 239 return SkEncodeImage(&buf, src , f, q) ? buf.detachAsData() : nullptr; in EncodeImageToData()
|
/external/skia/src/pipe/ |
D | SkPipeCanvas.cpp | 823 return stream.detachAsData().release(); in onEncode() 904 return sk_sp<SkData>(stream.detachAsData()); in encode() 1003 return stream.detachAsData(); in writeImage() 1009 return stream.detachAsData(); in writePicture()
|
/external/skia/src/core/ |
D | SkPicture.cpp | 190 return stream.detachAsData(); in serialize()
|
D | SkStream.cpp | 608 sk_sp<SkData> SkDynamicMemoryWStream::detachAsData() { in detachAsData() function in SkDynamicMemoryWStream 832 return tempStream.detachAsData(); in SkCopyStreamToData()
|
/external/skia/include/core/ |
D | SkStream.h | 396 sk_sp<SkData> detachAsData();
|
/external/skia/src/svg/ |
D | SkSVGDevice.cpp | 673 return SkEncodeImage(&buf, src, SkEncodedImageFormat::kPNG, 80) ? buf.detachAsData() : nullptr; in encode()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 1737 sk_sp<SkData> data = tmpStream.detachAsData(); in draw()
|