Searched refs:runColor (Results 1 – 7 of 7) sorted by relevance
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrCode.java | 421 int runColor = 0; in getPenaltyScore() local 428 if (c == runColor) { in getPenaltyScore() 436 if (runColor == 0) in getPenaltyScore() 438 runColor = c; in getPenaltyScore() 450 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 455 int runColor = 0; in getPenaltyScore() local 460 if (c == runColor) { in getPenaltyScore() 468 if (runColor == 0) in getPenaltyScore() 470 runColor = c; 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 | 532 boolean runColor = false; in getPenaltyScore() 536 if (modules[y][x] == runColor) { in getPenaltyScore() 544 if (!runColor) in getPenaltyScore() 546 runColor = modules[y][x]; in getPenaltyScore() 550 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 554 boolean runColor = false; in getPenaltyScore() 558 if (modules[y][x] == runColor) { in getPenaltyScore() 566 if (!runColor) in getPenaltyScore() 568 runColor = modules[y][x]; in getPenaltyScore() 572 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 465 let runColor = false; 469 if (this.modules[y][x] == runColor) { 477 if (!runColor) 479 runColor = this.modules[y][x]; 483 result += this.finderPenaltyTerminateAndCount(runColor, runX, runHistory) * QrCode.PENALTY_N3; 487 let runColor = false; 491 if (this.modules[y][x] == runColor) { 499 if (!runColor) 501 runColor = this.modules[y][x]; 505 result += this.finderPenaltyTerminateAndCount(runColor, runY, runHistory) * QrCode.PENALTY_N3;
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.cpp | 592 bool runColor = false; in getPenaltyScore() local 596 if (module(x, y) == runColor) { in getPenaltyScore() 604 if (!runColor) in getPenaltyScore() 606 runColor = module(x, y); in getPenaltyScore() 610 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3; in getPenaltyScore() 614 bool runColor = false; in getPenaltyScore() local 618 if (module(x, y) == runColor) { in getPenaltyScore() 626 if (!runColor) in getPenaltyScore() 628 runColor = module(x, y); in getPenaltyScore() 632 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 642 bool runColor = false; in getPenaltyScore() local 646 if (getModuleBounded(qrcode, x, y) == runColor) { in getPenaltyScore() 654 if (!runColor) in getPenaltyScore() 656 runColor = getModuleBounded(qrcode, x, y); in getPenaltyScore() 660 result += finderPenaltyTerminateAndCount(runColor, runX, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 664 bool runColor = false; in getPenaltyScore() local 668 if (getModuleBounded(qrcode, x, y) == runColor) { in getPenaltyScore() 676 if (!runColor) in getPenaltyScore() 678 runColor = getModuleBounded(qrcode, x, y); in getPenaltyScore() 682 result += finderPenaltyTerminateAndCount(runColor, runY, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 1017 color = SkColorSetARGB(sk_float_round2int(colorGlyph->runColor.a * 255), in generateColorGlyphImage() 1018 sk_float_round2int(colorGlyph->runColor.r * 255), in generateColorGlyphImage() 1019 sk_float_round2int(colorGlyph->runColor.g * 255), in generateColorGlyphImage() 1020 sk_float_round2int(colorGlyph->runColor.b * 255)); in generateColorGlyphImage()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 1088 color = SkColorSetARGB(sk_float_round2int(colorGlyph->runColor.a * 255), in generateColorGlyphImage() 1089 sk_float_round2int(colorGlyph->runColor.r * 255), in generateColorGlyphImage() 1090 sk_float_round2int(colorGlyph->runColor.g * 255), in generateColorGlyphImage() 1091 sk_float_round2int(colorGlyph->runColor.b * 255)); in generateColorGlyphImage()
|