Home
last modified time | relevance | path

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

12

/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()
218 TEST_F(FileStreamTest, CanWrite) { in TEST_F() argument
220 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
222 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
224 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
226 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
724 EXPECT_FALSE(stream->CanWrite()); in TEST_F()
750 EXPECT_TRUE(stream->CanWrite()); in TEST_F()
779 EXPECT_TRUE(stream->CanWrite()); in TEST_F()
813 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()
387 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
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()
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
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
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs395 Assert.IsTrue(memoryStream.CanWrite); in Dispose_DisposesUnderlyingStream()
402 Assert.IsFalse(memoryStream.CanWrite); // Disposed in Dispose_DisposesUnderlyingStream()
409 Assert.IsTrue(memoryStream.CanWrite); in Dispose_WithLeaveOpen()
416 Assert.IsTrue(memoryStream.CanWrite); // We left the stream open in Dispose_WithLeaveOpen()
/external/protobuf/csharp/src/Google.Protobuf/
DLimitedInputStream.cs64 public override bool CanWrite property in Google.Protobuf.LimitedInputStream
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs54 if (!property.CanWrite) in SingleFieldAccessor()
/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.txt23 public override bool CanWrite{get{return false;}}
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.h304 bool CanWrite; member
306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
DCoderMixer2.cpp353 c2.CanWrite = (s != NULL); in AddCoder()
665 if (EncodeMode ? !coder.CanWrite : !coder.CanRead) in SelectMainCoder()
681 if (EncodeMode ? !coder.CanRead : !coder.CanWrite) in SelectMainCoder()
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs212 public override bool CanWrite{get{return false;}} property in Org.Brotli.Dec.BrotliInputStream
/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

12