Home
last modified time | relevance | path

Searched refs:runy (Results 1 - 3 of 3) sorted by relevance

/third_party/qrcodegen/rust-no-heap/src/
H A Dlib.rs741 let mut runy: i32 = 0; in get_penalty_score() variables
745 runy += 1; in get_penalty_score()
746 if runy == 5 { in get_penalty_score()
748 } else if runy > 5 { in get_penalty_score()
752 runhistory.add_history(runy); in get_penalty_score()
757 runy = 1; in get_penalty_score()
760 result += runhistory.terminate_and_count(runcolor, runy) * PENALTY_N3; in get_penalty_score()
/third_party/qrcodegen/rust/src/
H A Dlib.rs647 let mut runy: i32 = 0; in get_penalty_score() variables
651 runy += 1; in get_penalty_score()
652 if runy == 5 { in get_penalty_score()
654 } else if runy > 5 { in get_penalty_score()
658 runhistory.add_history(runy); in get_penalty_score()
663 runy = 1; in get_penalty_score()
666 result += runhistory.terminate_and_count(runcolor, runy) * PENALTY_N3; in get_penalty_score()
/third_party/qrcodegen/python/
H A Dqrcodegen.py442 runy = 0
446 runy += 1
447 if runy == 5:
449 elif runy > 5:
452 self._finder_penalty_add_history(runy, runhistory)
456 runy = 1
457 result += self._finder_penalty_terminate_and_count(runcolor, runy, runhistory) * QrCode._PENALTY_N3

Completed in 5 milliseconds