Home
last modified time | relevance | path

Searched refs:best_j (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/tests/
H A DPathOpsCubicIntersectionTest.cpp544 int best_i = 1, best_j = 1; in intersectionFinder() local
551 if (dist[best_i][best_j] > dist[i][j]) { in intersectionFinder()
553 best_j = j; in intersectionFinder()
562 if (best_j == 0) { in intersectionFinder()
564 } else if (best_j == 2) { in intersectionFinder()
567 if (best_i == 1 && best_j == 1) { in intersectionFinder()
H A DPathOpsQuadIntersectionTest.cpp436 int best_i = 1, best_j = 1; in intersectionFinder() local
443 if (dist[best_i][best_j] > dist[i][j]) { in intersectionFinder()
445 best_j = j; in intersectionFinder()
454 if (best_j == 0) { in intersectionFinder()
456 } else if (best_j == 2) { in intersectionFinder()
459 if (best_i == 1 && best_j == 1) { in intersectionFinder()
/third_party/python/Modules/
H A Daudioop.c635 Py_ssize_t j, best_j; in audioop_findfit_impl() local
661 best_j = 0; in audioop_findfit_impl()
675 best_j = j; in audioop_findfit_impl()
680 factor = _sum2(cp1+best_j, cp2, len2) / sum_ri_2; in audioop_findfit_impl()
682 return Py_BuildValue("(nf)", best_j, factor); in audioop_findfit_impl()
750 Py_ssize_t j, best_j; in audioop_findmax_impl() local
771 best_j = 0; in audioop_findmax_impl()
781 best_j = j; in audioop_findmax_impl()
786 return PyLong_FromSsize_t(best_j); in audioop_findmax_impl()
/third_party/ffmpeg/libavcodec/
H A Ddvdsubenc.c125 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors()
146 best_j = j; in count_colors()
149 match += best_j; in count_colors()
/third_party/python/Lib/
H A Ddifflib.py940 best_ratio, best_i, best_j = cruncher.ratio(), i, j
948 best_i, best_j, best_ratio = eqi, eqj, 1.0
953 # a[best_i] very similar to b[best_j]; eqi is None iff they're not
957 yield from self._fancy_helper(a, alo, best_i, b, blo, best_j)
960 aelt, belt = a[best_i], b[best_j]
985 yield from self._fancy_helper(a, best_i+1, ahi, b, best_j+1, bhi)

Completed in 8 milliseconds