Lines Matching refs:lines
452 # If we have lines cached, first merge them back into characters
481 lines = newchars.splitlines(True)
482 if len(lines)<=1:
512 # If we have lines cached from an earlier read, return
539 lines = line.splitlines(True)
540 if lines:
541 if len(lines) > 1:
544 line = lines[0]
545 del lines[0]
546 if len(lines) > 1:
547 # cache the remaining lines
548 lines[-1] += self.charbuffer
549 self.linebuffer = lines
553 self.charbuffer = lines[0] + self.charbuffer
557 line0withend = lines[0]
558 line0withoutend = lines[0].splitlines(False)[0]
561 self.charbuffer = "".join(lines[1:]) + self.charbuffer
578 """ Read all lines available on the input stream
579 and return them as list of lines.