Home
last modified time | relevance | path

Searched refs:rawCodewords (Results 1 – 6 of 6) sorted by relevance

/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrCode.java336 int rawCodewords = QrTemplate.getNumRawDataModules(version) / 8; in addEccAndInterleave() local
337 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
338 int shortBlockDataLen = rawCodewords / numBlocks - blockEccLen; in addEccAndInterleave()
342 byte[] result = new byte[rawCodewords]; in addEccAndInterleave()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrCode.java436 int rawCodewords = getNumRawDataModules(version) / 8; in addEccAndInterleave() local
437 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
438 int shortBlockLen = rawCodewords / numBlocks; in addEccAndInterleave()
453 byte[] result = new byte[rawCodewords]; in addEccAndInterleave()
/third_party/qrcodegen/typescript-javascript/
Dqrcodegen.ts371 const rawCodewords: int = Math.floor(QrCode.getNumRawDataModules(ver) / 8); constant
372 const numShortBlocks: int = numBlocks - rawCodewords % numBlocks; constant
373 const shortBlockLen: int = Math.floor(rawCodewords / numBlocks);
396 assert(result.length == rawCodewords);
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp505 int rawCodewords = getNumRawDataModules(version) / 8; in addEccAndInterleave() local
506 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
507 int shortBlockLen = rawCodewords / numBlocks; in addEccAndInterleave()
531 assert(result.size() == static_cast<unsigned int>(rawCodewords)); in addEccAndInterleave()
/third_party/qrcodegen/c/
Dqrcodegen-test.c112 size_t rawCodewords = (size_t)getNumRawDataModules(version) / 8; in addEccAndInterleaveReference() local
113 size_t numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleaveReference()
114 size_t shortBlockLen = rawCodewords / numBlocks; in addEccAndInterleaveReference()
139 uint8_t *result = malloc(rawCodewords * sizeof(uint8_t)); in addEccAndInterleaveReference()
Dqrcodegen.c299 int rawCodewords = getNumRawDataModules(version) / 8; in addEccAndInterleave() local
301 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave()
302 int shortBlockDataLen = rawCodewords / numBlocks - blockEccLen; in addEccAndInterleave()