/third_party/qrcodegen/c/ |
D | qrcodegen-test.c | 61 int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version); 997 assert(getTotalBits(NULL, 0, 1) == 0); in testGetTotalBits() 999 assert(getTotalBits(NULL, 0, 40) == 0); in testGetTotalBits() 1006 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 2) == 36); in testGetTotalBits() 1008 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 10) == 44); in testGetTotalBits() 1010 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 39) == 44); in testGetTotalBits() 1020 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 9) == 133); in testGetTotalBits() 1022 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 21) == 139); in testGetTotalBits() 1024 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 27) == 145); in testGetTotalBits() 1031 assert(getTotalBits(segs, ARRAY_LENGTH(segs), 1) == -1); in testGetTotalBits() [all …]
|
D | qrcodegen.c | 85 testable int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version); 214 dataUsedBits = getTotalBits(segs, len, version); in qrcodegen_encodeSegmentsAdvanced() 988 testable int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version) { in getTotalBits() function
|
/third_party/qrcodegen/cpp/ |
D | qrcodegen.hpp | 207 public: static int getTotalBits(const std::vector<QrSegment> &segs, int version);
|
D | qrcodegen.cpp | 179 int QrSegment::getTotalBits(const vector<QrSegment> &segs, int version) { in getTotalBits() function in qrcodegen::QrSegment 268 dataUsedBits = QrSegment::getTotalBits(segs, version); in encodeSegments()
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrSegment.java | 243 static int getTotalBits(List<QrSegment> segs, int version) { in getTotalBits() method in QrSegment
|
D | QrSegmentAdvanced.java | 80 int dataUsedBits = QrSegment.getTotalBits(segs, version); in makeSegmentsOptimally()
|
D | QrCode.java | 153 dataUsedBits = QrSegment.getTotalBits(segs, version); in encodeSegments()
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrSegment.java | 261 static int getTotalBits(List<QrSegment> segs, int version) { in getTotalBits() method in QrSegment
|
D | QrSegmentAdvanced.java | 80 int dataUsedBits = QrSegment.getTotalBits(segs, version); in makeSegmentsOptimally()
|
D | QrCode.java | 153 dataUsedBits = QrSegment.getTotalBits(segs, version); in encodeSegments()
|
/third_party/qrcodegen/typescript-javascript/ |
D | qrcodegen-input-demo.ts | 151 `data bits = ${qrcodegen.QrSegment.getTotalBits(segs, qr.version) as number}.`;
|
D | qrcodegen.ts | 101 const usedBits: number = QrSegment.getTotalBits(segs, version); 873 public static getTotalBits(segs: Readonly<Array<QrSegment>>, version: int): number { method in qrcodegen.QrSegment
|