Home | History | Annotate | Download | only in python2.7

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
260 self.eof = 1
313 while i < 0 and not self.eof:
361 while not self.eof and select.select(*s_args) == s_reply:
379 """Read all data until EOF; block until connection closed."""
381 while not self.eof:
389 """Read at least one byte of cooked data unless EOF is hit.
391 Return '' if EOF is hit. Block if no data is immediately
396 while not self.cookedq and not self.eof:
412 while not self.eof and self.sock_avail():
426 while not self.cookedq and not self.eof and self.sock_avail():
451 if not buf and self.eof and not self.rawq:
474 Set self.eof when connection is closed. Don't block unless in
537 self.iacseq = '' # Reset on EOF
552 if self.eof:
564 Block if no data is immediately available. Set self.eof when
575 self.eof = (not buf)
639 If EOF is read and no text was read, raise EOFError.
683 while not m and not self.eof:
713 if not text and self.eof:
741 if self.eof:
753 if not text and self.eof: