Home
last modified time | relevance | path

Searched refs:portable_lseek (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/_io/
Dfileio.c71 portable_lseek(int fd, PyObject *posobj, int whence);
73 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence);
399 PyObject *pos = portable_lseek(self->fd, NULL, 2); in fileio_init()
488 PyObject *pos = portable_lseek(self->fd, NULL, SEEK_CUR); in fileio_seekable()
753 portable_lseek(int fd, PyObject *posobj, int whence) in portable_lseek() function
820 return portable_lseek(self->fd, posobj, whence); in fileio_seek()
829 return portable_lseek(self->fd, NULL, 1); in fileio_tell()
854 posobj = portable_lseek(fd, NULL, 1); in fileio_truncate()
870 oldposobj = portable_lseek(fd, NULL, 1); in fileio_truncate()
877 tempposobj = portable_lseek(fd, posobj, 0); in fileio_truncate()
[all …]
/external/python/cpython3/Modules/_io/
Dfileio.c77 static PyObject* portable_lseek(fileio *self, PyObject *posobj, int whence);
478 PyObject *pos = portable_lseek(self, NULL, 2);
601 PyObject *pos = portable_lseek(self, NULL, SEEK_CUR);
868 portable_lseek(fileio *self, PyObject *posobj, int whence) function
953 return portable_lseek(self, pos, whence);
971 return portable_lseek(self, NULL, 1);
1002 posobj = portable_lseek(self, NULL, 1);