/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | BitBuffer.java | 39 private int bitLength; // Non-negative field in BitBuffer 50 bitLength = 0; in BitBuffer() 61 public int bitLength() { in bitLength() method in BitBuffer 62 assert bitLength >= 0; in bitLength() local 63 return bitLength; in bitLength() 74 if (index < 0 || index >= bitLength) in getBit() 92 if (Integer.MAX_VALUE - bitLength < len) in appendBits() 94 for (int i = len - 1; i >= 0; i--, bitLength++) // Append bit by bit in appendBits() 95 data.set(bitLength, QrCode.getBit(val, i)); in appendBits() 108 if (Integer.MAX_VALUE - bitLength < bb.bitLength) in appendData() [all …]
|
D | QrCode.java | 178 assert bb.bitLength() == dataUsedBits; in encodeSegments() 182 assert bb.bitLength() <= dataCapacityBits; 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() 185 assert bb.bitLength() % 8 == 0; in encodeSegments() 188 for (int padByte = 0xEC; bb.bitLength() < dataCapacityBits; padByte ^= 0xEC ^ 0x11) in encodeSegments() 192 byte[] dataCodewords = new byte[bb.bitLength() / 8]; in encodeSegments() 193 for (int i = 0; i < bb.bitLength(); i++) in encodeSegments()
|
D | QrSegment.java | 251 result += 4L + ccbits + seg.data.bitLength(); in getTotalBits()
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 152 seg.bitLength = calcSegmentBitLength(seg.mode, textLen); in qrcodegen_encodeText() 153 if (seg.bitLength == -1) in qrcodegen_encodeText() 172 seg.bitLength = calcSegmentBitLength(seg.mode, dataLen); in qrcodegen_encodeBinary() 173 if (seg.bitLength == -1) { in qrcodegen_encodeBinary() 237 for (int j = 0; j < seg->bitLength; j++) { in qrcodegen_encodeSegmentsAdvanced() 878 result.bitLength = calcSegmentBitLength(result.mode, len); in qrcodegen_makeBytes() 879 assert(result.bitLength != -1); in qrcodegen_makeBytes() 899 result.bitLength = 0; in qrcodegen_makeNumeric() 909 appendBitsToBuffer(accumData, 10, buf, &result.bitLength); in qrcodegen_makeNumeric() 915 appendBitsToBuffer(accumData, accumCount * 3 + 1, buf, &result.bitLength); in qrcodegen_makeNumeric() [all …]
|
D | qrcodegen-test.c | 824 assert(seg.bitLength == 0); in testMakeBytes() 832 assert(seg.bitLength == 8); in testMakeBytes() 841 assert(seg.bitLength == 24); in testMakeBytes() 855 assert(seg.bitLength == 0); in testMakeNumeric() 862 assert(seg.bitLength == 4); in testMakeNumeric() 870 assert(seg.bitLength == 7); in testMakeNumeric() 878 assert(seg.bitLength == 10); in testMakeNumeric() 887 assert(seg.bitLength == 34); in testMakeNumeric() 903 assert(seg.bitLength == 0); in testMakeAlphanumeric() 910 assert(seg.bitLength == 6); in testMakeAlphanumeric() [all …]
|
D | qrcodegen-demo.c | 228 seg.bitLength = 0; in doSegmentDemo() 230 for (int j = 12; j >= 0; j--, seg.bitLength++) in doSegmentDemo() 231 segBuf[seg.bitLength >> 3] |= ((kanjiChars[i] >> j) & 1) << (7 - (seg.bitLength & 7)); in doSegmentDemo()
|
D | qrcodegen.h | 125 int bitLength; member
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/lib/ |
D | ec.js | 201 for(i = h.bitLength() - 2; i > 0; --i) { 218 if(j.bitLength() > k.bitLength()) 219 i = j.bitLength() - 1; 221 i = k.bitLength() - 1; 409 var bitLength = this.q.bitLength(); 410 if (bitLength > 128) 412 var firstWord = this.q.shiftRight(bitLength - 64); 415 this.r = BigInteger.ONE.shiftLeft(bitLength).subtract(this.q); 428 var qLen = q.bitLength(); 429 while (x.bitLength() > (qLen + 1)) [all …]
|
/third_party/node/deps/npm/node_modules/ecc-jsbn/ |
D | index.js | 18 var bytes = Math.floor(n.bitLength()/8); 37 var r = new BigInteger(crypto.randomBytes(n.bitLength()));
|
/third_party/node/deps/npm/node_modules/jsbn/ |
D | README.md | 12 alert(a.bitLength()); // 67 33 ### bi.bitLength
|
D | example.js | 3 console.log(a.bitLength());
|
D | index.js | 556 BigInteger.prototype.bitLength = bnBitLength; method in BigInteger 658 if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this); 975 var i = e.bitLength(), k, r = nbv(1), z;
|
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/cipher/ |
D | ShareSecrets.java | 79 final int modLength = secret.bitLength() + 1; in split() 146 final BigInteger rand = new BigInteger(num.bitLength(), random); in randomZp()
|
/third_party/skia/third_party/externals/brotli/research/ |
D | brotlidump.py | 173 def __init__(self, *, alphabetSize=None, bitLength=None, **args): argument 174 if bitLength is not None: alphabetSize = 1<<bitLength 510 super().__init__(name, bitLength=1, **args) 564 super().__init__('PFX', bitLength=2) 748 super().__init__('SKIP', bitLength=(-streamPos)&7) 780 super().__init__('SKIP', bitLength=2) 892 super().__init__('DIST', bitLength=2) 920 super().__init__('LC'+str(number), bitLength=2) 1047 super().__init__('IC'+str(number), bitLength=10)
|
/third_party/node/deps/npm/node_modules/sshpk/lib/ |
D | dhe.js | 235 var r = new jsbn(crypto.randomBytes(n.bitLength())); 392 var cByteLen = Math.ceil((n.bitLength() + 64) / 8);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 415 if (n.bitLength() < 32) { in _setToBigInteger() 417 } else if (n.bitLength() < 64) { in _setToBigInteger()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 421 if (n.bitLength() < 32) { in _setToBigInteger() 423 } else if (n.bitLength() < 64) { in _setToBigInteger()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 2549 if (bigValue.bitLength() > 31) { in parseInteger() 2554 if (bigValue.bitLength() > 32) { in parseInteger() 2561 if (bigValue.bitLength() > 63) { in parseInteger() 2566 if (bigValue.bitLength() > 64) { in parseInteger()
|
/third_party/boost/libs/math/doc/graphs/hypergeometric_1f1/ |
D | plotlyjs-bundle.js | 1 …bitLength()-l.bitLength()+53,f=n(l.ushln(h).divRound(r));return h<1023?u*f*Math.pow(2,-h):(f*=Math…
|
/third_party/flutter/engine/flutter/lib/snapshot/ |
D | fuchsia_compilation_trace.txt | 260 dart:core,_Smi,get:bitLength
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | compilation_trace.txt | 1795 dart:core,_Smi,get:bitLength
|