Home | History | Annotate | Download | only in tests

Lines Matching refs:bufferedStream

238     SkAutoTDelete<SkStream> bufferedStream(SkFrontBufferedStream::Create(dupe, bufferSize));
239 REPORTER_ASSERT(r, bufferedStream != nullptr);
242 for (size_t i = 1; !bufferedStream->isAtEnd(); i++) {
243 const size_t unpeekableBytes = compare_peek_to_read(r, bufferedStream, i);
258 bufferedStream.reset(SkFrontBufferedStream::Create(original.duplicate(), bufferSize));
259 REPORTER_ASSERT(r, bufferedStream != nullptr);
267 REPORTER_ASSERT(r, bufferedStream->skip(start) == start);
269 const size_t bytesPeeked = bufferedStream->peek(peekStorage.get(), bytesToPeek);
277 const size_t bytesRead = bufferedStream->read(readStorage.get(), bytesPeeked);
282 REPORTER_ASSERT(r, bufferedStream->rewind());