Home
last modified time | relevance | path

Searched refs:Seek (Results 1 - 25 of 62) sorted by relevance

123

/third_party/lzma/CPP/7zip/Common/
H A DOffsetStream.cpp11 return _stream->Seek((Int64)offset, STREAM_SEEK_SET, NULL); in Init()
19 Z7_COM7F_IMF(COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
28 const HRESULT result = _stream->Seek(offset, seekOrigin, &absoluteNewPosition); in Seek()
H A DStreamUtils.h9 { return stream->Seek((Int64)offset, STREAM_SEEK_SET, NULL); } in InStream_SeekSet()
11 { return stream->Seek(0, STREAM_SEEK_CUR, &curPosRes); } in InStream_GetPos()
13 { return stream->Seek(0, STREAM_SEEK_END, &sizeRes); } in InStream_GetSize_SeekToEnd()
H A DLimitedStreams.cpp59 Z7_COM7F_IMF(CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
133 Z7_COM7F_IMF(CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
221 Z7_COM7F_IMF(CExtentsStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
276 Z7_COM7F_IMF(CTailInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
285 RINOK(Stream->Seek(offset, STREAM_SEEK_END, &pos)) in Seek()
343 Z7_COM7F_IMF(CLimitedCachedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
372 Z7_COM7F_IMF(CTailOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
386 return Stream->Seek((Int64)(Offset + _virtPos), STREAM_SEEK_SET, NULL); in Seek()
H A DFileStreams.cpp143 const bool result = File.Seek((Int64)alignedPos, FILE_BEGIN, realNewPosition); in Read()
172 bool result = File.Seek((Int64)VirtPos, FILE_BEGIN, realNewPosition); in Read()
264 Z7_COM7F_IMF(CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
291 const bool result = File.Seek(offset, seekOrigin, realNewPosition); in Seek()
294 /* 21.07: new File.Seek() in 21.07 already returns correct (realNewPosition) in Seek()
706 Z7_COM7F_IMF(COutFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
714 const bool result = File.Seek(offset, seekOrigin, realNewPosition); in Seek()
H A DStreamObjects.cpp27 Z7_COM7F_IMF(CBufferInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
62 Z7_COM7F_IMF(CBufInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
275 Z7_COM7F_IMF(CCachedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
H A DLimitedStreams.h56 HRESULT SeekToStart() { return Seek(0, STREAM_SEEK_SET, NULL); }
119 _phyPos = (UInt64)0 - 1; // we need Seek() for Stream
198 HRESULT SeekToStart() { return Seek(0, STREAM_SEEK_SET, NULL); }
H A DCWrappers.cpp145 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
154 vt.Seek = InStreamWrap_Seek; in Init()
/third_party/lzma/CPP/Windows/
H A DFileIO.cpp217 // return Seek(0, FILE_CURRENT, position); in GetPosition()
220 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() function in NWindows::NFile::NIO::CFileBase
247 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek() function in NWindows::NFile::NIO::CFileBase
249 return Seek((Int64)position, FILE_BEGIN, newPosition); in Seek()
255 return Seek(0, newPosition) && (newPosition == 0); in SeekToBegin()
260 return Seek(0, FILE_END, newPosition); in SeekToEnd()
273 if (!Seek(pos, realNewPosition)) in CorrectDeviceSize()
301 if (!Seek(pos, realNewPosition)) in CorrectDeviceSize()
589 if (!Seek(length, newPosition)) in SetLength()
606 const bool result2 = Seek(currentPo in SetLength_KeepPosition()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_reader.h33 // The class also provides `Skip()`, `Seek()` and `Read()` methods similar to
152 // position of `offset` into that chunk. For example, calling `Seek(13)` on a
157 absl::string_view Seek(size_t offset);
204 inline absl::string_view CordRepBtreeReader::Seek(size_t offset) { in Seek() function in absl::cord_internal::CordRepBtreeReader
205 const CordRepBtreeNavigator::Position pos = navigator_.Seek(offset); in Seek()
H A Dcord_rep_btree_navigator.h34 // navigate using the `Next`, `Previous`, `Skip` and `Seek` methods.
43 // offsets in the `Read()`, `Skip()` and 'Seek()` methods as these would
48 // The logical position as returned by the Seek() and Skip() functions.
103 Position Seek(size_t offset);
189 inline CordRepBtreeNavigator::Position CordRepBtreeNavigator::Seek( in Seek() function in absl::cord_internal::CordRepBtreeNavigator
212 return Seek(offset); in InitOffset()
H A Dcord_rep_btree_navigator_test.cc217 TEST_P(CordRepBtreeNavigatorTest, Seek) { in TEST_P()
224 Position pos = nav.Seek(char_offset); in TEST_P()
233 Position pos1 = nav.Seek(offset); in TEST_P()
242 // Whitebox: InitOffset() is implemented in terms of Seek() which is in TEST()
262 EXPECT_THAT(nav.Seek(3).edge, Eq(nullptr)); in TEST()
263 EXPECT_THAT(nav.Seek(100).edge, Eq(nullptr)); in TEST()
H A Dcord_rep_btree_reader_test.cc125 TEST(CordRepBtreeReaderTest, Seek) { in TEST()
138 absl::string_view chunk = reader.Seek(seek); in TEST()
153 EXPECT_THAT(reader.Seek(6), IsEmpty()); in TEST()
155 EXPECT_THAT(reader.Seek(100), IsEmpty()); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord_ring_reader_test.cc67 EXPECT_DEATH_IF_SUPPORTED(reader.Seek(0), ".*"); in TEST()
136 absl::string_view chunk = reader.Seek(offset + off); in TEST()
161 absl::string_view chunk = reader.Seek(offset + off); in TEST()
172 EXPECT_DEATH_IF_SUPPORTED(reader.Seek(ring->length), ".*"); in TEST()
/third_party/lzma/CPP/7zip/Archive/Common/
H A DInStreamWithCRC.cpp50 Z7_COM7F_IMF(CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
56 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
H A DMultiStream.cpp36 RINOK(s.Stream->Seek((Int64)localPos, STREAM_SEEK_SET, &s.LocalPos)) in Read()
51 Z7_COM7F_IMF(CMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Seek() function
148 RINOK(outStream->Seek((Int64)_offsetPos, STREAM_SEEK_SET, NULL))
175 Z7_COM7F_IMF(COutMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition))
/third_party/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs132 public override long Seek(long offset, SeekOrigin origin) { return 0; } in Seek() method in SevenZip.LzmaBench.CrcOutStream
295 inStream.Seek(0, SeekOrigin.Begin); in LzmaBenchmark()
296 compressedStream.Seek(0, SeekOrigin.Begin); in LzmaBenchmark()
308 compressedStream.Seek(0, SeekOrigin.Begin); in LzmaBenchmark()
/third_party/zlib/contrib/delphi/
H A DZLib.pas62 stream will raise an exception. Using Seek to move the stream pointer
93 function Seek(Offset: Longint; Origin: Word): Longint; override; in Seek() function
122 function Seek(Offset: Longint; Origin: Word): Longint; override; in Seek() function
464 function TCompressionStream.Seek(Offset: Longint; Origin: Word): Longint; in TCompressionStream.Seek() function
493 FStrm.Seek(-FZRec.avail_in, 1);
527 function TDecompressionStream.Seek(Offset: Longint; Origin: Word): Longint; in Seek() function
/third_party/lzma/CPP/7zip/
H A DIStream.h88 IInStream::Seek() / IOutStream::Seek()
90 Seek() function returns error code:
94 if Seek() returns error, then the value of *newPosition is undefined.
98 x(Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition))
102 x(Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) \
170 The caller is allowed to Seek() to that region and rewrite the
/third_party/skia/src/utils/win/
H A DSkIStream.h47 SK_STDMETHODIMP Seek(LARGE_INTEGER liDistanceToMove,
69 SK_STDMETHODIMP Seek(LARGE_INTEGER liDistanceToMove,
H A DSkIStream.cpp78 SK_STDMETHODIMP SkBaseIStream::Seek(LARGE_INTEGER liDistanceToMove, in Seek() function in SkBaseIStream
120 SK_STDMETHODIMP SkIStream::Seek(LARGE_INTEGER liDistanceToMove, in Seek() function in SkIStream
/third_party/lzma/CPP/7zip/UI/Common/
H A DArchiveOpenCallback.cpp235 RINOK(s.Stream->Seek((Int64)s.LocalPos, STREAM_SEEK_SET, &s.LocalPos))
259 Z7_COM7F_IMF(CInFileStreamVol::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition))
264 PRF(printf("\n-- %u, Seek seekOrigin=%u Seek =%u\n", FileIndex, seekOrigin, (unsigned)offset));
265 return s.Stream->Seek(offset, seekOrigin, newPosition);
/third_party/gptfdisk/
H A Dbasicmbr.cc187 if (myDisk->Seek(0)) in ReadMBRData()
300 if (myDisk->Seek(offset) == 0) { // seek to EBR record in ReadLogicalParts()
465 if (allOK && theDisk->Seek(sector)) { in WriteMBRData()
576 if (myDisk->Seek(1)) { in CheckForGPT()
580 if (myDisk->Seek(myDisk->DiskSize(&err) - 1)) { in CheckForGPT()
614 if (!((myDisk->Seek(1)) && (myDisk->Write(blank, 512) == 512))) in BlankGPTData()
621 if (!((myDisk->Seek(myDisk->DiskSize(&err) - 1)) && in BlankGPTData()
629 if (!((myDisk->Seek(1)) && (myDisk->Write(blank, 512) == 512))) in BlankGPTData()
631 if (!((myDisk->Seek(myDisk->DiskSize(&err) - 1)) && in BlankGPTData()
/third_party/lame/dshow/
H A DEncoder.cpp489 if (FAILED(hr = pStream->Seek(seekTo, STREAM_SEEK_SET, NULL))) { in skipId3v2()
510 /* Seek to the beginning of the audio stream */ in skipId3v2()
512 if (FAILED(hr = pStream->Seek(seekTo, STREAM_SEEK_SET, NULL))) { in skipId3v2()
519 if (FAILED(hr = pStream->Seek(seekTo, STREAM_SEEK_SET, NULL))) { in skipId3v2()
526 /* Seek to the beginning of the audio stream */ in skipId3v2()
528 if (FAILED(hr = pStream->Seek(seekTo, STREAM_SEEK_SET, NULL))) { in skipId3v2()
/third_party/lzma/C/
H A D7zTypes.h375 SRes (*Seek)(ISeekInStreamPtr p, Int64 *pos, ESzSeek origin); in Z7_C_IFACE_DECL()
378 #define ISeekInStream_Seek(p, pos, origin) (p)->Seek(p, pos, origin)
391 SRes (*Seek)(ILookInStreamPtr p, Int64 *pos, ESzSeek origin); in Z7_C_IFACE_DECL()
397 #define ILookInStream_Seek(p, pos, origin) (p)->Seek(p, pos, origin)
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DLimitedInputStream.cs95 public override long Seek(long offset, SeekOrigin origin) in Seek() method in Google.Protobuf.LimitedInputStream

Completed in 14 milliseconds

123