Home
last modified time | relevance | path

Searched refs:wstream (Results 1 – 18 of 18) sorted by relevance

/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp86 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 …]
DSkJSON.cpp897 SkDynamicMemoryWStream wstream; in toString() local
898 Write(*this, &wstream); in toString()
899 const auto data = wstream.detachAsData(); in toString()
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp86 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 …]
DSkJSON.cpp897 SkDynamicMemoryWStream wstream; in toString() local
898 Write(*this, &wstream); in toString()
899 const auto data = wstream.detachAsData(); in toString()
/external/skia/tests/
DCodecRecommendedTypeTest.cpp32 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()
DStreamTest.cpp154 SkDynamicMemoryWStream wstream; in TestPackedUInt() local
157 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt()
161 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
DSerializationTest.cpp651 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()
DPictureTest.cpp769 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/
DCodecRecommendedTypeTest.cpp32 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()
DStreamTest.cpp154 SkDynamicMemoryWStream wstream; in TestPackedUInt() local
157 bool success = wstream.writePackedUInt(sizes[i]); in TestPackedUInt()
161 std::unique_ptr<SkStreamAsset> rstream(wstream.detachAsStream()); in TestPackedUInt()
DSerializationTest.cpp642 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()
DPictureTest.cpp779 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/
DFuzzJSON.cpp14 SkDynamicMemoryWStream wstream; in FuzzJSON() local
15 dom.write(&wstream); in FuzzJSON()
/external/skia/fuzz/oss_fuzz/
DFuzzJSON.cpp14 SkDynamicMemoryWStream wstream; in FuzzJSON() local
15 dom.write(&wstream); in FuzzJSON()
/external/skqp/src/core/
DSkTypeface.cpp178 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/
DSkTypeface.cpp177 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/
DDMSrcSink.cpp2153 SkDynamicMemoryWStream wstream; in draw() local
2154 SkXMLStreamWriter writer(&wstream); in draw()
2159 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in draw()
/external/skqp/dm/
DDMSrcSink.cpp2059 SkDynamicMemoryWStream wstream; in draw() local
2060 SkXMLStreamWriter writer(&wstream); in draw()
2065 std::unique_ptr<SkStream> rstream(wstream.detachAsStream()); in draw()