Lines Matching refs:SkStream
16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read()
27 SkStream* bufferedStream, bool shouldSucceed) { in test_rewind()
37 const SkStream& bufferedStream, in test_hasLength()
38 const SkStream& streamBeingBuffered) { in test_hasLength()
59 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_incremental_buffering()
86 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_perfectly_sized_buffer()
105 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_skipping()
159 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_read_beyond_buffer()
172 class LengthOptionalStream : public SkStream {
206 std::unique_ptr<SkStream> buffered(SkFrontBufferedStream::Create(stream, bufferSize)); in test_length_combos()
220 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_initial_offset()
262 class FailingStream : public SkStream {