Home
last modified time | relevance | path

Searched refs:fBytesWritten (Results 1 – 12 of 12) sorted by relevance

/external/skia/experimental/DrawingBoard/
DSkNetPipeController.cpp11 fBlockSize = fBytesWritten = 0; in SkNetPipeController()
23 return sockfd->writePacket(fBlock, fBytesWritten, type); in writeToSocket()
33 fBytesWritten = 0; in requestBlock()
39 SkASSERT(fBytesWritten + bytes <= fBlockSize); in notifyWritten()
42 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); in notifyWritten()
46 fBytesWritten += bytes; in notifyWritten()
DSkNetPipeController.h30 size_t fBytesWritten; variable
/external/skia/src/pipe/utils/
DSamplePipeControllers.cpp18 fBlockSize = fBytesWritten = 0; in PipeController()
30 fBytesWritten = 0; in requestBlock()
38 fBytesWritten += bytes; in notifyWritten()
89 fBytesWritten = 0; in ThreadSafePipeController()
95 PipeBlock previousBloc(fBlock, fBytesWritten); in requestBlock()
100 fBytesWritten = 0; in requestBlock()
106 fBytesWritten += bytes; in notifyWritten()
116 reader.playback(fBlock, fBytesWritten); in draw()
DSamplePipeControllers.h24 const void* getData() { return (const char*) fBlock + fBytesWritten; } in getData()
29 size_t fBytesWritten; variable
83 size_t fBytesWritten; variable
/external/skia/experimental/tools/
DSkDmuxWStream.cpp11 : fWStreams(streamArray, static_cast<int>(count)), fBytesWritten(0) {} in SkDmuxWStream()
25 fBytesWritten += size; in write()
33 fBytesWritten += 1; // This may be a lie. in newline()
42 size_t SkDmuxWStream::bytesWritten() const { return fBytesWritten; } in bytesWritten()
Dmultipage_pdf_profiler.cpp32 NullWStream() : fBytesWritten(0) { in NullWStream()
35 fBytesWritten += size; in write()
39 return fBytesWritten; in bytesWritten()
41 size_t fBytesWritten; member in __anon2e2509b90111::NullWStream
DSkDmuxWStream.h29 size_t fBytesWritten; variable
/external/skia/include/core/
DSkStream.h386 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten()
391 size_t fBytesWritten; variable
404 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten()
409 size_t getOffset() const { return fBytesWritten; } in getOffset()
431 size_t fBytesWritten; variable
446 SkDebugWStream() : fBytesWritten(0) {} in SkDebugWStream()
452 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten()
455 size_t fBytesWritten;
/external/skia/src/core/
DSkStream.cpp475 : fBuffer((char*)buffer), fMaxLength(size), fBytesWritten(0) in SkMemoryWStream()
480 size = SkTMin(size, fMaxLength - fBytesWritten); in write()
482 memcpy(fBuffer + fBytesWritten, buffer, size); in write()
483 fBytesWritten += size; in write()
520 : fHead(NULL), fTail(NULL), fBytesWritten(0), fCopy(NULL) in SkDynamicMemoryWStream()
541 fBytesWritten = 0; in reset()
549 fBytesWritten += count; in write()
578 if (offset + count > fBytesWritten) { in write()
603 if (offset + count > fBytesWritten) in read()
625 memcpy(dst, fCopy->data(), fBytesWritten); in copyTo()
[all …]
/external/skia/tools/
Drender_pdfs_main.cpp100 NullWStream() : fBytesWritten(0) { } in NullWStream()
102 fBytesWritten += size; in write()
105 size_t bytesWritten() const override { return fBytesWritten; } in bytesWritten()
106 size_t fBytesWritten; member in __anonea6d51c90111::NullWStream
/external/skia/src/utils/
DSkDeferredCanvas.cpp102 size_t fBytesWritten; member in DeferredPipeController
111 fBytesWritten = 0; in DeferredPipeController()
125 PipeBlock previousBloc(fBlock, fBytesWritten); in requestBlock()
130 fBytesWritten = 0; in requestBlock()
136 fBytesWritten += bytes; in notifyWritten()
148 fReader.playback(fBlock, fBytesWritten, flags); in playback()
/external/skia/samplecode/
DSampleApp.cpp2068 size_t fBytesWritten; member in SimplePC
2077 fBlockSize = fBytesWritten = 0; in SimplePC()
2093 fwrite((const char*)fBlock + fBytesWritten, 1, bytes, f); in ~SimplePC()
2111 fBytesWritten = 0; in requestBlock()
2117 SkASSERT(fBytesWritten + bytes <= fBlockSize); in notifyWritten()
2118 fStatus = fReader.playback((const char*)fBlock + fBytesWritten, bytes); in notifyWritten()
2120 fBytesWritten += bytes; in notifyWritten()