Searched refs:isDark (Results 1 – 8 of 8) sorted by relevance
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/ |
D | QRUtil.js | 177 var dark = qrCode.isDark(row, col); 195 if (dark === qrCode.isDark(row + r, col + c) ) { 212 if (qrCode.isDark(row, col ) ) count++; 213 if (qrCode.isDark(row + 1, col ) ) count++; 214 if (qrCode.isDark(row, col + 1) ) count++; 215 if (qrCode.isDark(row + 1, col + 1) ) count++; 226 if (qrCode.isDark(row, col) && 227 !qrCode.isDark(row, col + 1) && 228 qrCode.isDark(row, col + 2) && 229 qrCode.isDark(row, col + 3) && [all …]
|
D | index.js | 42 isDark : function(row, col) { method in QRCode
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 80 testable void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark); 81 testable void setModuleUnbounded(uint8_t qrcode[], int x, int y, bool isDark); 779 testable void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark) { in setModuleBounded() argument 785 if (isDark) in setModuleBounded() 793 testable void setModuleUnbounded(uint8_t qrcode[], int x, int y, bool isDark) { in setModuleUnbounded() argument 796 setModuleBounded(qrcode, x, y, isDark); in setModuleUnbounded()
|
D | qrcodegen-test.c | 58 void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark); 59 void setModuleUnbounded(uint8_t qrcode[], int x, int y, bool isDark);
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.hpp | 401 private: void setFunctionModule(int x, int y, bool isDark);
|
D | qrcodegen.cpp | 485 void QrCode::setFunctionModule(int x, int y, bool isDark) { in setFunctionModule() argument 488 modules .at(uy).at(ux) = isDark; in setFunctionModule()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 418 private void setFunctionModule(int x, int y, boolean isDark) { in setFunctionModule() argument 419 modules[y][x] = isDark; in setFunctionModule()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 352 private setFunctionModule(x: int, y: int, isDark: boolean): void { 353 this.modules[y][x] = isDark;
|