Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_io/
Dbufferedio.c351 #define RAW_OFFSET(self) \ macro
764 n = _buffered_raw_seek(self, -RAW_OFFSET(self), 1); in buffered_flush_and_rewind_unlocked()
1060 pos -= RAW_OFFSET(self); in buffered_tell()
1101 offset = target - (current - RAW_OFFSET(self)); in buffered_seek()
1125 target -= RAW_OFFSET(self); in buffered_seek()
1763 rewind = RAW_OFFSET(self) + (self->pos - self->write_pos); in _bufferedwriter_flush_unlocked()
1892 offset = RAW_OFFSET(self); in bufferedwriter_write()
/external/python/cpython3/Modules/_io/
Dbufferedio.c367 #define RAW_OFFSET(self) \ macro
807 n = _buffered_raw_seek(self, -RAW_OFFSET(self), 1); in buffered_flush_and_rewind_unlocked()
1202 pos -= RAW_OFFSET(self); in buffered_tell()
1265 offset = target - (current - RAW_OFFSET(self)); in _io__Buffered_seek_impl()
1288 target -= RAW_OFFSET(self); in _io__Buffered_seek_impl()
1858 rewind = RAW_OFFSET(self) + (self->pos - self->write_pos); in _bufferedwriter_flush_unlocked()
1998 offset = RAW_OFFSET(self); in _io_BufferedWriter_write_impl()