Home
last modified time | relevance | path

Searched refs:bufferedStream (Results 1 – 11 of 11) sorted by relevance

/external/skia/tests/
DFrontBufferedStreamTest.cpp16 static void test_read(skiatest::Reporter* reporter, SkStream* bufferedStream, in test_read() argument
21 const size_t bytesRead = bufferedStream->read(storage.get(), bytesToRead); in test_read()
22 REPORTER_ASSERT(reporter, bytesRead == bytesToRead || bufferedStream->isAtEnd()); in test_read()
27 SkStream* bufferedStream, bool shouldSucceed) { in test_rewind() argument
28 const bool success = bufferedStream->rewind(); in test_rewind()
37 const SkStream& bufferedStream, in test_hasLength() argument
40 REPORTER_ASSERT(reporter, bufferedStream.hasLength()); in test_hasLength()
42 REPORTER_ASSERT(reporter, !bufferedStream.hasLength()); in test_hasLength()
59 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(memStream, bufferSize)); in test_incremental_buffering() local
60 test_hasLength(reporter, *bufferedStream, *memStream); in test_incremental_buffering()
[all …]
DStreamTest.cpp232 std::unique_ptr<SkStream> bufferedStream(SkFrontBufferedStream::Create(dupe, bufferSize)); in test_peeking_front_buffered_stream() local
233 REPORTER_ASSERT(r, bufferedStream != nullptr); in test_peeking_front_buffered_stream()
236 for (size_t i = 1; !bufferedStream->isAtEnd(); i++) { in test_peeking_front_buffered_stream()
237 const size_t unpeekableBytes = compare_peek_to_read(r, bufferedStream.get(), i); in test_peeking_front_buffered_stream()
252 bufferedStream.reset(SkFrontBufferedStream::Create(original.duplicate(), bufferSize)); in test_peeking_front_buffered_stream()
253 REPORTER_ASSERT(r, bufferedStream != nullptr); in test_peeking_front_buffered_stream()
261 REPORTER_ASSERT(r, bufferedStream->skip(start) == start); in test_peeking_front_buffered_stream()
263 const size_t bytesPeeked = bufferedStream->peek(peekStorage.get(), bytesToPeek); in test_peeking_front_buffered_stream()
271 const size_t bytesRead = bufferedStream->read(readStorage.get(), bytesPeeked); in test_peeking_front_buffered_stream()
276 REPORTER_ASSERT(r, bufferedStream->rewind()); in test_peeking_front_buffered_stream()
DCodecTest.cpp451 SkStream* bufferedStream = SkFrontBufferedStream::Create( in check() local
453 REPORTER_ASSERT(r, bufferedStream); in check()
454 codec.reset(SkCodec::NewFromStream(bufferedStream)); in check()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/tools/
DExecFileLoader.java114 final OutputStream bufferedStream = new BufferedOutputStream(fileStream); in save() local
116 save(bufferedStream); in save()
118 bufferedStream.close(); in save()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.simpleconfigurator_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/v3/runtime/
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...