/external/llvm-project/lldb/source/Host/posix/ |
D | PipePosix.cpp | 87 if (CanRead() || CanWrite()) in CreateNew() 116 if (CanRead() || CanWrite()) in CreateNew() 153 if (CanRead() || CanWrite()) in OpenAsReader() 174 if (CanRead() || CanWrite()) in OpenAsWriterWithTimeout() 184 while (!CanWrite()) { in OpenAsWriterWithTimeout() 238 bool PipePosix::CanWrite() const { in CanWrite() function in PipePosix 250 if (CanWrite()) { in CloseWriteFileDescriptor() 292 if (!CanWrite()) in Write()
|
/external/llvm-project/lldb/source/Host/windows/ |
D | PipeWindows.cpp | 104 if (CanRead() || CanWrite()) in CreateNew() 169 if (CanWrite()) in OpenAsWriterWithTimeout() 180 assert(is_read ? !CanRead() : !CanWrite()); in OpenNamedPipe() 229 if (!CanWrite()) in ReleaseWriteFileDescriptor() 252 if (!CanWrite()) in CloseWriteFileDescriptor() 270 bool PipeWindows::CanWrite() const { return (m_write != INVALID_HANDLE_VALUE); } in CanWrite() function in PipeWindows 324 if (!CanWrite()) in Write()
|
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/ |
D | GZipStream.cs | 103 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/ |
D | file_stream_test.cc | 67 EXPECT_TRUE(stream->CanWrite()); in TestCreateFile() 224 TEST_F(FileStreamTest, CanWrite) { in TEST_F() argument 226 EXPECT_TRUE(stream_->CanWrite()); in TEST_F() 228 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 230 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 232 EXPECT_TRUE(stream_->CanWrite()); in TEST_F() 730 EXPECT_FALSE(stream->CanWrite()); in TEST_F() 756 EXPECT_TRUE(stream->CanWrite()); in TEST_F() 785 EXPECT_TRUE(stream->CanWrite()); in TEST_F() 819 EXPECT_TRUE(stream->CanWrite()); in TEST_F() [all …]
|
D | fake_stream.cc | 167 bool FakeStream::CanWrite() const { in CanWrite() function in brillo::FakeStream 267 if (!CanWrite()) in WriteNonBlocking() 329 if (!CanWrite()) in FlushBlocking() 365 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForData() 388 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
|
D | tls_stream.h | 41 bool CanWrite() const override { return true; } in CanWrite() function
|
D | input_stream_set.h | 63 bool CanWrite() const override { return false; } in CanWrite() function
|
D | mock_stream.h | 21 MOCK_METHOD(bool, CanWrite, (), (const, override));
|
D | memory_stream_test.cc | 89 TEST_F(MemoryStreamTest, CanWrite) { in TEST_F() argument 94 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 95 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
|
D | fake_stream_test.cc | 73 EXPECT_FALSE(stream_->CanWrite()); in TEST_F() 85 EXPECT_TRUE(stream_->CanWrite()); in TEST_F() 97 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
|
D | file_stream.h | 100 bool CanWrite() const override;
|
D | fake_stream.h | 85 bool CanWrite() const override;
|
D | memory_stream.h | 148 bool CanWrite() const override;
|
D | stream.h | 119 virtual bool CanWrite() const = 0;
|
/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/llvm-project/lldb/include/lldb/Host/ |
D | PipeBase.h | 41 virtual bool CanWrite() const = 0;
|
/external/llvm-project/lldb/include/lldb/Host/posix/ |
D | PipePosix.h | 47 bool CanWrite() const override;
|
/external/llvm-project/lldb/include/lldb/Host/windows/ |
D | PipeWindows.h | 47 bool CanWrite() const override;
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2.h | 304 bool CanWrite; member 306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
|
/external/brotli/csharp/org/brotli/dec/ |
D | BrotliInputStream.cs | 212 public override bool CanWrite{get{return false;}} property in Org.Brotli.Dec.BrotliInputStream
|