Home
last modified time | relevance | path

Searched refs:CanRead (Results 1 – 25 of 39) 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()
234 bool PipePosix::CanRead() const { in CanRead() function in PipePosix
243 if (CanRead()) { in CloseReadFileDescriptor()
260 if (!CanRead()) in ReadWithTimeout()
/external/llvm-project/lldb/source/Host/windows/
DPipeWindows.cpp104 if (CanRead() || CanWrite()) in CreateNew()
159 if (CanRead()) in OpenAsReader()
180 assert(is_read ? !CanRead() : !CanWrite()); in OpenNamedPipe()
217 if (!CanRead()) in ReleaseReadFileDescriptor()
239 if (!CanRead()) in CloseReadFileDescriptor()
268 bool PipeWindows::CanRead() const { return (m_read != INVALID_HANDLE_VALUE); } in CanRead() function in PipeWindows
281 if (!CanRead()) in ReadWithTimeout()
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/
DGZipStream.cs80 public override bool CanRead property in DotZLib.GZipStream
156 if (!CanRead) throw new NotSupportedException(); in Read()
183 if (!CanRead) throw new NotSupportedException(); in ReadByte()
/external/libbrillo/brillo/streams/
Dfile_stream_test.cc66 EXPECT_TRUE(stream->CanRead()); in TestCreateFile()
213 TEST_F(FileStreamTest, CanRead) { in TEST_F() argument
215 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
217 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
219 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
221 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
729 EXPECT_TRUE(stream->CanRead()); in TEST_F()
755 EXPECT_FALSE(stream->CanRead()); in TEST_F()
784 EXPECT_TRUE(stream->CanRead()); in TEST_F()
818 EXPECT_TRUE(stream->CanRead()); in TEST_F()
[all …]
Dfake_stream.cc163 bool FakeStream::CanRead() const { in CanRead() function in brillo::FakeStream
203 if (!CanRead()) in ReadNonBlocking()
365 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForData()
388 if ((read_requested && !CanRead()) || (write_requested && !CanWrite())) in WaitForDataBlocking()
Dtls_stream.h40 bool CanRead() const override { return true; } in CanRead() function
Dinput_stream_set.h62 bool CanRead() const override { return true; } in CanRead() function
Dmock_stream.h20 MOCK_METHOD(bool, CanRead, (), (const, override));
Dfake_stream_test.cc72 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
84 EXPECT_FALSE(stream_->CanRead()); in TEST_F()
96 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
Dfile_stream.h99 bool CanRead() const override;
Dfake_stream.h84 bool CanRead() const override;
Dmemory_stream.h147 bool CanRead() const override;
Dstream.h111 virtual bool CanRead() const = 0;
/external/protobuf/csharp/src/Google.Protobuf/
DLimitedInputStream.cs54 public override bool CanRead property in Google.Protobuf.LimitedInputStream
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DOneofAccessor.cs50 if (!caseProperty.CanRead) in OneofAccessor()
/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/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs580 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream()
584 Assert.IsFalse(memoryStream.CanRead); // Disposed in Dispose_DisposesUnderlyingStream()
591 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen()
595 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
/external/brotli/csharp/
Dinjected_code.txt2 public override bool CanRead {
/external/llvm-project/lldb/include/lldb/Host/
DPipeBase.h40 virtual bool CanRead() const = 0;
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs630 Assert.IsTrue(memoryStream.CanRead); in Dispose_DisposesUnderlyingStream()
634 Assert.IsFalse(memoryStream.CanRead); // Disposed in Dispose_DisposesUnderlyingStream()
641 Assert.IsTrue(memoryStream.CanRead); in Dispose_WithLeaveOpen()
645 Assert.IsTrue(memoryStream.CanRead); // We left the stream open in Dispose_WithLeaveOpen()
/external/llvm-project/lldb/include/lldb/Host/posix/
DPipePosix.h46 bool CanRead() const override;
/external/llvm-project/lldb/include/lldb/Host/windows/
DPipeWindows.h46 bool CanRead() const override;
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.h303 bool CanRead; member
306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
/external/dng_sdk/source/
Ddng_read_image.h96 virtual bool CanRead (const dng_ifd &ifd);
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs191 public override bool CanRead { property in Org.Brotli.Dec.BrotliInputStream

12