Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStream.cpp691 , fSize(size) , fOffset(0), fCurrentOffset(0) { } in SkBlockMemoryStream()
695 , fSize(size) , fOffset(0), fCurrentOffset(0) { } in SkBlockMemoryStream()
704 size_t bytesLeftInCurrent = fCurrent->written() - fCurrentOffset; in read()
707 memcpy(buffer, fCurrent->start() + fCurrentOffset, bytesFromCurrent); in read()
711 fCurrentOffset += bytesFromCurrent; in read()
717 fCurrentOffset = 0; in read()
730 fCurrentOffset = 0; in rewind()
750 if (moveBackAmount <= fCurrentOffset) { in seek()
751 fCurrentOffset -= moveBackAmount; in seek()
767 that->fCurrentOffset = this->fCurrentOffset; in fork()
[all …]