Lines Matching refs:currentScore
233 Score currentScore = { 0, i }; in matchStyleCSS3() local
239 currentScore += 10 - pattern.width() + current.width(); in matchStyleCSS3()
241 currentScore += 10 - current.width(); in matchStyleCSS3()
245 currentScore += 10 + pattern.width() - current.width(); in matchStyleCSS3()
247 currentScore += current.width(); in matchStyleCSS3()
250 currentScore <<= 8; in matchStyleCSS3()
267 currentScore += score[pattern.slant()][current.slant()]; in matchStyleCSS3()
268 currentScore <<= 8; in matchStyleCSS3()
276 currentScore += 1000; in matchStyleCSS3()
282 currentScore += 500; in matchStyleCSS3()
286 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
288 currentScore += 1000 - current.weight(); in matchStyleCSS3()
292 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
294 currentScore += current.weight(); in matchStyleCSS3()
298 if (maxScore < currentScore) { in matchStyleCSS3()
299 maxScore = currentScore; in matchStyleCSS3()