Home
last modified time | relevance | path

Searched refs:bestsize (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Ddifflib.py405 besti, bestj, bestsize = alo, blo, 0
423 if k > bestsize:
424 besti, bestj, bestsize = i-k+1, j-k+1, k
434 besti, bestj, bestsize = besti-1, bestj-1, bestsize+1
435 while besti+bestsize < ahi and bestj+bestsize < bhi and \
436 not isbjunk(b[bestj+bestsize]) and \
437 a[besti+bestsize] == b[bestj+bestsize]:
438 bestsize += 1
450 besti, bestj, bestsize = besti-1, bestj-1, bestsize+1
451 while besti+bestsize < ahi and bestj+bestsize < bhi and \
[all …]
/external/python/cpython3/Lib/
Ddifflib.py400 besti, bestj, bestsize = alo, blo, 0
418 if k > bestsize:
419 besti, bestj, bestsize = i-k+1, j-k+1, k
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]:
433 bestsize += 1
445 besti, bestj, bestsize = besti-1, bestj-1, bestsize+1
446 while besti+bestsize < ahi and bestj+bestsize < bhi and \
[all …]
/external/zopfli/src/zopflipng/
Dzopflipng_lib.cc285 size_t bestsize = 0; in AutoChooseFilterStrategy() local
299 if (bestsize == 0 || out.size() < bestsize) { in AutoChooseFilterStrategy()
300 bestsize = out.size(); in AutoChooseFilterStrategy()
398 size_t bestsize = 0; in ZopfliPNGOptimize() local
412 if (bestsize == 0 || temp.size() < bestsize) { in ZopfliPNGOptimize()
413 bestsize = temp.size(); in ZopfliPNGOptimize()
/external/zopfli/src/zopfli/
Ddeflate.c257 size_t bestsize = 0; in AddDynamicTree() local
263 if (bestsize == 0 || size < bestsize) { in AddDynamicTree()
264 bestsize = size; in AddDynamicTree()