Searched refs:CanWrite (Results 1 – 18 of 18) sorted by relevance
103 public override bool CanWrite property in DotZLib.GZipStream201 if (!CanWrite) throw new NotSupportedException(); in Write()228 if (!CanWrite) throw new NotSupportedException(); in WriteByte()
64 EXPECT_TRUE(stream->CanWrite()); in TestCreateFile()209 TEST_F(FileStreamTest, CanWrite) { in TEST_F() argument211 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 …]
166 bool FakeStream::CanWrite() const { in CanWrite() function in brillo::FakeStream266 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()
21 MOCK_CONST_METHOD0(CanWrite, bool());
41 bool CanWrite() const override { return true; } in CanWrite() function
63 bool CanWrite() const override { return false; } in CanWrite() function
82 TEST_F(MemoryStreamTest, CanWrite) { in TEST_F() argument87 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()88 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
72 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()84 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()96 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
98 bool CanWrite() const override;
85 bool CanWrite() const override;
146 bool CanWrite() const override;
119 virtual bool CanWrite() const = 0;
49 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
88 bool MemoryStream::CanWrite() const { in CanWrite() function in brillo::MemoryStream
361 bool FileStream::CanWrite() const { in CanWrite() function in brillo::FileStream
38 MOCK_CONST_METHOD0(CanWrite, bool());
15 public override bool CanWrite { get { return false; }} property in SevenZip.CDoubleStream
128 public override bool CanWrite { get { return true; } } property in SevenZip.LzmaBench.CrcOutStream