Home
last modified time | relevance | path

Searched refs:qrcode (Results 1 – 25 of 27) sorted by relevance

12

/third_party/qrcodegen/c/
Dqrcodegen-demo.c40 static void printQr(const uint8_t qrcode[]);
62 uint8_t qrcode[qrcodegen_BUFFER_LEN_MAX]; in doBasicDemo() local
64 bool ok = qrcodegen_encodeText(text, tempBuffer, qrcode, errCorLvl, in doBasicDemo()
67 printQr(qrcode); in doBasicDemo()
74 uint8_t qrcode[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
76 …k = qrcodegen_encodeText("314159265358979323846264338327950288419716939937510", tempBuffer, qrcode, in doVarietyDemo()
79 printQr(qrcode); in doVarietyDemo()
83 uint8_t qrcode[qrcodegen_BUFFER_LEN_MAX]; in doVarietyDemo() local
85 …qrcodegen_encodeText("DOLLAR-AMOUNT:$39.87 PERCENTAGE:100.00% OPERATIONS:+-*/", tempBuffer, qrcode, in doVarietyDemo()
88 printQr(qrcode); in doVarietyDemo()
[all …]
Dqrcodegen.c66 testable void initializeFunctionModules(int version, uint8_t qrcode[]);
67 static void drawLightFunctionModules(uint8_t qrcode[], int version);
68 static void drawFormatBits(enum qrcodegen_Ecc ecl, enum qrcodegen_Mask mask, uint8_t qrcode[]);
70 static void fillRectangle(int left, int top, int width, int height, uint8_t qrcode[]);
72 static void drawCodewords(const uint8_t data[], int dataLen, uint8_t qrcode[]);
73 static void applyMask(const uint8_t functionModules[], uint8_t qrcode[], enum qrcodegen_Mask mask);
74 static long getPenaltyScore(const uint8_t qrcode[]);
79 testable bool getModuleBounded(const uint8_t qrcode[], int x, int y);
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);
[all …]
Dqrcodegen-test.c55 void initializeFunctionModules(int version, uint8_t qrcode[]);
57 bool getModuleBounded(const uint8_t qrcode[], int x, int y);
58 void setModuleBounded(uint8_t qrcode[], int x, int y, bool isDark);
59 void setModuleUnbounded(uint8_t qrcode[], int x, int y, bool isDark);
389 uint8_t *qrcode = malloc((size_t)qrcodegen_BUFFER_LEN_FOR_VERSION(ver) * sizeof(uint8_t)); in testInitializeFunctionModulesEtc() local
390 if (qrcode == NULL) { in testInitializeFunctionModulesEtc()
394 initializeFunctionModules(ver, qrcode); in testInitializeFunctionModulesEtc()
396 int size = qrcodegen_getSize(qrcode); in testInitializeFunctionModulesEtc()
408 bool color = qrcodegen_getModule(qrcode, x, y); in testInitializeFunctionModulesEtc()
416 free(qrcode); in testInitializeFunctionModulesEtc()
[all …]
Dqrcodegen.h187 bool qrcodegen_encodeText(const char *text, uint8_t tempBuffer[], uint8_t qrcode[],
226 bool qrcodegen_encodeBinary(uint8_t dataAndTemp[], size_t dataLen, uint8_t qrcode[],
264 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]);
303 …, int maxVersion, enum qrcodegen_Mask mask, bool boostEcl, uint8_t tempBuffer[], uint8_t qrcode[]);
372 int qrcodegen_getSize(const uint8_t qrcode[]);
380 bool qrcodegen_getModule(const uint8_t qrcode[], int x, int y);
/third_party/node/deps/npm/node_modules/qrcode-terminal/
DREADME.md13 $ npm install qrcode-terminal
17 var qrcode = require('qrcode-terminal');
23 qrcode.generate('This will be a QRCode, eh!');
27 qrcode.setErrorLevel('Q');
28 qrcode.generate('This will be a QRCode with error level Q!');
32 qrcode.generate('http://github.com', function (qrcode) {
33 console.log(qrcode);
38 qrcode.generate('This will be a small QRCode, eh!', {small: true});
40 qrcode.generate('This will be a small QRCode, eh!', {small: true}, function (qrcode) {
41 console.log(qrcode)
[all …]
DLICENSE219 http://www.denso-wave.com/qrcode/faqpatent-e.html
/third_party/node/deps/npm/node_modules/qrcode-terminal/test/
Dmain.js2 qrcode = require('./../lib/main'), variable
18 qrcode.generate('test');
26 qrcode.generate('test', cb);
31 qrcode.generate('test', sinon.spy());
38 qrcode.generate('test', function(result) {
45 qrcode.generate('test', function(result) {
54 expect(qrcode.error).to.be(1);
58 qrcode.setErrorLevel = 'something';
59 expect(qrcode.error).to.be(1);
/third_party/node/deps/npm/node_modules/qrcode-terminal/lib/
Dmain.js33 var qrcode = new QRCode(-1, this.error);
34 qrcode.addData(input);
35 qrcode.make();
40 var moduleCount = qrcode.getModuleCount();
41 var moduleData = qrcode.modules.slice();
81 var border = repeat(white).times(qrcode.getModuleCount() + 3);
84 qrcode.modules.forEach(function (row) {
/third_party/gstreamer/gstplugins_bad/ext/qroverlay/
Dgstbaseqroverlay.c138 draw_overlay (GstBaseQROverlay * self, QRcode * qrcode) in draw_overlay() argument
151 square_size = (qrcode->width + 4 * 2) * priv->qrcode_size; in draw_overlay()
166 qr_data = qrcode->data; in draw_overlay()
167 for (y = 0; y < qrcode->width; y++) { in draw_overlay()
168 for (x = 0; x < (qrcode->width); x++) { in draw_overlay()
211 QRcode *qrcode; in gst_base_qr_overlay_draw_cb() local
236 qrcode = in gst_base_qr_overlay_draw_cb()
239 if (qrcode) { in gst_base_qr_overlay_draw_cb()
241 overlay = draw_overlay (GST_BASE_QR_OVERLAY (self), qrcode); in gst_base_qr_overlay_draw_cb()
/third_party/qrcodegen/python/
Dqrcodegen-demo.py193 def print_qr(qrcode: QrCode) -> None:
196 for y in range(-border, qrcode.get_size() + border):
197 for x in range(-border, qrcode.get_size() + border):
198 print("\u2588 "[1 if qrcode.get_module(x,y) else 0] * 2, end="")
/third_party/node/deps/npm/node_modules/qrcode-terminal/example/
Dbasic.js1 var qrcode = require('../lib/main'); variable
2 qrcode.generate('this is the bomb');
Dcallback.js1 var qrcode = require('../lib/main'); variable
2 qrcode.generate('someone sets it up', function (str) {
Dsmall-qrcode.js1 var qrcode = require('../lib/main'), variable
4 qrcode.generate(url, { small: true }, function (qr) {
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/
Ddpp-qrcode.py13 import qrcode
103 qr = qrcode.QRCode(error_correction=qrcode.constants.ERROR_CORRECT_M,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
Ddpp-qrcode.py13 import qrcode
103 qr = qrcode.QRCode(error_correction=qrcode.constants.ERROR_CORRECT_M,
/third_party/node/deps/npm/node_modules/qrcode-terminal/bin/
Dqrcode-terminal.js7 var qrcode = require('../lib/main'), variable
72 qrcode.generate(input);
/third_party/qrcodegen/
DBUILD.gn43 lite_component("qrcode") {
/third_party/node/deps/npm/test/lib/commands/
Dprofile.js4 const mockProfile = async (t, { npmProfile, readUserInfo, qrcode, config, ...opts } = {}) => { argument
11 'qrcode-terminal': qrcode || { generate: (url, cb) => cb() },
735 const qrcode = { constant
742 qrcode, property
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/
Dprofile.js.test.cjs8 … enable-2fa from token and set otp, retries on pending and verifies with qrcode > should output 2f…
10 qrcode
/third_party/node/deps/npm/lib/commands/
Dprofile.js12 const qrcode = url => function
349 const code = await qrcode(challenge.tfa)
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
DREADME-DPP103 > dpp_bootstrap_gen type=qrcode mac=<mac-address-of-device> chan=<operating-class/operating-channel…
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
DREADME-DPP105 > dpp_bootstrap_gen type=qrcode mac=<mac-address-of-device> chan=<operating-class/channel> key=<key…
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/
DCMakeLists.txt773 wpa_supplicant/examples/dpp-qrcode.py
/third_party/ffmpeg/doc/
Dbootstrap.min.css5 …e{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e…
/third_party/libinput/doc/api/style/
Dbootstrap.css419 .glyphicon-qrcode:before {

12