Searched refs:getModuleBounded (Results 1 – 2 of 2) sorted by relevance
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 79 testable bool getModuleBounded(const uint8_t qrcode[], int x, int y); 589 if (!getModuleBounded(qrcode, x, y) && i < dataLen * 8) { in drawCodewords() 613 if (getModuleBounded(functionModules, x, y)) in applyMask() 627 bool val = getModuleBounded(qrcode, x, y); in applyMask() 646 if (getModuleBounded(qrcode, x, y) == runColor) { in getPenaltyScore() 656 runColor = getModuleBounded(qrcode, x, y); in getPenaltyScore() 668 if (getModuleBounded(qrcode, x, y) == runColor) { in getPenaltyScore() 678 runColor = getModuleBounded(qrcode, x, y); in getPenaltyScore() 688 bool color = getModuleBounded(qrcode, x, y); in getPenaltyScore() 689 if ( color == getModuleBounded(qrcode, x + 1, y) && in getPenaltyScore() [all …]
|
D | qrcodegen-test.c | 57 bool getModuleBounded(const uint8_t qrcode[], int x, int y); 514 assert(getModuleBounded(qrcode, x, y) == oldColor); in testGetSetModuleRandomly()
|