Home | History | Annotate | Download | only in Lib

Lines Matching refs:eof

17 Note that read_all() won't read until eof -- it just reads some data
18 -- but it guarantees to read at least one byte unless EOF is hit.
155 Read all data until EOF; may block.
158 Read at least one byte or EOF; may block.
204 self.eof = 0
221 self.eof = 0
259 self.eof = 1
314 while i < 0 and not self.eof:
364 while not self.eof and select.select(*s_args) == s_reply:
382 """Read all data until EOF; block until connection closed."""
384 while not self.eof:
392 """Read at least one byte of cooked data unless EOF is hit.
394 Return '' if EOF is hit. Block if no data is immediately
399 while not self.cookedq and not self.eof:
415 while not self.eof and self.sock_avail():
429 while not self.cookedq and not self.eof and self.sock_avail():
454 if not buf and self.eof and not self.rawq:
477 Set self.eof when connection is closed. Don't block unless in
540 self.iacseq = '' # Reset on EOF
555 if self.eof:
567 Block if no data is immediately available. Set self.eof when
578 self.eof = (not buf)
642 If EOF is read and no text was read, raise EOFError.
686 while not m and not self.eof:
717 if not text and self.eof:
745 if self.eof:
757 if not text and self.eof: