Home | History | Annotate | Download | only in pexpect

Lines Matching refs:before

148 ##    """Raised when a buffer fills before matching an expected pattern."""
246 child_result_list.append(child.before + child.after)
250 child_result_list.append(child.before)
264 child_result_list.append(child.before)
267 child_result_list.append(child.before)
369 turn off stdin echo, but if you send your password before the
372 real keyboard. If you introduce a slight delay just before writing then
375 to sleep just before writing to the child application. 1/20th of a
402 self.before = None
426 # Data before searchwindowsize point is preserved, but not searched.
428 # Delay used before sending data to child. Time in seconds.
490 s.append('before (last 100 chars): ' + str(self.before)[-100:])
733 not set False before the timeout. This can be used to detect when the
774 child sent before the echo will be lost, so you should be sure that
775 your input buffer is empty before you call setecho(). For example, the
788 The following WILL NOT WORK because the lines sent before the setecho
844 # For this case, I test isalive() before doing any reading.
853 # Irix takes a long time before it realizes a child was terminated.
897 EOF before obtaining size bytes). If the size argument is negative or
907 return self.before
920 ### FIXME self.before should be ''. Should I assert this?
922 return self.before
942 return self.before + '\r\n'
944 return self.before
1335 After a match is found the instance attributes 'before', 'after' and
1336 'match' will be set. You can see all the data read before the match in
1337 'before'. You can see the data that was matched in 'after'. The
1339 occurred then 'before' will be set to all the data read so far and
1379 print p.before
1448 self.before = incoming[: searcher.start]
1465 self.before = incoming
1478 self.before = incoming
1490 self.before = incoming
1548 is run BEFORE the check for the escape_character.
1732 'buffer' which have not been searched before. It helps to avoid
1834 'buffer' which have not been searched before.