Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/_io/
Dbufferedio.c334 #define VALID_READ_BUFFER(self) \ macro
343 if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
348 ((self->readable && VALID_READ_BUFFER(self)) \
352 (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
1327 if (VALID_READ_BUFFER(self)) in _bufferedreader_fill_buffer()
1828 if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) { in bufferedwriter_write()
/external/python/cpython3/Modules/_io/
Dbufferedio.c350 #define VALID_READ_BUFFER(self) \ macro
359 if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
364 ((self->readable && VALID_READ_BUFFER(self)) \
368 (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
1501 if (VALID_READ_BUFFER(self)) in _bufferedreader_fill_buffer()
1934 if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) { in _io_BufferedWriter_write_impl()