Searched refs:PENALTY_N3 (Results 1 – 8 of 8) sorted by relevance
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrCode.java | 437 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 450 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 469 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 474 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore() 549 private static final int PENALTY_N3 = 40; field in QrCode
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 545 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 550 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 567 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 572 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore() 773 private static final int PENALTY_N3 = 40; field in QrCode
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 478 result += this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3; 483 result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * QrCode.PENALTY_N3; 500 result += this.finderPenaltyCountPatterns(runHistory) * QrCode.PENALTY_N3; 505 result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * QrCode.PENALTY_N3; 681 private static readonly PENALTY_N3: int = 40; property in qrcodegen.QrCode
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.cpp | 605 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 610 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 627 result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3; in getPenaltyScore() 632 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore() 789 const int QrCode::PENALTY_N3 = 40; member in qrcodegen::QrCode
|
D | qrcodegen.hpp | 497 private: static const int PENALTY_N3; member in qrcodegen::QrCode
|
/third_party/qrcodegen/rust/src/ |
D | lib.rs | 636 result += runhistory.count_patterns() * PENALTY_N3; in get_penalty_score() 642 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score() 660 result += runhistory.count_patterns() * PENALTY_N3; in get_penalty_score() 666 result += runhistory.terminate_and_count(runcolor, runy) * PENALTY_N3; in get_penalty_score() 866 const PENALTY_N3: i32 = 40; constant
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 121 static const int PENALTY_N3 = 40; variable 655 result += finderPenaltyCountPatterns(runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 660 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 677 result += finderPenaltyCountPatterns(runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 682 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/rust-no-heap/src/ |
D | lib.rs | 730 result += runhistory.count_patterns() * PENALTY_N3; in get_penalty_score() 736 result += runhistory.terminate_and_count(runcolor, runx) * PENALTY_N3; in get_penalty_score() 754 result += runhistory.count_patterns() * PENALTY_N3; in get_penalty_score() 760 result += runhistory.terminate_and_count(runcolor, runy) * PENALTY_N3; in get_penalty_score() 992 const PENALTY_N3: i32 = 40; constant
|