/third_party/skia/src/core/ |
D | SkReadBuffer.cpp | 39 void SkReadBuffer::setMemory(const void* data, size_t size) { in setMemory() 47 void SkReadBuffer::setInvalid() { in setInvalid() 55 const void* SkReadBuffer::skip(size_t size) { in skip() 68 const void* SkReadBuffer::skip(size_t count, size_t size) { in skip() 72 void SkReadBuffer::setDeserialProcs(const SkDeserialProcs& procs) { in setDeserialProcs() 76 bool SkReadBuffer::readBool() { in readBool() 83 SkColor SkReadBuffer::readColor() { in readColor() 87 int32_t SkReadBuffer::readInt() { in readInt() 97 SkScalar SkReadBuffer::readScalar() { in readScalar() 107 uint32_t SkReadBuffer::readUInt() { in readUInt() [all …]
|
D | SkPictureData.h | 28 class SkReadBuffer; variable 71 T* read_index_base_1_or_null(SkReadBuffer* reader, const SkTArray<sk_sp<T>>& array) { in read_index_base_1_or_null() 84 static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&); 96 bool parseBuffer(SkReadBuffer& buffer); 99 const SkImage* getImage(SkReadBuffer* reader) const { in getImage() 105 const SkPath& getPath(SkReadBuffer* reader) const { in getPath() 111 const SkPicture* getPicture(SkReadBuffer* reader) const { in getPicture() 115 SkDrawable* getDrawable(SkReadBuffer* reader) const { in getDrawable() 120 const SkPaint* optionalPaint(SkReadBuffer* reader) const; 124 const SkPaint& requiredPaint(SkReadBuffer* reader) const; [all …]
|
D | SkPictureData.cpp | 346 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() 376 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer() 380 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer() 386 bool new_array_from_buffer(SkReadBuffer& buffer, uint32_t inCount, in new_array_from_buffer() 387 SkTArray<sk_sp<T>>& array, sk_sp<U> (*factory)(SkReadBuffer&)) { in new_array_from_buffer() argument 409 void SkPictureData::parseBufferTag(SkReadBuffer& buffer, uint32_t tag, uint32_t size) { in parseBufferTag() 487 SkPictureData* SkPictureData::CreateFromBuffer(SkReadBuffer& buffer, in CreateFromBuffer() 517 bool SkPictureData::parseBuffer(SkReadBuffer& buffer) { in parseBuffer() 535 const SkPaint* SkPictureData::optionalPaint(SkReadBuffer* reader) const { in optionalPaint() 544 const SkPaint& SkPictureData::requiredPaint(SkReadBuffer* reader) const { in requiredPaint()
|
D | SkPictureFlat.h | 165 static inline SkRegion::Op ClipParams_unpackRegionOp(SkReadBuffer* buffer, uint32_t packed) { in ClipParams_unpackRegionOp() 195 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer() 212 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer()
|
D | SkPaintPriv.h | 13 class SkReadBuffer; variable 51 static SkPaint Unflatten(SkReadBuffer& buffer);
|
D | SkSamplingPriv.h | 13 class SkReadBuffer; variable 46 static SkSamplingOptions Read(SkReadBuffer&);
|
/third_party/flutter/skia/src/core/ |
D | SkReadBuffer.cpp | 42 SkReadBuffer::SkReadBuffer() { in SkReadBuffer() function in SkReadBuffer 52 SkReadBuffer::SkReadBuffer(const void* data, size_t size) { in SkReadBuffer() function in SkReadBuffer 63 void SkReadBuffer::setMemory(const void* data, size_t size) { in setMemory() 69 void SkReadBuffer::setInvalid() { in setInvalid() 77 const void* SkReadBuffer::skip(size_t size) { in skip() 90 const void* SkReadBuffer::skip(size_t count, size_t size) { in skip() 94 void SkReadBuffer::setDeserialProcs(const SkDeserialProcs& procs) { in setDeserialProcs() 98 bool SkReadBuffer::readBool() { in readBool() 105 SkColor SkReadBuffer::readColor() { in readColor() 109 int32_t SkReadBuffer::readInt() { in readInt() [all …]
|
D | SkPictureData.h | 29 class SkReadBuffer; variable 72 T* read_index_base_1_or_null(SkReadBuffer* reader, const SkTArray<sk_sp<T>>& array) { in read_index_base_1_or_null() 85 static SkPictureData* CreateFromBuffer(SkReadBuffer&, const SkPictInfo&); 97 bool parseBuffer(SkReadBuffer& buffer); 100 const SkImage* getImage(SkReadBuffer* reader) const { in getImage() 106 const SkPath& getPath(SkReadBuffer* reader) const { in getPath() 112 const SkPicture* getPicture(SkReadBuffer* reader) const { in getPicture() 116 SkDrawable* getDrawable(SkReadBuffer* reader) const { in getDrawable() 120 const SkPaint* getPaint(SkReadBuffer* reader) const { in getPaint() 129 const SkTextBlob* getTextBlob(SkReadBuffer* reader) const { in getTextBlob() [all …]
|
D | SkPaintPriv.h | 14 class SkReadBuffer; variable 68 static SkReadPaintResult Unflatten(SkPaint* paint, SkReadBuffer& buffer, SkFont* font); 71 static SkReadPaintResult Unflatten_PreV68(SkPaint* paint, SkReadBuffer& buffer, SkFont*);
|
D | SkPictureFlat.h | 149 template <typename T> T asValidEnum(SkReadBuffer* buffer, uint32_t candidate) { in asValidEnum() 158 static inline SkClipOp ClipParams_unpackRegionOp(SkReadBuffer* buffer, uint32_t packed) { in ClipParams_unpackRegionOp() 182 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer() 199 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer()
|
D | SkPicturePlayback.h | 26 void draw(SkCanvas* canvas, SkPicture::AbortCallback*, SkReadBuffer* buffer); 40 void handleOp(SkReadBuffer* reader, 46 static DrawType ReadOpAndSize(SkReadBuffer* reader, uint32_t* size);
|
D | SkPictureData.cpp | 345 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() 375 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer() 378 static sk_sp<SkVertices> create_vertices_from_buffer(SkReadBuffer& buffer) { in create_vertices_from_buffer() 383 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer() 389 bool new_array_from_buffer(SkReadBuffer& buffer, uint32_t inCount, in new_array_from_buffer() 390 SkTArray<sk_sp<T>>& array, sk_sp<U> (*factory)(SkReadBuffer&)) { in new_array_from_buffer() argument 412 void SkPictureData::parseBufferTag(SkReadBuffer& buffer, uint32_t tag, uint32_t size) { in parseBufferTag() 490 SkPictureData* SkPictureData::CreateFromBuffer(SkReadBuffer& buffer, in CreateFromBuffer() 520 bool SkPictureData::parseBuffer(SkReadBuffer& buffer) { in parseBuffer()
|
D | SkReadBuffer.h | 32 class SkReadBuffer { 34 SkReadBuffer(); 35 SkReadBuffer(const void* data, size_t size); 225 class SkReadBuffer { 227 SkReadBuffer() {} in SkReadBuffer() function 228 SkReadBuffer(const void*, size_t) {} in SkReadBuffer() function
|
/third_party/skia/tests/ |
D | SerializationTest.cpp | 55 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 64 static void Read(SkReadBuffer& reader, SkMatrix* matrix) { in Read() 73 static void Read(SkReadBuffer& reader, SkPath* path) { in Read() 82 static void Read(SkReadBuffer& reader, SkRegion* region) { in Read() 91 static void Read(SkReadBuffer& reader, SkString* string) { in Read() 100 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read() 109 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read() 118 static bool Read(SkReadBuffer& reader, SkColor4f* data, uint32_t arraySize) { in Read() 127 static bool Read(SkReadBuffer& reader, int32_t* data, uint32_t arraySize) { in Read() 136 static bool Read(SkReadBuffer& reader, SkPoint* data, uint32_t arraySize) { in Read() [all …]
|
D | FlattenDrawableTest.cpp | 35 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 73 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 108 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 161 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 221 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST() 280 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 56 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 65 static void Read(SkReadBuffer& reader, SkMatrix* matrix) { in Read() 74 static void Read(SkReadBuffer& reader, SkPath* path) { in Read() 83 static void Read(SkReadBuffer& reader, SkRegion* region) { in Read() 92 static void Read(SkReadBuffer& reader, SkString* string) { in Read() 101 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read() 110 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read() 119 static bool Read(SkReadBuffer& reader, SkColor4f* data, uint32_t arraySize) { in Read() 128 static bool Read(SkReadBuffer& reader, int32_t* data, uint32_t arraySize) { in Read() 137 static bool Read(SkReadBuffer& reader, SkPoint* data, uint32_t arraySize) { in Read() [all …]
|
D | FlattenDrawableTest.cpp | 34 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 72 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 109 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 162 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer& buffer) { in CreateProc() 222 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST() 281 SkReadBuffer readBuffer(data->data(), data->size()); in DEF_TEST()
|
/third_party/skia/include/core/ |
D | SkFlattenable.h | 14 class SkReadBuffer; variable 39 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 98 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \ 107 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
|
/third_party/skia/src/gpu/ |
D | GrPersistentCacheUtils.h | 15 class SkReadBuffer; variable 38 SkFourByteTag GetType(SkReadBuffer* reader); 40 bool UnpackCachedShaders(SkReadBuffer* reader,
|
/third_party/flutter/skia/include/core/ |
D | SkFlattenable.h | 14 class SkReadBuffer; variable 43 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 101 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
|
/third_party/flutter/skia/src/shaders/ |
D | SkComposeShader.h | 28 SkShader_Blend(SkReadBuffer&); 58 SkShader_Lerp(SkReadBuffer&); 87 SkShader_LerpRed(SkReadBuffer&);
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkGradientShaderPriv.h | 21 class SkReadBuffer; variable 47 bool unflatten(SkReadBuffer&); 72 SkGradientShaderBase(SkReadBuffer& );
|
/third_party/flutter/skia/fuzz/oss_fuzz/ |
D | FuzzTextBlobDeserialize.cpp | 16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize() 33 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|
D | FuzzPathDeserialize.cpp | 14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize() 42 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|
/third_party/skia/fuzz/oss_fuzz/ |
D | FuzzTextBlobDeserialize.cpp | 16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize() 37 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|