/external/skqp/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 | SkPicture_none.cpp | 25 sk_sp<SkPicture> SkPicturePriv::MakeFromBuffer(SkReadBuffer& buffer) { in MakeFromBuffer() 69 SkPictureData* SkPictureData::CreateFromBuffer(SkReadBuffer& buffer, in CreateFromBuffer() 75 sk_sp<SkFlattenable> SkPictureShader::CreateProc(SkReadBuffer& buffer) { in CreateProc() 84 SkReadBuffer* buffer) {} in draw() 96 sk_sp<SkFlattenable> SkRecordedDrawable::CreateProc(SkReadBuffer& buffer) { in CreateProc() 101 sk_sp<SkFlattenable> SkPictureImageFilter::CreateProc(SkReadBuffer& buffer) { in CreateProc()
|
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 | 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 | SkPictureFlat.h | 147 template <typename T> T asValidEnum(SkReadBuffer* buffer, uint32_t candidate) { in asValidEnum() 156 static inline SkClipOp ClipParams_unpackRegionOp(SkReadBuffer* buffer, uint32_t packed) { in ClipParams_unpackRegionOp() 180 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer() 197 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer()
|
D | SkPictureData.cpp | 337 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() 367 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer() 370 static sk_sp<SkVertices> create_vertices_from_buffer(SkReadBuffer& buffer) { in create_vertices_from_buffer() 375 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer() 381 bool new_array_from_buffer(SkReadBuffer& buffer, uint32_t inCount, in new_array_from_buffer() 382 SkTArray<sk_sp<T>>& array, sk_sp<U> (*factory)(SkReadBuffer&)) { in new_array_from_buffer() argument 404 void SkPictureData::parseBufferTag(SkReadBuffer& buffer, uint32_t tag, uint32_t size) { in parseBufferTag() 482 SkPictureData* SkPictureData::CreateFromBuffer(SkReadBuffer& buffer, in CreateFromBuffer() 512 bool SkPictureData::parseBuffer(SkReadBuffer& buffer) { in parseBuffer()
|
D | SkPicturePriv.h | 13 class SkReadBuffer; variable 26 static sk_sp<SkPicture> MakeFromBuffer(SkReadBuffer& buffer);
|
D | SkReadBuffer.h | 31 class SkReadBuffer { 33 SkReadBuffer(); 34 SkReadBuffer(const void* data, size_t size); 239 class SkReadBuffer { 241 SkReadBuffer() {} in SkReadBuffer() function 242 SkReadBuffer(const void*, size_t) {} in SkReadBuffer() function
|
D | SkCanvasPriv.h | 13 class SkReadBuffer; variable 33 static bool ReadLattice(SkReadBuffer&, SkCanvas::Lattice*);
|
/external/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 | SkPictureFlat.h | 159 template <typename T> T asValidEnum(SkReadBuffer* buffer, uint32_t candidate) { in asValidEnum() 168 static inline SkClipOp ClipParams_unpackRegionOp(SkReadBuffer* buffer, uint32_t packed) { in ClipParams_unpackRegionOp() 192 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer() 209 void setupBuffer(SkReadBuffer& buffer) const { in setupBuffer()
|
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 | SkSamplingPriv.h | 13 class SkReadBuffer; variable 29 static SkSamplingOptions Read(SkReadBuffer&);
|
D | SkPaintPriv.h | 14 class SkReadBuffer; variable 68 static SkReadPaintResult Unflatten(SkPaint* paint, SkReadBuffer& buffer, SkFont* font);
|
/external/skia/include/core/ |
D | SkFlattenable.h | 14 class SkReadBuffer; variable 43 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 102 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \ 111 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
|
/external/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 …]
|
/external/skia/src/gpu/ |
D | GrPersistentCacheUtils.h | 15 class SkReadBuffer; variable 38 SkFourByteTag GetType(SkReadBuffer* reader); 40 bool UnpackCachedShaders(SkReadBuffer* reader,
|
/external/skqp/tests/ |
D | SerializationTest.cpp | 57 static void Read(SkReadBuffer& reader, T** flattenable) { in Read() 66 static void Read(SkReadBuffer& reader, SkMatrix* matrix) { in Read() 75 static void Read(SkReadBuffer& reader, SkPath* path) { in Read() 84 static void Read(SkReadBuffer& reader, SkRegion* region) { in Read() 93 static void Read(SkReadBuffer& reader, SkString* string) { in Read() 102 static bool Read(SkReadBuffer& reader, unsigned char* data, uint32_t arraySize) { in Read() 111 static bool Read(SkReadBuffer& reader, SkColor* data, uint32_t arraySize) { in Read() 120 static bool Read(SkReadBuffer& reader, SkColor4f* data, uint32_t arraySize) { in Read() 129 static bool Read(SkReadBuffer& reader, int32_t* data, uint32_t arraySize) { in Read() 138 static bool Read(SkReadBuffer& reader, SkPoint* data, uint32_t arraySize) { in Read() [all …]
|
/external/skqp/include/core/ |
D | SkFlattenable.h | 14 class SkReadBuffer; variable 43 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 101 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
|
/external/skqp/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()
|
/external/skia/fuzz/oss_fuzz/ |
D | FuzzTextBlobDeserialize.cpp | 16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize() 37 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|
D | FuzzPathDeserialize.cpp | 14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize() 43 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
|