/external/skqp/src/utils/ |
D | SkWhitelistTypefaces.cpp | 86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { in serialize_sub() argument 93 desc.serialize(wstream); in serialize_sub() 114 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) { in serialize_full() argument 123 desc.serialize(wstream); in serialize_full() 126 static void serialize_name_only(const SkTypeface* tf, SkWStream* wstream) { in serialize_name_only() argument 152 desc.serialize(wstream); in serialize_name_only() 155 void WhitelistSerializeTypeface(const SkTypeface* tf, SkWStream* wstream) { in WhitelistSerializeTypeface() argument 157 serialize_name_only(tf, wstream); in WhitelistSerializeTypeface() 162 serialize_full(tf, wstream); in WhitelistSerializeTypeface() 170 serialize_full(tf, wstream); in WhitelistSerializeTypeface() [all …]
|
D | SkJSON.cpp | 897 SkDynamicMemoryWStream wstream; in toString() local 898 Write(*this, &wstream); in toString() 899 const auto data = wstream.detachAsData(); in toString()
|
/external/skia/src/utils/ |
D | SkWhitelistTypefaces.cpp | 86 static void serialize_sub(const char* fontName, SkFontStyle style, SkWStream* wstream) { in serialize_sub() argument 93 desc.serialize(wstream); in serialize_sub() 114 static void serialize_full(const SkTypeface* tf, SkWStream* wstream) { in serialize_full() argument 123 desc.serialize(wstream); in serialize_full() 126 static void serialize_name_only(const SkTypeface* tf, SkWStream* wstream) { in serialize_name_only() argument 152 desc.serialize(wstream); in serialize_name_only() 155 void WhitelistSerializeTypeface(const SkTypeface* tf, SkWStream* wstream) { in WhitelistSerializeTypeface() argument 157 serialize_name_only(tf, wstream); in WhitelistSerializeTypeface() 162 serialize_full(tf, wstream); in WhitelistSerializeTypeface() 170 serialize_full(tf, wstream); in WhitelistSerializeTypeface() [all …]
|
D | SkJSON.cpp | 897 SkDynamicMemoryWStream wstream; in toString() local 898 Write(*this, &wstream); in toString() 899 const auto data = wstream.detachAsData(); in toString()
|
/external/skia/tests/ |
D | CodecRecommendedTypeTest.cpp | 32 SkDynamicMemoryWStream wstream; in DEF_TEST() local 33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST() 34 auto data = wstream.detachAsData(); in DEF_TEST()
|
D | StreamTest.cpp | 154 SkDynamicMemoryWStream wstream; in TestPackedUInt() local 157 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt() 161 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
|
D | SerializationTest.cpp | 651 SkDynamicMemoryWStream wstream; in copy_picture_via_serialization() local 652 src->serialize(&wstream); in copy_picture_via_serialization() 653 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in copy_picture_via_serialization()
|
D | PictureTest.cpp | 769 SkDynamicMemoryWStream wstream; in DEF_TEST() local 770 picture->serialize(&wstream); in DEF_TEST() 772 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in DEF_TEST()
|
/external/skqp/tests/ |
D | CodecRecommendedTypeTest.cpp | 32 SkDynamicMemoryWStream wstream; in DEF_TEST() local 33 REPORTER_ASSERT(r, SkEncodeImage(&wstream, bm, SkEncodedImageFormat::kPNG, 100)); in DEF_TEST() 34 auto data = wstream.detachAsData(); in DEF_TEST()
|
D | StreamTest.cpp | 154 SkDynamicMemoryWStream wstream; in TestPackedUInt() local 157 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt() 161 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
|
D | SerializationTest.cpp | 642 SkDynamicMemoryWStream wstream; in copy_picture_via_serialization() local 643 src->serialize(&wstream); in copy_picture_via_serialization() 644 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in copy_picture_via_serialization()
|
D | PictureTest.cpp | 779 SkDynamicMemoryWStream wstream; in DEF_TEST() local 780 picture->serialize(&wstream); in DEF_TEST() 782 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in DEF_TEST()
|
/external/skqp/fuzz/oss_fuzz/ |
D | FuzzJSON.cpp | 14 SkDynamicMemoryWStream wstream; in FuzzJSON() local 15 dom.write(&wstream); in FuzzJSON()
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzJSON.cpp | 14 SkDynamicMemoryWStream wstream; in FuzzJSON() local 15 dom.write(&wstream); in FuzzJSON()
|
/external/skqp/src/core/ |
D | SkTypeface.cpp | 178 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize() argument 180 (*gSerializeTypefaceDelegate)(this, wstream); in serialize() 204 desc.serialize(wstream); in serialize()
|
/external/skia/src/core/ |
D | SkTypeface.cpp | 177 void SkTypeface::serialize(SkWStream* wstream, SerializeBehavior behavior) const { in serialize() argument 179 (*gSerializeTypefaceDelegate)(this, wstream); in serialize() 200 desc.serialize(wstream); in serialize()
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 2153 SkDynamicMemoryWStream wstream; in draw() local 2154 SkXMLStreamWriter writer(&wstream); in draw() 2159 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in draw()
|
/external/skqp/dm/ |
D | DMSrcSink.cpp | 2059 SkDynamicMemoryWStream wstream; in draw() local 2060 SkXMLStreamWriter writer(&wstream); in draw() 2065 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in draw()
|