Home
last modified time | relevance | path

Searched refs:fWriter (Results 1 – 19 of 19) sorted by relevance

/external/skia/tools/debugger/
DSkJsonWriteBuffer.cpp14 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()
[all …]
DSkJsonWriteBuffer.h21 , fWriter(writer) in SkJsonWriteBuffer()
56 SkJSONWriter* fWriter; variable
/external/skqp/tools/debugger/
DSkJsonWriteBuffer.cpp14 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()
[all …]
DSkJsonWriteBuffer.h21 , fWriter(writer) in SkJsonWriteBuffer()
56 SkJSONWriter* fWriter; variable
/external/skqp/src/core/
DSkWriteBuffer.cpp29 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
35 return fWriter.usingInitialStorage(); in usingInitialStorage()
39 fWriter.write32(SkToU32(size)); in writeByteArray()
40 fWriter.writePad(data, size); in writeByteArray()
44 fWriter.writeBool(value); in writeBool()
48 fWriter.writeScalar(value); in writeScalar()
52 fWriter.write32(count); in writeScalarArray()
53 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
57 fWriter.write32(value); in writeInt()
61 fWriter.write32(count); in writeIntArray()
[all …]
DSkPictureRecord.cpp49 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in willSave()
66 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in getSaveLayerStrategy()
79 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in onDoSaveBehind()
190 this->fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.bytesWritten()); in recordRestore()
235 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
244 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix()
272 uint32_t peek = fWriter.readTAt<uint32_t>(offset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
273 fWriter.overwriteTAt(offset, restoreOffset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
282 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
324 size_t offset = fWriter.bytesWritten(); in recordRestoreOffsetPlaceholder()
[all …]
DSkPictureRecord.h57 this->validate(fWriter.bytesWritten(), 0); in opData()
59 if (fWriter.bytesWritten() == 0) { in opData()
62 return fWriter.snapshotAsData(); in opData()
70 return fWriter; in writeStream()
101 size_t offset = fWriter.bytesWritten(); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
111 fWriter.writeInt(SkToU32(*size)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
120 fWriter.writeInt(value); in addInt()
123 fWriter.writeScalar(scalar); in addScalar()
[all …]
DSkWriteBuffer.h80 fWriter.write(buffer, bytes); in write()
83 fWriter.writePad(buffer, bytes); in writePad32()
87 fWriter.reset(storage, storageSize);
90 size_t bytesWritten() const { return fWriter.bytesWritten(); } in bytesWritten()
124 void writeToMemory(void* dst) const { fWriter.flatten(dst); } in writeToMemory()
133 SkWriter32 fWriter; variable
/external/skia/src/core/
DSkWriteBuffer.cpp29 , fWriter(storage, storageSize) in SkBinaryWriteBuffer()
35 return fWriter.usingInitialStorage(); in usingInitialStorage()
39 fWriter.write32(SkToU32(size)); in writeByteArray()
40 fWriter.writePad(data, size); in writeByteArray()
44 fWriter.writeBool(value); in writeBool()
48 fWriter.writeScalar(value); in writeScalar()
52 fWriter.write32(count); in writeScalarArray()
53 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
57 fWriter.write32(value); in writeInt()
61 fWriter.write32(count); in writeIntArray()
[all …]
DSkPictureRecord.cpp49 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in willSave()
66 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in getSaveLayerStrategy()
79 fRestoreOffsetStack.push_back(-(int32_t)fWriter.bytesWritten()); in onDoSaveBehind()
190 this->fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.bytesWritten()); in recordRestore()
235 this->validate(fWriter.bytesWritten(), 0); in recordConcat()
244 this->validate(fWriter.bytesWritten(), 0); in didSetMatrix()
272 uint32_t peek = fWriter.readTAt<uint32_t>(offset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
273 fWriter.overwriteTAt(offset, restoreOffset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
282 DrawType drawOp = peek_op_and_size(&fWriter, -offset, &opSize); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
324 size_t offset = fWriter.bytesWritten(); in recordRestoreOffsetPlaceholder()
[all …]
DSkPictureRecord.h57 this->validate(fWriter.bytesWritten(), 0); in opData()
59 if (fWriter.bytesWritten() == 0) { in opData()
62 return fWriter.snapshotAsData(); in opData()
70 return fWriter; in writeStream()
101 size_t offset = fWriter.bytesWritten(); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
111 fWriter.writeInt(SkToU32(*size)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
120 fWriter.writeInt(value); in addInt()
123 fWriter.writeScalar(scalar); in addScalar()
[all …]
DSkWriteBuffer.h80 fWriter.write(buffer, bytes); in write()
83 fWriter.writePad(buffer, bytes); in writePad32()
87 fWriter.reset(storage, storageSize);
90 size_t bytesWritten() const { return fWriter.bytesWritten(); } in bytesWritten()
124 void writeToMemory(void* dst) const { fWriter.flatten(dst); } in writeToMemory()
133 SkWriter32 fWriter; variable
/external/skia/modules/particles/include/
DSkParticleSerialization.h19 SkToJsonVisitor(SkJSONWriter& writer) : fWriter(writer) {} in SkToJsonVisitor()
23 fWriter.appendFloat(name, f); in visit()
26 fWriter.appendS32(name, i); in visit()
29 fWriter.appendBool(name, b); in visit()
32 fWriter.appendString(name, s.c_str()); in visit()
35 fWriter.appendString(name, EnumToString(i, map, count)); in visit()
40 fWriter.beginObject(name, false); in visit()
41 fWriter.appendFloat("x", p.fX); in visit()
42 fWriter.appendFloat("y", p.fY); in visit()
43 fWriter.endObject(); in visit()
[all …]
/external/skia/src/svg/
DSkSVGDevice.cpp188 : fWriter(writer) in AutoElement()
190 fWriter->startElement(name); in AutoElement()
198 : fWriter(writer.get()) in AutoElement()
206 fClipGroup.reset(new AutoElement("g", fWriter)); in AutoElement()
210 fWriter->startElement(name); in AutoElement()
220 fWriter->endElement(); in ~AutoElement()
224 fWriter->addAttribute(name, val); in addAttribute()
228 fWriter->addAttribute(name, val.c_str()); in addAttribute()
232 fWriter->addS32Attribute(name, val); in addAttribute()
236 fWriter->addScalarAttribute(name, val); in addAttribute()
[all …]
DSkSVGDevice.h54 std::unique_ptr<SkXMLWriter> fWriter; variable
/external/skqp/src/svg/
DSkSVGDevice.cpp188 : fWriter(writer) in AutoElement()
190 fWriter->startElement(name); in AutoElement()
195 : fWriter(writer) in AutoElement()
203 fClipGroup.reset(new AutoElement("g", fWriter)); in AutoElement()
207 fWriter->startElement(name); in AutoElement()
217 fWriter->endElement(); in ~AutoElement()
221 fWriter->addAttribute(name, val); in addAttribute()
225 fWriter->addAttribute(name, val.c_str()); in addAttribute()
229 fWriter->addS32Attribute(name, val); in addAttribute()
233 fWriter->addScalarAttribute(name, val); in addAttribute()
[all …]
DSkSVGDevice.h55 SkXMLWriter* fWriter; variable
/external/junit/src/main/java/junit/textui/
DResultPrinter.java15 PrintStream fWriter; field in ResultPrinter
19 fWriter = writer; in ResultPrinter()
103 return fWriter; in getWriter()
/external/dng_sdk/source/
Ddng_jpeg_image.cpp52 dng_image_writer &fWriter; member in dng_jpeg_image_encode_task
76 , fWriter (writer) in dng_jpeg_image_encode_task()
136 fWriter.WriteTile (fHost, in Process()