/external/lzma/CPP/7zip/Archive/7z/ |
7zIn.cpp | 315 return stream->Seek(_arhiveBeginStreamPosition + kHeaderSize, STREAM_SEEK_SET, NULL);
329 RINOK(stream->Seek(0, STREAM_SEEK_CUR, &_arhiveBeginStreamPosition))
330 RINOK(stream->Seek(0, STREAM_SEEK_END, &_fileEndPosition))
331 RINOK(stream->Seek(_arhiveBeginStreamPosition, STREAM_SEEK_SET, NULL))
[all...] |
/external/zlib/src/contrib/delphi/ |
ZLib.pas | 62 stream will raise an exception. Using Seek to move the stream pointer 93 function Seek(Offset: Longint; Origin: Word): Longint; override; 101 is read-only and unidirectional; you can seek forward in the stream, but not 122 function Seek(Offset: Longint; Origin: Word): Longint; override; 464 function TCompressionStream.Seek(Offset: Longint; Origin: Word): Longint; 493 FStrm.Seek(-FZRec.avail_in, 1); 527 function TDecompressionStream.Seek(Offset: Longint; Origin: Word): Longint;
|
/prebuilts/go/darwin-x86/src/io/ |
io_test.go | 391 brOff, brErr := br.Seek(offset, whence) 392 srOff, srErr := sr.Seek(offset, whence) 394 t.Errorf("For whence %d, offset %d: bytes.Reader.Seek = (%v, %v) != SectionReader.Seek = (%v, %v)", 400 // And verify we can just seek past the end and get an EOF 401 got, err := sr.Seek(100, SeekStart) 403 t.Errorf("Seek = %v, %v; want 100, nil", got, err)
|
/prebuilts/go/linux-x86/src/io/ |
io_test.go | 391 brOff, brErr := br.Seek(offset, whence) 392 srOff, srErr := sr.Seek(offset, whence) 394 t.Errorf("For whence %d, offset %d: bytes.Reader.Seek = (%v, %v) != SectionReader.Seek = (%v, %v)", 400 // And verify we can just seek past the end and get an EOF 401 got, err := sr.Seek(100, SeekStart) 403 t.Errorf("Seek = %v, %v; want 100, nil", got, err)
|
/toolchain/binutils/binutils-2.27/zlib/contrib/delphi/ |
ZLib.pas | 62 stream will raise an exception. Using Seek to move the stream pointer 93 function Seek(Offset: Longint; Origin: Word): Longint; override; 101 is read-only and unidirectional; you can seek forward in the stream, but not 122 function Seek(Offset: Longint; Origin: Word): Longint; override; 464 function TCompressionStream.Seek(Offset: Longint; Origin: Word): Longint; 493 FStrm.Seek(-FZRec.avail_in, 1); 527 function TDecompressionStream.Seek(Offset: Longint; Origin: Word): Longint;
|
/prebuilts/go/darwin-x86/src/archive/tar/ |
reader.go | 634 // then writeTo uses Seek to skip past holes defined in Header.SparseHoles, 737 if _, err := ws.Seek(0, io.SeekCurrent); err != nil { 738 ok = false // Not all io.Seeker can really seek 759 _, err = ws.Seek(nf, io.SeekCurrent) 767 // If the last fragment is a hole, then seek to 1-byte before EOF, and 829 // If possible, Seek to the last byte before the end of the data section. 830 // Do this because Seek is often lazy about reporting errors; this will mask 833 var seekSkipped int64 // Number of bytes skipped via Seek 835 // Not all io.Seeker can actually Seek. For example, os.Stdin implements 836 // io.Seeker, but calling Seek always returns an error and perform [all...] |
/prebuilts/go/linux-x86/src/archive/tar/ |
reader.go | 634 // then writeTo uses Seek to skip past holes defined in Header.SparseHoles, 737 if _, err := ws.Seek(0, io.SeekCurrent); err != nil { 738 ok = false // Not all io.Seeker can really seek 759 _, err = ws.Seek(nf, io.SeekCurrent) 767 // If the last fragment is a hole, then seek to 1-byte before EOF, and 829 // If possible, Seek to the last byte before the end of the data section. 830 // Do this because Seek is often lazy about reporting errors; this will mask 833 var seekSkipped int64 // Number of bytes skipped via Seek 835 // Not all io.Seeker can actually Seek. For example, os.Stdin implements 836 // io.Seeker, but calling Seek always returns an error and perform [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeParser.cs | 71 input.Seek(0); // rewind the input
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TreeParser.cs | 75 input.Seek( 0 ); // rewind the input
|
/external/brotli/csharp/org/brotli/dec/ |
BrotliInputStream.cs | 205 public override long Seek(long offset, System.IO.SeekOrigin origin) {
|
/external/libbrillo/brillo/streams/ |
fake_stream.h | 92 bool Seek(int64_t offset,
|
file_stream.cc | 49 off64_t Seek(off64_t offset, int whence) override { 345 // The above devices support seek. Also, if not sure/in doubt, err on the 403 off64_t pos = fd_interface_->Seek(0, SEEK_CUR); 408 bool FileStream::Seek(int64_t offset, 431 off64_t pos = fd_interface_->Seek(offset, raw_whence);
|
memory_stream.h | 48 // positions the stream seek pointer at the end of the data, 155 // == Seek operations ======================================================= 157 bool Seek(int64_t offset,
|
memory_stream_unittest.cc | 126 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_BEGIN, &new_pos, &error)); 130 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_CURRENT, &new_pos, &error)); 135 EXPECT_TRUE(stream_->Seek(-2, Stream::Whence::FROM_END, nullptr, nullptr)); 139 EXPECT_TRUE(stream_->Seek(0, Stream::Whence::FROM_END, nullptr, nullptr));
|
stream.h | 23 // seek within a stream. It has methods for asynchronous (callback-based) as 86 // When seeking in streams, whence specifies the origin of the seek operation. 124 // Seek(). However, if it returns true, it might be possible to seek, but this 157 // == Seek operations ======================================================= 164 // beginning of the stream. This calls Seek(position, Whence::FROM_BEGIN), 166 // it doesn't overflow the range of signed int64_t used by Seek. 175 virtual bool Seek(int64_t offset,
|
/external/libchrome/base/files/ |
file.h | 212 int64_t Seek(Whence whence, int64_t offset); 222 // Same as above but without seek. 230 // Same as above but without seek. 241 // Save as above but without seek.
|
/external/ltp/testcases/kernel/io/disktest/ |
io.c | 99 OFF_T Seek(fd_t fd, OFF_T lba)
|
/external/tensorflow/tensorflow/core/lib/io/ |
buffered_inputstream.cc | 153 Status BufferedInputStream::Seek(int64 position) {
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
expand_unittest.cc | 93 ASSERT_TRUE(input_file_.Seek(speech_start_samples));
|
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
typeunit.go | 116 // Seek to a new position in the type unit. 117 func (tur *typeUnitReader) Seek(off Offset) {
|
/prebuilts/go/linux-x86/src/debug/dwarf/ |
typeunit.go | 116 // Seek to a new position in the type unit. 117 func (tur *typeUnitReader) Seek(off Offset) {
|
/external/gptfdisk/ |
gpt.cc | [all...] |
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
tensor_bundle.cc | 76 TF_RETURN_IF_ERROR(buffered_file->Seek(offset)); 131 TF_RETURN_IF_ERROR(buffered_file->Seek(offset)); 566 iter->Seek(kHeaderEntryKey); 569 "failed to seek to header entry"); 719 iter_->Seek(kHeaderEntryKey); 722 "failed to seek to header entry"); 761 Seek(key); 819 TF_RETURN_IF_ERROR(buffered_file->Seek(entry.offset())); [all...] |
/prebuilts/go/darwin-x86/src/debug/pe/ |
symbol.go | 32 _, err := r.Seek(int64(fh.PointerToSymbolTable), seekStart) 34 return nil, fmt.Errorf("fail to seek to symbol table: %v", err)
|
/prebuilts/go/linux-x86/src/debug/pe/ |
symbol.go | 32 _, err := r.Seek(int64(fh.PointerToSymbolTable), seekStart) 34 return nil, fmt.Errorf("fail to seek to symbol table: %v", err)
|