Home
last modified time | relevance | path

Searched refs:getNumDataCodewords (Results 1 – 9 of 9) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrCode.java152 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in encodeSegments()
167 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments()
181 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; in encodeSegments()
330 if (data.length != getNumDataCodewords(version, errorCorrectionLevel)) in addEccAndInterleave()
492 static int getNumDataCodewords(int ver, Ecc ecl) { in getNumDataCodewords() method in QrCode
DQrSegmentAdvanced.java79 …int dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits avail… in makeSegmentsOptimally()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrCode.java152 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in encodeSegments()
167 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments()
181 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; in encodeSegments()
430 if (data.length != getNumDataCodewords(version, errorCorrectionLevel)) in addEccAndInterleave()
716 static int getNumDataCodewords(int ver, Ecc ecl) { in getNumDataCodewords() method in QrCode
DQrSegmentAdvanced.java79 …int dataCapacityBits = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bits avail… in makeSegmentsOptimally()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts100 …const dataCapacityBits: int = QrCode.getNumDataCodewords(version, ecl) * 8; // Number of data bit…
112 if (boostEcl && dataUsedBits <= QrCode.getNumDataCodewords(version, newEcl) * 8)
127 const dataCapacityBits: int = QrCode.getNumDataCodewords(version, ecl) * 8;
365 if (data.length != QrCode.getNumDataCodewords(ver, ecl))
574 private static getNumDataCodewords(ver: int, ecl: QrCode.Ecc): int { method in qrcodegen.QrCode
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp267 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in encodeSegments()
286 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, newEcl) * 8) in encodeSegments()
300 size_t dataCapacityBits = static_cast<size_t>(getNumDataCodewords(version, ecl)) * 8; in encodeSegments()
499 if (data.size() != static_cast<unsigned int>(getNumDataCodewords(version, errorCorrectionLevel))) in addEccAndInterleave()
695 int QrCode::getNumDataCodewords(int ver, Ecc ecl) { in getNumDataCodewords() function in qrcodegen::QrCode
Dqrcodegen.hpp451 private: static int getNumDataCodewords(int ver, Ecc ecl);
/third_party/qrcodegen/c/
Dqrcodegen.c58 testable int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl);
213 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; // Number of data bits available in qrcodegen_encodeSegmentsAdvanced()
226 if (boostEcl && dataUsedBits <= getNumDataCodewords(version, (enum qrcodegen_Ecc)i) * 8) in qrcodegen_encodeSegmentsAdvanced()
245 int dataCapacityBits = getNumDataCodewords(version, ecl) * 8; in qrcodegen_encodeSegmentsAdvanced()
300 int dataLen = getNumDataCodewords(version, ecl); in addEccAndInterleave()
327 testable int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl) { in getNumDataCodewords() function
Dqrcodegen-test.c50 int getNumDataCodewords(int version, enum qrcodegen_Ecc ecl);
163 size_t dataLen = (size_t)getNumDataCodewords(version, (enum qrcodegen_Ecc)ecl); in testAddEccAndInterleave()
232 assert(getNumDataCodewords(tc[0], (enum qrcodegen_Ecc)tc[1]) == tc[2]); in testGetNumDataCodewords()