Lines Matching refs:size_t

15     FrontBufferedStream(SkStream*, size_t bufferSize);
17 size_t read(void* buffer, size_t size) override;
19 size_t peek(void* buffer, size_t size) const override;
27 size_t getLength() const override { return fLength; } in getLength()
34 const size_t fLength;
36 size_t fOffset;
39 size_t fBufferedSoFar;
41 const size_t fBufferSize;
49 size_t readFromBuffer(char* dst, size_t size);
54 size_t bufferAndWriteTo(char* dst, size_t size);
59 size_t readDirectlyFromStream(char* dst, size_t size);
64 SkStreamRewindable* SkFrontBufferedStream::Create(SkStream* stream, size_t bufferSize) { in Create()
71 FrontBufferedStream::FrontBufferedStream(SkStream* stream, size_t bufferSize) in FrontBufferedStream()
99 size_t FrontBufferedStream::readFromBuffer(char* dst, size_t size) { in readFromBuffer()
104 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset); in readFromBuffer()
117 size_t FrontBufferedStream::bufferAndWriteTo(char* dst, size_t size) { in bufferAndWriteTo()
123 const size_t bytesToBuffer = SkTMin(size, fBufferSize - fBufferedSoFar); in bufferAndWriteTo()
125 const size_t buffered = fStream->read(buffer, bytesToBuffer); in bufferAndWriteTo()
139 size_t FrontBufferedStream::readDirectlyFromStream(char* dst, size_t size) { in readDirectlyFromStream()
144 const size_t bytesReadDirectly = fStream->read(dst, size); in readDirectlyFromStream()
156 size_t FrontBufferedStream::peek(void* dst, size_t size) const { in peek()
158 const size_t start = fOffset; in peek()
167 const size_t bytesRead = nonConstThis->read(dst, size); in peek()
172 size_t FrontBufferedStream::read(void* voidDst, size_t size) { in read()
175 SkDEBUGCODE(const size_t totalSize = size;) in read()
176 const size_t start = fOffset; in read()
180 const size_t bytesCopied = this->readFromBuffer(dst, size); in read()
194 const size_t buffered = this->bufferAndWriteTo(dst, size); in read()
206 SkDEBUGCODE(const size_t bytesReadDirectly =) this->readDirectlyFromStream(dst, size); in read()