Home
last modified time | relevance | path

Searched refs:CanWrite (Results 1 – 18 of 18) sorted by relevance

/external/zlib/src/contrib/dotzlib/DotZLib/
DGZipStream.cs103 public override bool CanWrite property in DotZLib.GZipStream
201 if (!CanWrite) throw new NotSupportedException(); in Write()
228 if (!CanWrite) throw new NotSupportedException(); in WriteByte()
/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc64 EXPECT_TRUE(stream->CanWrite()); in TestCreateFile()
209 TEST_F(FileStreamTest, CanWrite) { in TEST_F() argument
211 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
213 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
215 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
217 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
719 EXPECT_FALSE(stream->CanWrite()); in TEST_F()
745 EXPECT_TRUE(stream->CanWrite()); in TEST_F()
774 EXPECT_TRUE(stream->CanWrite()); in TEST_F()
808 EXPECT_TRUE(stream->CanWrite()); in TEST_F()
[all …]
Dfake_stream.cc166 bool FakeStream::CanWrite() const { in CanWrite() function in brillo::FakeStream
266 if (!CanWrite()) in WriteNonBlocking()
328 if (!CanWrite()) in FlushBlocking()
364 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForData()
388 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
Dmock_stream.h21 MOCK_CONST_METHOD0(CanWrite, bool());
Dtls_stream.h41 bool CanWrite() const override { return true; } in CanWrite() function
Dinput_stream_set.h63 bool CanWrite() const override { return false; } in CanWrite() function
Dmemory_stream_unittest.cc82 TEST_F(MemoryStreamTest, CanWrite) { in TEST_F() argument
87 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
88 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
Dfake_stream_unittest.cc72 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
84 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
96 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
Dfile_stream.h98 bool CanWrite() const override;
Dfake_stream.h85 bool CanWrite() const override;
Dmemory_stream.h146 bool CanWrite() const override;
Dstream.h119 virtual bool CanWrite() const = 0;
Dinput_stream_set_unittest.cc49 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
Dmemory_stream.cc88 bool MemoryStream::CanWrite() const { in CanWrite() function in brillo::MemoryStream
Dfile_stream.cc361 bool FileStream::CanWrite() const { in CanWrite() function in brillo::FileStream
Dstream_unittest.cc38 MOCK_CONST_METHOD0(CanWrite, bool());
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs15 public override bool CanWrite { get { return false; }} property in SevenZip.CDoubleStream
DLzmaBench.cs128 public override bool CanWrite { get { return true; } } property in SevenZip.LzmaBench.CrcOutStream