Home
last modified time | relevance | path

Searched refs:best_i (Results 1 – 11 of 11) sorted by relevance

/external/harfbuzz_ng/util/
Dansi-print.cc284 int best_i = 0; in block_best() local
291 best_i = i; in block_best()
297 best_i = i; in block_best()
303 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height); in block_best()
316 int best_i = 0; in block_best() local
323 best_i = i; in block_best()
329 best_i = i; in block_best()
335 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width); in block_best()
/external/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()
444 best_i = i; in intersectionFinder()
449 if (best_i == 0) { in intersectionFinder()
451 } else if (best_i == 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()
553 best_i = i; in intersectionFinder()
558 if (best_i == 0) { in intersectionFinder()
560 } else if (best_i == 2) { in intersectionFinder()
568 if (best_i == 1 && best_j == 1) { in intersectionFinder()
/external/skqp/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()
444 best_i = i; in intersectionFinder()
449 if (best_i == 0) { in intersectionFinder()
451 } else if (best_i == 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()
553 best_i = i; in intersectionFinder()
558 if (best_i == 0) { in intersectionFinder()
560 } else if (best_i == 2) { in intersectionFinder()
568 if (best_i == 1 && best_j == 1) { in intersectionFinder()
/external/u-boot/drivers/spi/
Dcf_spi.c201 int best_i, best_j, bestmatch = 0x7FFFFFFF, baud_speed; in cfspi_setup_slave() local
257 for (best_i = 0, best_j = 0, i = 0; i < pbrcnt; i++) { in cfspi_setup_slave()
269 best_i = i; in cfspi_setup_slave()
274 bus_setup |= (DSPI_CTAR_PBR(best_i) | DSPI_CTAR_BR(best_j)); in cfspi_setup_slave()
Dfsl_dspi.c368 int best_i, best_j, bus_clk; in fsl_dspi_cfg_speed() local
378 ret = fsl_dspi_hz_to_spi_baud(&best_i, &best_j, speed, bus_clk); in fsl_dspi_cfg_speed()
382 fsl_dspi_hz_to_spi_baud(&best_i, &best_j, speed, bus_clk); in fsl_dspi_cfg_speed()
385 bus_setup |= (DSPI_CTAR_PBR(best_i) | DSPI_CTAR_BR(best_j)); in fsl_dspi_cfg_speed()
/external/harfbuzz_ng/src/
Dhb-ot-color-sbix-table.hh182 unsigned int best_i = 0; in choose_strike() local
191 best_i = i; in choose_strike()
196 return table->get_strike (best_i); in choose_strike()
Dhb-ot-color-cbdt-table.hh355 unsigned int best_i = 0; in choose_strike() local
364 best_i = i; in choose_strike()
369 return sizeTables[best_i]; in choose_strike()
/external/python/cpython2/Lib/
Ddifflib.py990 best_ratio, best_i, best_j = cruncher.ratio(), i, j
999 best_i, best_j, best_ratio = eqi, eqj, 1.0
1008 for line in self._fancy_helper(a, alo, best_i, b, blo, best_j):
1012 aelt, belt = a[best_i], b[best_j]
1038 for line in self._fancy_helper(a, best_i+1, ahi, b, best_j+1, bhi):
/external/python/cpython3/Lib/
Ddifflib.py975 best_ratio, best_i, best_j = cruncher.ratio(), i, j
983 best_i, best_j, best_ratio = eqi, eqj, 1.0
992 yield from self._fancy_helper(a, alo, best_i, b, blo, best_j)
995 aelt, belt = a[best_i], b[best_j]
1020 yield from self._fancy_helper(a, best_i+1, ahi, b, best_j+1, bhi)