Home
last modified time | relevance | path

Searched refs:SkReadBuffer (Results 1 – 25 of 239) sorted by relevance

12345678910

/third_party/flutter/skia/src/core/
DSkReadBuffer.cpp42 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 …]
DSkPictureData.h29 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 …]
DSkPaintPriv.h14 class SkReadBuffer; variable
68 static SkReadPaintResult Unflatten(SkPaint* paint, SkReadBuffer& buffer, SkFont* font);
71 static SkReadPaintResult Unflatten_PreV68(SkPaint* paint, SkReadBuffer& buffer, SkFont*);
DSkPicturePlayback.h26 void draw(SkCanvas* canvas, SkPicture::AbortCallback*, SkReadBuffer* buffer);
40 void handleOp(SkReadBuffer* reader,
46 static DrawType ReadOpAndSize(SkReadBuffer* reader, uint32_t* size);
DSkPictureFlat.h149 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()
DSkPictureData.cpp345 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()
DSkReadBuffer.h32 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
DSkPicturePriv.h13 class SkReadBuffer; variable
26 static sk_sp<SkPicture> MakeFromBuffer(SkReadBuffer& buffer);
/third_party/skia/src/core/
DSkReadBuffer.cpp39 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 …]
DSkPictureData.h28 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 …]
DSkPictureData.cpp346 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()
DSkPaintPriv.h13 class SkReadBuffer; variable
51 static SkPaint Unflatten(SkReadBuffer& buffer);
DSkSamplingPriv.h13 class SkReadBuffer; variable
46 static SkSamplingOptions Read(SkReadBuffer&);
DSkPicturePriv.h13 class SkReadBuffer; variable
26 static sk_sp<SkPicture> MakeFromBuffer(SkReadBuffer& buffer);
/third_party/skia/include/core/
DSkFlattenable.h14 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/tests/
DSerializationTest.cpp55 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 …]
/third_party/skia/src/gpu/
DGrPersistentCacheUtils.h15 class SkReadBuffer; variable
38 SkFourByteTag GetType(SkReadBuffer* reader);
40 bool UnpackCachedShaders(SkReadBuffer* reader,
/third_party/flutter/skia/tests/
DSerializationTest.cpp56 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 …]
/third_party/flutter/skia/include/core/
DSkFlattenable.h14 class SkReadBuffer; variable
43 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
101 static sk_sp<SkFlattenable> CreateProc(SkReadBuffer&); \
/third_party/flutter/skia/src/shaders/
DSkComposeShader.h28 SkShader_Blend(SkReadBuffer&);
58 SkShader_Lerp(SkReadBuffer&);
87 SkShader_LerpRed(SkReadBuffer&);
/third_party/flutter/skia/fuzz/oss_fuzz/
DFuzzTextBlobDeserialize.cpp16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize()
33 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
DFuzzPathDeserialize.cpp14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize()
42 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
/third_party/skia/fuzz/oss_fuzz/
DFuzzTextBlobDeserialize.cpp16 void FuzzTextBlobDeserialize(SkReadBuffer& buf) { in FuzzTextBlobDeserialize()
37 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
DFuzzPathDeserialize.cpp14 void FuzzPathDeserialize(SkReadBuffer& buf) { in FuzzPathDeserialize()
43 SkReadBuffer buf(data, size); in LLVMFuzzerTestOneInput()
/third_party/flutter/skia/src/shaders/gradients/
DSkGradientShaderPriv.h21 class SkReadBuffer; variable
47 bool unflatten(SkReadBuffer&);
72 SkGradientShaderBase(SkReadBuffer& );

12345678910