Searched refs:fStreamBuffer (Results 1 – 3 of 3) sorted by relevance
134 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize); in initializeStreamBuffer()149 uint8_t* buffer = fStreamBuffer; in checkForMoreData()381 const uint8_t flag = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()382 const uint8_t task = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()401 const uint8_t dx = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()402 const uint8_t dy = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()450 uint8_t val = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()464 y, fStreamBuffer[fCurrRLEByte++]); in decodeRLE()469 uint8_t blue = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()470 uint8_t green = fStreamBuffer[fCurrRLEByte++]; in decodeRLE()[all …]
243 return fStreamBuffer.bytesWritten(); in getLength()256 return this->bufferMoreData(sum) && fStreamBuffer.read(data, offset, length); in read()261 if (offset > fStreamBuffer.bytesWritten()) { in transferBuffer()263 const size_t skipLength = offset - fStreamBuffer.bytesWritten(); in transferBuffer()272 const size_t alreadyBuffered = SkTMin(fStreamBuffer.bytesWritten() - offset, size); in transferBuffer()274 !fStreamBuffer.read(data->writable_data(), offset, alreadyBuffered)) { in transferBuffer()303 return SkStreamCopy(&fStreamBuffer, fStream.get()); in bufferMoreData()306 if (newSize <= fStreamBuffer.bytesWritten()) { // already buffered to newSize in bufferMoreData()315 const size_t sizeRequested = newSize - fStreamBuffer.bytesWritten(); in bufferMoreData()322 return fStreamBuffer.write(tempBuffer.get(), bytesRead); in bufferMoreData()[all …]
104 uint8_t fStreamBuffer[kBufferSize]; variable