Home
last modified time | relevance | path

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

12

/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()
Dtls_stream.h41 bool CanWrite() const override { return true; } in CanWrite() function
Dmock_stream.h21 MOCK_CONST_METHOD0(CanWrite, bool());
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
/external/protobuf/csharp/compatibility_tests/v3.0.0/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.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/Compatibility/
DTypeExtensions.cs69 …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/protobuf/csharp/src/Google.Protobuf/Reflection/
DSingleFieldAccessor.cs55 if (!property.CanWrite) in SingleFieldAccessor()
/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