Searched refs:dataUsedBits (Results 1 – 7 of 7) sorted by relevance
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrCode.java | 150 int version, dataUsedBits; in encodeSegments() local 153 dataUsedBits = QrSegment.getTotalBits(segs, version); in encodeSegments() 154 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in encodeSegments() 158 if (dataUsedBits != -1) in encodeSegments() 159 …msg = String.format("Data length = %d bits, Max capacity = %d bits", dataUsedBits, dataCapacityBit… in encodeSegments() 163 assert dataUsedBits != -1; in encodeSegments() 167 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments() 178 assert bb.bitLength == dataUsedBits; in encodeSegments() local
|
D | QrSegmentAdvanced.java | 80 int dataUsedBits = QrSegment.getTotalBits(segs, version); in makeSegmentsOptimally() local 81 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in makeSegmentsOptimally() 85 if (dataUsedBits != -1) in makeSegmentsOptimally() 86 …msg = String.format("Data length = %d bits, Max capacity = %d bits", dataUsedBits, dataCapacityBit… in makeSegmentsOptimally()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 150 int version, dataUsedBits; in encodeSegments() local 153 dataUsedBits = QrSegment.getTotalBits(segs, version); in encodeSegments() 154 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in encodeSegments() 158 if (dataUsedBits != -1) in encodeSegments() 159 …msg = String.format("Data length = %d bits, Max capacity = %d bits", dataUsedBits, dataCapacityBit… in encodeSegments() 163 assert dataUsedBits != -1; in encodeSegments() 167 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments() 178 assert bb.bitLength() == dataUsedBits; in encodeSegments()
|
D | QrSegmentAdvanced.java | 80 int dataUsedBits = QrSegment.getTotalBits(segs, version); in makeSegmentsOptimally() local 81 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in makeSegmentsOptimally() 85 if (dataUsedBits != -1) in makeSegmentsOptimally() 86 …msg = String.format("Data length = %d bits, Max capacity = %d bits", dataUsedBits, dataCapacityBit… in makeSegmentsOptimally()
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.cpp | 265 int version, dataUsedBits; in encodeSegments() local 268 dataUsedBits = QrSegment::getTotalBits(segs, version); in encodeSegments() 269 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in encodeSegments() 273 if (dataUsedBits == -1) in encodeSegments() 276 sb << "Data length = " << dataUsedBits << " bits, "; in encodeSegments() 282 assert(dataUsedBits != -1); in encodeSegments() 286 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments() 297 assert(bb.size() == static_cast<unsigned int>(dataUsedBits)); in encodeSegments()
|
/third_party/qrcodegen/c/ |
D | qrcodegen.c | 211 int version, dataUsedBits; in qrcodegen_encodeSegmentsAdvanced() local 214 dataUsedBits = getTotalBits(segs, len, version); in qrcodegen_encodeSegmentsAdvanced() 215 if (dataUsedBits != -1 && dataUsedBits <= dataCapacityBits) in qrcodegen_encodeSegmentsAdvanced() 222 assert(dataUsedBits != -1); in qrcodegen_encodeSegmentsAdvanced() 226 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, (enum qrcodegen_Ecc)i) * 8) in qrcodegen_encodeSegmentsAdvanced() 242 assert(bitLen == dataUsedBits); in qrcodegen_encodeSegmentsAdvanced()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen.ts | 98 let dataUsedBits: int; 103 dataUsedBits = usedBits; 112 if (boostEcl && dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8) 124 assert(bb.length == dataUsedBits);
|