Lines Matching refs:v2
4031 comp_distance_value(MinMaxLen* d1, MinMaxLen* d2, int v1, int v2) in comp_distance_value() argument
4033 if (v2 <= 0) return -1; in comp_distance_value()
4037 v2 *= distance_value(d2); in comp_distance_value()
4039 if (v2 > v1) return 1; in comp_distance_value()
4040 if (v2 < v1) return -1; in comp_distance_value()
4286 int v1, v2; in select_opt_exact_info() local
4289 v2 = alt->len; in select_opt_exact_info()
4291 if (v2 == 0) { in select_opt_exact_info()
4298 else if (v1 <= 2 && v2 <= 2) { in select_opt_exact_info()
4300 v2 = map_position_value(enc, now->s[0]); in select_opt_exact_info()
4304 if (alt->len > 1) v2 += 5; in select_opt_exact_info()
4308 if (alt->ignore_case == 0) v2 *= 2; in select_opt_exact_info()
4310 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_exact_info()
4384 int v1, v2; in select_opt_map_info() local
4393 v2 = z / alt->value; in select_opt_map_info()
4394 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_map_info()