/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/MemoTrie-0.6.10/examples/ |
H A D | Generic.hs | 15 runColor (RGB r g b) = r + g + b function 16 runColor (NamedColor s) = length [1..10e7] function 18 runColorMemoized = memo runColor
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/QR/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | QrCode.java | 601 boolean runColor = false; in getPenaltyScore() 606 if (modules[y][x] == runColor) { in getPenaltyScore() 615 if (!runColor) in getPenaltyScore() 617 runColor = modules[y][x]; in getPenaltyScore() 621 result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * PENALTY_N3; in getPenaltyScore() 625 boolean runColor = false; in getPenaltyScore() 630 if (modules[y][x] == runColor) { in getPenaltyScore() 639 if (!runColor) in getPenaltyScore() 641 runColor = modules[y][x]; in getPenaltyScore() 645 result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/dports/graphics/qr-code-generator/QR-Code-generator-67c6246/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | QrCode.java | 601 boolean runColor = false; in getPenaltyScore() 606 if (modules[y][x] == runColor) { in getPenaltyScore() 615 if (!runColor) in getPenaltyScore() 617 runColor = modules[y][x]; in getPenaltyScore() 621 result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * PENALTY_N3; in getPenaltyScore() 625 boolean runColor = false; in getPenaltyScore() 630 if (modules[y][x] == runColor) { in getPenaltyScore() 639 if (!runColor) in getPenaltyScore() 641 runColor = modules[y][x]; in getPenaltyScore() 645 result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/QR/cpp/ |
H A D | QrCode.cpp | 434 bool runColor = false; in getPenaltyScore() local 439 if (module(x, y) == runColor) { in getPenaltyScore() 448 if (!runColor) in getPenaltyScore() 450 runColor = module(x, y); in getPenaltyScore() 454 result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * PENALTY_N3; in getPenaltyScore() 458 bool runColor = false; in getPenaltyScore() local 463 if (module(x, y) == runColor) { in getPenaltyScore() 472 if (!runColor) in getPenaltyScore() 474 runColor = module(x, y); in getPenaltyScore() 478 result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/dports/graphics/qr-code-generator/QR-Code-generator-67c6246/cpp/ |
H A D | QrCode.cpp | 434 bool runColor = false; in getPenaltyScore() local 439 if (module(x, y) == runColor) { in getPenaltyScore() 448 if (!runColor) in getPenaltyScore() 450 runColor = module(x, y); in getPenaltyScore() 454 result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * PENALTY_N3; in getPenaltyScore() 458 bool runColor = false; in getPenaltyScore() local 463 if (module(x, y) == runColor) { in getPenaltyScore() 472 if (!runColor) in getPenaltyScore() 474 runColor = module(x, y); in getPenaltyScore() 478 result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * PENALTY_N3; in getPenaltyScore()
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/QR/typescript-javascript/ |
H A D | qrcodegen.ts | 515 let runColor = false; 520 if (this.modules[y][x] == runColor) { 529 if (!runColor) 531 runColor = this.modules[y][x]; 535 …result += this.finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * QrCode.PENALT… 539 let runColor = false; 544 if (this.modules[y][x] == runColor) { 553 if (!runColor) 555 runColor = this.modules[y][x]; 559 …result += this.finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * QrCode.PENALT…
|
/dports/graphics/qr-code-generator/QR-Code-generator-67c6246/typescript-javascript/ |
H A D | qrcodegen.ts | 515 let runColor = false; 520 if (this.modules[y][x] == runColor) { 529 if (!runColor) 531 runColor = this.modules[y][x]; 535 …result += this.finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory) * QrCode.PENALT… 539 let runColor = false; 544 if (this.modules[y][x] == runColor) { 553 if (!runColor) 555 runColor = this.modules[y][x]; 559 …result += this.finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory) * QrCode.PENALT…
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/QR/c/ |
H A D | qrcodegen.c | 642 bool runColor = false; in getPenaltyScore() local 647 if (getModule(qrcode, x, y) == runColor) { in getPenaltyScore() 656 if (!runColor) in getPenaltyScore() 658 runColor = getModule(qrcode, x, y); in getPenaltyScore() 662 …result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 666 bool runColor = false; in getPenaltyScore() local 671 if (getModule(qrcode, x, y) == runColor) { in getPenaltyScore() 680 if (!runColor) in getPenaltyScore() 682 runColor = getModule(qrcode, x, y); in getPenaltyScore() 686 …result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()
|
/dports/graphics/qr-code-generator/QR-Code-generator-67c6246/c/ |
H A D | qrcodegen.c | 642 bool runColor = false; in getPenaltyScore() local 647 if (getModule(qrcode, x, y) == runColor) { in getPenaltyScore() 656 if (!runColor) in getPenaltyScore() 658 runColor = getModule(qrcode, x, y); in getPenaltyScore() 662 …result += finderPenaltyTerminateAndCount(runColor, runX + padRun, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore() 666 bool runColor = false; in getPenaltyScore() local 671 if (getModule(qrcode, x, y) == runColor) { in getPenaltyScore() 680 if (!runColor) in getPenaltyScore() 682 runColor = getModule(qrcode, x, y); in getPenaltyScore() 686 …result += finderPenaltyTerminateAndCount(runColor, runY + padRun, runHistory, qrsize) * PENALTY_N3; in getPenaltyScore()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/ |
H A D | screen.cpp | 500 byte runColor = *src++; in decompressSprite() local 502 *dst = runColor; in decompressSprite() 696 uint16 runColor = READ_LE_UINT16(src); in decompressSprite() local 699 WRITE_LE_UINT16(dst, runColor); in decompressSprite() 792 uint16 runColor = READ_LE_UINT16(src); in isSpritePixelSolid() local 796 return runColor != _colorKey1; in isSpritePixelSolid()
|
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/ |
H A D | screen.cpp | 500 byte runColor = *src++; in decompressSprite() local 502 *dst = runColor; in decompressSprite() 696 uint16 runColor = READ_LE_UINT16(src); in decompressSprite() local 699 WRITE_LE_UINT16(dst, runColor); in decompressSprite() 792 uint16 runColor = READ_LE_UINT16(src); in isSpritePixelSolid() local 796 return runColor != _colorKey1; in isSpritePixelSolid()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/ports/ |
H A D | SkScalerContext_win_dw.cpp | 824 color = SkColorSetARGB(SkFloatToIntRound(colorGlyph->runColor.a * 255), in generateColorGlyphImage() 825 SkFloatToIntRound(colorGlyph->runColor.r * 255), in generateColorGlyphImage() 826 SkFloatToIntRound(colorGlyph->runColor.g * 255), in generateColorGlyphImage() 827 SkFloatToIntRound(colorGlyph->runColor.b * 255)); in generateColorGlyphImage()
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/platformsupport/fontdatabases/windows/ |
H A D | qwindowsfontenginedirectwrite.cpp | 805 r = qBound(0.0f, colorGlyphRun->runColor.r, 1.0f); in imageForGlyph() 806 g = qBound(0.0f, colorGlyphRun->runColor.g, 1.0f); in imageForGlyph() 807 b = qBound(0.0f, colorGlyphRun->runColor.b, 1.0f); in imageForGlyph() 808 a = qBound(0.0f, colorGlyphRun->runColor.a, 1.0f); in imageForGlyph()
|