Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStream.cpp696 , fCurrentOffset(0) {} in SkBlockMemoryStream()
700 , fSize(size) , fOffset(0), fCurrentOffset(0) { } in SkBlockMemoryStream()
709 size_t bytesLeftInCurrent = fCurrent->written() - fCurrentOffset; in read()
712 memcpy(buffer, fCurrent->start() + fCurrentOffset, bytesFromCurrent); in read()
716 fCurrentOffset += bytesFromCurrent; in read()
722 fCurrentOffset = 0; in read()
740 size_t currentOffset = fCurrentOffset; in peek()
757 fCurrentOffset = 0; in rewind()
777 if (moveBackAmount <= fCurrentOffset) { in seek()
778 fCurrentOffset -= moveBackAmount; in seek()
[all …]