Lines Matching refs:fWriter
14 fWriter->appendName(fullName.c_str()); in append()
19 fWriter->beginArray(); in writePad32()
23 fWriter->appendString(hexByte.c_str()); in writePad32()
25 fWriter->endArray(); in writePad32()
30 fWriter->beginArray(); in writeByteArray()
34 fWriter->appendString(hexByte.c_str()); in writeByteArray()
36 fWriter->endArray(); in writeByteArray()
40 this->append("bool"); fWriter->appendBool(value); in writeBool()
44 this->append("scalar"); fWriter->appendFloat(value); in writeScalar()
49 fWriter->beginArray(); in writeScalarArray()
51 fWriter->appendFloat(value[i]); in writeScalarArray()
53 fWriter->endArray(); in writeScalarArray()
57 this->append("int"); fWriter->appendS32(value); in writeInt()
62 fWriter->beginArray(); in writeIntArray()
64 fWriter->appendS32(value[i]); in writeIntArray()
66 fWriter->endArray(); in writeIntArray()
70 this->append("uint"); fWriter->appendU32(value); in writeUInt()
74 this->append("string"); fWriter->appendString(value); in writeString()
80 fWriter->beginObject(); in writeFlattenable()
81 SkJsonWriteBuffer flattenableBuffer(fWriter, fUrlDataManager); in writeFlattenable()
83 fWriter->endObject(); in writeFlattenable()
85 this->append("flattenable"); fWriter->appendPointer(nullptr); in writeFlattenable()
90 this->append("color"); SkDrawCommand::MakeJsonColor(*fWriter, color); in writeColor()
95 fWriter->beginArray(); in writeColorArray()
97 SkDrawCommand::MakeJsonColor(*fWriter, color[i]); in writeColorArray()
99 fWriter->endArray(); in writeColorArray()
103 this->append("color"); SkDrawCommand::MakeJsonColor4f(*fWriter, color); in writeColor4f()
108 fWriter->beginArray(); in writeColor4fArray()
110 SkDrawCommand::MakeJsonColor4f(*fWriter, color[i]); in writeColor4fArray()
112 fWriter->endArray(); in writeColor4fArray()
116 this->append("point"); SkDrawCommand::MakeJsonPoint(*fWriter, point); in writePoint()
120 this->append("point3"); SkDrawCommand::MakeJsonPoint3(*fWriter, point); in writePoint3()
125 fWriter->beginArray(); in writePointArray()
127 SkDrawCommand::MakeJsonPoint(*fWriter, point[i]); in writePointArray()
129 fWriter->endArray(); in writePointArray()
133 this->append("matrix"); SkDrawCommand::MakeJsonMatrix(*fWriter, matrix); in writeMatrix()
137 this->append("irect"); SkDrawCommand::MakeJsonIRect(*fWriter, rect); in writeIRect()
141 this->append("rect"); SkDrawCommand::MakeJsonRect(*fWriter, rect); in writeRect()
145 this->append("region"); SkDrawCommand::MakeJsonRegion(*fWriter, region); in writeRegion()
149 this->append("path"); SkDrawCommand::MakeJsonPath(*fWriter, path); in writePath()
154 this->append("stream"); fWriter->appendU64(static_cast<uint64_t>(length)); in writeStream()
160 fWriter->beginObject(); in writeImage()
161 SkDrawCommand::flatten(*image, *fWriter, *fUrlDataManager); in writeImage()
162 fWriter->endObject(); in writeImage()
167 this->append("typeface"); fWriter->appendPointer(typeface); in writeTypeface()
171 this->append("paint"); SkDrawCommand::MakeJsonPaint(*fWriter, paint, *fUrlDataManager); in writePaint()