Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Host/posix/
DPipePosix.cpp87 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/
DPipeWindows.cpp104 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/
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_test.cc67 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 …]
Dfake_stream.cc167 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()
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
Dmock_stream.h21 MOCK_METHOD(bool, CanWrite, (), (const, override));
Dmemory_stream_test.cc89 TEST_F(MemoryStreamTest, CanWrite) { in TEST_F() argument
94 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
95 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
Dfake_stream_test.cc73 EXPECT_FALSE(stream_->CanWrite()); in TEST_F()
85 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
97 EXPECT_TRUE(stream_->CanWrite()); in TEST_F()
Dfile_stream.h100 bool CanWrite() const override;
Dfake_stream.h85 bool CanWrite() const override;
Dmemory_stream.h148 bool CanWrite() const override;
Dstream.h119 virtual bool CanWrite() const = 0;
/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/llvm-project/lldb/include/lldb/Host/
DPipeBase.h41 virtual bool CanWrite() const = 0;
/external/llvm-project/lldb/include/lldb/Host/posix/
DPipePosix.h47 bool CanWrite() const override;
/external/llvm-project/lldb/include/lldb/Host/windows/
DPipeWindows.h47 bool CanWrite() const override;
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.h304 bool CanWrite; member
306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs212 public override bool CanWrite{get{return false;}} property in Org.Brotli.Dec.BrotliInputStream

12