/external/cronet/net/ntlm/ |
D | ntlm_buffer_reader.cc | 20 bool NtlmBufferReader::CanRead(size_t len) const { in CanRead() function in net::ntlm::NtlmBufferReader 53 if (!CanRead(buffer.size())) in ReadBytes() 94 if (!CanRead(kAvPairHeaderLen)) in ReadAvPairHeader() 119 if (!CanRead(target_info_len) || target_info_len < kAvPairHeaderLen) { in ReadTargetInfo() 132 if (!CanRead(pair.avlen)) in ReadTargetInfo() 232 if (!CanRead(count)) in SkipBytes() 240 if (!CanRead(kSignatureLen)) in MatchSignature() 261 if (!CanRead(count)) in MatchZeros() 282 if (!CanRead(int_size)) in ReadUInt()
|
D | ntlm_buffer_reader_unittest.cc | 19 ASSERT_TRUE(reader.CanRead(1)); in TEST() 20 ASSERT_FALSE(reader.CanRead(2)); in TEST() 39 ASSERT_TRUE(reader.CanRead(0)); in TEST() 40 ASSERT_FALSE(reader.CanRead(1)); in TEST() 55 ASSERT_TRUE(reader2.CanRead(0)); in TEST() 67 ASSERT_TRUE(reader.CanRead(0)); in TEST() 68 ASSERT_FALSE(reader.CanRead(1)); in TEST() 288 ASSERT_TRUE(reader.CanRead(7)); in TEST() 297 ASSERT_TRUE(reader.CanRead(8)); in TEST()
|
D | ntlm_buffer_reader.h | 61 bool CanRead(size_t len) const;
|
/external/cronet/net/third_party/quiche/src/quiche/common/ |
D | quiche_data_reader.cc | 119 if (!CanRead(size)) { in ReadStringPiece() 254 if (!CanRead(size)) { in ReadBytes() 269 if (!CanRead(size)) { in Seek() 296 bool QuicheDataReader::CanRead(size_t bytes) const { in CanRead() function in quiche::QuicheDataReader
|
D | quiche_data_reader.h | 182 bool CanRead(size_t bytes) const;
|
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/ |
D | GZipStream.cs | 80 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/ |
D | file_stream_test.cc | 66 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 …]
|
D | fake_stream.cc | 163 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()
|
D | tls_stream.h | 40 bool CanRead() const override { return true; } in CanRead() function
|
D | mock_stream.h | 20 MOCK_METHOD(bool, CanRead, (), (const, override));
|
D | input_stream_set.h | 62 bool CanRead() const override { return true; } in CanRead() function
|
D | fake_stream_test.cc | 72 EXPECT_TRUE(stream_->CanRead()); in TEST_F() 84 EXPECT_FALSE(stream_->CanRead()); in TEST_F() 96 EXPECT_TRUE(stream_->CanRead()); in TEST_F()
|
D | file_stream.h | 101 bool CanRead() const override;
|
/external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 580 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/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 580 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/openthread/src/core/common/ |
D | frame_data.hpp | 64 bool CanRead(uint16_t aLength) const { return GetLength() >= aLength; } in CanRead() function in ot::FrameData
|
D | frame_data.cpp | 94 VerifyOrExit(CanRead(aLength), error = kErrorParse); in ReadBytes()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | LimitedInputStream.cs | 54 public override bool CanRead property in Google.Protobuf.LimitedInputStream
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | LimitedInputStream.cs | 54 public override bool CanRead property in Google.Protobuf.LimitedInputStream
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Compatibility/ |
D | TypeExtensions.cs | 74 …if (ret != null && ((ret.CanRead && ret.GetMethod.IsPublic) || (ret.CanWrite && ret.SetMethod.IsPu… in GetProperty()
|
/external/protobuf/csharp/src/Google.Protobuf/Compatibility/ |
D | TypeExtensions.cs | 74 …if (ret != null && ((ret.CanRead && ret.GetMethod.IsPublic) || (ret.CanWrite && ret.SetMethod.IsPu… in GetProperty()
|
/external/brotli/csharp/ |
D | injected_code.txt | 2 public override bool CanRead {
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | CoderMixer2.h | 303 bool CanRead; member 306 CCoderST(): CanRead(false), CanWrite(false) {} in CCoderST()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | OneofDescriptor.cs | 192 if (!caseProperty.CanRead) in CreateAccessor()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | OneofDescriptor.cs | 192 if (!caseProperty.CanRead) in CreateAccessor()
|