Searched refs:NullStream (Results 1 - 6 of 6) sorted by relevance

/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
H A DCountingOutputStreamTest.java39 private static class NullStream extends OutputStream { class in class:CountingOutputStreamTest
82 // Integer.maxValue. Use a NullStream to avoid excessive memory usage and make the test fast.
83 stream = new CountingOutputStream(new NullStream());
/external/antlr/antlr-3.4/runtime/Python/
H A Dxmlrunner.py338 class NullStream(object): class in class:XMLTestRunnerTest
350 sys.stdout = XMLTestRunnerTest.NullStream()
362 sys.stderr = XMLTestRunnerTest.NullStream()
/external/webrtc/webrtc/base/
H A Dstream.cc295 // NullStream
298 NullStream::NullStream() { function in class:rtc::NullStream
301 NullStream::~NullStream() {
304 StreamState NullStream::GetState() const {
308 StreamResult NullStream::Read(void* buffer, size_t buffer_len,
314 StreamResult NullStream::Write(const void* data, size_t data_len,
320 void NullStream::Close() {
H A Dstream.h344 // NullStream gives errors on read, and silently discards all written data.
347 class NullStream : public StreamInterface { class in namespace:rtc
349 NullStream();
350 ~NullStream() override;
H A Dlogging_unittest.cc110 LogSinkImpl<NullStream> stream1, stream2, stream3;
H A Dhttpclient.cc480 output = new NullStream;

Completed in 104 milliseconds