Lines Matching refs:best
772 int idx, best = -1;
780 best = idx;
783 return best;
793 int idx, best = -1;
802 best = idx;
807 if (best == -1)
810 return best;
813 return best;
835 int idx, best = -1;
844 best = idx;
849 if (best == -1)
852 return best;
855 return best;
865 int idx, best = -1;
873 best = idx;
876 return best;
898 int idx, best = -1;
907 best = idx;
912 if (best == -1)
916 if (target_freq - table[best].frequency > freq - target_freq)
919 return best;
922 return best;
932 int idx, best = -1;
941 best = idx;
946 if (best == -1)
950 if (table[best].frequency - target_freq > target_freq - freq)
953 return best;
956 return best;