/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 64 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 …]
|
D | fake_stream.cc | 166 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()
|
D | tls_stream.h | 41 bool CanWrite() const override { return true; } in CanWrite() function
|
D | mock_stream.h | 21 MOCK_CONST_METHOD0(CanWrite, bool());
|
D | input_stream_set.h | 63 bool CanWrite() const override { return false; } in CanWrite() function
|
D | memory_stream_unittest.cc | 82 TEST_F(MemoryStreamTest, CanWrite) { in TEST_F() argument 87 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 88 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
|
D | fake_stream_unittest.cc | 72 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 84 EXPECT_TRUE(stream_->CanWrite()); in TEST_F() 96 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
|
D | file_stream.h | 98 bool CanWrite() const override;
|
D | fake_stream.h | 85 bool CanWrite() const override;
|
D | memory_stream.h | 146 bool CanWrite() const override;
|
D | stream.h | 119 virtual bool CanWrite() const = 0;
|
D | input_stream_set_unittest.cc | 49 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
|
D | memory_stream.cc | 88 bool MemoryStream::CanWrite() const { in CanWrite() function in brillo::MemoryStream
|
D | file_stream.cc | 361 bool FileStream::CanWrite() const { in CanWrite() function in brillo::FileStream
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | CodedOutputStreamTest.cs | 395 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/ |
D | CodedOutputStreamTest.cs | 395 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/ |
D | LimitedInputStream.cs | 64 public override bool CanWrite property in Google.Protobuf.LimitedInputStream
|
/external/protobuf/csharp/src/Google.Protobuf/Compatibility/ |
D | TypeExtensions.cs | 69 …if (ret != null && ((ret.CanRead && ret.GetMethod.IsPublic) || (ret.CanWrite && ret.SetMethod.IsPu… in GetProperty()
|
/external/brotli/csharp/ |
D | injected_code.txt | 23 public override bool CanWrite{get{return false;}}
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | SingleFieldAccessor.cs | 55 if (!property.CanWrite) in SingleFieldAccessor()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2.h | 304 bool CanWrite; member 306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
|
D | CoderMixer2.cpp | 353 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/ |
D | BrotliInputStream.cs | 212 public override bool CanWrite{get{return false;}} property in Org.Brotli.Dec.BrotliInputStream
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaAlone.cs | 15 public override bool CanWrite { get { return false; }} property in SevenZip.CDoubleStream
|
D | LzmaBench.cs | 128 public override bool CanWrite { get { return true; } } property in SevenZip.LzmaBench.CrcOutStream
|