Lines Matching refs:fBufferedSoFar
41 size_t fBufferedSoFar;
50 // than fBufferedSoFar.
54 // NULL. Updates fOffset and fBufferedSoFar. Assumes that fOffset is
55 // less than fBufferedSoFar, and size is greater than 0.
78 , fBufferedSoFar(0)
83 if (fOffset < fBufferedSoFar) {
102 SkASSERT(fOffset < fBufferedSoFar);
106 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset);
114 SkASSERT(fOffset <= fBufferedSoFar);
121 SkASSERT(fOffset >= fBufferedSoFar);
124 const size_t bytesToBuffer = SkTMin(size, fBufferSize - fBufferedSoFar);
128 fBufferedSoFar += buffered;
129 fOffset = fBufferedSoFar;
130 SkASSERT(fBufferedSoFar <= fBufferSize);
143 SkASSERT(fBufferSize == fBufferedSoFar && fOffset >= fBufferSize);
164 if (fOffset < fBufferedSoFar) {
178 if (size > 0 && fBufferedSoFar < fBufferSize) {