Home
last modified time | relevance | path

Searched refs:typeNumber (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
Dindex.js25 function QRCode(typeNumber, errorCorrectLevel) { argument
26 this.typeNumber = typeNumber;
55 if (this.typeNumber < 1 ){
56 var typeNumber = 1;
57 for (typeNumber = 1; typeNumber < 40; typeNumber++) {
58 var rsBlocks = QRRSBlock.getRSBlocks(typeNumber, this.errorCorrectLevel);
69 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) );
75 this.typeNumber = typeNumber;
82 this.moduleCount = this.typeNumber * 4 + 17;
101 if (this.typeNumber >= 7) {
[all …]
DQRRSBlock.js256 QRRSBlock.getRSBlocks = function(typeNumber, errorCorrectLevel) { argument
258 var rsBlock = QRRSBlock.getRsBlockTable(typeNumber, errorCorrectLevel);
261 …throw new Error("bad rs block @ typeNumber:" + typeNumber + "/errorCorrectLevel:" + errorCorrectLe…
282 QRRSBlock.getRsBlockTable = function(typeNumber, errorCorrectLevel) { argument
286 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 0];
288 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 1];
290 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 2];
292 return QRRSBlock.RS_BLOCK_TABLE[(typeNumber - 1) * 4 + 3];
DQRUtil.js83 getPatternPosition : function(typeNumber) { argument
84 return QRUtil.PATTERN_POSITION_TABLE[typeNumber - 1];