Home
last modified time | relevance | path

Searched refs:NullStream (Results 1 – 9 of 9) sorted by relevance

/external/libtextclassifier/utils/base/
Dlogging.h96 class NullStream {
98 NullStream() {} in NullStream() function
99 NullStream &stream() { return *this; } in stream()
102 inline NullStream &operator<<(NullStream &str, const T &) {
130 #define TC3_NULLSTREAM ::libtextclassifier3::logging::NullStream().stream()
/external/libtextclassifier/lang_id/common/lite_base/
Dcompact-logging.h96 class NullStream {
98 NullStream() {} in NullStream() function
99 NullStream &stream() { return *this; } in stream()
102 inline NullStream &operator<<(NullStream &str, const T &) {
132 ::libtextclassifier3::mobile::internal_logging::NullStream().stream()
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DCountingOutputStreamTest.java39 private static class NullStream extends OutputStream { class in CountingOutputStreamTest
83 stream = new CountingOutputStream(new NullStream()); in testGetNumBytesWritten_PastIntegerMaxValue()
/external/webrtc/webrtc/base/
Dstream.cc298 NullStream::NullStream() { in NullStream() function in rtc::NullStream
301 NullStream::~NullStream() { in ~NullStream()
304 StreamState NullStream::GetState() const { in GetState()
308 StreamResult NullStream::Read(void* buffer, size_t buffer_len, in Read()
314 StreamResult NullStream::Write(const void* data, size_t data_len, in Write()
320 void NullStream::Close() { in Close()
Dstream.h347 class NullStream : public StreamInterface {
349 NullStream();
350 ~NullStream() override;
Dlogging_unittest.cc110 LogSinkImpl<NullStream> stream1, stream2, stream3; in TEST()
Dhttpclient.cc480 output = new NullStream; in BeginCacheFile()
/external/antlr/runtime/Python/
Dxmlrunner.py338 class NullStream(object): class in XMLTestRunnerTest
350 sys.stdout = XMLTestRunnerTest.NullStream()
362 sys.stderr = XMLTestRunnerTest.NullStream()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCAsmStreamer.cpp53 raw_null_ostream NullStream; member in __anonc25664460111::MCAsmStreamer
72 (asmbackend) ? asmbackend->createObjectWriter(NullStream) in MCAsmStreamer()