/external/tensorflow/tensorflow/python/lib/io/ |
file_io.py | 133 def seek(self, offset=None, whence=0, position=None): member in class:FileIO 153 raise TypeError("seek(): offset argument required") 155 raise TypeError("seek(): offset and position may not be set " 173 ret_status = self._read_buf.Seek(offset)
|
/external/toybox/toys/posix/ |
grep.c | 129 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->arg) [all...] |
/frameworks/support/media-widget/src/main/java/androidx/media/widget/ |
RoutePlayer.java | 106 mClient.seek(mItemId, pos, null, new ItemActionCallback() {
|
/hardware/interfaces/broadcastradio/2.0/default/ |
TunerSession.cpp | 45 static constexpr auto seek = 200ms; member in namespace:android::hardware::broadcastradio::V2_0::implementation::delay 134 ALOGI("Performing failed seek up=%d", directionUp); 138 mThread.schedule(task, delay::seek); 165 ALOGI("Performing seek up=%d", directionUp); 170 mThread.schedule(task, delay::seek);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
gzip.py | 289 self.fileobj.seek(0, 2) # Seek to end of file 293 self.fileobj.seek( pos ) # Return to original position 317 # so seek back to the start of the unused data, finish up 319 # (The number of bytes to seek back is the length of the unused 321 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1) 342 self.fileobj.seek(-8, 1) 358 self.fileobj.seek(-1, 1) 399 self.fileobj.seek(0) 415 def seek(self, offset, whence=0) member in class:GzipFile [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
gzip.py | 289 self.fileobj.seek(0, 2) # Seek to end of file 293 self.fileobj.seek( pos ) # Return to original position 317 # so seek back to the start of the unused data, finish up 319 # (The number of bytes to seek back is the length of the unused 321 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1) 342 self.fileobj.seek(-8, 1) 358 self.fileobj.seek(-1, 1) 399 self.fileobj.seek(0) 415 def seek(self, offset, whence=0) member in class:GzipFile [all...] |
/prebuilts/go/darwin-x86/src/os/ |
file_plan9.go | 127 if _, e = syscall.Seek(fd, 0, io.SeekEnd); e != nil { 128 return nil, &PathError{"seek", name, e} 285 // seek sets the offset for the next Read or Write on file to offset, interpreted 289 func (f *File) seek(offset int64, whence int) (ret int64, err error) { func 290 return syscall.Seek(f.fd, offset, whence)
|
/prebuilts/go/darwin-x86/src/syscall/ |
fd_nacl.go | 37 seek(int64, int) (int64, error) 196 func Seek(fd int, offset int64, whence int) (int64, error) { 201 return f.impl.seek(offset, whence) 212 func (*defaultFileImpl) seek(int64, int) (int64, error) { return 0, ENOSYS } func 245 func (f *naclFile) seek(off int64, whence int) (int64, error) { func 255 // NaCl has no pread; simulate with seek and hope for no races. 256 old, err := f.seek(0, io.SeekCurrent) 260 if _, err := f.seek(offset, io.SeekStart); err != nil { 264 f.seek(old, io.SeekStart)
|
/prebuilts/go/linux-x86/src/os/ |
file_plan9.go | 127 if _, e = syscall.Seek(fd, 0, io.SeekEnd); e != nil { 128 return nil, &PathError{"seek", name, e} 285 // seek sets the offset for the next Read or Write on file to offset, interpreted 289 func (f *File) seek(offset int64, whence int) (ret int64, err error) { func 290 return syscall.Seek(f.fd, offset, whence)
|
/prebuilts/go/linux-x86/src/syscall/ |
fd_nacl.go | 37 seek(int64, int) (int64, error) 196 func Seek(fd int, offset int64, whence int) (int64, error) { 201 return f.impl.seek(offset, whence) 212 func (*defaultFileImpl) seek(int64, int) (int64, error) { return 0, ENOSYS } func 245 func (f *naclFile) seek(off int64, whence int) (int64, error) { func 255 // NaCl has no pread; simulate with seek and hope for no races. 256 old, err := f.seek(0, io.SeekCurrent) 260 if _, err := f.seek(offset, io.SeekStart); err != nil { 264 f.seek(old, io.SeekStart)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
gzip.py | 289 self.fileobj.seek(0, 2) # Seek to end of file 293 self.fileobj.seek( pos ) # Return to original position 317 # so seek back to the start of the unused data, finish up 319 # (The number of bytes to seek back is the length of the unused 321 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1) 342 self.fileobj.seek(-8, 1) 358 self.fileobj.seek(-1, 1) 399 self.fileobj.seek(0) 415 def seek(self, offset, whence=0) member in class:GzipFile [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
gzip.py | 289 self.fileobj.seek(0, 2) # Seek to end of file 293 self.fileobj.seek( pos ) # Return to original position 317 # so seek back to the start of the unused data, finish up 319 # (The number of bytes to seek back is the length of the unused 321 self.fileobj.seek( -len(self.decompress.unused_data)+8, 1) 342 self.fileobj.seek(-8, 1) 358 self.fileobj.seek(-1, 1) 399 self.fileobj.seek(0) 415 def seek(self, offset, whence=0) member in class:GzipFile [all...] |
/build/make/tools/ |
fat16copy.py | 56 f.seek(n, os.SEEK_CUR) 81 def seek(self, amount, direction=0): member in class:fake_file 82 "Implementation of seek from python's file-like object interface." 156 self.backing.seek(0) 222 data.seek(0, os.SEEK_END) 234 data.seek(0) 375 f.seek(0) 404 f.seek(-self.fs.bytes_per_cluster, os.SEEK_CUR) 414 f.seek(-(record_count * 32), os.SEEK_CUR) 429 f.seek(self.fs.data_start() + self.idx [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationSeeking.java | 83 animView.seek(progress); 121 public void seek(long seekTime) { method in class:AnimationSeeking.MyAnimationView
|
ReversingAnimation.java | 97 public void seek(long seekTime) { method in class:ReversingAnimation.MyAnimationView
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
codecs.py | 379 def seek(self, offset, whence=0):
member in class:StreamWriter 380 self.stream.seek(offset, whence)
607 def seek(self, offset, whence=0):
member in class:StreamReader 612 self.stream.seek(offset, whence)
705 def seek(self, offset, whence=0):
member in class:StreamReaderWriter 706 self.stream.seek(offset, whence)
[all...] |
sre_parse.py | 218 def seek(self, index):
member in class:Tokenizer 513 source.seek(here)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
gzguts.h | 184 /* seek request */
186 int seek; /* true if seek request pending */
member in struct:__anon4487
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/zlib/ |
gzguts.h | 190 /* seek request */
192 int seek; /* true if seek request pending */
member in struct:__anon4542
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
codecs.py | 373 def seek(self, offset, whence=0):
member in class:StreamWriter 374 self.stream.seek(offset, whence)
604 def seek(self, offset, whence=0):
member in class:StreamReader 609 self.stream.seek(offset, whence)
702 def seek(self, offset, whence=0):
member in class:StreamReaderWriter 703 self.stream.seek(offset, whence)
[all...] |
sre_parse.py | 207 def seek(self, index):
member in class:Tokenizer 497 source.seek(here)
|
tempfile.py | 513 newfile.seek(file.tell(), 0)
580 def seek(self, *args):
member in class:SpooledTemporaryFile 581 self._file.seek(*args)
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3commontreenodestream.c | 73 static void seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index); 213 stream->tnstream->istream->seek = seek; 355 stream->tnstream->istream->seek = seek; 690 is->seek(is, marker); 696 is->seek(is, is->lastMarker); 703 seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index) function 957 ctns->tnstream->istream->seek(ctns->tnstream->istream, index); 966 ctns->tnstream->istream->seek(ctns->tnstream->istream, retVal) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BufferedTokenStream.java | 94 seek(marker); 98 seek(lastMarker); 106 public void seek(int index) { p = index; } method in class:BufferedTokenStream
|
LegacyCommonTokenStream.java | 339 seek(marker); 343 seek(lastMarker); 351 public void seek(int index) { method in class:LegacyCommonTokenStream
|