/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | fseek.c | 65 fseek(FILE *fp, long l_offset, int whence) in fseek() argument 69 if (whence == SEEK_SET) in fseek() 73 return fseeko(fp, offset, whence); in fseek()
|
D | fseeko.c | 72 fseeko(FILE *fp, off_t offset, int whence) in __weak_alias() 112 switch (whence) { in __weak_alias() 139 whence = SEEK_SET; in __weak_alias() 183 if (whence == SEEK_SET) in __weak_alias() 287 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) { in __weak_alias()
|
D | stdio.c | 101 __sseek(void *cookie, fpos_t offset, int whence) in __sseek() argument 112 ret = lseek(fp->_file, (off_t)offset, whence); in __sseek()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | multifile.py | 58 def seek(self, pos, whence=0): argument 60 if whence: 61 if whence == 1: 63 elif whence == 2:
|
D | _pyio.py | 297 def seek(self, pos, whence=0): argument 690 def seek(self, pos, whence=0): argument 691 new_position = self.raw.seek(pos, whence) 842 def seek(self, pos, whence=0): argument 849 if whence == 0: 853 elif whence == 1: 855 elif whence == 2: 1032 def seek(self, pos, whence=0): argument 1033 if not (0 <= whence <= 2): 1036 if whence == 1: [all …]
|
D | chunk.py | 96 def seek(self, pos, whence=0): argument 106 if whence == 1: 108 elif whence == 2:
|
D | codecs.py | 373 def seek(self, offset, whence=0): argument 374 self.stream.seek(offset, whence) 375 if whence == 0 and offset == 0: 604 def seek(self, offset, whence=0): argument 609 self.stream.seek(offset, whence) 702 def seek(self, offset, whence=0): argument 703 self.stream.seek(offset, whence) 705 if whence == 0 and offset == 0:
|
D | gzip.py | 406 def seek(self, offset, whence=0): argument 407 if whence: 408 if whence == 1:
|
D | mailbox.py | 1848 def seek(self, offset, whence=0): argument 1850 if whence == 1: 1852 self._file.seek(offset, whence) 1882 def seek(self, offset, whence=0): argument 1884 if whence == 0: 1886 whence = 1 1887 elif whence == 2: 1889 whence = 1 1890 _ProxyFile.seek(self, offset, whence)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
D | fileio.c | 73 portable_lseek(int fd, PyObject *posobj, int whence); 75 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence); 692 portable_lseek(int fd, PyObject *posobj, int whence) in portable_lseek() argument 698 switch (whence) { in portable_lseek() 700 case 0: whence = SEEK_SET; break; in portable_lseek() 703 case 1: whence = SEEK_CUR; break; in portable_lseek() 706 case 2: whence = SEEK_END; break; in portable_lseek() 730 res = _lseeki64(fd, pos, whence); in portable_lseek() 732 res = lseek(fd, pos, whence); in portable_lseek() 751 int whence = 0; in fileio_seek() local [all …]
|
D | bufferedio.c | 615 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) in _buffered_raw_seek() argument 623 whenceobj = PyLong_FromLong(whence); in _buffered_raw_seek() 1044 int whence = 0; in buffered_seek() local 1048 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) { in buffered_seek() 1051 if (whence < 0 || whence > 2) { in buffered_seek() 1053 "whence must be between 0 and 2, not %d", whence); in buffered_seek() 1063 if (whence != 2 && self->readable) { in buffered_seek() 1075 if (whence == 0) in buffered_seek() 1099 if (whence == 1) in buffered_seek() 1101 n = _buffered_raw_seek(self, target, whence); in buffered_seek()
|
D | textio.c | 1958 int whence = 0; in textiowrapper_seek() local 1964 if (!PyArg_ParseTuple(args, "O|i:seek", &cookieObj, &whence)) in textiowrapper_seek() 1976 if (whence == 1) { in textiowrapper_seek() 1996 else if (whence == 2) { in textiowrapper_seek() 2027 else if (whence != 0) { in textiowrapper_seek() 2029 "invalid whence (%d, should be 0, 1 or 2)", whence); in textiowrapper_seek()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
D | fileio.c | 68 portable_lseek(int fd, PyObject *posobj, int whence); 70 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence); 704 portable_lseek(int fd, PyObject *posobj, int whence) in portable_lseek() argument 710 switch (whence) { in portable_lseek() 712 case 0: whence = SEEK_SET; break; in portable_lseek() 715 case 1: whence = SEEK_CUR; break; in portable_lseek() 718 case 2: whence = SEEK_END; break; in portable_lseek() 742 res = _lseeki64(fd, pos, whence); in portable_lseek() 744 res = lseek(fd, pos, whence); in portable_lseek() 763 int whence = 0; in fileio_seek() local [all …]
|
D | bufferedio.c | 643 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) in _buffered_raw_seek() argument 651 whenceobj = PyLong_FromLong(whence); in _buffered_raw_seek() 1071 int whence = 0; in buffered_seek() local 1075 if (!PyArg_ParseTuple(args, "O|i:seek", &targetobj, &whence)) { in buffered_seek() 1078 if (whence < 0 || whence > 2) { in buffered_seek() 1080 "whence must be between 0 and 2, not %d", whence); in buffered_seek() 1090 if (whence != 2 && self->readable) { in buffered_seek() 1102 if (whence == 0) in buffered_seek() 1126 if (whence == 1) in buffered_seek() 1128 n = _buffered_raw_seek(self, target, whence); in buffered_seek()
|
D | textio.c | 2004 int whence = 0; in textiowrapper_seek() local 2010 if (!PyArg_ParseTuple(args, "O|i:seek", &cookieObj, &whence)) in textiowrapper_seek() 2022 if (whence == 1) { in textiowrapper_seek() 2042 else if (whence == 2) { in textiowrapper_seek() 2073 else if (whence != 0) { in textiowrapper_seek() 2075 "invalid whence (%d, should be 0, 1 or 2)", whence); in textiowrapper_seek()
|
/device/google/contexthub/util/common/ |
D | file.cpp | 85 off64_t File::seekTo(off64_t pos, int whence) { in seekTo() argument 86 off64_t new_pos = lseek64(mFd, pos, whence); in seekTo()
|
D | file.h | 41 off64_t seekTo(off64_t pos, int whence = SEEK_SET);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | gzlib.c | 362 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 365 int whence; 383 if (whence != SEEK_SET && whence != SEEK_CUR) 387 if (whence == SEEK_SET) 439 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 442 int whence; 446 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | codecs.py | 379 def seek(self, offset, whence=0): argument 380 self.stream.seek(offset, whence) 381 if whence == 0 and offset == 0: 607 def seek(self, offset, whence=0): argument 612 self.stream.seek(offset, whence) 705 def seek(self, offset, whence=0): argument 706 self.stream.seek(offset, whence) 708 if whence == 0 and offset == 0:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | fcntlmodule.c | 310 int fd, code, ret, whence = 0; in fcntl_lockf() local 315 &lenobj, &startobj, &whence)) in fcntl_lockf() 365 l.l_whence = whence; in fcntl_lockf()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
D | daShell.c | 100 int whence in da_ShellSeek() argument 109 if(whence != SEEK_SET) { in da_ShellSeek() 111 if(whence == SEEK_END) { in da_ShellSeek()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | fileobject.c | 695 _portable_fseek(FILE *fp, Py_off_t offset, int whence) in _portable_fseek() argument 698 return fseek(fp, offset, whence); in _portable_fseek() 700 return fseeko(fp, offset, whence); in _portable_fseek() 702 return fseek64(fp, offset, whence); in _portable_fseek() 704 return _fseek(fp, offset, whence); in _portable_fseek() 709 switch (whence) { in _portable_fseek() 760 int whence; in file_seek() local 768 whence = 0; in file_seek() 769 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek() 796 ret = _portable_fseek(f->f_fp, offset, whence); in file_seek()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | fileobject.c | 681 _portable_fseek(FILE *fp, Py_off_t offset, int whence) in _portable_fseek() argument 684 return fseek(fp, offset, whence); in _portable_fseek() 686 return fseeko(fp, offset, whence); in _portable_fseek() 688 return fseek64(fp, offset, whence); in _portable_fseek() 690 return _fseek(fp, offset, whence); in _portable_fseek() 695 switch (whence) { in _portable_fseek() 746 int whence; in file_seek() local 754 whence = 0; in file_seek() 755 if (!PyArg_ParseTuple(args, "O|i:seek", &offobj, &whence)) in file_seek() 782 ret = _portable_fseek(f->f_fp, offset, whence); in file_seek()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
D | gzio.c | 767 z_off_t ZEXPORT gzseek (file, offset, whence) in gzseek() argument 770 int whence; 774 if (s == NULL || whence == SEEK_END || 783 if (whence == SEEK_SET) { 809 if (whence == SEEK_CUR) {
|
/device/google/cuttlefish_common/common/libs/fs/ |
D | shared_fd.h | 318 off_t LSeek(off_t offset, int whence) { in LSeek() argument 320 off_t rval = TEMP_FAILURE_RETRY(lseek(fd_, offset, whence)); in LSeek()
|