/system/update_engine/payload_consumer/ |
cached_file_descriptor_unittest.cc | 86 EXPECT_EQ(cfd_->Seek(0, SEEK_SET), 0); 97 EXPECT_EQ(cfd_->Seek(0, SEEK_SET), 0); 110 EXPECT_EQ(cfd_->Seek(0, SEEK_SET), 0); 120 EXPECT_EQ(cfd_->Seek(start, SEEK_SET), static_cast<off64_t>(start)); 131 EXPECT_EQ(cfd_->Seek(0, SEEK_SET), 0); 132 EXPECT_EQ(cfd_->Seek(1, SEEK_SET), 1); 133 EXPECT_EQ(cfd_->Seek(kFileSize - 1, SEEK_SET), 135 EXPECT_EQ(cfd_->Seek(kFileSize, SEEK_SET), static_cast<off64_t>(kFileSize)); 136 EXPECT_EQ(cfd_->Seek(kFileSize + 1, SEEK_SET), 139 EXPECT_EQ(cfd_->Seek(0, SEEK_SET), 0) 159 off64_t seek = 10; local 172 off64_t seek = 100; local 188 off64_t seek = 100; local [all...] |
extent_reader.h | 39 virtual bool Seek(uint64_t offset) = 0; 55 bool Seek(uint64_t offset) override;
|
extent_reader_unittest.cc | 83 EXPECT_TRUE(reader.Seek(0)); 95 EXPECT_TRUE(reader.Seek(0)); 104 EXPECT_TRUE(reader.Seek(0)); 114 EXPECT_TRUE(reader.Seek(0)); 123 EXPECT_TRUE(reader.Seek(0)); 124 EXPECT_FALSE(reader.Seek(1)); 130 EXPECT_TRUE(reader.Seek(0)); 131 EXPECT_FALSE(reader.Seek(1)); 138 // Seek to the end of the extents should be fine as long as nothing is read. 139 EXPECT_TRUE(reader.Seek(kBlockSize)) [all...] |
/external/bsdiff/ |
extents_file_unittest.cc | 28 MOCK_METHOD1(Seek, bool(off_t)); 82 // Seek to the beginning of the file. 84 // Seek to the middle of a extent. 87 // Seek to the extent boundary. 92 // We use a failing Read() call to trigger the actual seek call to the 94 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); 97 EXPECT_TRUE(file.Seek(offset_pair.first)); 103 EXPECT_TRUE(file.Seek(12)); 104 EXPECT_FALSE(file.Seek(13)); 106 EXPECT_FALSE(file.Seek(-1)) [all...] |
sink_file.cc | 21 bool SinkFile::Seek(off_t pos) {
|
/external/lzma/CPP/7zip/Common/ |
OffsetStream.cpp | 13 return _stream->Seek(offset, STREAM_SEEK_SET, NULL);
21 STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)
30 HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition);
|
LimitedStreams.h | 47 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); }
62 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
64 HRESULT SeekToStart() { return Seek(0, STREAM_SEEK_SET, NULL); }
83 HRESULT SeekToPhys() { return Stream->Seek(_physPos, STREAM_SEEK_SET, NULL); }
101 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
118 HRESULT SeekToPhys() { return Stream->Seek(_phyPos, STREAM_SEEK_SET, NULL); }
126 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
178 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
180 HRESULT SeekToStart() { return Stream->Seek(Offset, STREAM_SEEK_SET, NULL); }
198 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } [all...] |
OffsetStream.h | 22 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
/external/puffin/src/ |
file_stream.h | 19 explicit FileStream(int fd) : fd_(fd) { Seek(0); } 26 bool Seek(uint64_t offset) override;
|
stream_unittest.cc | 30 ASSERT_TRUE(stream->Seek(0)); 40 ASSERT_TRUE(stream->Seek(size)); 47 ASSERT_TRUE(stream->Seek(size - 1)); 51 ASSERT_TRUE(stream->Seek(size - 1)); 57 ASSERT_TRUE(stream->Seek(0)); 67 ASSERT_TRUE(stream->Seek(idx)); 81 ASSERT_TRUE(stream->Seek(start)); 94 ASSERT_TRUE(stream->Seek(size)); 102 ASSERT_TRUE(stream->Seek(size - 1)); 107 ASSERT_TRUE(stream->Seek(size - 1)) [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
random_inputstream.h | 41 Status Seek(int64 position) { 46 Status Reset() override { return Seek(0); }
|
/art/compiler/linker/ |
file_output_stream.h | 35 off_t Seek(off_t offset, Whence whence) OVERRIDE;
|
buffered_output_stream.cc | 64 off_t BufferedOutputStream::Seek(off_t offset, Whence whence) { 68 return out_->Seek(offset, whence);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
IIntStream.cs | 82 /// <see cref="IIntStream.Release"/> and <see cref="IIntStream.Seek"/>. 98 /// It's like Seek(last marker's input position). 107 /// the backward seek. 118 /// normally used to seek ahead in the input stream. 122 /// will use seek to move backwards such as when backtracking. 137 /// The index is 0..n-1. A seek to position i means that LA(1) will return 141 void Seek(int index);
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
IIntStream.cs | 80 * essentially calling release() and seek(). If there are markers 96 * the marker off. It's like seek(last marker's input position). 105 * rewind() except it releases resources without the backward seek. 115 * normally used to seek ahead in the input stream. No buffering is 116 * required to do this unless you know your stream will use seek to 132 * The index is 0..n-1. A seek to position i means that LA(1) will 137 void Seek( int index );
|
/external/lzma/CPP/Common/ |
C_FileIO.cpp | 38 off_t curPos = Seek(0, SEEK_CUR);
39 off_t lengthTemp = Seek(0, SEEK_END);
40 Seek(curPos, SEEK_SET);
45 off_t CFileBase::Seek(off_t distanceToMove, int moveMethod) const
|
/external/puffin/src/include/puffin/ |
stream.h | 29 virtual bool Seek(uint64_t offset) = 0;
|
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/ |
file_wrapper_input.h | 42 virtual bool Seek(uint32_t pos);
|
in_memory_wrapper_input.h | 42 virtual bool Seek(uint32_t pos);
|
wrapper_input.h | 44 virtual bool Seek(uint32_t pos) = 0;
|
/external/lzma/CPP/7zip/Archive/Common/ |
MultiStream.h | 41 RINOK(s.Stream->Seek(0, STREAM_SEEK_CUR, &s.LocalPos));
52 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
85 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
/external/bsdiff/include/bsdiff/ |
file_interface.h | 39 // file. Return whether the seek succeeded. 40 virtual bool Seek(off_t pos) = 0;
|
/external/ltp/testcases/kernel/io/disktest/ |
io.h | 56 OFF_T Seek(fd_t, OFF_T);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
input_audio_file.h | 38 // indicated number of samples. Just like Read(), Seek() starts over at the 41 virtual bool Seek(int samples);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
LookaheadStream.cs | 170 Seek(marker); 175 Seek(_lastMarker); 179 * Seek to a 0-indexed position within data buffer. Can't handle 180 * case where you seek beyond end of existing buffer. Normally used 181 * to seek backwards in the buffer. Does not force loading of nodes. 186 public virtual void Seek(int index) {
|