Lines Matching refs:currentScore
224 Score currentScore = { 0, i };
230 currentScore += 10 - pattern.width() + current.width();
232 currentScore += 10 - current.width();
236 currentScore += 10 + pattern.width() - current.width();
238 currentScore += current.width();
241 currentScore <<= 8;
258 currentScore += score[pattern.slant()][current.slant()];
259 currentScore <<= 8;
267 currentScore += 1000;
271 currentScore += 1000 - pattern.weight() + current.weight();
273 currentScore += 1000 - current.weight();
278 currentScore += 1000 + pattern.weight() - current.weight();
280 currentScore += 500 + current.weight();
282 currentScore += 1000 - current.weight();
287 currentScore += 1000 + pattern.weight() - current.weight();
289 currentScore += current.weight();
293 if (maxScore < currentScore) {
294 maxScore = currentScore;