Lines Matching refs:fBufferOffset
417 fBufferOffset = bufferSize; // to trigger a reload on the first read()
440 fBufferOffset = fBufferSize = fOrigBufferSize;
468 size_t remaining = fBufferSize - fBufferOffset;
470 fBufferOffset += size;
476 fBufferOffset = fOrigBufferSize;
484 if (fBufferOffset < fBufferSize)
486 if (s > fBufferSize - fBufferOffset)
487 s = fBufferSize - fBufferOffset;
488 memcpy(buffer, fBuffer + fBufferOffset, s);
493 fBufferOffset += s;
501 SkASSERT(fBufferOffset >= fBufferSize); // need to refill our fBuffer
520 fBufferOffset = size;