Lines Matching defs:read
218 data = buffer.read()
238 elif hasattr(message, 'read'):
289 self._last_read = 0 # Records last time we read cur/new
391 return f.read().replace(linesep, b'\n')
517 # we have to unconditionally re-read the mailbox just in case it has
522 # will only re-read as needed. Because the filesystem might be being
686 buffer = self._file.read(min(4096,
782 string = self._file.read(stop - self._file.tell())
798 string = self._file.read(stop - self._file.tell())
1063 return f.read().replace(linesep, b'\n')
1290 body = self._file.read(n)
1316 data = self._file.read(n)
1429 buffer = orig_buffer.read(4096) # Buffer size is arbitrary.
1504 elif hasattr(message, "read"):
1924 """A read-only wrapper of a file."""
1934 def read(self, size=None):
1936 return self._read(size, self._file.read)
2025 """A read-only wrapper of part of a file."""