Lines Matching defs:read
452 """Wakeup read*() functions waiting for data or EOF."""
504 # to a read coroutine. Running two read coroutines at the same time
530 line can be read due to EOF, return incomplete line without
531 terminating newline. When EOF was reached while no bytes read, empty
573 If the data cannot be read because of over limit, a
575 will be left in the internal buffer, so it can be read again.
648 async def read(self, n=-1):
652 read until EOF, then return all read bytes.
660 If EOF is received before any byte is read, return an empty
680 # bytes. So just call self.read(self._limit) until EOF.
683 block = await self.read(self._limit)
690 await self._wait_for_data('read')
703 read. The IncompleteReadError.partial attribute of the exception will
704 contain the partial read bytes.