Searched refs:fBytesBuffered (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/codec/ |
D | SkStreamBuffer.cpp | 13 , fBytesBuffered(0) in SkStreamBuffer() 23 SkASSERT(fBytesBuffered >= 1); in get() 24 if (fHasLengthAndPosition && fTrulyBuffered < fBytesBuffered) { in get() 25 const size_t bytesToBuffer = fBytesBuffered - fTrulyBuffered; in get() 32 fTrulyBuffered = fBytesBuffered; in get() 42 if (totalBytesToBuffer <= fBytesBuffered) { in buffer() 48 fBytesBuffered = SkTMin(remaining, totalBytesToBuffer); in buffer() 50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer() 51 const size_t bytesBuffered = fStream->read(fBuffer + fBytesBuffered, extraBytes); in buffer() 52 fBytesBuffered += bytesBuffered; in buffer() [all …]
|
D | SkStreamBuffer.h | 59 if (fTrulyBuffered < fBytesBuffered) { in flush() 60 fStream->move(fBytesBuffered - fTrulyBuffered); in flush() 64 fPosition += fBytesBuffered; in flush() 65 fBytesBuffered = 0; in flush() 95 size_t fBytesBuffered; variable
|
D | SkBmpRLECodec.cpp | 27 , fBytesBuffered(0) in SkBmpRLECodec() 127 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize); in initializeStreamBuffer() 128 if (fBytesBuffered == 0) { in initializeStreamBuffer() 141 const size_t remainingBytes = fBytesBuffered - fCurrRLEByte; in checkForMoreData() 161 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData() 162 return fBytesBuffered; in checkForMoreData() 360 if ((int) fBytesBuffered - fCurrRLEByte < 2) { in decodeRLE() 384 if ((int) fBytesBuffered - fCurrRLEByte < 2) { in decodeRLE() 428 if ((int) fBytesBuffered - fCurrRLEByte < alignedRowBytes) { in decodeRLE() 438 SkASSERT(fCurrRLEByte < fBytesBuffered); in decodeRLE() [all …]
|
D | SkBmpRLECodec.h | 106 size_t fBytesBuffered; variable
|
/external/skia/src/codec/ |
D | SkStreamBuffer.cpp | 13 , fBytesBuffered(0) in SkStreamBuffer() 23 SkASSERT(fBytesBuffered >= 1); in get() 24 if (fHasLengthAndPosition && fTrulyBuffered < fBytesBuffered) { in get() 25 const size_t bytesToBuffer = fBytesBuffered - fTrulyBuffered; in get() 32 fTrulyBuffered = fBytesBuffered; in get() 42 if (totalBytesToBuffer <= fBytesBuffered) { in buffer() 48 fBytesBuffered = std::min(remaining, totalBytesToBuffer); in buffer() 50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer() 51 const size_t bytesBuffered = fStream->read(fBuffer + fBytesBuffered, extraBytes); in buffer() 52 fBytesBuffered += bytesBuffered; in buffer() [all …]
|
D | SkStreamBuffer.h | 59 if (fTrulyBuffered < fBytesBuffered) { in flush() 60 fStream->move(fBytesBuffered - fTrulyBuffered); in flush() 64 fPosition += fBytesBuffered; in flush() 65 fBytesBuffered = 0; in flush() 95 size_t fBytesBuffered; variable
|
D | SkBmpRLECodec.cpp | 27 , fBytesBuffered(0) in SkBmpRLECodec() 127 fBytesBuffered = this->stream()->read(fStreamBuffer, kBufferSize); in initializeStreamBuffer() 128 if (fBytesBuffered == 0) { in initializeStreamBuffer() 141 const size_t remainingBytes = fBytesBuffered - fCurrRLEByte; in checkForMoreData() 161 fBytesBuffered = remainingBytes + additionalBytes; in checkForMoreData() 162 return fBytesBuffered; in checkForMoreData() 360 if ((int) fBytesBuffered - fCurrRLEByte < 2) { in decodeRLE() 384 if ((int) fBytesBuffered - fCurrRLEByte < 2) { in decodeRLE() 428 if ((int) fBytesBuffered - fCurrRLEByte < alignedRowBytes) { in decodeRLE() 438 SkASSERT(fCurrRLEByte < fBytesBuffered); in decodeRLE() [all …]
|
D | SkBmpRLECodec.h | 106 size_t fBytesBuffered; variable
|