Lines Matching refs:currentScore
207 Score currentScore = { 0, i }; in matchStyleCSS3() local
213 currentScore += 10 - pattern.width() + current.width(); in matchStyleCSS3()
215 currentScore += 10 - current.width(); in matchStyleCSS3()
219 currentScore += 10 + pattern.width() - current.width(); in matchStyleCSS3()
221 currentScore += current.width(); in matchStyleCSS3()
224 currentScore <<= 8; in matchStyleCSS3()
241 currentScore += score[pattern.slant()][current.slant()]; in matchStyleCSS3()
242 currentScore <<= 8; in matchStyleCSS3()
250 currentScore += 1000; in matchStyleCSS3()
254 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()
256 currentScore += 1000 - current.weight(); in matchStyleCSS3()
261 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
263 currentScore += 500 + current.weight(); in matchStyleCSS3()
265 currentScore += 1000 - current.weight(); in matchStyleCSS3()
270 currentScore += 1000 + pattern.weight() - current.weight(); in matchStyleCSS3()
272 currentScore += current.weight(); in matchStyleCSS3()
276 if (maxScore < currentScore) { in matchStyleCSS3()
277 maxScore = currentScore; in matchStyleCSS3()