Lines Matching refs:v2
3821 comp_distance_value(MinMaxLen* d1, MinMaxLen* d2, int v1, int v2) in comp_distance_value() argument
3823 if (v2 <= 0) return -1; in comp_distance_value()
3827 v2 *= distance_value(d2); in comp_distance_value()
3829 if (v2 > v1) return 1; in comp_distance_value()
3830 if (v2 < v1) return -1; in comp_distance_value()
4076 int v1, v2; in select_opt_exact_info() local
4079 v2 = alt->len; in select_opt_exact_info()
4081 if (v2 == 0) { in select_opt_exact_info()
4088 else if (v1 <= 2 && v2 <= 2) { in select_opt_exact_info()
4090 v2 = map_position_value(enc, now->s[0]); in select_opt_exact_info()
4094 if (alt->len > 1) v2 += 5; in select_opt_exact_info()
4098 if (alt->ignore_case == 0) v2 *= 2; in select_opt_exact_info()
4100 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_exact_info()
4180 int v1, v2; in select_opt_map_info() local
4189 v2 = z / alt->value; in select_opt_map_info()
4190 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_map_info()