Lines Matching refs:test_read
20 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() function
69 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 2); in test_incremental_buffering()
74 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 4); in test_incremental_buffering()
77 test_read(reporter, bufferedStream.get(), gAbcs + bufferSize / 4, bufferSize / 2); in test_incremental_buffering()
82 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize << 1); in test_incremental_buffering()
97 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_perfectly_sized_buffer()
103 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_perfectly_sized_buffer()
106 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), 1); in test_perfectly_sized_buffer()
121 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize / 4); in test_skipping()
127 test_read(reporter, bufferedStream.get(), gAbcs + memStream->getPosition(), bufferSize / 4); in test_skipping()
130 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_skipping()
172 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize + 1); in test_read_beyond_buffer()
176 test_read(reporter, bufferedStream.get(), gAbcs, bufferSize); in test_read_beyond_buffer()
245 test_read(reporter, bufferedStream.get(), gAbcs + arbitraryOffset + currentPosition, in test_initial_offset()