Lines Matching defs:badness
436 int badness = -pattern_length;
451 badness += 1 - shift; // at most zero, so badness cannot increase.
462 // Badness increases by the number of characters we have
466 badness += (pattern_length - j) - last_char_shift;
467 if (badness > 0) {
519 // Badness is a count of how much work we have done. When we have
522 int badness = -10 - (pattern_length << 2);
527 badness++;
528 if (badness <= 0) {
542 badness += j;