Lines Matching refs:penalty
39 int32_t penalty = 0; in ApplyMaskPenaltyRule2() local
49 penalty++; in ApplyMaskPenaltyRule2()
53 return 3 * penalty; in ApplyMaskPenaltyRule2()
58 int32_t penalty = 0; in ApplyMaskPenaltyRule3() local
88 penalty += 40; in ApplyMaskPenaltyRule3()
102 penalty += 40; in ApplyMaskPenaltyRule3()
106 return penalty; in ApplyMaskPenaltyRule3()
172 int32_t penalty = 0; in ApplyMaskPenaltyRule1Internal() local
186 penalty += 3; in ApplyMaskPenaltyRule1Internal()
188 penalty += 1; in ApplyMaskPenaltyRule1Internal()
197 return penalty; in ApplyMaskPenaltyRule1Internal()