Lines Matching refs:fBytesWritten
475 : 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()
647 int padBytes = -(int)fBytesWritten & 0x03; in padToAlign4()
656 SkData* data = SkData::NewUninitialized(fBytesWritten); in copyToData()
796 SkBlockMemoryStream* stream = SkNEW_ARGS(SkBlockMemoryStream, (fHead, fBytesWritten)); in detachAsStream()
808 fBytesWritten++; in newline()
820 fBytesWritten += size; in write()