Lines Matching refs:bestj
400 besti, bestj, bestsize = alo, blo, 0
419 besti, bestj, bestsize = i-k+1, j-k+1, k
426 while besti > alo and bestj > blo and \
427 not isbjunk(b[bestj-1]) and \
428 a[besti-1] == b[bestj-1]:
429 besti, bestj, bestsize = besti-1, bestj-1, bestsize+1
430 while besti+bestsize < ahi and bestj+bestsize < bhi and \
431 not isbjunk(b[bestj+bestsize]) and \
432 a[besti+bestsize] == b[bestj+bestsize]:
442 while besti > alo and bestj > blo and \
443 isbjunk(b[bestj-1]) and \
444 a[besti-1] == b[bestj-1]:
445 besti, bestj, bestsize = besti-1, bestj-1, bestsize+1
446 while besti+bestsize < ahi and bestj+bestsize < bhi and \
447 isbjunk(b[bestj+bestsize]) and \
448 a[besti+bestsize] == b[bestj+bestsize]:
451 return Match(besti, bestj, bestsize)