Searched refs:runY (Results 1 – 5 of 5) sorted by relevance
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrCode.java | 456 int runY = 0; in getPenaltyScore() local 461 runY++; in getPenaltyScore() 462 if (runY == 5) in getPenaltyScore() 464 else if (runY > 5) in getPenaltyScore() 467 finderPenaltyAddHistory(runY, runHistory); in getPenaltyScore() 471 runY = 1; in getPenaltyScore() 474 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 555 int runY = 0; in getPenaltyScore() local 559 runY++; in getPenaltyScore() 560 if (runY == 5) in getPenaltyScore() 562 else if (runY > 5) in getPenaltyScore() 565 finderPenaltyAddHistory(runY, runHistory); in getPenaltyScore() 569 runY = 1; in getPenaltyScore() 572 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 488 let runY = 0; 492 runY++; 493 if (runY == 5) 495 else if (runY > 5) 498 this.finderPenaltyAddHistory(runY, runHistory); 502 runY = 1; 505 result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * QrCode.PENALTY_N3;
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.cpp | 615 int runY = 0; in getPenaltyScore() local 619 runY++; in getPenaltyScore() 620 if (runY == 5) in getPenaltyScore() 622 else if (runY > 5) in getPenaltyScore() 625 finderPenaltyAddHistory(runY, runHistory); in getPenaltyScore() 629 runY = 1; in getPenaltyScore() 632 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 665 int runY = 0; in getPenaltyScore() local 669 runY++; in getPenaltyScore() 670 if (runY == 5) in getPenaltyScore() 672 else if (runY > 5) in getPenaltyScore() 675 finderPenaltyAddHistory(runY, runHistory, qrsize); in getPenaltyScore() 679 runY = 1; in getPenaltyScore() 682 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()
|