Lines Matching refs:v2
4032 comp_distance_value(MinMaxLen* d1, MinMaxLen* d2, int v1, int v2) in comp_distance_value() argument
4034 if (v2 <= 0) return -1; in comp_distance_value()
4038 v2 *= distance_value(d2); in comp_distance_value()
4040 if (v2 > v1) return 1; in comp_distance_value()
4041 if (v2 < v1) return -1; in comp_distance_value()
4287 int v1, v2; in select_opt_exact_info() local
4290 v2 = alt->len; in select_opt_exact_info()
4292 if (v2 == 0) { in select_opt_exact_info()
4299 else if (v1 <= 2 && v2 <= 2) { in select_opt_exact_info()
4301 v2 = map_position_value(enc, now->s[0]); in select_opt_exact_info()
4305 if (alt->len > 1) v2 += 5; in select_opt_exact_info()
4309 if (alt->ignore_case == 0) v2 *= 2; in select_opt_exact_info()
4311 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_exact_info()
4385 int v1, v2; in select_opt_map_info() local
4394 v2 = z / alt->value; in select_opt_map_info()
4395 if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) in select_opt_map_info()