Lines Matching refs:alo
348 def find_longest_match(self, alo, ahi, blo, bhi): argument
405 besti, bestj, bestsize = alo, blo, 0
411 for i in xrange(alo, ahi):
431 while besti > alo and bestj > blo and \
447 while besti > alo and bestj > blo and \
490 alo, ahi, blo, bhi = queue.pop()
491 i, j, k = x = self.find_longest_match(alo, ahi, blo, bhi)
497 if alo < i and blo < j:
498 queue.append((alo, i, blo, j))
908 for tag, alo, ahi, blo, bhi in cruncher.get_opcodes():
910 g = self._fancy_replace(a, alo, ahi, b, blo, bhi)
912 g = self._dump('-', a, alo, ahi)
916 g = self._dump(' ', a, alo, ahi)
928 def _plain_replace(self, a, alo, ahi, b, blo, bhi): argument
929 assert alo < ahi and blo < bhi
932 if bhi - blo < ahi - alo:
934 second = self._dump('-', a, alo, ahi)
936 first = self._dump('-', a, alo, ahi)
943 def _fancy_replace(self, a, alo, ahi, b, blo, bhi): argument
974 for i in xrange(alo, ahi):
995 for line in self._plain_replace(a, alo, ahi, b, blo, bhi):
1008 for line in self._fancy_helper(a, alo, best_i, b, blo, best_j):
1041 def _fancy_helper(self, a, alo, ahi, b, blo, bhi): argument
1043 if alo < ahi:
1045 g = self._fancy_replace(a, alo, ahi, b, blo, bhi)
1047 g = self._dump('-', a, alo, ahi)