/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzImageFilterDeserialize.cpp | 25 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in FuzzImageFilterDeserialize() local 27 if (flattenable != nullptr) { in FuzzImageFilterDeserialize() 30 paint.setImageFilter(flattenable); in FuzzImageFilterDeserialize()
|
/third_party/flutter/skia/fuzz/oss_fuzz/ |
D | FuzzImageFilterDeserialize.cpp | 24 auto flattenable = SkImageFilter::Deserialize(bytes->data(), bytes->size()); in FuzzImageFilterDeserialize() local 26 if (flattenable != nullptr) { in FuzzImageFilterDeserialize() 29 paint.setImageFilter(flattenable); in FuzzImageFilterDeserialize()
|
/third_party/flutter/skia/tools/ |
D | chrome_fuzz.cpp | 35 sk_sp<SkImageFilter> flattenable = SkValidatingDeserializeImageFilter(testdata.c_str(), in run_test_case() local 39 if (flattenable != nullptr) { in run_test_case() 43 paint.setImageFilter(flattenable); in run_test_case()
|
/third_party/skia/tools/ |
D | chrome_fuzz.cpp | 35 sk_sp<SkImageFilter> flattenable = SkValidatingDeserializeImageFilter(testdata.c_str(), in run_test_case() local 39 if (flattenable != nullptr) { in run_test_case() 43 paint.setImageFilter(flattenable); in run_test_case()
|
/third_party/flutter/skia/src/core/ |
D | SkWriteBuffer.cpp | 204 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 205 if (nullptr == flattenable) { in writeFlattenable() 222 SkFlattenable::Factory factory = flattenable->getFactory(); in writeFlattenable() 239 const char* name = flattenable->getTypeName(); in writeFlattenable() 256 flattenable->flatten(*this); in writeFlattenable()
|
D | SkWriteBuffer.h | 44 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 105 void writeFlattenable(const SkFlattenable* flattenable) override;
|
/third_party/skia/src/core/ |
D | SkWriteBuffer.cpp | 214 void SkBinaryWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 215 if (nullptr == flattenable) { in writeFlattenable() 232 if (SkFlattenable::Factory factory = flattenable->getFactory(); factory && fFactorySet) { in writeFlattenable() 235 const char* name = flattenable->getTypeName(); in writeFlattenable() 259 flattenable->flatten(*this); in writeFlattenable()
|
D | SkWriteBuffer.h | 50 virtual void writeFlattenable(const SkFlattenable* flattenable) = 0; 112 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | SkRuntimeEffect.cpp | 190 buffer.writeFlattenable(child.flattenable()); in write_child_effects()
|
/third_party/flutter/skia/tools/debugger/ |
D | JsonWriteBuffer.cpp | 82 void JsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 83 if (flattenable) { in writeFlattenable() 84 this->append(flattenable->getTypeName()); in writeFlattenable() 87 flattenable->flatten(flattenableBuffer); in writeFlattenable()
|
D | JsonWriteBuffer.h | 32 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | DrawCommand.cpp | 643 void DrawCommand::flatten(const SkFlattenable* flattenable, in flatten() argument 647 flattenable->flatten(buffer); in flatten() 652 writer.appendString(DEBUGCANVAS_ATTRIBUTE_NAME, flattenable->getTypeName()); in flatten() 657 flattenable->flatten(jsonBuffer); in flatten() 919 SkFlattenable* flattenable, in apply_flattenable() argument 922 if (flattenable != nullptr) { in apply_flattenable() 924 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
|
D | DrawCommand.h | 105 static void flatten(const SkFlattenable* flattenable,
|
/third_party/skia/tools/debugger/ |
D | JsonWriteBuffer.cpp | 82 void JsonWriteBuffer::writeFlattenable(const SkFlattenable* flattenable) { in writeFlattenable() argument 83 if (flattenable) { in writeFlattenable() 84 this->append(flattenable->getTypeName()); in writeFlattenable() 87 flattenable->flatten(flattenableBuffer); in writeFlattenable()
|
D | JsonWriteBuffer.h | 32 void writeFlattenable(const SkFlattenable* flattenable) override;
|
D | DrawCommand.cpp | 605 void DrawCommand::flatten(const SkFlattenable* flattenable, in flatten() argument 609 flattenable->flatten(buffer); in flatten() 614 writer.appendString(DEBUGCANVAS_ATTRIBUTE_NAME, flattenable->getTypeName()); in flatten() 619 flattenable->flatten(jsonBuffer); in flatten() 892 SkFlattenable* flattenable, in apply_flattenable() argument 895 if (flattenable != nullptr) { in apply_flattenable() 897 DrawCommand::flatten(flattenable, writer, urlDataManager); in apply_flattenable()
|
D | DrawCommand.h | 110 static void flatten(const SkFlattenable* flattenable,
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 53 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write() 54 writer.writeFlattenable(flattenable); in Write() 56 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 57 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 52 static void Write(SkWriteBuffer& writer, const T* flattenable) { in Write() 53 writer.writeFlattenable(flattenable); in Write() 55 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 56 *flattenable = (T*)reader.readFlattenable(T::GetFlattenableType()); in Read()
|
/third_party/skia/include/effects/ |
D | SkRuntimeEffect.h | 179 SkFlattenable* flattenable() const { return fChild.get(); } in flattenable() function
|