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.c215 Py_off_t abs_pos;
220 Py_off_t pos;
222 Py_off_t raw_pos;
226 Py_off_t read_end;
229 Py_off_t write_pos;
232 Py_off_t write_end;
677 static Py_off_t
680 Py_off_t n; in _buffered_raw_tell()
698 static Py_off_t
699 _buffered_raw_seek(buffered *self, Py_off_t target, int whence) in _buffered_raw_seek()
[all …]
D_iomodule.h93 typedef long long Py_off_t; typedef
104 typedef off_t Py_off_t; typedef
132 extern Py_off_t PyNumber_AsOff_t(PyObject *item, PyObject *err);
Dfileio.c681 Py_off_t pos, end;
705 end = (Py_off_t)-1;
870 Py_off_t pos, res;
990 Py_off_t pos;
D_iomodule.c500 Py_off_t
503 Py_off_t result; in PyNumber_AsOff_t()
Dtextio.c2193 Py_off_t start_pos;
2207 #define COOKIE_BUF_LEN (sizeof(Py_off_t) + 3 * sizeof(int) + sizeof(char))
2225 # define OFF_DEC_FLAGS (sizeof(Py_off_t))
2226 # define OFF_BYTES_TO_FEED (sizeof(Py_off_t) + sizeof(int))
2227 # define OFF_CHARS_TO_SKIP (sizeof(Py_off_t) + 2 * sizeof(int))
2228 # 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.h3542 os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length);
3550 Py_off_t length; in os_lockf()
3576 static Py_off_t
3577 os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how);
3584 Py_off_t position; in os_lseek()
3586 Py_off_t _return_value; in os_lseek()
3692 os_pread_impl(PyObject *module, int fd, int length, Py_off_t offset);
3700 Py_off_t offset; in os_pread()
3740 os_preadv_impl(PyObject *module, int fd, PyObject *buffers, Py_off_t offset,
3749 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.c1249 typedef long long Py_off_t; typedef
1251 typedef off_t Py_off_t; typedef
1258 *((Py_off_t *)addr) = PyLong_AsLongLong(arg); in Py_off_t_converter()
1260 *((Py_off_t *)addr) = PyLong_AsLong(arg); in Py_off_t_converter()
1268 PyLong_FromPy_off_t(Py_off_t offset) in PyLong_FromPy_off_t()
7951 os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length) in os_lockf_impl()
7982 static Py_off_t
7983 os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how) in os_lseek_impl()
7986 Py_off_t result; in os_lseek_impl()
8189 os_pread_impl(PyObject *module, int fd, int length, Py_off_t offset) in os_pread_impl()
[all …]