Searched refs:best_index (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_schedule.c674 signed best_index = -1; local in function:mir_choose_instruction
752 if (effect == best_effect && (signed) i < best_index)
756 best_index = i;
762 if (best_index < 0)
766 assert(best_index < count);
767 midgard_instruction *I = instructions[best_index];
770 BITSET_CLEAR(worklist, best_index);
773 mir_adjust_constants(instructions[best_index], predicate, true);
776 predicate->pipeline_count += mir_pipeline_count(instructions[best_index]);
779 mir_adjust_unit(instructions[best_index], uni
[all...]
/xsrc/external/mit/xterm/dist/
H A Dmisc.c3144 int best_index = -1; local in function:xtermClosestColor
3169 if (best_index < 0 || this_value < best_value) {
3170 best_index = n;
3175 TRACE(("...best match at %d with diff %lx\n", best_index, best_value));
3176 result = best_index;

Completed in 11 milliseconds