Home
last modified time | relevance | path

Searched refs:fCopy (Results 1 – 4 of 4) sorted by relevance

/external/skia/legacy/src/core/
DSkStream.cpp586 : fHead(NULL), fTail(NULL), fBytesWritten(0), fCopy(NULL) in SkDynamicMemoryWStream()
690 if (fCopy) { in copyTo()
691 memcpy(dst, fCopy->data(), fBytesWritten); in copyTo()
715 if (NULL == fCopy) { in copyToData()
718 fCopy = SkData::NewFromMalloc(buffer, fBytesWritten); in copyToData()
720 fCopy->ref(); in copyToData()
721 return fCopy; in copyToData()
725 if (fCopy) { in invalidateCopy()
726 fCopy->unref(); in invalidateCopy()
727 fCopy = NULL; in invalidateCopy()
/external/skia/src/core/
DSkStream.cpp627 : fHead(NULL), fTail(NULL), fBytesWritten(0), fCopy(NULL) in SkDynamicMemoryWStream()
731 if (fCopy) { in copyTo()
732 memcpy(dst, fCopy->data(), fBytesWritten); in copyTo()
756 if (NULL == fCopy) { in copyToData()
759 fCopy = SkData::NewFromMalloc(buffer, fBytesWritten); in copyToData()
761 fCopy->ref(); in copyToData()
762 return fCopy; in copyToData()
766 if (fCopy) { in invalidateCopy()
767 fCopy->unref(); in invalidateCopy()
768 fCopy = NULL; in invalidateCopy()
/external/skia/legacy/include/core/
DSkStream.h313 mutable SkData* fCopy; // is invalidated if we write after it is created variable
/external/skia/include/core/
DSkStream.h359 mutable SkData* fCopy; // is invalidated if we write after it is created variable