Searched refs:runx (Results 1 – 2 of 2) sorted by relevance
426 runx: int = 0430 runx += 1431 if runx == 5:433 elif runx > 5:436 self._finder_penalty_add_history(runx, runhistory)440 runx = 1441 …result += self._finder_penalty_terminate_and_count(runcolor, runx, runhistory) * QrCode._PENALTY_N3
620 let mut runx: i32 = 0; in get_penalty_score() localVariable624 runx += 1; in get_penalty_score()625 if runx == 5 { in get_penalty_score()627 } else if runx > 5 { in get_penalty_score()631 runhistory.add_history(runx); in get_penalty_score()636 runx = 1; in get_penalty_score()639 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score()