Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkStream.cpp704 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read() local
706 memcpy(buffer, fCurrent->start() + fCurrentOffset, bytesFromCurrent); in read()
707 buffer = SkTAddOffset<void>(buffer, bytesFromCurrent); in read()
709 if (bytesLeftToRead <= bytesFromCurrent) { in read()
710 fCurrentOffset += bytesFromCurrent; in read()
714 bytesLeftToRead -= bytesFromCurrent; in read()
/external/chromium_org/third_party/skia/src/core/
DSkStream.cpp704 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read() local
706 memcpy(buffer, fCurrent->start() + fCurrentOffset, bytesFromCurrent); in read()
707 buffer = SkTAddOffset<void>(buffer, bytesFromCurrent); in read()
709 if (bytesLeftToRead <= bytesFromCurrent) { in read()
710 fCurrentOffset += bytesFromCurrent; in read()
714 bytesLeftToRead -= bytesFromCurrent; in read()