Home
last modified time | relevance | path

Searched refs:Py_off_t (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Modules/_io/
Dbufferedio.c214 Py_off_t abs_pos;
219 Py_off_t pos;
221 Py_off_t raw_pos;
225 Py_off_t read_end;
228 Py_off_t write_pos;
231 Py_off_t write_end;
665 static Py_off_t
668 Py_off_t n; in _buffered_raw_tell()
686 static Py_off_t
687 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) in _buffered_raw_seek()
[all …]
D_iomodule.h95 typedef long long Py_off_t; typedef
106 typedef off_t Py_off_t; typedef
134 extern Py_off_t PyNumber_AsOff_t(PyObject *item, PyObject *err);
Dfileio.c687 Py_off_t pos, end;
711 end = (Py_off_t)-1;
876 Py_off_t pos, res;
1001 Py_off_t pos;
D_iomodule.c530 Py_off_t
533 Py_off_t result; in PyNumber_AsOff_t()
Dtextio.c2309 Py_off_t start_pos;
2323 #define COOKIE_BUF_LEN (sizeof(Py_off_t) + 3 * sizeof(int) + sizeof(char))
2341 # define OFF_DEC_FLAGS (sizeof(Py_off_t))
2342 # define OFF_BYTES_TO_FEED (sizeof(Py_off_t) + sizeof(int))
2343 # define OFF_CHARS_TO_SKIP (sizeof(Py_off_t) + 2 * sizeof(int))
2344 # define OFF_NEED_EOF (sizeof(Py_off_t) + 3 * sizeof(int))
/external/python/cpython2/Modules/_io/
Dbufferedio.c205 Py_off_t abs_pos;
210 Py_off_t pos;
212 Py_off_t raw_pos;
216 Py_off_t read_end;
219 Py_off_t write_pos;
222 Py_off_t write_end;
620 static Py_off_t
623 Py_off_t n; in _buffered_raw_tell()
641 static Py_off_t
642 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) in _buffered_raw_seek()
[all …]
D_iomodule.h102 typedef PY_LONG_LONG Py_off_t; typedef
113 typedef off_t Py_off_t; typedef
141 extern Py_off_t PyNumber_AsOff_t(PyObject *item, PyObject *err);
D_iomodule.c544 Py_off_t
547 Py_off_t result; in PyNumber_AsOff_t()
555 result = (Py_off_t) PyInt_AS_LONG(value); in PyNumber_AsOff_t()
Dtextio.c1883 Py_off_t start_pos;
1897 #define COOKIE_BUF_LEN (sizeof(Py_off_t) + 3 * sizeof(int) + sizeof(char))
1921 # define OFF_DEC_FLAGS (sizeof(Py_off_t))
1922 # define OFF_BYTES_TO_FEED (sizeof(Py_off_t) + sizeof(int))
1923 # define OFF_CHARS_TO_SKIP (sizeof(Py_off_t) + 2 * sizeof(int))
1924 # define OFF_NEED_EOF (sizeof(Py_off_t) + 3 * sizeof(int))
Dfileio.c755 Py_off_t pos, res; in portable_lseek()
838 Py_off_t pos; in fileio_truncate()
/external/python/cpython3/Modules/clinic/
Dposixmodule.c.h4823 os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length);
4831 Py_off_t length; in os_lockf()
4877 static Py_off_t
4878 os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how);
4885 Py_off_t position; in os_lseek()
4887 Py_off_t _return_value; in os_lseek()
5047 os_pread_impl(PyObject *module, int fd, Py_ssize_t length, Py_off_t offset);
5055 Py_off_t offset; in os_pread()
5123 os_preadv_impl(PyObject *module, int fd, PyObject *buffers, Py_off_t offset,
5132 Py_off_t offset; in os_preadv()
[all …]
/external/python/cpython2/Modules/
Dbz2module.c28 typedef off_t Py_off_t; typedef
30 typedef off_t Py_off_t; typedef
32 typedef fpos_t Py_off_t; typedef
103 Py_off_t pos;
104 Py_off_t size;
1016 Py_off_t offset; in BZ2File_seek()
1020 Py_off_t bytesread = 0; in BZ2File_seek()
/external/python/cpython2/Objects/
Dfileobject.c690 typedef off_t Py_off_t; typedef
692 typedef off_t Py_off_t; typedef
694 typedef fpos_t Py_off_t; typedef
703 _portable_fseek(FILE *fp, Py_off_t offset, int whence) in _portable_fseek()
745 static Py_off_t
770 Py_off_t offset; in file_seek()
822 Py_off_t newsize; in file_truncate()
824 Py_off_t initialpos; in file_truncate()
934 Py_off_t pos; in file_tell()
/external/python/cpython3/Modules/
Dposixmodule.c1390 typedef long long Py_off_t; typedef
1392 typedef off_t Py_off_t; typedef
1399 *((Py_off_t *)addr) = PyLong_AsLongLong(arg); in Py_off_t_converter()
1401 *((Py_off_t *)addr) = PyLong_AsLong(arg); in Py_off_t_converter()
1409 PyLong_FromPy_off_t(Py_off_t offset) in PyLong_FromPy_off_t()
9280 os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length) in os_lockf_impl()
9315 static Py_off_t
9316 os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how) in os_lseek_impl()
9319 Py_off_t result; in os_lseek_impl()
9518 os_pread_impl(PyObject *module, int fd, Py_ssize_t length, Py_off_t offset) in os_pread_impl()
[all …]