Home
last modified time | relevance | path

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

/external/libbrillo/brillo/streams/
Dfile_stream_test.cc68 EXPECT_TRUE(stream->CanSeek()); in TestCreateFile()
235 TEST_F(FileStreamTest, CanSeek) { in TEST_F() argument
237 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
239 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
241 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
243 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
245 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
247 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
249 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
252 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
[all …]
Dtls_stream.h42 bool CanSeek() const override { return false; } in CanSeek() function
Dinput_stream_set.h64 bool CanSeek() const override { return false; } in CanSeek() function
Dmock_stream.h22 MOCK_METHOD(bool, CanSeek, (), (const, override));
Dfake_stream_test.cc74 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
86 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
98 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
Dfile_stream.h101 bool CanSeek() const override;
Dfake_stream.h86 bool CanSeek() const override { return false; } in CanSeek() function
Dmemory_stream.h149 bool CanSeek() const override;
Dstream.h131 virtual bool CanSeek() const = 0;
Dfile_stream.cc355 bool FileStream::CanSeek() const { in CanSeek() function in brillo::FileStream
390 if (!CanSeek()) in GetPosition()
Dmemory_stream_test.cc98 TEST_F(MemoryStreamTest, CanSeek) { in TEST_F() argument
99 EXPECT_TRUE(stream_->CanSeek()); in TEST_F()
Dinput_stream_set_test.cc51 EXPECT_FALSE(stream_->CanSeek()); in TEST_F()
Dmemory_stream.cc92 bool MemoryStream::CanSeek() const { return IsOpen(); } in CanSeek() function in brillo::MemoryStream
Dstream_test.cc48 MOCK_METHOD(bool, CanSeek, (), (const, override));
/external/protobuf/csharp/src/Google.Protobuf/
DByteString.cs160 int capacity = stream.CanSeek ? checked((int) (stream.Length - stream.Position)) : 0; in FromStream()
184 int capacity = stream.CanSeek ? checked((int) (stream.Length - stream.Position)) : 0; in FromStreamAsync()
DLimitedInputStream.cs59 public override bool CanSeek property in Google.Protobuf.LimitedInputStream
DCodedInputStream.cs1281 if (input.CanSeek) in SkipImpl()
/external/brotli/csharp/
Dinjected_code.txt6 public override bool CanSeek {
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs195 public override bool CanSeek { property in Org.Brotli.Dec.BrotliInputStream
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/
DGZipStream.cs92 public override bool CanSeek property in DotZLib.GZipStream
/external/libbrillo/brillo/http/
Dhttp_connection_curl.cc162 if (response_data_stream_->CanSeek() && in FinishRequest()
Dhttp_connection_curl_test.cc240 EXPECT_CALL(*response_stream, CanSeek()) in TEST_F()
Dhttp_transport_curl.cc485 if (stream && stream->CanSeek() && !stream->SetPosition(0, &error)) { in OnTransferComplete()
/external/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs16 public override bool CanSeek { get { return false; }} property in SevenZip.CDoubleStream
DLzmaBench.cs127 public override bool CanSeek { get { return false; } } property in SevenZip.LzmaBench.CrcOutStream