Home
last modified time | relevance | path

Searched refs:isDark (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
DQRUtil.js177 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 …]
Dindex.js42 isDark : function(row, col) { method in QRCode
/third_party/qrcodegen/c/
Dqrcodegen.c80 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()
Dqrcodegen-test.c58 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/
Dqrcodegen.hpp401 private: void setFunctionModule(int x, int y, bool isDark);
Dqrcodegen.cpp485 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/
DQrCode.java418 private void setFunctionModule(int x, int y, boolean isDark) { in setFunctionModule() argument
419 modules[y][x] = isDark; in setFunctionModule()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts352 private setFunctionModule(x: int, y: int, isDark: boolean): void {
353 this.modules[y][x] = isDark;