Home
last modified time | relevance | path

Searched refs:wStream (Results 1 – 8 of 8) sorted by relevance

/external/skia/bench/
DPDFBench.cpp25 NullWStream wStream; in test_pdf_object_serialization() local
31 wStream.writeDecAsText(i + 1); in test_pdf_object_serialization()
32 wStream.writeText(" 0 obj\n"); in test_pdf_object_serialization()
33 object->emitObject(&wStream, objNumMap, substitutes); in test_pdf_object_serialization()
34 wStream.writeText("\nendobj\n"); in test_pdf_object_serialization()
/external/skia/src/pathops/
DSkPathOpsOp.cpp200 SkDynamicMemoryWStream wStream; in dump_path() local
201 path.dump(&wStream, force, dumpAsHex); in dump_path()
202 SkAutoDataUnref data(wStream.copyToData()); in dump_path()
/external/skia/tests/
DPictureTest.cpp852 SkDynamicMemoryWStream wStream; in serialized_picture_from_bitmap() local
855 picture->serialize(&wStream, serializer); in serialized_picture_from_bitmap()
856 return wStream.copyToData(); in serialized_picture_from_bitmap()
890 SkDynamicMemoryWStream wStream; in DEF_TEST() local
891 if (!SkImageEncoder::EncodeStream(&wStream, original, SkImageEncoder::kPNG_Type, 100)) { in DEF_TEST()
894 SkAutoDataUnref data(wStream.copyToData()); in DEF_TEST()
DSkpSkGrTest.cpp398 SkFILEWStream wStream(wPath.c_str()); in testOne() local
399 wStream.write(&bytes[0], length); in testOne()
400 wStream.flush(); in testOne()
DCodexTest.cpp708 SkDynamicMemoryWStream wStream; in DEF_TEST() local
709 png_set_write_fn(png, (void*) (&wStream), codex_test_write_fn, nullptr); in DEF_TEST()
785 SkAutoTUnref<SkData> data(wStream.copyToData()); in DEF_TEST()
DPathTest.cpp3776 SkDynamicMemoryWStream wStream; in compare_dump() local
3777 path.dump(&wStream, force, dumpAsHex); in compare_dump()
3778 SkAutoDataUnref data(wStream.copyToData()); in compare_dump()
/external/skia/dm/
DDMSrcSink.cpp1186 SkDynamicMemoryWStream wStream; in draw() local
1187 pic->serialize(&wStream); in draw()
1188 SkAutoTDelete<SkStream> rStream(wStream.detachAsStream()); in draw()
/external/skia/src/core/
DSkPath.cpp2123 void SkPath::dump(SkWStream* wStream, bool forceClose, bool dumpAsHex) const { in dump() argument
2129 if (!wStream) { in dump()
2159 if (!wStream && builder.size()) { in dump()
2164 if (wStream) { in dump()
2165 wStream->writeText(builder.c_str()); in dump()