• Home
  • Raw
  • Download

Lines Matching refs:fWriter

31     , fWriter(storage, storageSize)  in SkBinaryWriteBuffer()
37 return fWriter.usingInitialStorage(); in usingInitialStorage()
41 fWriter.write32(SkToU32(size)); in writeByteArray()
42 fWriter.writePad(data, size); in writeByteArray()
46 fWriter.writeBool(value); in writeBool()
50 fWriter.writeScalar(value); in writeScalar()
54 fWriter.write32(count); in writeScalarArray()
55 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
59 fWriter.write32(value); in writeInt()
63 fWriter.write32(count); in writeIntArray()
64 fWriter.write(value, count * sizeof(int32_t)); in writeIntArray()
68 fWriter.write32(value); in writeUInt()
72 fWriter.writeString(value); in writeString()
76 fWriter.write32(color); in writeColor()
80 fWriter.write32(count); in writeColorArray()
81 fWriter.write(color, count * sizeof(SkColor)); in writeColorArray()
85 fWriter.write(&color, sizeof(SkColor4f)); in writeColor4f()
89 fWriter.write32(count); in writeColor4fArray()
90 fWriter.write(color, count * sizeof(SkColor4f)); in writeColor4fArray()
94 fWriter.writeScalar(point.fX); in writePoint()
95 fWriter.writeScalar(point.fY); in writePoint()
103 fWriter.write32(count); in writePointArray()
104 fWriter.write(point, count * sizeof(SkPoint)); in writePointArray()
108 fWriter.write(SkMatrixPriv::M44ColMajor(matrix), sizeof(float) * 16); in write()
112 fWriter.writeMatrix(matrix); in writeMatrix()
116 fWriter.write(&rect, sizeof(SkIRect)); in writeIRect()
120 fWriter.writeRect(rect); in writeRect()
124 fWriter.writeRegion(region); in writeRegion()
128 fWriter.writePath(path); in writePath()
132 fWriter.write32(SkToU32(length)); in writeStream()
133 size_t bytesWritten = fWriter.readFromStream(stream, length); in writeStream()
135 fWriter.reservePad(length - bytesWritten); in writeStream()
141 return fWriter.writeToStream(stream); in writeToStream()
182 fWriter.write32(0); in writeTypeface()
191 fWriter.write32(-ssize); // negative to signal custom in writeTypeface()
199 fWriter.write32(fTFSet ? fTFSet->add(obj) : 0); in writeTypeface()
255 (void)fWriter.reserve(sizeof(uint32_t)); in writeFlattenable()
257 size_t offset = fWriter.bytesWritten(); in writeFlattenable()
260 size_t objSize = fWriter.bytesWritten() - offset; in writeFlattenable()
262 fWriter.overwriteTAt(offset - sizeof(uint32_t), SkToU32(objSize)); in writeFlattenable()