Lines Matching refs:v2
4085 comp_distance_value(MinMaxLen* d1, MinMaxLen* d2, int v1, int v2) in comp_distance_value() argument
4087 if (v2 <= 0) return -1; in comp_distance_value()
4091 v2 *= distance_value(d2); in comp_distance_value()
4093 if (v2 > v1) return 1; in comp_distance_value()
4094 if (v2 < v1) return -1; in comp_distance_value()
4343 int v1, v2; in select_opt_exact_info() local
4346 v2 = alt->len; in select_opt_exact_info()
4348 if (v2 == 0) { in select_opt_exact_info()
4355 else if (v1 <= 2 && v2 <= 2) { in select_opt_exact_info()
4357 v2 = map_position_value(enc, now->s[0]); in select_opt_exact_info()
4361 if (alt->len > 1) v2 += 5; in select_opt_exact_info()
4365 if (alt->ignore_case == 0) v2 *= 2; in select_opt_exact_info()
4367 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_exact_info()
4441 int v1, v2; in select_opt_map_info() local
4450 v2 = z / alt->value; in select_opt_map_info()
4451 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_map_info()