Home
last modified time | relevance | path

Searched refs:best_i (Results 1 - 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/util/
H A Dansi-print.hh281 int best_i = 0;
288 best_i = i;
294 best_i = i;
300 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.height);
313 int best_i = 0;
320 best_i = i;
326 best_i = i;
332 unsigned int which = lround ((double) ((best_i + 1) * 8) / bi.width);
/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()
552 best_i = i; in intersectionFinder()
557 if (best_i == 0) { in intersectionFinder()
559 } else if (best_i == 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()
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()
/third_party/ffmpeg/libavformat/
H A Dmpegenc.c1004 int best_i = -1; in output_packet() local
1040 best_i = i; in output_packet()
1045 if (best_i < 0) { in output_packet()
1081 av_assert0(best_i >= 0); in output_packet()
1083 st = ctx->streams[best_i]; in output_packet()
1102 scr / 90000.0, best_i); in output_packet()
1103 es_size = flush_packet(ctx, best_i, timestamp_packet->pts, in output_packet()
1107 es_size = flush_packet(ctx, best_i, AV_NOPTS_VALUE, AV_NOPTS_VALUE, scr, in output_packet()
H A Dnutenc.c836 int best_i = 0; in find_best_header_idx() local
846 best_i = i; in find_best_header_idx()
849 return best_i; in find_best_header_idx()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-color-sbix-table.hh246 unsigned int best_i = 0; in choose_strike() local
255 best_i = i; in choose_strike()
260 return table->get_strike (best_i); in choose_strike()
H A Dhb-ot-color-cbdt-table.hh782 unsigned int best_i = 0; in choose_strike() local
791 best_i = i; in choose_strike()
796 return sizeTables[best_i]; in choose_strike()
/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)
/third_party/backends/backend/genesys/
H A Dlow.cpp1691 int best_i = -1; in get_motor_profile_ptr() local
1708 if (best_i < 0) { in get_motor_profile_ptr()
1710 best_i = i; in get_motor_profile_ptr()
1713 if (profiles[i].max_exposure < profiles[best_i].max_exposure) { in get_motor_profile_ptr()
1714 best_i = i; in get_motor_profile_ptr()
1720 if (best_i < 0) { in get_motor_profile_ptr()
1724 return &profiles[best_i]; in get_motor_profile_ptr()

Completed in 14 milliseconds