/external/bsdiff/ |
D | extents_file_unittest.cc | 29 MOCK_METHOD1(Seek, bool(off_t)); 95 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); in TEST_F() 98 EXPECT_TRUE(file.Seek(offset_pair.first)); in TEST_F() 104 EXPECT_TRUE(file.Seek(12)); in TEST_F() 105 EXPECT_FALSE(file.Seek(13)); in TEST_F() 107 EXPECT_FALSE(file.Seek(-1)); in TEST_F() 116 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F() 118 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); in TEST_F() 120 EXPECT_CALL(*mock_file_, Seek(27)).WillOnce(Return(true)); in TEST_F() 137 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F() [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | LimitedStreams.h | 46 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys() 61 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition); 63 HRESULT SeekToStart() { return Seek(0, STREAM_SEEK_SET, NULL); } in SeekToStart() 82 HRESULT SeekToPhys() { return Stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys() 100 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition); 117 HRESULT SeekToPhys() { return Stream->Seek(_phyPos, STREAM_SEEK_SET, NULL); } in SeekToPhys() 125 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition); 177 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition); 179 HRESULT SeekToStart() { return Stream->Seek(Offset, STREAM_SEEK_SET, NULL); } in SeekToStart() 197 HRESULT SeekToPhys() { return _stream->Seek(_physPos, STREAM_SEEK_SET, NULL); } in SeekToPhys() [all …]
|
D | FileStreams.cpp | 110 bool result = File.Seek(alignedPos, FILE_BEGIN, realNewPosition); in Read() 139 bool result = File.Seek(VirtPos, FILE_BEGIN, realNewPosition); in Read() 219 STDMETHODIMP CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CInFileStream 246 bool result = File.Seek(offset, seekOrigin, realNewPosition); in Seek() 258 off_t res = File.Seek((off_t)offset, seekOrigin); in Seek() 345 STDMETHODIMP COutFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in COutFileStream 352 bool result = File.Seek(offset, seekOrigin, realNewPosition); in Seek() 359 off_t res = File.Seek((off_t)offset, seekOrigin); in Seek() 373 if (!File.Seek(0, FILE_CURRENT, currentPos)) in SetSize() 377 result = result && File.Seek(currentPos, currentPos2); in SetSize()
|
D | LimitedStreams.cpp | 52 STDMETHODIMP CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CLimitedInStream 118 STDMETHODIMP CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CClusterInStream 180 STDMETHODIMP CExtentsStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CExtentsStream 235 STDMETHODIMP CTailInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CTailInStream 244 RINOK(Stream->Seek(offset, STREAM_SEEK_END, &pos)); in Seek() 259 return Stream->Seek(Offset + _virtPos, STREAM_SEEK_SET, NULL); in Seek() 299 STDMETHODIMP CLimitedCachedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CLimitedCachedInStream 328 STDMETHODIMP CTailOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CTailOutStream 342 return Stream->Seek(Offset + _virtPos, STREAM_SEEK_SET, NULL); in Seek()
|
D | OffsetStream.cpp | 13 return _stream->Seek(offset, STREAM_SEEK_SET, NULL); in Init() 21 STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in COffsetOutStream 30 HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition); in Seek()
|
/external/webrtc/webrtc/base/ |
D | bitbuffer_unittest.cc | 146 EXPECT_TRUE(buffer.Seek(0, 0)); in TEST() 147 EXPECT_TRUE(buffer.Seek(0, 7)); in TEST() 151 EXPECT_FALSE(buffer.Seek(0, 8)); in TEST() 157 EXPECT_TRUE(buffer.Seek(0, 0)); in TEST() 158 EXPECT_TRUE(buffer.Seek(2, 4)); in TEST() 162 EXPECT_TRUE(buffer.Seek(4, 0)); in TEST() 163 EXPECT_FALSE(buffer.Seek(5, 0)); in TEST() 167 EXPECT_FALSE(buffer.Seek(4, 1)); in TEST() 204 EXPECT_TRUE(buffer.Seek(0, 0)); in TEST() 261 EXPECT_TRUE(buffer.Seek(0, 0)); in TEST() [all …]
|
/external/lzma/CPP/Common/ |
D | C_FileIO.cpp | 38 off_t curPos = Seek(0, SEEK_CUR); in GetLength() 39 off_t lengthTemp = Seek(0, SEEK_END); in GetLength() 40 Seek(curPos, SEEK_SET); in GetLength() 45 off_t CFileBase::Seek(off_t distanceToMove, int moveMethod) const in Seek() function in NC::NFile::NIO::CFileBase
|
/external/lzma/CPP/Windows/ |
D | FileIO.cpp | 96 return Seek(0, FILE_CURRENT, position); in GetPosition() 118 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() function in NWindows::NFile::NIO::CFileBase 137 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek() function in NWindows::NFile::NIO::CFileBase 139 return Seek(position, FILE_BEGIN, newPosition); in Seek() 145 return Seek(0, newPosition); in SeekToBegin() 150 return Seek(0, FILE_END, newPosition); in SeekToEnd() 163 if (!Seek(pos, realNewPosition)) in CorrectDeviceSize() 191 if (!Seek(pos, realNewPosition)) in CorrectDeviceSize() 425 if (!Seek(length, newPosition)) in SetLength()
|
/external/libbrillo/brillo/streams/ |
D | file_stream_unittest.cc | 78 EXPECT_TRUE(stream->Seek(0, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TestCreateFile() 94 EXPECT_TRUE(stream->Seek(10, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TestCreateFile() 102 EXPECT_TRUE(stream->Seek(7, Stream::Whence::FROM_CURRENT, nullptr, nullptr)); in TestCreateFile() 106 EXPECT_TRUE(stream->Seek(-2, Stream::Whence::FROM_CURRENT, &pos, nullptr)); in TestCreateFile() 110 EXPECT_TRUE(stream->Seek(-2, Stream::Whence::FROM_CURRENT, nullptr, nullptr)); in TestCreateFile() 113 EXPECT_TRUE(stream->Seek(-1, Stream::Whence::FROM_END, &pos, nullptr)); in TestCreateFile() 127 MOCK_METHOD2(Seek, off64_t(off64_t, int)); 301 EXPECT_CALL(fd_mock(), Seek(0, SEEK_CUR)).WillOnce(Return(234)); in TEST_F() 305 EXPECT_CALL(fd_mock(), Seek(0, SEEK_CUR)).WillOnce(Return(1234)); in TEST_F() 313 EXPECT_CALL(fd_mock(), Seek(0, SEEK_SET)).WillOnce(Return(0)); in TEST_F() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/ |
D | LookaheadStream.cs | 170 Seek(marker); in Rewind() 175 Seek(_lastMarker); in Rewind() 186 public virtual void Seek(int index) { in Seek() method in Antlr.Runtime.Misc.LookaheadStream
|
/external/pdfium/xfa/src/fgas/src/crt/ |
D | fx_stream.h | 25 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset) = 0; 48 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 68 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 90 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 120 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 147 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 188 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset); 228 virtual int32_t Seek(FX_STREAMSEEK eSeek, int32_t iOffset);
|
D | fx_stream.cpp | 182 int32_t CFX_FileStreamImp::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_FileStreamImp 275 int32_t CFX_FileReadStreamImp::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_FileReadStreamImp 362 int32_t CFX_BufferReadStreamImp::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_BufferReadStreamImp 475 int32_t CFX_FileWriteStreamImp::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_FileWriteStreamImp 539 int32_t CFX_BufferStreamImp::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_BufferStreamImp 652 m_pStreamImp->Seek(FX_STREAMSEEK_Begin, 0); in InitStream() 693 m_pStreamImp->Seek(FX_STREAMSEEK_Begin, std::max(m_wBOMLength, iPosition)); in InitStream() 710 int32_t CFX_TextStream::Seek(FX_STREAMSEEK eSeek, int32_t iOffset) { in Seek() function in CFX_TextStream 711 return m_pStreamImp->Seek(eSeek, iOffset); in Seek() 807 m_pStreamImp->Seek(FX_STREAMSEEK_Current, iSrc - iLen); in ReadString() [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 400 EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0)); 434 TEST(FileTest, Seek) { argument 444 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_BEGIN, kOffset)); 445 EXPECT_EQ(2 * kOffset, file.Seek(base::File::FROM_CURRENT, kOffset)); 446 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_CURRENT, -kOffset)); 448 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_END, -kOffset)); 467 ASSERT_EQ(0, file.Seek(base::File::FROM_CURRENT, 0)); 468 ASSERT_EQ(0, file2.Seek(base::File::FROM_CURRENT, 0)); 470 ASSERT_EQ(kDataLen, file.Seek(base::File::FROM_CURRENT, 0)); 471 ASSERT_EQ(kDataLen, file2.Seek(base::File::FROM_CURRENT, 0));
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BufferedTreeNodeStream.cs | 483 Seek( marker ); in Rewind() 488 Seek( lastMarker ); in Rewind() 491 public virtual void Seek( int index ) in Seek() method in Antlr.Runtime.Tree.BufferedTreeNodeStream 512 Seek( index ); in Push() 523 Seek( ret ); in Pop()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BufferedTreeNodeStream.cs | 407 Seek(marker); in Rewind() 411 Seek(lastMarker); in Rewind() 414 public virtual void Seek(int index) { in Seek() method in Antlr.Runtime.Tree.BufferedTreeNodeStream 431 Seek(index); in Push() 441 Seek(ret); in Pop()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | MultiStream.h | 41 RINOK(s.Stream->Seek(0, STREAM_SEEK_CUR, &s.LocalPos)); in Init() 52 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
|
D | InStreamWithCRC.cpp | 39 STDMETHODIMP CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CInStreamWithCRC 45 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
|
D | MultiStream.cpp | 39 RINOK(s.Stream->Seek(localPos, STREAM_SEEK_SET, &s.LocalPos)); in Read() 52 STDMETHODIMP CMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() function in CMultiStream
|
/external/blktrace/btt/doc/ |
D | sample-btt-output.tex | 41 ==================== Device Q2Q Seek Information ==================== 52 ==================== Device D2D Seek Information ====================
|
/external/lzma/CPP/7zip/ |
D | IStream.h | 84 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE; 89 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Misc/ |
D | LookaheadStream.cs | 204 Seek( marker ); in Rewind() 221 public virtual void Seek( int index ) in Seek() method in Antlr.Runtime.Misc.LookaheadStream
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
D | SlimTokenStream.cs | 353 Seek( marker ); in Rewind() 358 Seek( lastMarker ); in Rewind() 367 public void Seek( int index ) in Seek() method in Antlr.Runtime.FastTokenStream
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugTokenStream.cs | 141 public virtual void Seek(int index) { in Seek() method in Antlr.Runtime.Debug.DebugTokenStream 144 input.Seek(index); in Seek()
|
D | DebugTreeNodeStream.cs | 157 public virtual void Seek(int index) { in Seek() method in Antlr.Runtime.Debug.DebugTreeNodeStream 160 input.Seek(index); in Seek()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugTokenStream.cs | 166 public virtual void Seek( int index ) in Seek() method in Antlr.Runtime.Debug.DebugTokenStream 170 input.Seek( index ); in Seek()
|