Searched refs:runcolor (Results 1 - 3 of 3) sorted by relevance
/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 716 let mut runcolor = false; in get_penalty_score() variables 720 if self.get_module_bounded(x, y) == runcolor { in get_penalty_score() 729 if !runcolor { in get_penalty_score() 732 runcolor = self.get_module_bounded(x, y); in get_penalty_score() 736 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score() 740 let mut runcolor = false; in get_penalty_score() variables 744 if self.get_module_bounded(x, y) == runcolor { in get_penalty_score() 753 if !runcolor { in get_penalty_score() 756 runcolor = self.get_module_bounded(x, y); in get_penalty_score() 760 result += runhistory.terminate_and_count(runcolor, run in get_penalty_score() [all...] |
/third_party/qrcodegen/rust/src/ |
H A D | lib.rs | 622 let mut runcolor = false; in get_penalty_score() variables 626 if self.module(x, y) == runcolor { in get_penalty_score() 635 if !runcolor { in get_penalty_score() 638 runcolor = self.module(x, y); in get_penalty_score() 642 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score() 646 let mut runcolor = false; in get_penalty_score() variables 650 if self.module(x, y) == runcolor { in get_penalty_score() 659 if !runcolor { in get_penalty_score() 662 runcolor = self.module(x, y); in get_penalty_score() 666 result += runhistory.terminate_and_count(runcolor, run in get_penalty_score() [all...] |
/third_party/qrcodegen/python/ |
H A D | qrcodegen.py | 422 runcolor: bool = False 426 if modules[y][x] == runcolor: 434 if not runcolor: 436 runcolor = modules[y][x] 438 result += self._finder_penalty_terminate_and_count(runcolor, runx, runhistory) * QrCode._PENALTY_N3 441 runcolor = False 445 if modules[y][x] == runcolor: 453 if not runcolor: 455 runcolor = modules[y][x] 457 result += self._finder_penalty_terminate_and_count(runcolor, run [all...] |
Completed in 4 milliseconds