Home
last modified time | relevance | path

Searched refs:runX (Results 1 – 5 of 5) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrCode.java422 int runX = 0; in getPenaltyScore() local
429 runX++; in getPenaltyScore()
430 if (runX == 5) in getPenaltyScore()
432 else if (runX > 5) in getPenaltyScore()
435 finderPenaltyAddHistory(runX, runHistory); in getPenaltyScore()
439 runX = 1; in getPenaltyScore()
450 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrCode.java533 int runX = 0; in getPenaltyScore() local
537 runX++; in getPenaltyScore()
538 if (runX == 5) in getPenaltyScore()
540 else if (runX > 5) in getPenaltyScore()
543 finderPenaltyAddHistory(runX, runHistory); in getPenaltyScore()
547 runX = 1; in getPenaltyScore()
550 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts466 let runX = 0;
470 runX++;
471 if (runX == 5)
473 else if (runX > 5)
476 this.finderPenaltyAddHistory(runX, runHistory);
480 runX = 1;
483 result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * QrCode.PENALTY_N3;
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp593 int runX = 0; in getPenaltyScore() local
597 runX++; in getPenaltyScore()
598 if (runX == 5) in getPenaltyScore()
600 else if (runX > 5) in getPenaltyScore()
603 finderPenaltyAddHistory(runX, runHistory); in getPenaltyScore()
607 runX = 1; in getPenaltyScore()
610 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore()
/third_party/qrcodegen/c/
Dqrcodegen.c643 int runX = 0; in getPenaltyScore() local
647 runX++; in getPenaltyScore()
648 if (runX == 5) in getPenaltyScore()
650 else if (runX > 5) in getPenaltyScore()
653 finderPenaltyAddHistory(runX, runHistory, qrsize); in getPenaltyScore()
657 runX = 1; in getPenaltyScore()
660 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()