/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrSegment.java | 63 bb.appendBits(b & 0xFF, 8); in makeBytes() 83 bb.appendBits(Integer.parseInt(digits.subSequence(i, i + n).toString()), n * 3 + 1); in makeNumeric() 109 bb.appendBits(temp, 11); in makeAlphanumeric() 112 bb.appendBits(ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6); in makeAlphanumeric() 152 bb.appendBits(assignVal, 8); in makeEci() 154 bb.appendBits(0b10, 2); in makeEci() 155 bb.appendBits(assignVal, 14); in makeEci() 157 bb.appendBits(0b110, 3); in makeEci() 158 bb.appendBits(assignVal, 21); in makeEci()
|
D | QrCode.java | 174 bb.appendBits(seg.mode.modeBits, 4); in encodeSegments() 175 bb.appendBits(seg.numChars, seg.mode.numCharCountBits(version)); in encodeSegments() 183 bb.appendBits(0, Math.min(4, dataCapacityBits - bb.bitLength())); in encodeSegments() 184 bb.appendBits(0, (8 - bb.bitLength() % 8) % 8); in encodeSegments() 189 bb.appendBits(padByte, 8); in encodeSegments()
|
D | BitBuffer.java | 89 public void appendBits(int val, int len) { in appendBits() method in BitBuffer
|
D | QrSegmentAdvanced.java | 269 bb.appendBits(val, 13); in makeKanji()
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrSegment.java | 89 bb.appendBits(accumData, 10); in makeNumeric() 95 bb.appendBits(accumData, accumCount * 3 + 1); in makeNumeric() 121 bb.appendBits(accumData, 11); in makeAlphanumeric() 127 bb.appendBits(accumData, 6); in makeAlphanumeric() 167 bb.appendBits(assignVal, 8); in makeEci() 169 bb.appendBits(2, 2); in makeEci() 170 bb.appendBits(assignVal, 14); in makeEci() 172 bb.appendBits(6, 3); in makeEci() 173 bb.appendBits(assignVal, 21); in makeEci()
|
D | BitBuffer.java | 75 public void appendBits(int val, int len) { in appendBits() method in BitBuffer 102 public void appendBits(int[] vals, int len) { in appendBits() method in BitBuffer 130 appendBits(vals[wholeWords] >>> (32 - tailBits), tailBits); in appendBits()
|
D | QrCode.java | 174 bb.appendBits(seg.mode.modeBits, 4); in encodeSegments() 175 bb.appendBits(seg.numChars, seg.mode.numCharCountBits(version)); in encodeSegments() 176 bb.appendBits(seg.data, seg.bitLength); in encodeSegments() 183 bb.appendBits(0, Math.min(4, dataCapacityBits - bb.bitLength)); in encodeSegments() 184 bb.appendBits(0, (8 - bb.bitLength % 8) % 8); in encodeSegments() 189 bb.appendBits(padByte, 8); in encodeSegments()
|
D | QrSegmentAdvanced.java | 261 bb.appendBits(val, 13); in makeKanji()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 119 appendBits(seg.mode.modeBits, 4, bb); 120 appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb); 129 appendBits(0, Math.min(4, dataCapacityBits - bb.length), bb); 130 appendBits(0, (8 - bb.length % 8) % 8, bb); 135 appendBits(padByte, 8, bb); 707 function appendBits(val: int, len: int, bb: Array<bit>): void { function 752 appendBits(b, 8, bb); 764 appendBits(parseInt(digits.substr(i, n), 10), n * 3 + 1, bb); 782 appendBits(temp, 11, bb); 785 appendBits(QrSegment.ALPHANUMERIC_CHARSET.indexOf(text.charAt(i)), 6, bb); [all …]
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.cpp | 74 bb.appendBits(b, 8); in makeBytes() 91 bb.appendBits(static_cast<uint32_t>(accumData), 10); in makeNumeric() 97 bb.appendBits(static_cast<uint32_t>(accumData), accumCount * 3 + 1); in makeNumeric() 114 bb.appendBits(static_cast<uint32_t>(accumData), 11); in makeAlphanumeric() 120 bb.appendBits(static_cast<uint32_t>(accumData), 6); in makeAlphanumeric() 148 bb.appendBits(static_cast<uint32_t>(assignVal), 8); in makeEci() 150 bb.appendBits(2, 2); in makeEci() 151 bb.appendBits(static_cast<uint32_t>(assignVal), 14); in makeEci() 153 bb.appendBits(6, 3); in makeEci() 154 bb.appendBits(static_cast<uint32_t>(assignVal), 21); in makeEci() [all …]
|
D | qrcodegen.hpp | 545 public: void appendBits(std::uint32_t val, int len);
|
D | QrCodeGeneratorDemo.cpp | 158 bb.appendBits(static_cast<std::uint32_t>(c), 13); in doSegmentDemo()
|