Searched refs:fCopy (Results 1 – 4 of 4) sorted by relevance
/external/skia/legacy/src/core/ |
D | SkStream.cpp | 586 : 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/ |
D | SkStream.cpp | 627 : 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/ |
D | SkStream.h | 313 mutable SkData* fCopy; // is invalidated if we write after it is created variable
|
/external/skia/include/core/ |
D | SkStream.h | 359 mutable SkData* fCopy; // is invalidated if we write after it is created variable
|