Home
last modified time | relevance | path

Searched refs:CanRead (Results 1 – 25 of 31) sorted by relevance

12

/external/zlib/src/contrib/dotzlib/DotZLib/
DGZipStream.cs80 public override bool CanRead property in DotZLib.GZipStream
156 if (!CanRead) throw new NotSupportedException(); in Read()
183 if (!CanRead) throw new NotSupportedException(); in ReadByte()
/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc63 EXPECT_TRUE(stream->CanRead()); in TestCreateFile()
207 TEST_F(FileStreamTest, CanRead) { in TEST_F() argument
209 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
211 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
213 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
215 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
723 EXPECT_TRUE(stream->CanRead()); in TEST_F()
749 EXPECT_FALSE(stream->CanRead()); in TEST_F()
778 EXPECT_TRUE(stream->CanRead()); in TEST_F()
812 EXPECT_TRUE(stream->CanRead()); in TEST_F()
[all …]
Dfake_stream.cc162 bool FakeStream::CanRead() const { in CanRead() function in brillo::FakeStream
202 if (!CanRead()) in ReadNonBlocking()
364 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForData()
387 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
Dmock_stream.h20 MOCK_CONST_METHOD0(CanRead, bool());
Dtls_stream.h40 bool CanRead() const override { return true; } in CanRead() function
Dinput_stream_set.h62 bool CanRead() const override { return true; } in CanRead() function
Dfake_stream_unittest.cc71 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
83 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
95 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
Dfile_stream.h97 bool CanRead() const override;
Dfake_stream.h84 bool CanRead() const override;
Dmemory_stream.h145 bool CanRead() const override;
Dstream.h111 virtual bool CanRead() const = 0;
Dinput_stream_set.cc36 if (!src_stream->CanRead()) { in Create()
Dmemory_stream_unittest.cc78 TEST_F(MemoryStreamTest, CanRead) { in TEST_F() argument
79 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
Dinput_stream_set_unittest.cc48 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
Dmemory_stream.cc86 bool MemoryStream::CanRead() const { return IsOpen(); } in CanRead() function in brillo::MemoryStream
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs580 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream()
584 Assert.IsFalse(memoryStream.CanRead); // Disposed in Dispose_DisposesUnderlyingStream()
591 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen()
595 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
/external/protobuf/csharp/src/Google.Protobuf/
DLimitedInputStream.cs54 public override bool CanRead property in Google.Protobuf.LimitedInputStream
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DOneofAccessor.cs50 if (!caseProperty.CanRead) in OneofAccessor()
/external/protobuf/csharp/src/Google.Protobuf/Compatibility/
DTypeExtensions.cs77 …if (ret != null && ((ret.CanRead && ret.GetMethod.IsPublic) || (ret.CanWrite && ret.SetMethod.IsPu… in GetProperty()
/external/brotli/csharp/
Dinjected_code.txt2 public override bool CanRead {
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.h303 bool CanRead; member
306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
DCoderMixer2.cpp348 c2.CanRead = (s != NULL); in AddCoder()
665 if (EncodeMode ? !coder.CanWrite : !coder.CanRead) in SelectMainCoder()
681 if (EncodeMode ? !coder.CanRead : !coder.CanWrite) in SelectMainCoder()
/external/dng_sdk/source/
Ddng_read_image.h96 virtual bool CanRead (const dng_ifd &ifd);
Ddng_ifd.h286 virtual bool CanRead () const;
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs191 public override bool CanRead { property in Org.Brotli.Dec.BrotliInputStream

12