Lines Matching refs:best
790 int idx, best = -1;
798 best = idx;
801 return best;
812 int idx, best = -1;
821 best = idx;
826 if (best == -1)
829 return best;
832 return best;
858 int idx, best = -1;
867 best = idx;
872 if (best == -1)
875 return best;
878 return best;
889 int idx, best = -1;
897 best = idx;
900 return best;
926 int idx, best = -1;
935 best = idx;
940 if (best == -1)
944 if (target_freq - table[best].frequency > freq - target_freq)
947 return best;
950 return best;
961 int idx, best = -1;
970 best = idx;
975 if (best == -1)
979 if (table[best].frequency - target_freq > target_freq - freq)
982 return best;
985 return best;