Home
last modified time | relevance | path

Searched refs:best_j (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/tests/
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()
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()
/third_party/flutter/skia/tests/
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()
DPathOpsCubicIntersectionTest.cpp545 int best_i = 1, best_j = 1; in intersectionFinder() local
552 if (dist[best_i][best_j] > dist[i][j]) { in intersectionFinder()
554 best_j = j; in intersectionFinder()
563 if (best_j == 0) { in intersectionFinder()
565 } else if (best_j == 2) { in intersectionFinder()
568 if (best_i == 1 && best_j == 1) { in intersectionFinder()
/third_party/python/Modules/
Daudioop.c626 Py_ssize_t j, best_j; in audioop_findfit_impl() local
652 best_j = 0; in audioop_findfit_impl()
666 best_j = j; in audioop_findfit_impl()
671 factor = _sum2(cp1+best_j, cp2, len2) / sum_ri_2; in audioop_findfit_impl()
673 return Py_BuildValue("(nf)", best_j, factor); in audioop_findfit_impl()
741 Py_ssize_t j, best_j; in audioop_findmax_impl() local
762 best_j = 0; in audioop_findmax_impl()
772 best_j = j; in audioop_findmax_impl()
777 return PyLong_FromSsize_t(best_j); in audioop_findmax_impl()
/third_party/ffmpeg/libavcodec/
Ddvdsubenc.c124 int x, y, i, j, match, d, best_d, av_uninit(best_j); in count_colors()
145 best_j = j; in count_colors()
148 match += best_j; in count_colors()
/third_party/python/Lib/
Ddifflib.py940 best_ratio, best_i, best_j = cruncher.ratio(), i, j
948 best_i, best_j, best_ratio = eqi, eqj, 1.0
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)