Lines Matching refs:searchwindowsize
276 …def __init__(self, command, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None… argument
413 …self.searchwindowsize = searchwindowsize # Anything before searchwindowsize point is preserved, bu…
486 s.append('searchwindowsize: ' + str(self.searchwindowsize))
1242 def expect(self, pattern, timeout = -1, searchwindowsize=None): argument
1320 return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
1322 def expect_list(self, pattern_list, timeout = -1, searchwindowsize = -1): argument
1334 return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
1336 def expect_exact(self, pattern_list, timeout = -1, searchwindowsize = -1): argument
1352 return self.expect_loop(searcher_string(pattern_list), timeout, searchwindowsize)
1354 def expect_loop(self, searcher, timeout = -1, searchwindowsize = -1): argument
1368 if searchwindowsize == -1:
1369 searchwindowsize = self.searchwindowsize
1375 index = searcher.search(incoming, freshlen, searchwindowsize)
1639 def search(self, buffer, freshlen, searchwindowsize=None): argument
1667 if searchwindowsize is None:
1673 offset = -searchwindowsize
1737 def search(self, buffer, freshlen, searchwindowsize=None): argument
1752 if searchwindowsize is None:
1755 searchstart = max(0, len(buffer)-searchwindowsize)