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.c79 static PyObject* portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_erro…
484 PyObject *pos = portable_lseek(self, NULL, 2, true);
607 PyObject *pos = portable_lseek(self, NULL, SEEK_CUR, false);
874 portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_error) function
964 return portable_lseek(self, pos, whence, false);
982 return portable_lseek(self, NULL, 1, false);
1013 posobj = portable_lseek(self, NULL, 1, false);