Searched defs:seek (Results 1 - 25 of 126) sorted by relevance

123456

/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DSeekableInputStream.java22 * This will not seek past the end of the file. If the current position
23 * is already at or past the end of the file, this doesn't seek at all
26 * equivalent of <code>seek(length())</code> and the return value will
30 * the return value is <code>0</code>. It doesn't seek backward
36 * bytes would seek past the end of the file,
39 * @throws IOException might be thrown by {@link #seek(long)}
53 seek(pos + n);
80 public abstract void seek(long pos) throws IOException; method in class:SeekableInputStream
H A DSeekableFileInputStream.java97 * Calls {@link RandomAccessFile#seek(long) randomAccessFile.seek(long)}.
99 public void seek(long pos) throws IOException { method in class:SeekableFileInputStream
100 randomAccessFile.seek(pos);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DANTLRStringStream.as151 seek(state.p);
171 public function seek(index:int):void { function
176 // seek forward, consume until p hits index
H A DCommonTokenStream.as318 seek(marker);
322 seek(lastMarker);
325 public function seek(index:int):void { function
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DIntStream.java61 * essentially calling release() and seek(). If there are markers
75 * the marker off. It's like seek(last marker's input position).
82 * rewind() except it releases resources without the backward seek.
90 * normally used to seek ahead in the input stream. No buffering is
91 * required to do this unless you know your stream will use seek to
105 * The index is 0..n-1. A seek to position i means that LA(1) will
109 void seek(int index); method in interface:IntStream
H A DANTLRStringStream.java174 seek(state.p);
194 public void seek(int index) { method in class:ANTLRStringStream
199 // seek forward, consume until p hits index
/external/flac/include/FLAC/
H A Dcallback.h117 /** Signature for the seek callback.
167 * If the seek requirement for an interface is optional, you can signify that
168 * a data sorce is not seekable by setting the \a seek field to \c NULL.
173 FLAC__IOCallback_Seek seek; member in struct:__anon7209
/external/python/cpython2/Lib/bsddb/
H A Ddbrecio.py11 f.seek(pos) # set current position
12 f.seek(pos, mode) # mode 0: absolute; 1: relative; 2: relative to EOF
54 def seek(self, pos, mode = 0): member in class:DBRecIO
164 f.seek(len(lines[0]))
166 f.seek(0)
171 f.seek(-len(line), 1)
174 raise RuntimeError, 'bad result after seek back'
175 f.seek(len(line2), 1)
178 f.seek(f.tell() - len(line))
181 raise RuntimeError, 'bad result after seek bac
[all...]
/external/python/cpython2/Lib/
H A Dchunk.py41 read, close, seek, tell, isatty.
98 def seek(self, pos, whence=0): member in class:Chunk
107 raise IOError, "cannot seek"
114 self.file.seek(self.offset + pos, 0)
160 self.file.seek(n, 1)
H A Dmultifile.py58 def seek(self, pos, whence=0): member in class:MultiFile
70 raise Error, 'bad MultiFile.seek() call'
71 self.fp.seek(pos + self.start)
H A DStringIO.py10 f.seek(pos) # set current position
11 f.seek(pos, mode) # mode 0: absolute; 1: relative; 2: relative to EOF
95 def seek(self, pos, mode = 0): member in class:StringIO
99 positioning); other values are 1 (seek relative to the current
100 position) and 2 (seek relative to the file's end).
294 f.seek(len(lines[0]))
296 f.seek(0)
301 f.seek(-len(line), 1)
304 raise RuntimeError, 'bad result after seek back'
305 f.seek(le
[all...]
/external/python/cpython3/Lib/
H A Dchunk.py41 read, close, seek, tell, isatty.
98 def seek(self, pos, whence=0): member in class:Chunk
107 raise OSError("cannot seek")
114 self.file.seek(self.offset + pos, 0)
160 self.file.seek(n, 1)
H A D_compression.py50 # object is also needed when implementing a backwards seek().
115 self._fp.seek(0)
120 def seek(self, offset, whence=io.SEEK_SET): member in class:DecompressReader
H A Dlzma.py237 def seek(self, offset, whence=io.SEEK_SET): member in class:LZMAFile
253 return self._buffer.seek(offset, whence)
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DCommonTreeNodeStream.as293 seek(marker);
297 seek(lastMarker);
300 public function seek(index:int):void { function
315 seek(index);
323 seek(ret);
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DANTLRStringStream.pm176 $self->seek($state->get_p);
195 sub seek { subroutine
204 # seek forward, consume until p hits index
H A DCommonTokenStream.pm315 $self->seek($self->last_marker);
318 $self->seek($marker);
322 sub seek { subroutine
/external/autotest/client/site_tests/video_YouTubePage/files/
H A Dvideo_YouTubePageCommon.js44 function seek(time) { function
108 window.__seek = seek;
/external/turbine/java/com/google/turbine/bytecode/
H A DByteReader.java38 public ByteArrayDataInput seek(int i) { method in class:ByteReader
/external/antlr/antlr-3.4/runtime/C/include/
H A Dantlr3intstream.h142 * essentially calling release() and seek(). If there are markers
157 * rewind() except it releases resources without the backward seek.
162 * normally used to seek ahead in the input stream. No buffering is
163 * required to do this unless you know your stream will use seek to
177 void (*seek) (struct ANTLR3_INT_STREAM_struct * intStream, ANTLR3_MARKER index); member in struct:ANTLR3_INT_STREAM_struct
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DLookaheadStream.h150 seek(marker); // assume marker is top
155 seek(lastMarker); // rewind but do not release marker
159 * case where you seek beyond end of existing buffer. Normally used
160 * to seek backwards in the buffer. Does not force loading of nodes.
162 public void seek(int index) { p = index; } function in class:FastQueue
/external/python/cpython2/Lib/test/
H A Dtest_imghdr.py25 def seek(self, *args, **kwargs): member in class:UnseekableIO
64 stream.seek(pos)
112 stream.seek(0)
/external/python/cpython2/Tools/framer/
H A Dexample.py27 an_input_stream.seek(0) # OK, start over
87 def seek(self, position, mode=0): member in class:cStringIO.InputType
93 seek.pyarg = "i|i"
/external/python/cpython3/Lib/test/
H A Dtest_imghdr.py29 def seek(self, *args, **kwargs): member in class:UnseekableIO
73 stream.seek(pos)
135 stream.seek(0)
/external/smali/smalidea/src/main/java/org/jf/smalidea/
H A DPsiBuilderTokenStream.java150 @Override public void seek(int index) { method in class:PsiBuilderTokenStream

Completed in 879 milliseconds

123456