Searched defs:seek (Results 26 - 50 of 126) sorted by relevance

123456

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBufferedTokenStream.java94 seek(marker);
98 seek(lastMarker);
106 public void seek(int index) { p = index; } method in class:BufferedTokenStream
H A DLegacyCommonTokenStream.java339 seek(marker);
343 seek(lastMarker);
351 public void seek(int index) { method in class:LegacyCommonTokenStream
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DDebugTokenStream.java127 public void seek(int index) { method in class:DebugTokenStream
128 // TODO: implement seek in dbg interface
129 // db.seek(index);
130 input.seek(index);
H A DDebugTreeNodeStream.java115 public void seek(int index) { method in class:DebugTreeNodeStream
116 // TODO: implement seek in dbg interface
117 // db.seek(index);
118 input.seek(index);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DLookaheadStream.java141 seek(marker); // assume marker is top
146 seek(lastMarker); // rewind but do not release marker
150 * case where you seek beyond end of existing buffer. Normally used
151 * to seek backwards in the buffer. Does not force loading of nodes.
155 public void seek(int index) { p = index; } method in class:LookaheadStream
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dstreams.rb134 === seek
136 <tt>stream.seek(position)</tt> moves the stream cursor to an absolute position
137 within the stream, basically like typical ruby <tt>IO#seek</tt> style methods.
138 However, unlike <tt>IO#seek</tt>, ANTLR streams currently always use absolute
211 # :method: seek( position )
213 abstract :seek
616 def seek( index ) method in class:ANTLR3.that.StringStream
879 seek( marker )
892 seek( pos )
911 # note: seek doe
914 def seek( index ) method in class:ANTLR3.that.CommonTokenStream
[all...]
/external/python/cpython2/Lib/test/
H A Daudiotests.py13 def seek(self, *args, **kwargs): member in class:UnseekableIO
/external/python/cpython3/Lib/
H A Dbz2.py261 def seek(self, offset, whence=io.SEEK_SET): member in class:BZ2File
278 return self._buffer.seek(offset, whence)
H A Dgzip.py102 def seek(self, off): member in class:_PaddedFile
105 return self.file.seek(off)
219 self.offset = 0 # Current file offset for seek(), tell(), etc
341 self._buffer.seek(0)
352 def seek(self, offset, whence=io.SEEK_SET): member in class:GzipFile
360 raise OSError('Negative seek in write mode')
368 return self._buffer.seek(offset, whence)
H A Dsre_parse.py287 def seek(self, index): member in class:Tokenizer
593 source.seek(here)
863 source.seek(0)
/external/python/cpython3/Lib/test/
H A Daudiotests.py11 def seek(self, *args, **kwargs): member in class:UnseekableIO
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowMemoryMappedFile.java95 @Override public void seek(int offset) { method in class:ShadowMemoryMappedFile.RoboBufferIterator
/external/toybox/toys/posix/
H A Dgrep.c129 struct arg_list *seek, fseek; local
132 for (seek = TT.e; seek; seek = seek->next) {
136 if ((i ? strcasecmp : strcmp)(seek->arg, line)) s = line;
137 } else if (!*seek->arg) {
138 seek = &fseek;
142 if (toys.optflags & FLAG_i) s = strnstr(line, seek->arg);
143 else s = strstr(line, seek
[all...]
/external/icu/icu4c/source/common/
H A Drbbi_cache.cpp244 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) {
247 // seek() does not clear it; it can't because of interactions with populateNear().
249 // So clear it here, for the case where seek() succeeded on an iterator that had previously run off the end.
261 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) {
265 // seek() leaves the BreakCache positioned at the preceding boundary
308 UBool RuleBasedBreakIterator::BreakCache::seek(int32_t pos) { function in class:RuleBasedBreakIterator::BreakCache
313 // Common case: seek(0), from BreakIterator::first()
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl14.c777 void run_test(int file_flag, int file_mode, int seek, int start, int end) argument
787 if (seek) {
788 SAFE_LSEEK(cleanup, fd, seek, 0);
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DSeekableXZInputStream.java60 * that the decompressor will only need to seek to certain uncompressed
161 * True when <code>seek(long)</code> has been called but the actual
168 * calling <code>seek(long)</code>.
314 in.seek(0);
336 in.seek(pos - DecoderUtil.STREAM_HEADER_SIZE);
367 in.seek(pos - streamFooter.backwardSize);
403 in.seek(pos);
671 seek();
678 seek();
772 * very fast. The actual seek i
785 public void seek(long pos) throws IOException { method in class:SeekableXZInputStream
824 private void seek() throws IOException { method in class:SeekableXZInputStream
[all...]
/external/python/cpython2/Lib/
H A Dgzip.py296 self.fileobj.seek(0, 2) # Seek to end of file
300 self.fileobj.seek( pos ) # Return to original position
324 # so seek back to the start of the unused data, finish up
326 # (The number of bytes to seek back is the length of the unused
328 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)
349 self.fileobj.seek(-8, 1)
365 self.fileobj.seek(-1, 1)
408 self.fileobj.seek(0)
424 def seek(self, offset, whence=0): member in class:GzipFile
432 raise IOError('Negative seek i
[all...]
H A Dsre_parse.py218 def seek(self, index): member in class:Tokenizer
513 source.seek(here)
H A Dtempfile.py546 newfile.seek(file.tell(), 0)
611 def seek(self, *args): member in class:SpooledTemporaryFile
612 self._file.seek(*args)
/external/python/cpython2/Modules/zlib/
H A Dgzguts.h184 /* seek request */
186 int seek; /* true if seek request pending */ member in struct:__anon19559
/external/python/cpython3/Modules/zlib/
H A Dgzguts.h193 /* seek request */
195 int seek; /* true if seek request pending */ member in struct:__anon20188
/external/skia/include/core/
H A DSkStream.h124 * If an attempt is made to seek past the end of the stream, the position will be set
127 virtual bool seek(size_t /*position*/) { return false; } function in class:SkStream
162 /** SkStreamSeekable is a SkStreamRewindable for which position, seek, move, and fork are required. */
171 bool seek(size_t position) override = 0;
321 bool seek(size_t position) override;
398 bool seek(size_t position) override;
/external/skia/src/utils/win/
H A DSkDWriteFontFileStream.cpp97 bool SkDWriteFontFileStream::seek(size_t position) { function in class:SkDWriteFontFileStream
104 return seek(fPos + offset);
109 that->seek(fPos);
206 if (!fStream->seek(static_cast<size_t>(fileOffset))) {
/external/skqp/include/core/
H A DSkStream.h124 * If an attempt is made to seek past the end of the stream, the position will be set
127 virtual bool seek(size_t /*position*/) { return false; } function in class:SkStream
162 /** SkStreamSeekable is a SkStreamRewindable for which position, seek, move, and fork are required. */
171 bool seek(size_t position) override = 0;
319 bool seek(size_t position) override;
396 bool seek(size_t position) override;
/external/skqp/src/utils/win/
H A DSkDWriteFontFileStream.cpp97 bool SkDWriteFontFileStream::seek(size_t position) { function in class:SkDWriteFontFileStream
104 return seek(fPos + offset);
109 that->seek(fPos);
206 if (!fStream->seek(static_cast<size_t>(fileOffset))) {

Completed in 3174 milliseconds

123456