Home
last modified time | relevance | path

Searched refs:detachAsData (Results 1 – 25 of 72) sorted by relevance

123

/external/skqp/tests/
DEncodeTest.cpp83 sk_sp<SkData> data0 = dst0.detachAsData(); in test_encode()
84 sk_sp<SkData> data1 = dst1.detachAsData(); in test_encode()
85 sk_sp<SkData> data2 = dst2.detachAsData(); in test_encode()
86 sk_sp<SkData> data3 = dst3.detachAsData(); in test_encode()
161 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST()
162 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST()
163 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST()
275 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST()
276 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST()
277 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST()
[all …]
DAnnotationTest.cpp65 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
83 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
106 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
125 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
DPDFDocumentTest.cpp165 sk_sp<SkData> data(buffer.detachAsData()); in DEF_TEST()
184 data = buffer.detachAsData(); in DEF_TEST()
212 sk_sp<SkData> data(wStream.detachAsData()); in DEF_TEST()
DCodecRecommendedTypeTest.cpp34 auto data = wstream.detachAsData(); in DEF_TEST()
DPDFMetadataAttributeTest.cpp29 sk_sp<SkData> data = pdf.detachAsData(); in DEF_TEST()
/external/skia/tests/
DEncodeTest.cpp88 sk_sp<SkData> data0 = dst0.detachAsData(); in test_encode()
89 sk_sp<SkData> data1 = dst1.detachAsData(); in test_encode()
90 sk_sp<SkData> data2 = dst2.detachAsData(); in test_encode()
91 sk_sp<SkData> data3 = dst3.detachAsData(); in test_encode()
166 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST()
167 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST()
168 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST()
280 sk_sp<SkData> data0 = dst0.detachAsData(); in DEF_TEST()
281 sk_sp<SkData> data1 = dst1.detachAsData(); in DEF_TEST()
282 sk_sp<SkData> data2 = dst2.detachAsData(); in DEF_TEST()
[all …]
DAnnotationTest.cpp65 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
83 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
104 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
121 sk_sp<SkData> out = outStream.detachAsData(); in DEF_TEST()
DPDFDocumentTest.cpp165 sk_sp<SkData> data(buffer.detachAsData()); in DEF_TEST()
184 data = buffer.detachAsData(); in DEF_TEST()
212 sk_sp<SkData> data(wStream.detachAsData()); in DEF_TEST()
DCodecRecommendedTypeTest.cpp34 auto data = wstream.detachAsData(); in DEF_TEST()
DPDFMetadataAttributeTest.cpp29 sk_sp<SkData> data = pdf.detachAsData(); in DEF_TEST()
/external/skia/gm/
Dencode-platform.cpp47 return SkEncodeImageWithCG(&buf, src, type) ? buf.detachAsData() : nullptr; in encode_data()
49 return SkEncodeImageWithWIC(&buf, src, type, 100) ? buf.detachAsData() : nullptr; in encode_data()
54 return success ? buf.detachAsData() : nullptr; in encode_data()
58 return success ? buf.detachAsData() : nullptr; in encode_data()
62 return success ? buf.detachAsData() : nullptr; in encode_data()
/external/skqp/gm/
Dencode-platform.cpp47 return SkEncodeImageWithCG(&buf, src, type) ? buf.detachAsData() : nullptr; in encode_data()
49 return SkEncodeImageWithWIC(&buf, src, type, 100) ? buf.detachAsData() : nullptr; in encode_data()
54 return success ? buf.detachAsData() : nullptr; in encode_data()
58 return success ? buf.detachAsData() : nullptr; in encode_data()
62 return success ? buf.detachAsData() : nullptr; in encode_data()
/external/skia/tools/skiaserve/
DRequest.cpp48 return buffer.detachAsData(); in writeCanvasToPng()
229 return stream.detachAsData(); in getJsonOps()
241 return stream.detachAsData(); in getJsonOpList()
266 return stream.detachAsData(); in getJsonInfo()
/external/skqp/tools/skiaserve/
DRequest.cpp48 return buffer.detachAsData(); in writeCanvasToPng()
229 return stream.detachAsData(); in getJsonOps()
241 return stream.detachAsData(); in getJsonOpList()
266 return stream.detachAsData(); in getJsonInfo()
/external/skqp/src/sksl/
DSkSLStringStream.h66 sk_sp<SkData> data = fStream.detachAsData();
/external/skia/src/sksl/
DSkSLStringStream.h66 sk_sp<SkData> data = fStream.detachAsData();
/external/skqp/tools/
Dskp_parser.cpp79 sk_sp<SkData> data = stream.detachAsData(); in main()
/external/skia/tools/
Dskp_parser.cpp79 sk_sp<SkData> data = stream.detachAsData(); in main()
/external/skia/docs/
DSkPicture_Reference.bmh159 sk_sp<SkData> readableData = writableStream.detachAsData();
184 sk_sp<SkData> readableData = writableStream.detachAsData();
307 sk_sp<SkData> readableData = writableStream.detachAsData();
/external/skqp/docs/
DSkPicture_Reference.bmh159 sk_sp<SkData> readableData = writableStream.detachAsData();
184 sk_sp<SkData> readableData = writableStream.detachAsData();
307 sk_sp<SkData> readableData = writableStream.detachAsData();
/external/skia/tools/skiaserve/urlhandlers/
DBreakHandler.cpp83 return SendData(connection, stream.detachAsData().get(), "application/json"); in handle()
/external/skqp/tools/skiaserve/urlhandlers/
DBreakHandler.cpp83 return SendData(connection, stream.detachAsData().get(), "application/json"); in handle()
/external/skqp/src/images/
DSkImageEncoder.cpp82 return SkEncodeImage(&stream, src, format, quality) ? stream.detachAsData() : nullptr; in SkEncodePixmap()
/external/skqp/tools/fiddle/
Dfiddle_main.cpp309 pdfData = pdfStream.detachAsData(); in main()
321 skpData = skpStream.detachAsData(); in main()
/external/skia/tools/fiddle/
Dfiddle_main.cpp309 pdfData = pdfStream.detachAsData(); in main()
321 skpData = skpStream.detachAsData(); in main()

123