Searched refs:runx (Results 1 – 2 of 2) sorted by relevance
468 runx = 0472 runx += 1473 if runx == 5:475 elif runx > 5:478 self._finder_penalty_add_history(runx, runhistory)482 runx = 1483 …result += self._finder_penalty_terminate_and_count(runcolor, runx, runhistory) * QrCode._PENALTY_N3
649 let mut runx: i32 = 0; in get_penalty_score() localVariable653 runx += 1; in get_penalty_score()654 if runx == 5 { in get_penalty_score()656 } else if runx > 5 { in get_penalty_score()660 runhistory.add_history(runx); in get_penalty_score()665 runx = 1; in get_penalty_score()668 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score()