Home
last modified time | relevance | path

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

/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.c1878 Py_off_t start_pos;
1892 #define COOKIE_BUF_LEN (sizeof(Py_off_t) + 3 * sizeof(int) + sizeof(char))
1916 # define OFF_DEC_FLAGS (sizeof(Py_off_t))
1917 # define OFF_BYTES_TO_FEED (sizeof(Py_off_t) + sizeof(int))
1918 # define OFF_CHARS_TO_SKIP (sizeof(Py_off_t) + 2 * sizeof(int))
1919 # define OFF_NEED_EOF (sizeof(Py_off_t) + 3 * sizeof(int))
Dfileio.c719 Py_off_t pos, res; in portable_lseek()
802 Py_off_t pos; in fileio_truncate()
/external/python/cpython2/Objects/
Dfileobject.c680 typedef off_t Py_off_t; typedef
682 typedef off_t Py_off_t; typedef
684 typedef fpos_t Py_off_t; typedef
693 _portable_fseek(FILE *fp, Py_off_t offset, int whence) in _portable_fseek()
735 static Py_off_t
760 Py_off_t offset; in file_seek()
812 Py_off_t newsize; in file_truncate()
814 Py_off_t initialpos; in file_truncate()
924 Py_off_t pos; in file_tell()
/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()