Lines Matching refs:searchwindowsize
268 …def __init__(self, command, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None… argument
405 …self.searchwindowsize = searchwindowsize # Anything before searchwindowsize point is preserved, bu…
478 s.append('searchwindowsize: ' + str(self.searchwindowsize))
1238 def expect(self, pattern, timeout = -1, searchwindowsize=-1): argument
1316 return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
1318 def expect_list(self, pattern_list, timeout = -1, searchwindowsize = -1): argument
1330 return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
1332 def expect_exact(self, pattern_list, timeout = -1, searchwindowsize = -1): argument
1348 return self.expect_loop(searcher_string(pattern_list), timeout, searchwindowsize)
1350 def expect_loop(self, searcher, timeout = -1, searchwindowsize = -1): argument
1364 if searchwindowsize == -1:
1365 searchwindowsize = self.searchwindowsize
1371 index = searcher.search(incoming, freshlen, searchwindowsize)
1635 def search(self, buffer, freshlen, searchwindowsize=None): argument
1663 if searchwindowsize is None:
1669 offset = -searchwindowsize
1733 def search(self, buffer, freshlen, searchwindowsize=None): argument
1748 if searchwindowsize is None:
1751 searchstart = max(0, len(buffer)-searchwindowsize)