Searched refs:bytesFromCurrent (Results 1 – 2 of 2) sorted by relevance
704 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read() local706 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()