Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkOrderedWriteBuffer.cpp21 , fWriter(minSize) in SkOrderedWriteBuffer()
31 , fWriter(minSize, storage, storageSize) in SkOrderedWriteBuffer()
45 fWriter.write32(size); in writeByteArray()
46 fWriter.writePad(data, size); in writeByteArray()
50 fWriter.writeBool(value); in writeBool()
54 fWriter.write32(value); in writeFixed()
58 fWriter.writeScalar(value); in writeScalar()
62 fWriter.write32(count); in writeScalarArray()
63 fWriter.write(value, count * sizeof(SkScalar)); in writeScalarArray()
67 fWriter.write32(value); in writeInt()
[all …]
DSkPictureRecord.cpp31 fWriter(MIN_WRITER_SIZE), in SkPictureRecord()
67 fRestoreOffsetStack.push(-(int32_t)fWriter.size()); in save()
80 fRestoreOffsetStack.push(-(int32_t)fWriter.size()); in saveLayer()
229 if (!collapseSaveClipRestore(&fWriter, fRestoreOffsetStack.top())) { in restore()
230 fillRestoreOffsetPlaceholdersForCurrentStackLevel((uint32_t)fWriter.size()); in restore()
307 uint32_t* peek = fWriter.peek32(offset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
314 uint32_t drawOp = *fWriter.peek32(-offset); in fillRestoreOffsetPlaceholdersForCurrentStackLevel()
344 size_t offset = fWriter.size(); in recordRestoreOffsetPlaceholder()
432 fWriter.writeMul4(pts, count * sizeof(SkPoint)); in drawPoints()
606 size_t start = fWriter.size(); in drawPosText()
[all …]
DSkOrderedWriteBuffer.h36 SkWriter32* getWriter32() { return &fWriter; } in getWriter32()
38 void writeToMemory(void* dst) { fWriter.flatten(dst); } in writeToMemory()
39 uint32_t* reserve(size_t size) { return fWriter.reserve(size); } in reserve()
40 uint32_t size() { return fWriter.size(); } in size()
99 SkWriter32 fWriter; variable
DSkPictureRecord.h90 return fWriter; in writeStream()
113 fWriter.writeInt(drawType); in addDraw()
116 fWriter.writeInt(value); in addInt()
119 fWriter.writeScalar(scalar); in addScalar()
193 SkWriter32 fWriter; variable
/external/skia/legacy/src/pipe/
DSkGPipeWrite.cpp135 SkWriter32& fWriter; member in SkGPipeCanvas
145 fWriter.write32(DrawOp_packOpFlagData(op, flags, data)); in writeOp()
149 fWriter.write32(DrawOp_packOpFlagData(op, 0, 0)); in writeOp()
156 size_t bytes = fWriter.size() - fBytesNotified; in doNotify()
224 fWriter.write(copy->data(), len); in flattenToIndex()
236 : fWriter(*writer) { in SkGPipeCanvas()
264 if (fWriter.size() + needed > fBlockSize) { in needOpBytes()
270 fWriter.reset(block, fBlockSize); in needOpBytes()
285 writeTypeface(&fWriter, face); in getTypefaceID()
323 fWriter.writeRect(*bounds); in saveLayer()
[all …]
/external/skia/src/pipe/
DSkGPipeWrite.cpp270 SkWriter32& fWriter; member in SkGPipeCanvas
281 fWriter.write32(DrawOp_packOpFlagData(op, flags, data)); in writeOp()
285 fWriter.write32(DrawOp_packOpFlagData(op, 0, 0)); in writeOp()
292 size_t bytes = fWriter.size() - fBytesNotified; in doNotify()
335 fWriter.writeString(name, len); in flattenFactoryNames()
349 void* dst = static_cast<void*>(fWriter.reserve(size)); in shuttleBitmap()
377 fWriter.write(flat->data(), flatSize); in flattenToIndex()
414 , fWriter(*writer) in SkGPipeCanvas()
446 fWriter.writePtr(static_cast<void*>(fBitmapHeap)); in SkGPipeCanvas()
465 if (fWriter.size() + needed > fBlockSize) { in needOpBytes()
[all …]
/external/skia/legacy/src/core/
DSkPictureRecord.cpp15 fHeap(HEAP_BLOCK_SIZE), fWriter(MIN_WRITER_SIZE), fRecordFlags(flags) { in SkPictureRecord()
81 uint32_t restoreOffset = (uint32_t)fWriter.size(); in restore()
84 uint32_t* peek = fWriter.peek32(offset); in restore()
171 uint32_t* peek = fWriter.peek32(offset); in recordOffsetForRestore()
177 size_t offset = fWriter.size(); in recordOffsetForRestore()
238 fWriter.writeMul4(pts, count * sizeof(SkPoint)); in drawPoints()
376 size_t start = fWriter.size(); in drawPosText()
383 SkScalar* xptr = (SkScalar*)fWriter.reserve(points * sizeof(SkScalar)); in drawPosText()
388 fWriter.writeMul4(pos, points * sizeof(SkPoint)); in drawPosText()
394 fPointBytes += fWriter.size() - start; in drawPosText()
[all …]
DSkPictureRecord.h91 return fWriter; in writeStream()
105 fWriter.writeInt(drawType); in addDraw()
108 fWriter.writeInt(value); in addInt()
111 fWriter.writeScalar(scalar); in addScalar()
182 SkWriter32 fWriter; variable
/external/junit/src/org/junit/internal/
DTextListener.java14 private final PrintStream fWriter; field in TextListener
21 this.fWriter= writer; in TextListener()
33 fWriter.append('.'); in testStarted()
38 fWriter.append('E'); in testFailure()
43 fWriter.append('I'); in testIgnored()
51 return fWriter; in getWriter()
/external/junit/src/junit/textui/
DResultPrinter.java18 PrintStream fWriter; field in ResultPrinter
22 fWriter= writer; in ResultPrinter()
111 return fWriter; in getWriter()
/external/skia/legacy/include/xml/
DSkBML_WXMLParser.h37 SkWStream& fWriter; variable
/external/skia/include/xml/
DSkBML_WXMLParser.h37 SkWStream& fWriter; variable
/external/skia/legacy/include/pipe/
DSkGPipe.h92 SkWriter32 fWriter; variable
/external/skia/include/pipe/
DSkGPipe.h158 SkWriter32 fWriter; variable