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