Searched refs:currentScore (Results 1 – 3 of 3) sorted by relevance
221 Score currentScore = { 0, i }; in matchStyleCSS3() local227 currentScore += 10 - pattern.width() + current.width(); in matchStyleCSS3()229 currentScore += 10 - current.width(); in matchStyleCSS3()233 currentScore += 10 + pattern.width() - current.width(); in matchStyleCSS3()235 currentScore += current.width(); in matchStyleCSS3()238 currentScore <<= 8; in matchStyleCSS3()255 currentScore += score[pattern.slant()][current.slant()]; in matchStyleCSS3()256 currentScore <<= 8; in matchStyleCSS3()264 currentScore += 1000; in matchStyleCSS3()268 currentScore += 1000 - pattern.weight() + current.weight(); in matchStyleCSS3()[all …]
233 Score currentScore = { 0, i }; in matchStyleCSS3() local239 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()[all …]
301 int currentScore, String target, @Nullable String actual, int score) { in updateScoreForMatch() argument302 if (target.isEmpty() || currentScore == -1) { in updateScoreForMatch()303 return currentScore; in updateScoreForMatch()305 return target.equals(actual) ? currentScore + score : -1; in updateScoreForMatch()